From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Dec 1 00:15:01 2001 Subject: [ic] Major shipping problem I still cannot get priority mail working on my website. If someone can please help me I'd appreciate it. I'll pay you some money via paypal. I really need to get rid of FedEx. I need Priority mail and Express mail. I've tried everything. Look at my shipping files at www.moddepot.com/shipping . If you know a way to get this working PLEASE help me. I cannot use FedEx any more. Thank you so much. From: interchange-users at interchange.redhat.com (Steve Graham) Date: Sat Dec 1 00:41:01 2001 Subject: [ic] 4.8.2 to 4.8.3 upgrade question Regarding upgrade from 4.8.2 to 4.8.3: Does this achieve the necessary upgrade: rpm --upgrade interchange-4.8.3-1.noarch.rpm Thanks, Steve _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (joachim.richter) Date: Sat Dec 1 03:33:01 2001 Subject: [ic] Interchange link - SQL link ? Hi list, I just bought this MYSQL book and I am truely amazed of what it can do. The biggest problem I am running into at the moment is changing the links. Because I don't know how to change a regular link to an SQL style link <a href="[area scan file=products st=sql co=1 sf=category se=TEST ml=10 ]" >CLICK ME</a> let's say this link points to the results page, do I build the results page like [search-region][list][sql-field category][sql-description][/list][/search-region] ? Can anybody point me in the right direction by giving me a hint or the location in the tutorial / docs on how to do this ? thanx JoE US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (Twentys) Date: Sat Dec 1 06:06:00 2001 Subject: [ic] /interchange/en_US/__IMAGE_DIR__ ????? Any one know why every time I open e content page IC modify "__IMAGE_DIR__" in "/interchange/en_US/__IMAGE_DIR__" ? Thanks a lot Roland From: interchange-users at interchange.redhat.com (David Krix) Date: Sat Dec 1 09:44:00 2001 Subject: [ic] makecat Hi list, I've been trying to install Interchange on my SuSE 7.0 system (with Perl 5.6.0 from the SuSE 7.1 source rpm build from scratch) using the lastest tarball from the ftp.interchange.redhat.com. I'm getting as far as to the bin/makecat command. makecat seems to work just fine but then it starts to hang after asking about the the permission structure it hangs and starts eating up all memory till it gets an out of memory. Any ideas? David From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Dec 1 10:48:01 2001 Subject: [ic] HELPPPPPPPPPPPPPP On Fri, Nov 30, 2001 at 05:08:48PM -0800, System Admin wrote: > The 'buy now' button on the flypage quit working! > > It simply refreshes the page. Here is my code and a link to the page... Is > something missing? > > http://saturdaycollectibles.com/~saturday/cgi-bin/cart.cgi/base-art-9 > A common cause for that is something that screws up the mv_click, [set] or profile. Just a guess. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Lukas Simma) Date: Sat Dec 1 13:43:00 2001 Subject: [ic] Looking for training course or trainee teacher near austria Hello, we are a company in austria and like to use interchange for our shopping systems. Does somewon near austria offer an training course for interchange, or is there some trainee teacher (near austria) on this list to give use two or three days training in interchange ? Will be nice if the teacher is german speeking alternatively english. Thanks, Lukas From: interchange-users at interchange.redhat.com (Tux MacAuley) Date: Sat Dec 1 13:52:01 2001 Subject: [ic] searches and sorting acting strange I am having the following problems: 1. I've got about 200 products listed in my catalog. All are the same type of product with slight variations. About 5 that I've found don't show up in the keyword search (won't show up if I enter the sku, description keywords, or the product name.) They show up in the browse and category search. I can't figure out why, as they were put in at the same time and have the same characteristics as the other items. Also, I've tried deleting them and re-entering them from the admin>tables>products.. that did not seem to help (but it did dis-associated the inventory quantity with the item - ouch) Any ideas on how to get them to show up in the keyword search or what to look for to debug? 2. My sort for Browse Catalog and Keyword Search work fine - my sort for Categories are sorted in the order I entered them. Where do I paste the code for the proper sorting of the categories? I have a modified demo store, so should be the same as that store. (I noticed in the demo store, it doesn't sort alphabetically either) Any ideas? thanks for the help. From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Sat Dec 1 14:46:00 2001 Subject: [ic] makecat "David Krix" <krix@liquidpixels.de> writes: > Hi list, > > I've been trying to install Interchange on my SuSE 7.0 system (with Perl > 5.6.0 from the SuSE 7.1 source rpm build from scratch) using the lastest > tarball from the ftp.interchange.redhat.com. I'm getting as far as to the > bin/makecat command. > > makecat seems to work just fine but then it starts to hang after asking > about the the permission structure it hangs and starts eating up all memory > till it gets an out of memory. What type of database did you choose ? Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Sat Dec 1 14:50:01 2001 Subject: [ic] /interchange/en_US/__IMAGE_DIR__ ????? Twentys <twentys@libero.it> writes: > Any one know why every time I open e content page IC modify > "__IMAGE_DIR__" in "/interchange/en_US/__IMAGE_DIR__" ? What do you mean with content page ? How did you open it ? Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Nathan Olmscheid) Date: Sat Dec 1 16:21:01 2001 Subject: [ic] Re: Looking for a list of hosts.... Couldn't agree with you more Jim! Jim Balcom writes: > On Fri, 30 Nov 2001, Nathan Olmscheid wrote: > > NO>>We are not the cheapest, nor do we plan to be. We are priced for the quality > NO>>of our service, which in my eyes, and our clients eyes, we have great prices > NO>>for what we offer. We want quality customers instead of thousands and > NO>>thousands of $9.99 customers. Those customers take a lot time usually. > > In another life I worked for a guy that ran an answering service. He bragged > that he had the cheapest prices around. After I had left and started my own, > I attended his bankruptcy auction. > > I figured out what it cost us to keep the doors open and people answering > the phones and set the rates accordingly. We did well until people decided > that they liked VoiceMail. I closed the live answering service and made a > living developing, writing, and building Voice Mail systems. > > Generally, honorable people are willing to pay a fair price to get the > products/service that they want. Give the customer top notch customer > service and they are willing to pay well for what you are doing. > > Undercut your competitor with better service and better products, NOT lower > prices! > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Friday, November 30, 2001 at 17:55 PM: > I didn't cheat, I just changed the Rules! > > ---------------------------------------------------------------- > This Linux System has been up 123 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- NAMI Solutions Nathan D. Olmscheid Co-Owner - Phone: 612-237-9646 e-mail: nathan@namisolutions.com From: interchange-users at interchange.redhat.com (Tux MacAuley) Date: Sat Dec 1 19:01:00 2001 Subject: [ic] RE: searches and sorting acting strange Well, I figured out why it dis-associated with the inventory - the inventory was related to sku AA046 and the new one I created was aa046. I didn't realize this would make a difference. Changing it to AA046 fixed it. Any help on the other things below would be appreciated. tux -----Original Message----- From: Tux MacAuley [mailto:tux@austin.rr.com] Sent: Saturday, December 01, 2001 12:49 PM To: interchange-users@interchange.redhat.com Subject: searches and sorting acting strange I am having the following problems: 1. I've got about 200 products listed in my catalog. All are the same type of product with slight variations. About 5 that I've found don't show up in the keyword search (won't show up if I enter the sku, description keywords, or the product name.) They show up in the browse and category search. I can't figure out why, as they were put in at the same time and have the same characteristics as the other items. Also, I've tried deleting them and re-entering them from the admin>tables>products.. that did not seem to help (but it did dis-associated the inventory quantity with the item - ouch) Any ideas on how to get them to show up in the keyword search or what to look for to debug? 2. My sort for Browse Catalog and Keyword Search work fine - my sort for Categories are sorted in the order I entered them. Where do I paste the code for the proper sorting of the categories? I have a modified demo store, so should be the same as that store. (I noticed in the demo store, it doesn't sort alphabetically either) Any ideas? thanks for the help. From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Sat Dec 1 20:22:00 2001 Subject: [ic] Interchange link - SQL link ? On Sat, 1 Dec 2001, joachim.richter wrote: > The biggest problem I am running into at the moment is changing the links. > > Because I don't know how to change a regular link to an SQL style link > > <a href="[area scan > file=products > st=sql > co=1 > sf=category > se=TEST > ml=10 > ]" > >CLICK ME</a> > > let's say this link points to the results page, do I build the results page like > > [search-region][list][sql-field category][sql-description][/list][/search-region] ? Try this instead: <a href="[area href=scan arg=| fi=products st=sql co=1 sf=category se=TEST ml=10 |]">CLICK ME</a> And on the results.html page: [search-region] [search-list] [item-field category]: [item-description]<br> [/search-list] [/search-region] Of course you're going to have to have some entries in the category field of products.txt that say exactly 'TEST'. Jon From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Sat Dec 1 20:39:00 2001 Subject: [ic] 4.8.2 to 4.8.3 upgrade question On Sat, 1 Dec 2001, Steve Graham wrote: > Regarding upgrade from 4.8.2 to 4.8.3: > > Does this achieve the necessary upgrade: > > rpm --upgrade interchange-4.8.3-1.noarch.rpm That should do it. As always, if your Interchange installation is important, you should back it up first. You ought to also upgrade interchange-foundation and interchange-docs at the same time, so your whole Interchange system is at the same version. It's not necessary though. And interchange-foundation-demo as well if you had that before. Jon From: interchange-users at interchange.redhat.com (Steve Graham) Date: Sat Dec 1 21:01:01 2001 Subject: [ic] 4.8.2 to 4.8.3 upgrade question Thanks for the reply. I notcied it tried to overwrite my interchange.cfg, but instead saved it as interchange.cfgnew instead. I found the differences and made the change in my file. just wanted to make sure the core executables were upgraded. Thanks, Steve >From: Jon Jensen <jon@redhat.com> >Reply-To: interchange-users@interchange.redhat.com >To: <interchange-users@interchange.redhat.com> >Subject: Re: [ic] 4.8.2 to 4.8.3 upgrade question >Date: Sat, 1 Dec 2001 20:38:40 -0500 (EST) > >On Sat, 1 Dec 2001, Steve Graham wrote: > > > Regarding upgrade from 4.8.2 to 4.8.3: > > > > Does this achieve the necessary upgrade: > > > > rpm --upgrade interchange-4.8.3-1.noarch.rpm > >That should do it. As always, if your Interchange installation is >important, you should back it up first. > >You ought to also upgrade interchange-foundation and interchange-docs at >the same time, so your whole Interchange system is at the same version. >It's not necessary though. And interchange-foundation-demo as well if you >had that before. > >Jon > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (murahashi) Date: Sat Dec 1 21:27:01 2001 Subject: [ic] username with blank on IC 4.8.2 Hi, I have a problem of username in userdb with blank on my system using IC 4.8.2. It is unclear what case or what operation to add new account, but this blank username was created about once a month. Every time I remove username with blank record and upload again. I found the message below but I did not create by using the order desk. > Which version of IC? In minivend and the early IC's it was possible for > a blank username to be created by using the order desk to enter an order > without a username. Then when users would hit the login button it would > accept this blank username, login them in, and allow them to not only > change the information in the personal but also see past orders for > other users that logged in with the blank username. Mike fixed this bug > in one of the later versions of IC (check bugzilla for the exact I could not find such report or bug on the list. Any help would be appreciated. --------------------------------------------------------------- KIDA Net Business Ltd Murahashi ----- Original Message ----- From: "Ron Phipps" <rphipps@reliant-solutions.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, August 30, 2001 1:06 AM Subject: RE: [ic] Log in with blank username and password > > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange- > > users-admin@interchange.redhat.com] On Behalf Of Garry > > Sent: Wednesday, August 29, 2001 8:36 AM > > To: interchange-users@interchange.redhat.com > > Subject: [ic] Log in with blank username and password > > > > I am also getting users going to the "login" page, but not entering > any > > username or password to login. IC still accepts them and allows them > to > > amend the personal info. > > > > Is there a way to stop this and make sure a username is entered? > > > > Garry, > > Which version of IC? In minivend and the early IC's it was possible for > a blank username to be created by using the order desk to enter an order > without a username. Then when users would hit the login button it would > accept this blank username, login them in, and allow them to not only > change the information in the personal but also see past orders for > other users that logged in with the blank username. Mike fixed this bug > in one of the later versions of IC (check bugzilla for the exact > version) and now a blank username is not valid. If this is the symptom > you are subscribing then the way to fix it on your side is to search > userdb for a blank username (run some sql tool against your db with the > query: select * from userdb where username = '') Then you need to change > the username and password for this user so that no one logs on as this > user again and there is no longer a blank username in your database. > After that's complete the users should have to login if they are > attempting to go to the personal info section of the account. The way I > know of to prevent this from happening again if you do not upgrade is to > make sure that when you use the order_desk that you enter a username > when entering the order. Good luck! > > -Ron > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Dec 1 22:29:00 2001 Subject: [ic] Major shipping problem I still cannot get priority mail working on my website. If someone can please help me I'd appreciate it. I'll pay you some money via paypal. I really need to get rid of FedEx. I need Priority mail and Express mail. I've tried everything. Look at my shipping files at www.moddepot.com/shipping . If you know a way to get this working PLEASE help me. I cannot use FedEx any more. I'm releasing a new product in the next day or two and need this working. Please help. Thank you so much. From: interchange-users at interchange.redhat.com (Mike Thompson) Date: Sat Dec 1 22:35:00 2001 Subject: [ic] build_related.html Error saving matches: Hello, I am suddenly unable to run "Generate "others who ..." under merchandising from the admin pages. Can someone please help me figure out what might have broken? I just upgraded to IC 4.8.3 (Not my first upgrade but this problem existed for me at 4.8.2 also) Interchange restarted fine. I get the usual lines of output (Sample): GCA0100: times ordered=1 others_bought ==> {} GCB0010: times ordered=3 others_bought ==> {'00278' => "1",'GCA0000' => "1",'00282' => "1",'00292' => "1",'GCJWB10' => "1",} GCJWB10: times ordered=2 others_bought ==> {'GCA0000' => "1",'100056' => "1",'GCB0010' => "1",} OHC0080: times ordered=1 others_bought ==> {'SME0040' => "1",'SMA0050' => "1",} SMA0010: times ordered=1 others_bought ==> {} But in .../catalogs/DM/error.log I get: 216.234.195.110 6UNuIzxN:216.234.195.110 - [01/December/2001:21:03:55 -0500] DM /cgibin/DM.cgiadmin/build_related.html Error saving matches: After checking the archives I see a post about the need for the line [flag type=write table=merchandising] in .../interchange/lib/UI/pages/admin/build_related.html Mine is as follows as per the upgrade: [set page_title]Rebuild "Others who bought this" links[/set] [set ui_class]Merchandising[/set] [set page_perm]regen[/set] [set help_name]merch.build_related[/set] [set icon_name]icon_config.gif[/set] [flag type=write table=merchandising] <!-- ----- BEGIN REAL STUFF ----- --> Permissions: -rw-rw---- 1 desertad site60 37700 Dec 1 22:21 merchandising.gdbm -rw-rw---- 1 desertad site60 12685 Dec 1 19:46 merchandising.txt What else should I check for? Any help is greatly appreciated. Thanks, -Mike Thompson From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Dec 1 23:08:00 2001 Subject: [ic] build_related.html Error saving matches: On Sat, 1 Dec 2001, Mike Thompson wrote: MT>>I am suddenly unable to run "Generate "others who ..." under merchandising MT>>from the admin pages. MT>>Can someone please help me figure out what might have broken? MT>> MT>>I just upgraded to IC 4.8.3 (Not my first upgrade but this problem existed MT>>for me at 4.8.2 also) I ran into this in 4.6.3 Mike posted a fix in the mailing list for it. It didn't really work for me, so I simply went through that file and I manually put in various SKU's that I wanted to promote and seemed to be related. It works great! :-) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, December 01, 2001 at 23:05 PM: Why do we elect people and then become afraid of them? ---------------------------------------------------------------- This Linux System has been up 152 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (root) Date: Sun Dec 2 00:11:01 2001 Subject: [ic] =?ISO-8859-1?Q?Re=3A_=5Bic=5D_newbie_question_=28=A3=29?= On Fri, 30 Nov 2001 dss@totalise.co.uk wrote: > How do i change the price from $ to £? use [setlocale currency="en_GB" persist=1] on your entry page or a better place and add to products/locale.txt (this is just a template) code en_US en_GB PriceDivide 0.7 1 currency_symbol $ £ decimal_point . . frac_digits 2 2 mon_thousands_sep ' ' p_cs_precedes 1 1 p_sep_by_space 1 1 delete locale.gdbm restart interchange -- Best Regards ------------------------------------------------------------------------- Frederic Steinfels fst@dvdupgrades.ch F. Steinfels Hard- & Software, Neuwiesenstr. 6, 8610 Uster, Switzerland Tel: +4119941838 Fax: +4119941839 Web: http://www.dvdupgrades.ch From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Dec 2 04:55:04 2001 Subject: [ic] grrrrrrr going nuts OK I think I am [ ] this close to getting priority mail working. I did what someone suggested and now I get this error. Note: pm: The requested service is invalid for the selected site I get that on the checkout page. Now I think the problem is cause I didn't enable UPS last time. I have no idea how to enable UPS without running wizard and I can't run wizard cause it'll screw up my already open business. What I did was add the priority mail zones to the ups default 450.csv file. Then I uploaded a pm.csv file. Edited my shipping.asc file. It should be working but I get that error. Only thing I can think of is that I need to enable UPS so that I can use the UPS style lookup. Will this work? Am I screwing it up by using the 450.csv file? You can see the files at www.moddepot.com/shipping . I need this running by Sunday afternoon the latest or I'll be forced to shutdown my site. So please somebody help me ASAP. I been at this since day one. Thanks in advance. From: interchange-users at interchange.redhat.com (Fred Pope) Date: Sun Dec 2 11:00:01 2001 Subject: [ic] Dan you have some competition "In fact, one of the benefits of commerce.cgi that is not available in IC is to be able to add options to an item and increase the price. (A basic small T-Shirt is $5.00, select a large size and the price goes to $10, add embroidery to the large size and add another $10 for a total of $25). This is cumbersome in IC because you need to make each size a different SKU and the embroidery is yet another SKU and you have to check to make sure that they have a T-Shirt in their cart before they can buy it. Or, you can write your own routines in ITL that will do it - which many people find to be quite easy." Jim.... We were able to do this. The following item has over 31000 different possible combinations using a single SKU, all with different prices. http://store.satcomresources.com/cgi-bin/shop/A1ANASATXC.html Best regards, Fred Pope Satcom Resources http://www.satcomresources.com .....Still searching for what I cannot do with Interchange ;-) From: interchange-users at interchange.redhat.com (Troy Davis) Date: Sun Dec 2 11:39:01 2001 Subject: [ic] Error: (skipjack): Charge operation 'skipjack' failed. Hi everyone, When I try to buy something through my Interchange catalog using Skipjack as the payment gateway, the checkout form reloads, and I see this error message at the top: (skipjack): Charge operation 'skipjack' failed. The error log says: 216.23.55.253 b2udVccz:216.23.55.253 - [02/December/2001:11:29:21 -0500] iotcat /cgi-bin/iotcat/process.html PGP failed with status 131072: I'm not actually trying to use PGP, is there something I need to disable there? At one point in the past, I was getting errors about skipjack, but not since I added some of the variables below. Per the instructions in Vend::Payment::Skipjack, I've added the following to catalog.cfg: CreditCardAuto No Route skipjack id "12345678901234" <- obviously not my real skipjack id Route skipjack partner "__SKIPJACK_PARTNER__" Variable MV_PAYMENT_MODE skipjack I've tried putting the "CreditCardAuto" line in interchange.cfg on a hunch, but that just causes errors when starting the server. And in interchange.cfg, I've added this at the end: # enable Skipjack Require module Vend::Payment::Skipjack I'm using Interchange 4.8.2, Red Hat 6.2, perl 5.6.1. Any suggestions? Thanks! Troy Davis Slipstream.com From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sun Dec 2 12:08:01 2001 Subject: [ic] grrrrrrr going nuts On Sun, 2 Dec 2001 steve@moddepot.com wrote: >>enable UPS so that I can use the UPS style lookup. Will this work? Am I >>screwing it up by using the 450.csv file? Somewheres in your configuration files is a line that specifies what file will be used for looking up zones. In 4.6 it is in catalog.cfg and it is specified in UpsZoneFile. I don't know where or what it is in the version you are using. I couldn't find it in your files. While you should be using 012.csv for accuracy, you can use any zone file that is laid out properly to get it running. In fact, you can use the same zone file for Priority Mail that you have been using for FedEx. Once a zone file is obtained for a specific location, it is pretty much there for life. Shipping zones rarely change. Can you find where the zone table is specified in your configuration files? Is it set to valid file on your computer? Please keep this conversation ON the list so that others may be able to jump in and help out. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, December 02, 2001 at 12:00 PM: No, I'm from Iowa. I only work in Outer Space. ---------------------------------------------------------------- This Linux System has been up 165 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Twentys) Date: Sun Dec 2 12:44:00 2001 Subject: [ic] /interchange/en_US/__IMAGE_DIR__ ????? The page of IC where I can edit the content of the pages of my site ex. my catalog/admin/page_edit?ui_page=pages/account.html&ui_return_to=admin/page >Twentys <twentys@libero.it> writes: > >> Any one know why every time I open e content page IC modify >> "__IMAGE_DIR__" in "/interchange/en_US/__IMAGE_DIR__" ? > >What do you mean with content page ? How did you open it ? > >Ciao > Racke > >-- >Die Erde bleibt keine Scheibe. --- The earth remains no disk. > >For projects and other business stuff please refer to COBOLT NetServices >(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (joachim.richter) Date: Sun Dec 2 14:43:00 2001 Subject: [ic] Interchange link - SQL link ? Thanks for the answer Jon, as I read my last question, i realised that I forgot to mail the top section with all the details like we are using interchange 4.81 and a MYSQL database sorry about that. I understand that [query more=1 ml=10 st=sql sql=| SELECT sku FROM products WHERE category = 'TEST' |] and [list][sql-item description][/list][/query] will actually access the sql database via sql statements and is therefore superfast. Heres a try to use an SQL statements in a link <a href="[area href=scan arg=| SELECT sku FROM products WHERE category = 'TEST' |]">CLICK ME</a> the link actually works, but if I check the bottom line of the browser (by moving the mouse on the link) I read : ..../scan/fi=products.txt/rf=sku/co=yes/nu=0/se=TEST/op==/sf=category/ne=0.html now the link accesses the textfile and not the database directly, which means somehow I have to get the st=sql in there ! >From my amateur point of view I believe that interchange changes the qualified sql statement into an interchange link, because the link gives me a BAD_SQL if I add this to the statement ORDER BY category ASC LIMIT 50 well basically then the link you gave me (below) is the same except the missing st=sql <a href="[area href=scan arg=| fi=products st=sql co=1 sf=category se=TEST ml=10 |]">CLICK ME</a> See the reason for those questions is the amazing difference in speed. The query gives an results within seconds while the link takes a lot longer. What I like to know is how to change the link therefore it also accesses the SQL database via SQL statements to achieve the same breathtaking speed the query has. Or am I like completely mistaken ? If that is so I am really sorry, but I just bought a book on MYSQL and I am doing my first steps so to speak, and thats where I got the idea from, because even the most complicated query pops up results within seconds. JoE US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Sun Dec 2 14:49:00 2001 Subject: [ic] ASP like Perl Korey Gozman wrote: > > Hmmm Im a little baffled as to how I would call fields from a database > Ok, So here is my current situation > ------------------------------------------------------------------------------ > I have this in the configuration > Database table001 table001.txt TAB > ------------------------------------------------------------------------------ > And this later on in the configuration > ProductFiles products > ------------------------------------------------------------------------------ > And this I have in the index.html > @_LEFTRIGHT_TOP_@ > $Tag->data( > ( > table => table001 > field => 1009-00-0017 > key => field2 > ) > ) > @_LEFTRIGHT_BOTTOM_@ > ------------------------------------------------------------------------------ > And I have this in the table001.txt > part_number field2 > 1009-00-0017 .040" > ------------------------------------------------------------------------------ > > Thanks, Just looking for some guidance, What do you want? 1009-00-0017 is not the name of a field! "field2" ist not a key. It seems to me, you want table => table001 field => field2 key => 1009-00-0017 to get the value of the field "field2". Right? Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Sun Dec 2 15:01:00 2001 Subject: [ic] Testing maximal connects Dan Browning wrote: > > > On Fri, 30 Nov 2001, Thomas Dan Otto wrote: > > > > TDO>>I want to know, how much people can use the shop in the > > same time > > TDO>>and then how the performance is. > > > > An unlimited number of people (almost) can use the store at > > the same time. > > > > Performance is dependent on the speed of the computer(s) you > > are using and the bandwidth of your connection. > > > > TDO>>But I got a problem: > > TDO>>When i.e. 15 people work on the shop, the basket is > > empty, when I > > TDO>>want to pay - why? > > > > I don't see what this has to do with performance, but > > possibly you don't have cookies enabled. > > > > TDO>>(To simulate the test, I write a perl script, that reads out the > > TDO>>first page, sleep two seconds, and then reread the first > > page and > > TDO>>that 15 scripts parallel) > > > > That's not a fair test! > > > > The users are going to download a page. Sometimes they click > > on to the next page, but many times they are going to pause > > to read the page that they are on. And sometimes that page > > sits there while they go to get a beer, or get rid of a beer. > > > > It's also going to depend on the speed of their connection to > > your store. A dozen people connected via 56k modems will get > > served in a shared mode. Feed a little to user A until his > > stream is full, feed to user B until his stream is full, user > > C, user D, etc, and then go back to see who is ready for some > > more. This is also going to depend on the lag time across the > > internet between each user and your store. > > > > I monitor such things with MRTG to keep track of loading. > > > > -= Jim =- > > Webalizer and Ntop are also good for network monitoring. OpenNMS is > also quite wonderful I've heard as well. Don't forget to increase "RobotLimit 100", if you access more than 100 pages without 30 seconds pause. :-) Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Dec 2 15:11:01 2001 Subject: [ic] grrrrrrr going nuts i cant figure it out. ive tried everything. this error has totally stumped me. wish i could get this working. ive followed everyones directions on this list. this is the closet ive gotten. no luck at all. as far as specifying the ups file i cant find it. it seems to be locating the zone file correctly. the error seems to be saying that ups isnt enabled on my site. when i did the wizard i disabled ups. and now im trying to use it so i need to enable it. i cant find a variable for it in any tables. so if anyone has further info please help. thanks in advance. ----- Original Message ----- From: "Jim Balcom" <jim@idk-enterprises.com> To: <interchange-users@interchange.redhat.com> Sent: Sunday, December 02, 2001 9:10 AM Subject: Re: [ic] grrrrrrr going nuts > On Sun, 2 Dec 2001 steve@moddepot.com wrote: > > >>enable UPS so that I can use the UPS style lookup. Will this work? Am I > >>screwing it up by using the 450.csv file? > > Somewheres in your configuration files is a line that specifies what file > will be used for looking up zones. In 4.6 it is in catalog.cfg and it is > specified in UpsZoneFile. I don't know where or what it is in the version > you are using. I couldn't find it in your files. > > While you should be using 012.csv for accuracy, you can use any zone file > that is laid out properly to get it running. > > In fact, you can use the same zone file for Priority Mail that you have been > using for FedEx. > Once a zone file is obtained for a specific location, it is pretty much > there for life. Shipping zones rarely change. > > Can you find where the zone table is specified in your configuration files? > > Is it set to valid file on your computer? > > > Please keep this conversation ON the list so that others may be able to jump > in and help out. > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Sunday, December 02, 2001 at 12:00 PM: > No, I'm from Iowa. I only work in Outer Space. > > ---------------------------------------------------------------- > This Linux System has been up 165 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Sun Dec 2 15:15:00 2001 Subject: [ic] HELPPPPPPPPPPPPPP "Patrick J. Walsh" wrote: > > > here is an example link: > > > > http://saturdaycollectibles.com/~saturday/cgi-bin/cart.cgi/base-art-9 > > It's odd... when I viewed the source of your web page, I noticed that > you have two forms starting right next to each other that are nearly > identical, but with different hidden items following. You should probably > look into this and see if it's not causing the problem. The section taht I > am referring to is below: > > <FORM > ACTION="http://saturdaycollectibles.com/~saturday/cgi-bin/cart.cgi/order.htm > l" METHOD=POST> > <INPUT TYPE=hidden NAME="mv_order_item" VALUE="base-art-9"> > <input type=hidden name=mv_session_id value="xQyFUweC"> > > <FORM > ACTION="http://saturdaycollectibles.com/~saturday/cgi-bin/cart.cgi/order.htm > l" METHOD=POST> > <input type=hidden name=mv_session_id value="base-art-9"> > <INPUT TYPE=hidden NAME="mv_separate_items" VALUE="0"> > <INPUT TYPE=hidden NAME="mv_click" VALUE="munge_quantity"> Two different session_id ???? Why? Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (joachim.richter) Date: Sun Dec 2 16:03:01 2001 Subject: [ic] Screen access logging Hi list, by flicking through the archives I found this interesting tag > we would like to log who it is > that logged in and every page that they access. > [tag arg="pages/log/logfile.log" op=log interpolate=1] > Hi...user visit the page yxz ! > [/tag] yeah I like it and lets use it ! So I put this tag on a page and accessed it like a million times, no log. okay then I thought got wise and copied an empty file called logfile.log in the catalogs/foundation/pages/log directory no use. Does anybody know what i am overseeing ? And something else how do I get rid of the "1" which is always showing up ? Do I have to delete the interpolate=1, well since the tag isn't working, I cannot do the trial and error thing. [tag arg="pages/log/logfile.log" op=log interpolate=1] [set test1] [value lname] accessed the page @_MV_PAGE_@ [/set] [/tag] [scratch test1] How come the [value lname] doesn't get "computed" I also tried [data table=userdb column=lname key='[data session username]'] Is it because it says nesting=NO for the log tag ? Any ideas how to get around it ? Thanx guys JoE US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Sun Dec 2 19:07:01 2001 Subject: [ic] Stock alert notification/ PS thanks ED Hi all, it's the newbie again :) I have integrated the stock alert notification code in the fly page as well as many other pages. I have been studying the pdf's and the code that came in IC "foundation" store example. For some reason when I test the out of stock notification, put in my email address, then "add" inventory to that item, I don't receive an email telling me that the item I was interested in, well, is in. I have looked everywhere in the code examples and can't figure out where this info, like the persons email address, is stored. I can't find any code that sends this info anywhere, so I don't know where to look. Even the foundation store example doesn't work properly (for me). All my other email type things, like receipts, etc. all work fine. My inventory is working fine, I mean, it accurately adjusts when an item is purchased. When I put my email in, I get a thank you type page, and I DO receive an email confirming my wishes to be on the notification list. But as I said, when inventory is added, I don't get notified. IC 4.8.1 Thanks all, Paul Jordan Oh yeah, and Thanks ED LaFrance, for the previous tip From: interchange-users at interchange.redhat.com (Fred Pope) Date: Sun Dec 2 20:33:01 2001 Subject: [ic] safe::hole missing install bundle::Interchange -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ernie Fortnum Sent: Tuesday, November 20, 2001 5:36 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] safe::hole missing JPpatches wrote: > hi, i'm installing interchange and i'm getting a configuration error saying > the safe::hole is missing. can anyone help me with this? Hi JP I'm about 1 step in front of you (installing Interchange 4.8.2 on a RaQ3). Amongst other things I had missing: Safe::Hole SQL::Statement Storable Based on reading what others have done in the past I went to my install directory cd /home/tmp/interchange-4.8.2 and did wget http://www.cpan.org/modules/by-module/Safe/Safe-Hole-0.08.tar.gz and (just in case you're missing the other two) wget http://www.cpan.org/modules/by-module/SQL/SQL-Statement-0.1020.tar.gz wget http://www.cpan.org/modules/by-module/Storable/Storable-1.0.13.tar.gz =========== Then for the first one : gzip -dc Safe-Hole-0.08.tar.gz | tar -xof - Then go into the newly-created directory and typed: perl Makefile.PL make make install =============== And then I repeated for the other 2 =============== I then tried restarting Interchange The complaint about Safe Hole etc at least was no longer there :-) Regards Ernie _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Interchange Admin) Date: Sun Dec 2 20:54:00 2001 Subject: [ic] upgrade from 4.6 to 4.8.3 wierd problem I am in the process of moving my store to a faster computer and Internet connection and thought it would be a good time to upgrade from Interchange 4.6 to 4.8.3. I had some strange problems going to 4.8.anything in the past and cancelled the upgrade. I hoped that this newest version would not have the wierd problems. It does. The problem is that Interchange will not recognize and go to the second (and third, I suppose) checkout page. It works perfectly on 4.6. On 4.8.x I get "page not found". Either something in Interchange is broken or I am lucky it worked in 4.6. Any help would be much appreciated! interchange-4.6.5-1.rh6 perl-5.00503-10 RedHat 7.2 Here are the relevent portions of the suspect files: FILE- etc/profiles.order __NAME__ checkout_profile fname=required lname=required address1=required city=required state=required zip=required email=required phone=required &final=no &fatal=yes &set=mv_successpage checkout2 __END__ __NAME__ checkout_profile2 &final=no &fatal=yes &set=mv_successpage checkout3 __END__ FILE- pages/checkout.html __TOP__ <h1>Checkout Page One</h1> <form method=post action="[process]"> <input type=hidden name=mv_todo value=submit> <input type=hidden name=mv_order_profile value=checkout_profile> <P>We need all of the following information to complete your order. When finished entering all of the information please click on <b>NEXT!</b> below.</P> <TABLE ALIGN="CENTER" BORDER="1" CELLPADDING="1" CELLSPACING="1"> <TR> <TH BGCOLOR="#CCFFFF" align=right>* First Name</TH> <TD BGCOLOR="#FFFF00"><input type=text name=fname size="32" maxlength="60" value="[value fname]"></TD> </TR> [STUFF DELETED FOR SPACE] </TABLE> <p> <input type=submit name=mv_click value="Next!"> <input type=reset name=reset value="Reset"> </p> </form> <p>[page index]Return to shopping instead[/page]</p> __BOTTOM__ jaime -- interch | I read recently that human beings use only 15% @ Jaime Viehweg | of their brains capacity. Makes you wonder viehweg.net | what they do with the other 75%. From: interchange-users at interchange.redhat.com (Dan Browning) Date: Sun Dec 2 21:42:00 2001 Subject: [ic] Stock alert notification/ PS thanks ED > Hi all, it's the newbie again :) > > I have integrated the stock alert notification code in the > fly page as well > as many other pages. I have been studying the pdf's and the > code that came > in IC "foundation" store example. For some reason when I test > the out of > stock notification, put in my email address, then "add" > inventory to that > item, I don't receive an email telling me that the item I was > interested in, > well, is in. > > I have looked everywhere in the code examples and can't > figure out where > this info, like the persons email address, is stored. I can't > find any code > that sends this info anywhere, so I don't know where to look. Even the > foundation store example doesn't work properly (for me). All > my other email > type things, like receipts, etc. all work fine. > > My inventory is working fine, I mean, it accurately adjusts > when an item is > purchased. When I put my email in, I get a thank you type > page, and I DO > receive an email confirming my wishes to be on the > notification list. But as > I said, when inventory is added, I don't get notified. > > IC 4.8.1 > > Thanks all, > Paul Jordan > > Oh yeah, and Thanks ED LaFrance, for the previous tip Currently, I do not think that this feature has been added to Foundation yet (so it would be a customization/addition): * Automatically e-mail the customer with an "in stock notification" when the product is in stock. However, there have been mailings to the list about how to implement this feature with cron, etc. which I have posted to the list 3 or 4 times, so you might be able to find it in the archives. HAND, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (David Kelly) Date: Sun Dec 2 23:06:00 2001 Subject: [ic] Highlighting Required Fields in Table Editor I am trying to work out if there is any possible way to highlight (bold) *required* fields when using the table-editor tag? I want to be able to indicate to users which database fields are required (e.g. set to not null) I notice that a similar thing is done using ui_profile when using the table-editor in wizard mode, but as far as I can see this does not work when using the table-editor to just simply edit a table. My setup is RH 7.1, IC 4.8.3, PostgreSQL 7.1.2 Cheers David Kelly Ecombiz Ltd _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Dec 3 00:50:01 2001 Subject: [ic] Highlighting Required Fields in Table Editor Quoting David Kelly (sonickollage@yahoo.co.nz): > I am trying to work out if there is any possible way to highlight (bold) > *required* fields when using the table-editor tag? > I want to be able to indicate to users which database fields are required > (e.g. set to not null) > > I notice that a similar thing is done using ui_profile when using the > table-editor in wizard mode, but as far as I can see this does not work when > using the table-editor to just simply edit a table. It isn't really possible in the UI directly, since there is no setting in metadata (at least in the 4.8.x tree) for "check", which determines this. In addition, we have the template set up to have the labels bold by default. If you are directly using the table-editor, all you need to do is add: check.fieldname=required to the parameter list. All other things being equal, it should make the field "fieldname" required, and in the default setup should bold any label. In fact, if you log in to the demo as admin and create a page that holds only: [table-editor table=products check.description=required item_id=os28007 ] This will have the effect you want. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Friends don't let friends use Outlook. -- Bob Blaylock From: interchange-users at interchange.redhat.com (Yury German) Date: Mon Dec 3 01:08:01 2001 Subject: [ic] Tutorial for setup of Interchange with MySQL Does anyone know if there is a tutorial or documentations for setting up Interchange with MySQL? _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 3 01:34:00 2001 Subject: [ic] grrrrrrr going nuts please somebody help. i delayed the releaseof a product but i need to release it ASAP. ----- Original Message ----- From: <steve@moddepot.com> To: <interchange-users@interchange.redhat.com> Sent: Sunday, December 02, 2001 3:09 PM Subject: Re: [ic] grrrrrrr going nuts > i cant figure it out. ive tried everything. this error has totally stumped > me. wish i could get this working. ive followed everyones directions on this > list. this is the closet ive gotten. no luck at all. as far as specifying > the ups file i cant find it. it seems to be locating the zone file > correctly. the error seems to be saying that ups isnt enabled on my site. > when i did the wizard i disabled ups. and now im trying to use it so i need > to enable it. i cant find a variable for it in any tables. so if anyone has > further info please help. thanks in advance. > ----- Original Message ----- > From: "Jim Balcom" <jim@idk-enterprises.com> > To: <interchange-users@interchange.redhat.com> > Sent: Sunday, December 02, 2001 9:10 AM > Subject: Re: [ic] grrrrrrr going nuts > > > > On Sun, 2 Dec 2001 steve@moddepot.com wrote: > > > > >>enable UPS so that I can use the UPS style lookup. Will this work? Am I > > >>screwing it up by using the 450.csv file? > > > > Somewheres in your configuration files is a line that specifies what file > > will be used for looking up zones. In 4.6 it is in catalog.cfg and it is > > specified in UpsZoneFile. I don't know where or what it is in the version > > you are using. I couldn't find it in your files. > > > > While you should be using 012.csv for accuracy, you can use any zone file > > that is laid out properly to get it running. > > > > In fact, you can use the same zone file for Priority Mail that you have > been > > using for FedEx. > > Once a zone file is obtained for a specific location, it is pretty much > > there for life. Shipping zones rarely change. > > > > Can you find where the zone table is specified in your configuration > files? > > > > Is it set to valid file on your computer? > > > > > > Please keep this conversation ON the list so that others may be able to > jump > > in and help out. > > > > -= Jim =- > > > > ---------------------------------------------------------------- > > Jim's Linux-Operated Underground Bomb Shelter > > > > Tagline for Sunday, December 02, 2001 at 12:00 PM: > > No, I'm from Iowa. I only work in Outer Space. > > > > ---------------------------------------------------------------- > > This Linux System has been up 165 hours > > > > My web page: http://www.idk-enterprises.com > > ---------------------------------------------------------------- > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 3 01:43:00 2001 Subject: [ic] Cheapest Merchant I need to get a merchant account with no setup fee and cheap monthly fees. I don't care if its a POS terminal or a gateway. Either one is cool by me. I guess a gateway would be better to have everything automated. But I heard and noticed terminals are always cheaper. So please point me to some places with low prices and no setup fees. Thanks in advance. From: interchange-users at interchange.redhat.com (Jim Webster) Date: Mon Dec 3 02:04:00 2001 Subject: [ic] UNIQUE IDEA I've just been contracted to build an online dating site. I've been kicking around the idea of creating it via cgi scripts and a SQL database. Upon further experimentation, I'm thinking I can actually use IC (which I know a lot better). Has this type of application been used before? I can present certain information via normal search functions and set the flypage to 'members only'. The fly page would contain additional information such as contact info, etc. that only paying customers can see. The only problems I can see is processing a card before account creation which shouldn't be too tough and having a member submitting a photo... also not hard. Tieing it all together may be more difficult than what is seen on the surface. Anyone have any thoughts or ideas on this type of application? Much appreciated... Jim. From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Dec 3 05:30:02 2001 Subject: [ic] Search strings must be at least 1 characters Hi list, I could not solve my prolbem. I get a line like 192.168.3.1 2Na8Ay2M:192.168.3.1 - [03/Dezember/2001:11:27:31 +0100] owkpa /cgi-bin/owkpa/scan/ml=12/tf=category,description/rl=price/rm=0.70/rx=1.49/rl=category/rm=280/rx=298.html search error: Search strings must be at least 1 characters. > You had no search string specified. I'm wondering, why I get such kind of error messages, if I do a range search! Any tips, helps and suggestions are very welcome! Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Mon Dec 3 10:10:00 2001 Subject: [ic] shipping idea > > At 08:37 AM 11/30/2001 -0600, you wrote: > > > At 05:11 PM 11/29/2001 -0600, you wrote: > > > > > At 10:16 AM 11/29/2001 -0600, you wrote: > > > > > >I am trying to set the shipping cost based on the size > of the items. > > > > > > > > > > > >small = $5.00 > > > > > >medium = $7.00 > > > > > >I am wondering if there is a way to chain or loop this to go > > > throught the > > > > > >whole cart? > > > > > > > > > > > >So if the customer buys two small he gets charged $10.00 > not $7.00. > > > > > > > > > > > >I have read a hundred different ways to do this. Would like > > > to know the > > > > > >correct way to get this output. > > > > > > > > > > > >Redhat 7.1 and interchange 4.8.3 (rpm) > > > > > > > > >First let me say thanks I think this will work. I have added and > > > modified my > > > >shipping.asc file to the following: > > > > > > > >FLATD Standard > > > > >Ok I reformated and still have the same results "Note: No match found for > >mode 'FLATD', quantity '', returning 0." error message. > > > >I wonder if there is a way to debug this type of stuff? > > The error message suggests that criteria is not evaluating to > anything, but > I couldn't tell you why - to worked fine for me in similar context. You > might want to put the [calc] block on a regular IC page (call it > calc.html, > for instance), put some sized items in the cart, then pull up > calc.html and > see what it is returning. > > - Ed L. > > > > >What i did was use the admin pages and go into items and clicked on the > >item. Then I clicked opions at the top. The asked me what type I > wanted to > >set up. I then selected simple as the option. I am not sure if i > have done > >this wrong or not. > > > >The big pictures is i need the price and shipping to change > according to the > >size. I have the price changeing now. But still need the > shipping to change > >on size changes. > > > >My new shipping.asc > >FLATD: Standard > > criteria <<EOC > > [calc] > > my $total = 0; > > [item-list] > > $total += ([item-quantity] * 8.95) if > >q{[item-modifier size]} =~ /^S/i; > > $total += ([item-quantity] * 9.95) if > >q{[item-modifier size]} =~ /^M/i; > > $total += ([item-quantity] * 10.95) if > >q{[item-modifier size]} =~ /^L/i; > > $total += ([item-quantity] * 11.95) if > >q{[item-modifier size]} =~ /^XL/i; > > [/item-list] > > return $total; > > [/calc] > >EOC > > min 0 > > max 999999 > > cost f @@TOTAL@@ > > > > > >My options.txt is as follows: > > > > > > >>code o_master sku o_group o_enable o_label o_value > o_widget > >price > > >>AP212 1 AP212 Size 1 Size > m=Medium*,^Ml=Large select > >m==32.95,l==49.95 > > > > > > > >I have remove all the collumns that are not used. > > > > I have a test.html page as follows: [calc] my $total = 0; [item-list] $total += ([item-quantity] * 8.95) if q{[item-modifier size]} =~ /^S/i; $total += ([item-quantity] * 9.95) if q{[item-modifier size]} =~ /^M/i; $total += ([item-quantity] * 10.95) if q{[item-modifier size]} =~ /^L/i; $total += ([item-quantity] * 11.95) if q{[item-modifier size]} =~ /^XL/i; [/item-list] return $total; [/calc] hello Is this correct way to do this? When i add an item to the cart that has a size then go to this test.html page I get: hello Nothing else. In the error message i get on check out it talks of quantity. Is this correct should it be looking based on quantity? If not how should I change this. I am so close I can taste it. Thanks for all the help, Rick From: interchange-users at interchange.redhat.com (Patrick Drago) Date: Mon Dec 3 10:57:01 2001 Subject: [ic] Installing Interchange 4.8.2/3 on a Cobalt RAQ4 Hi all, need some help on this as i am now desperate. Ross Cousens managed this install (after a lot of hard work!). I've followed his instructions to the letter but I still can't get the site to work (all interchange modules compile correctly). I keep getting "You do not have permission to access the requested file on this server. " whenever I try to access the customer or admin interfaces of the shop. HELP Thanks & regards, Patrick ____________________________________________________________ Nokia Game is on again. Go to http://uk.yahoo.com/nokiagame/ and join the new all media adventure before November 3rd. From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Mon Dec 3 11:44:00 2001 Subject: [ic] Size based shipping I am trying to make shipping to be based on the size of the items. I have looked throught the archives and spent time in the IRC chat. I have tried many different ways to make this work. I am now trying to use a usertag to make this work. I have a shipping.asc file of: FLATD Standard price 0 0 e No thing to ship FLATD Standard price 0 9999999 f [ship] I have a usertag defined in the catlog.cfg: #==========================================================================# #Shipping user tag UserTag ship Routine <<EOF sub{ package Vend::Interpolate; my $total =0; [item-list] if ([item-modifier size] =~ /^s/i) {$total += ([item-quantity] * 8.95);} if ([item-modifier size] =~ /^m/i) {$total += ([item-quantity] * 9.95);} if ([item-modifier size] =~ /^l/i) {$total += ([item-quantity] * 10.95);} if ([item-modifier size] =~ /^xl/i) {$total += ([item-quantity] * 11.95);} [/item-list] return $total; } EOF #==========================================================================# When i load an item into the cart it gives me a shipping cost of $154,792,564.00 for a medium and $154,792,620.00 for a large. Now while i plan to retire someday I do not think I will get many sales on this site.:) So what have I done wrong? lol To me the code looks write but I know that one can not proof read there own essay. I am useing redhat 7.1 and interchange 4.8.3(rpm). Not that that will matter much. Thank you for your time, Rick Eicher II www.pbol.net From: interchange-users at interchange.redhat.com (Matthew Schick) Date: Mon Dec 3 11:50:01 2001 Subject: [ic] Re: interchange-users digest, Vol 1 #784 - 54 msgs On Thu, 2001-11-29 at 15:14, Troy Davis wrote: > Hi Michael, > > I've been _trying_ to use Skipjack with Interchange for about a week > now. No luck so far. I haven't been able to track down the issue. > > I'll post to the list if I figure it out. > > Anyone out there using Skipjack successfully? > Hey Troy, I have a client that is using Skipjack, and as I recall I had a bit of trouble getting it to work. Lemmie look at what I have and I'll get it to ya ASAP. Matt From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Dec 3 11:54:58 2001 Subject: [ic] How to set the MIME type to multipart/mixed? Hi List, I've [tag op=mime description="Order Text" interpolate=1] [scratch order_text] [/tag] [seti ordercsv] Hello IC-4.8.3 World!!![/seti] [tag op=mime interpolate=1 type='text/comma-separated-values; name="[value mv_order_number].csv"' description="Bestelldaten Nr. [scratch bestellnummer]" [scratch ordercsv] [/tag] and I get -------- snip ---------- .... Subject: ORDER OWKPA0024 MIME-Version: 1.0 Content-Type: multipart/alternative; BOUNDARY="-4pTyv2tk-178:=6018" -------- snip ---------- How can I set attach_only to get multipart/mixed, because I see ------- snip Interpolate.pm ---------- > grep -n "attach_only" lib/Vend/* lib/Vend/Interpolate.pm:2757: my $msg_type = $opt->{attach_only} ? : "multipart/alternative"; ------- snip Interpolate.pm ---------- ? I need the report email with "Content-Type: multipart/mixed ...."! How can I do? Any helps, tips and suggestions are very welcome! Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Korey Gozman) Date: Mon Dec 3 12:00:01 2001 Subject: [ic] ASP like Perl Even with the list=1 it still resolves to the last field in the table so I started to try a different type of query [perl tables=table001] my $sql = "select * from table[item-code] where filename = 1"; my $results = $Tag->query( { sql => $sql } ); my ( $same_results, $col_name_hashref, $col_name_arrayref) = $Tag->query( { sql => $sql, } ); my $hash_results = $Tag->query( { sql => $sql, hashref=> 'my_results' }); return $Tag->uneval($results); [/perl] and even with this one, it still displays only the last matching record is there something that Im doing wrong At 14:00 11/30/01 -0800, you wrote: > > Ok So I figured out how to pull > > fields from a table but now Im > > having a problem of a different sort, > > > > I want to pull all the fields that match the criteria > > but it only displays the last entry in tha table. > > any suggestions? > > > > > > My Query > > --------------------- > > [query sql="SELECT variable, value from table001 where > > variable = 'cont' " > > type=list > >This is just a shot in the dark, but maybe... > > list=1 >HTH, > >Dan Browning >Kavod Technologies > > > > more=1 > > ml=10] > > > > [on_match] > > Matched<br> > > <table border="1"> > > <tr> > > [/on_match] > > > > [no_match]Not Found<br>[/no_match] > > [list] > > <td>[sql-param value]</td> > > [/list] > > > > > > > > [on_match] > > </tr></table> > > [/on_match] > > [more_list] > > [more] > > [/more_list] > > [/query] > > ------------------ > > > > My Table > > ------------ > > variable value > > cont Panel Thickness > > cont .040" - .057" > > cont .040" - .110" > > cont Punched Hole > > cont .358" - .353" sq. > > cont .377" - .375" sq. > > ------------------ > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Michael Stearne) Date: Mon Dec 3 12:12:58 2001 Subject: [ic] Re: interchange-users digest, Vol 1 #784 - 54 msgs Let me know also if possible. Thanks, Michael Stearne Matthew Schick wrote: >On Thu, 2001-11-29 at 15:14, Troy Davis wrote: > >>Hi Michael, >> >>I've been _trying_ to use Skipjack with Interchange for about a week >>now. No luck so far. I haven't been able to track down the issue. >> >>I'll post to the list if I figure it out. >> >>Anyone out there using Skipjack successfully? >> >Hey Troy, > > I have a client that is using Skipjack, and as I recall I had a bit of >trouble getting it to work. Lemmie look at what I have and I'll get it >to ya ASAP. > >Matt >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Thomas Dan Otto) Date: Mon Dec 3 12:18:00 2001 Subject: [ic] Problems with SOAP I was very happy to see, that SOAP is now integreted in IC 4.8.3. But until now, it was not possible to me to have a contact to a Server. I write into the cgf files: SOAP Yes and put the client example in a demo-shop. But nothing happened. Also I tried to contact to a SOAP-server, helloworld example (from www.soaplite.com) on my localhost. The call looks like: my $text = q{[soap uri="http://localhost:80/Demo"; proxy="http://localhost:80/cgi-bin/hibye.cgi"; call="hi" ]}; (In a single perl script, it's okay...) The only thing happend, is that $text has the string as value=[soap uri="ht...]. It seem, that the tag it is not "compiled". Nothing is written in the error.log. Do you have an idea? Were can I got more information about SOAP in IC? Thomas From: interchange-users at interchange.redhat.com (Stephen A. Brenner) Date: Mon Dec 3 12:22:13 2001 Subject: [ic] UNIQUE IDEA Jim, You might want to take a look at datingfaces.com which is a database driven site written in perl. I would think that the correlation between that kind of sophisticated dating site and ic would be minimal. I would certainly start from the ground up. Steve At 11:06 PM 12/2/01 -0800, Jim Webster wrote: >I've just been contracted to build an online dating site. I've been kicking >around the idea of creating it via cgi scripts and a SQL database. > >Upon further experimentation, I'm thinking I can actually use IC (which I >know a lot better). Has this type of application been used before? > >I can present certain information via normal search functions and set the >flypage to 'members only'. The fly page would contain additional >information such as contact info, etc. that only paying customers can see. > >The only problems I can see is processing a card before account creation >which shouldn't be too tough and having a member submitting a photo... also >not hard. Tieing it all together may be more difficult than what is seen on >the surface. > >Anyone have any thoughts or ideas on this type of application? > >Much appreciated... >Jim. > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 3 12:26:19 2001 Subject: [ic] Shipping problem causing me to almost close Well as most of you noticed I been having a priority mail problem. Well tonight at midnight is the deadline for me to release a product. I still didn't get priority mail working. My files can be seen at www.moddepot.com/shipping . Please help me as this problem is ruining my business drastically. I really need this working by midnight tonight. I been up everynight for the last 3-5 days trying to fix this. I have had no luck at all and really need this done. I've tried everyone's directions on how to do it and have had no luck. you can send me a message on AIM or ICQ. my aim name is pcsteve2001 and my icq # is 135284133 . ill do whatever it takes to have this problem fixed. if you want money you got it. ill even send you some via paypal just to show my appreciation. So please somebody help me out. This is really reflecting on the future of my business. somebody shed some light on this. thanks a ton guys From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Dec 3 12:30:25 2001 Subject: [ic] Screen access logging At 10:02 PM 12/02/2001 +0000, you wrote: >Hi list, > >by flicking through the archives I found this interesting tag > > > we would like to log who it is > > that logged in and every page that they access. > > > [tag arg="pages/log/logfile.log" op=log interpolate=1] > > Hi...user visit the page yxz ! > > [/tag] > >yeah I like it and lets use it ! So I put this tag on a page and >accessed it like a million times, no log. >okay then I thought got wise and copied an empty file called >logfile.log in the catalogs/foundation/pages/log directory >no use. > >Does anybody know what i am overseeing ? [tag] is old and depricated; use [log] instead: http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_47.html - Ed L. >And something else >how do I get rid of the "1" which is always showing up ? >Do I have to delete the interpolate=1, well since the tag isn't >working, I cannot do the trial and error thing. > >[tag arg="pages/log/logfile.log" op=log interpolate=1] > >[set test1] >[value lname] accessed the page @_MV_PAGE_@ >[/set] > >[/tag] > >[scratch test1] > >How come the [value lname] doesn't get "computed" I also tried >[data table=userdb column=lname key='[data session username]'] > >Is it because it says nesting=NO for the log tag ? Any ideas how to >get around it ? > >Thanx guys > >JoE >US Video Center Medien GmbH >Heimsheimer Str 22 >70499 Stuttgart > >Tel 0711 880252 0 >Fax 0711 880252 22 >Email joachim.richter@usvideocenter.de > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 3 12:39:00 2001 Subject: [ic] UNIQUE IDEA On Mon, Dec 03, 2001 at 08:54:50AM -0800, Stephen A. Brenner wrote: > Jim, > > You might want to take a look at datingfaces.com which is a database driven > site written in perl. I would think that the correlation between that kind of > sophisticated dating site and ic would be minimal. I would certainly start > from the ground up. > Speaking as both an Interchange developer, and someone who has built a couple of dating sites from the ground up, I respectfully disagree =). The majority of the work will be database interaction, session management, permission management, and searching, all of which can be made much easier by Interchange. Besides, what better package to use that something that started out as e-commerce, isn't it all mate-shopping anyway? =) > Steve > At 11:06 PM 12/2/01 -0800, Jim Webster wrote: > >I've just been contracted to build an online dating site. I've been kicking > >around the idea of creating it via cgi scripts and a SQL database. > > > >Upon further experimentation, I'm thinking I can actually use IC (which I > >know a lot better). Has this type of application been used before? > > > >I can present certain information via normal search functions and set the > >flypage to 'members only'. The fly page would contain additional > >information such as contact info, etc. that only paying customers can see. > > > >The only problems I can see is processing a card before account creation > >which shouldn't be too tough and having a member submitting a photo... also > >not hard. Tieing it all together may be more difficult than what is seen on > >the surface. > > > >Anyone have any thoughts or ideas on this type of application? > > > >Much appreciated... > >Jim. > > > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 3 12:44:00 2001 Subject: [ic] Shipping problem causing me to almost close On Mon, Dec 03, 2001 at 12:12:46PM -0800, steve@moddepot.com wrote: > Well as most of you noticed I been having a priority mail problem. Well > tonight at midnight is the deadline for me to release a product. I still > didn't get priority mail working. My files can be seen at > www.moddepot.com/shipping . Please help me as this problem is ruining my > business drastically. I really need this working by midnight tonight. I been > up everynight for the last 3-5 days trying to fix this. I have had no luck > at all and really need this done. I've tried everyone's directions on how to > do it and have had no luck. you can send me a message on AIM or ICQ. my aim > name is pcsteve2001 and my icq # is 135284133 . ill do whatever it takes to > have this problem fixed. if you want money you got it. ill even send you > some via paypal just to show my appreciation. So please somebody help me > out. This is really reflecting on the future of my business. somebody shed > some light on this. thanks a ton guys > http://www.redhat.com/services/techsupport/application/ecommerce_support.html -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Tony Scott) Date: Mon Dec 3 12:48:18 2001 Subject: [ic] Size based shipping Howdy. One problem that I see right off is : if ([item-modifier size] =~ /^xl/i) {$total += ([item-quantity] * 11.95);} Try changing "[item-quantity]" to "[nitems]". I had this problem with my system. I kept getting a shipping price of over 30 million dollars (hand-delivered by Tibeten monks?). Here is where I found my answer: http://interchange.redhat.com/cgi-bin/ic/dev/ictags_51.html (thanks to Chris Knight) Not sure about the size modifier, but hope this helps point you in the right direction. Now, if only someone could tell me how to change the default sort-order in the 'merchandising editor', I would be a happy camper. -Tony Scott <original message follows> ------------------------- Rick Eicher II interchange-users@interchange.redhat.com Mon Dec 3 11:44:00 2001 ---------------------------------------------------------------------------- ---- I am trying to make shipping to be based on the size of the items. I have looked throught the archives and spent time in the IRC chat. I have tried many different ways to make this work. I am now trying to use a usertag to make this work. I have a shipping.asc file of: FLATD Standard price 0 0 e No thing to ship FLATD Standard price 0 9999999 f [ship] I have a usertag defined in the catlog.cfg: #==========================================================================# #Shipping user tag UserTag ship Routine <<EOF sub{ package Vend::Interpolate; my $total =0; [item-list] if ([item-modifier size] =~ /^s/i) {$total += ([item-quantity] * 8.95);} if ([item-modifier size] =~ /^m/i) {$total += ([item-quantity] * 9.95);} if ([item-modifier size] =~ /^l/i) {$total += ([item-quantity] * 10.95);} if ([item-modifier size] =~ /^xl/i) {$total += ([item-quantity] * 11.95);} [/item-list] return $total; } EOF #==========================================================================# When i load an item into the cart it gives me a shipping cost of $154,792,564.00 for a medium and $154,792,620.00 for a large. Now while i plan to retire someday I do not think I will get many sales on this site.:) So what have I done wrong? lol To me the code looks write but I know that one can not proof read there own essay. I am useing redhat 7.1 and interchange 4.8.3(rpm). Not that that will matter much. Thank you for your time, Rick Eicher II www.pbol.net From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 3 12:56:01 2001 Subject: [ic] UNIQUE IDEA On Mon, Dec 03, 2001 at 08:54:50AM -0800, Stephen A. Brenner wrote: > Jim, > > You might want to take a look at datingfaces.com which is a database driven > site written in perl. I would think that the correlation between that kind of > sophisticated dating site and ic would be minimal. I would certainly start > from the ground up. > > Steve > At 11:06 PM 12/2/01 -0800, Jim Webster wrote: > >I've just been contracted to build an online dating site. I've been kicking > >around the idea of creating it via cgi scripts and a SQL database. > > > >Upon further experimentation, I'm thinking I can actually use IC (which I > >know a lot better). Has this type of application been used before? > > > >I can present certain information via normal search functions and set the > >flypage to 'members only'. The fly page would contain additional > >information such as contact info, etc. that only paying customers can see. > > > >The only problems I can see is processing a card before account creation > >which shouldn't be too tough and having a member submitting a photo... also > >not hard. Tieing it all together may be more difficult than what is seen on > >the surface. > > > >Anyone have any thoughts or ideas on this type of application? You can build it ground up, or you can do it with IC if you are comfortable with IC. If you want to maintain state on your visitors, then you will want some sort of a session manager; IC is great for that. > > > >Much appreciated... > >Jim. > > > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Yury German) Date: Mon Dec 3 13:05:01 2001 Subject: [ic] UNIQUE IDEA You might want to take a look at zope (www.zope.org). It is one of the dynamically generated content server that can probably work in this environment. With thousands of modules available for it it might be the thing you are looking for. -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Stephen A. Brenner Sent: Monday, December 03, 2001 11:55 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] UNIQUE IDEA Jim, You might want to take a look at datingfaces.com which is a database driven site written in perl. I would think that the correlation between that kind of sophisticated dating site and ic would be minimal. I would certainly start from the ground up. Steve At 11:06 PM 12/2/01 -0800, Jim Webster wrote: >I've just been contracted to build an online dating site. I've been kicking >around the idea of creating it via cgi scripts and a SQL database. > >Upon further experimentation, I'm thinking I can actually use IC (which I >know a lot better). Has this type of application been used before? > >I can present certain information via normal search functions and set the >flypage to 'members only'. The fly page would contain additional >information such as contact info, etc. that only paying customers can see. > >The only problems I can see is processing a card before account creation >which shouldn't be too tough and having a member submitting a photo... also >not hard. Tieing it all together may be more difficult than what is seen on >the surface. > >Anyone have any thoughts or ideas on this type of application? > >Much appreciated... >Jim. > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Mon Dec 3 13:10:00 2001 Subject: [ic] Size based shipping > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Tony > Scott > Sent: Monday, December 03, 2001 10:40 AM > To: interchange-users@interchange.redhat.com > Subject: RE: [ic] Size based shipping > > > Howdy. > > One problem that I see right off is : > if ([item-modifier size] =~ /^xl/i) {$total += ([item-quantity] * 11.95);} > > Try changing "[item-quantity]" to "[nitems]". I had this problem with my > system. I kept getting a shipping price of over 30 million dollars > (hand-delivered by Tibeten monks?). Ok made that change made no difference in the price of shipping. > Here is where I found my answer: > http://interchange.redhat.com/cgi-bin/ic/dev/ictags_51.html (thanks to > Chris Knight) > > Not sure about the size modifier, but hope this helps point you > in the right > direction. > > Now, if only someone could tell me how to change the default sort-order in > the 'merchandising editor', I would be a happy camper. > > -Tony Scott > > <original message follows> > ------------------------- > Rick Eicher II interchange-users@interchange.redhat.com > Mon Dec 3 11:44:00 2001 > > ------------------------------------------------------------------ > ---------- > ---- > > I am trying to make shipping to be based on the size of the items. > > I have looked throught the archives and spent time in the IRC chat. I have > tried many different ways to make this work. I am now trying to use a > usertag to make this work. > > I have a shipping.asc file of: > > FLATD Standard price 0 0 e No thing to ship > FLATD Standard price 0 9999999 f [ship] > > I have a usertag defined in the catlog.cfg: > > #================================================================= > =========# > > #Shipping user tag > > UserTag ship Routine <<EOF > sub{ > package Vend::Interpolate; > my $total =0; > [item-list] > if ([item-modifier size] =~ /^s/i) {$total += ([item-quantity] * 8.95);} > if ([item-modifier size] =~ /^m/i) {$total += ([item-quantity] * 9.95);} > if ([item-modifier size] =~ /^l/i) {$total += ([item-quantity] * 10.95);} > if ([item-modifier size] =~ /^xl/i) {$total += ([item-quantity] * 11.95);} > [/item-list] > return $total; > } > EOF > > #================================================================= > =========# > > > When i load an item into the cart it gives me a shipping cost of > $154,792,564.00 for a medium > and $154,792,620.00 for a large. Now while i plan to retire > someday I do not > think I will get many sales on this site.:) > > So what have I done wrong? lol To me the code looks write but I know that > one can not proof read there own essay. > > I am useing redhat 7.1 and interchange 4.8.3(rpm). Not that that > will matter > much. > > Thank you for your time, > Rick Eicher II > www.pbol.net Any one have any ideas? Thanks, rick From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Dec 3 13:15:01 2001 Subject: [ic] shipping idea At 09:21 AM 12/03/2001 -0600, you wrote: > > > > At 08:37 AM 11/30/2001 -0600, you wrote: > > > > At 05:11 PM 11/29/2001 -0600, you wrote: > > > > > > At 10:16 AM 11/29/2001 -0600, you wrote: > > > > > > >I am trying to set the shipping cost based on the size > > of the items. > > > > > > > > > > > > > >small = $5.00 > > > > > > >medium = $7.00 > > > > > > >I am wondering if there is a way to chain or loop this to go > > > > throught the > > > > > > >whole cart? > > > > > > > > > > > > > >So if the customer buys two small he gets charged $10.00 > > not $7.00. > > > > > > > > > > > > > >I have read a hundred different ways to do this. Would like > > > > to know the > > > > > > >correct way to get this output. > > > > > > > > > > > > > >Redhat 7.1 and interchange 4.8.3 (rpm) > > > > > > > > > > >First let me say thanks I think this will work. I have added and > > > > modified my > > > > >shipping.asc file to the following: > > > > > > > > > >FLATD Standard > > > > > > >Ok I reformated and still have the same results "Note: No match found for > > >mode 'FLATD', quantity '', returning 0." error message. > > > > > >I wonder if there is a way to debug this type of stuff? > > > > The error message suggests that criteria is not evaluating to > > anything, but > > I couldn't tell you why - to worked fine for me in similar context. You > > might want to put the [calc] block on a regular IC page (call it > > calc.html, > > for instance), put some sized items in the cart, then pull up > > calc.html and > > see what it is returning. > > > > - Ed L. > > > > > > > > >What i did was use the admin pages and go into items and clicked on the > > >item. Then I clicked opions at the top. The asked me what type I > > wanted to > > >set up. I then selected simple as the option. I am not sure if i > > have done > > >this wrong or not. > > > > > >The big pictures is i need the price and shipping to change > > according to the > > >size. I have the price changeing now. But still need the > > shipping to change > > >on size changes. > > > > > >My new shipping.asc > > >FLATD: Standard > > > criteria <<EOC > > > [calc] > > > my $total = 0; > > > [item-list] > > > $total += ([item-quantity] * 8.95) if > > >q{[item-modifier size]} =~ /^S/i; > > > $total += ([item-quantity] * 9.95) if > > >q{[item-modifier size]} =~ /^M/i; > > > $total += ([item-quantity] * 10.95) if > > >q{[item-modifier size]} =~ /^L/i; > > > $total += ([item-quantity] * 11.95) if > > >q{[item-modifier size]} =~ /^XL/i; > > > [/item-list] > > > return $total; > > > [/calc] > > >EOC > > > min 0 > > > max 999999 > > > cost f @@TOTAL@@ > > > > > > > >My options.txt is as follows: > > > > > > > > >>code o_master sku o_group o_enable o_label o_value > > o_widget > > >price > > > >>AP212 1 AP212 Size 1 Size > > m=Medium*,^Ml=Large select > > >m==32.95,l==49.95 > > > > > > > > > >I have remove all the collumns that are not used. > > > > > >I have a test.html page as follows: >[calc] >my $total = 0; >[item-list] >$total += ([item-quantity] * 8.95) if q{[item-modifier size]} =~ /^S/i; >$total += ([item-quantity] * 9.95) if q{[item-modifier size]} =~ /^M/i; >$total += ([item-quantity] * 10.95) if q{[item-modifier size]} =~ /^L/i; >$total += ([item-quantity] * 11.95) if q{[item-modifier size]} =~ /^XL/i; >[/item-list] >return $total; >[/calc] >hello > > >Is this correct way to do this? > >When i add an item to the cart that has a size then go to this test.html >page I get: > > hello > >Nothing else. > >In the error message i get on check out it talks of quantity. Is this >correct should it be looking based on quantity? If not how should I change >this. > >I am so close I can taste it. > >Thanks for all the help, >Rick I'd say that [item-modifier size] is probably not a valid call for your application - put some sized options in your cart and call a test page with these tags: [item-list] [item-modifier size]<br> [/item-list] If you don't see a list of the sizes for the items in your cart, then that is the problem. I'll freely admit that I have basically ignored item options because it is my understanding that they are not quite production-ready. You need to use the correct tag to pull in the size data for each item in your cart - it is probably [item-options blah-blah] or something similar. I suggest you study the cart component for ideas on what needs to be changed. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 3 13:20:00 2001 Subject: [ic] Shipping problem causing me to almost close isn't that like 400$. I cant afford to blow that kind of money. my next best option is switching to miva or something. there gotta be another cart where shipping isn't such a pain to do. I wanted IC for the inventory but I don't really need it. I don't know what to do. I suppose im screwed. ----- Original Message ----- From: "Jason Kohles" <jkohles@redhat.com> To: <interchange-users@interchange.redhat.com> Sent: Monday, December 03, 2001 9:41 AM Subject: Re: [ic] Shipping problem causing me to almost close > On Mon, Dec 03, 2001 at 12:12:46PM -0800, steve@moddepot.com wrote: > > Well as most of you noticed I been having a priority mail problem. Well > > tonight at midnight is the deadline for me to release a product. I still > > didn't get priority mail working. My files can be seen at > > www.moddepot.com/shipping . Please help me as this problem is ruining my > > business drastically. I really need this working by midnight tonight. I been > > up everynight for the last 3-5 days trying to fix this. I have had no luck > > at all and really need this done. I've tried everyone's directions on how to > > do it and have had no luck. you can send me a message on AIM or ICQ. my aim > > name is pcsteve2001 and my icq # is 135284133 . ill do whatever it takes to > > have this problem fixed. if you want money you got it. ill even send you > > some via paypal just to show my appreciation. So please somebody help me > > out. This is really reflecting on the future of my business. somebody shed > > some light on this. thanks a ton guys > > > http://www.redhat.com/services/techsupport/application/ecommerce_support.htm l > > -- > Jason Kohles jkohles@redhat.com > Senior System Architect (703)786-8036 (cellular) > Red Hat Professional Consulting (703)456-2940 (office) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Dec 3 13:27:01 2001 Subject: [ic] Size based shipping At 10:55 AM 12/03/2001 -0600, you wrote: >I am trying to make shipping to be based on the size of the items. > >I have looked throught the archives and spent time in the IRC chat. I have >tried many different ways to make this work. I am now trying to use a >usertag to make this work. > >I have a shipping.asc file of: > >FLATD Standard price 0 0 e No thing to ship >FLATD Standard price 0 9999999 f [ship] > >I have a usertag defined in the catlog.cfg: > >#==========================================================================# > >#Shipping user tag > >UserTag ship Routine <<EOF >sub{ >package Vend::Interpolate; >my $total =0; >[item-list] >if ([item-modifier size] =~ /^s/i) {$total += ([item-quantity] * 8.95);} >if ([item-modifier size] =~ /^m/i) {$total += ([item-quantity] * 9.95);} >if ([item-modifier size] =~ /^l/i) {$total += ([item-quantity] * 10.95);} >if ([item-modifier size] =~ /^xl/i) {$total += ([item-quantity] * 11.95);} >[/item-list] >return $total; >} >EOF > >#==========================================================================# > > >When i load an item into the cart it gives me a shipping cost of >$154,792,564.00 for a medium >and $154,792,620.00 for a large. Now while i plan to retire someday I do not >think I will get many sales on this site.:) > >So what have I done wrong? lol To me the code looks write but I know that >one can not proof read there own essay. > >I am useing redhat 7.1 and interchange 4.8.3(rpm). Not that that will matter >much. > This looks suspiciously like some code I posted a week or so ago - though it was never intended to be used this way. A little knowledge is indeed dangerous ;-). Try it this way and see if the shipping rate is a bit more reasonable: FLATD Standard [ship] 0 0 e No thing to ship FLATD Standard [ship] 0 9999999 f @@TOTAL@@ * 1 - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Randy Moore) Date: Mon Dec 3 13:57:01 2001 Subject: [ic] UNIQUE IDEA At 11:06 PM 12/2/2001 -0800, you wrote: >I've just been contracted to build an online dating site. I've been kicking >around the idea of creating it via cgi scripts and a SQL database. > >Upon further experimentation, I'm thinking I can actually use IC (which I >know a lot better). Has this type of application been used before? > >I can present certain information via normal search functions and set the >flypage to 'members only'. The fly page would contain additional >information such as contact info, etc. that only paying customers can see. > >The only problems I can see is processing a card before account creation >which shouldn't be too tough and having a member submitting a photo... also >not hard. Tieing it all together may be more difficult than what is seen on >the surface. > >Anyone have any thoughts or ideas on this type of application? Hi, You might have an easier time using Interchange if you go ahead an let the customers create an account before charging their card (so that you don't have to redesign the account management functions). Interchange has a very flexible access control system. You can use that to restrict the the real "meat" (sorry, couldn't resist) of the site to accounts that have purchased a membership. Account that have not purchased a membership would be restricted to public areas (ie, they can't upload their personal info or get full search results). The only difficult part I see is doing automatic recurring charges if you have to support monthly memberships. Interchange (or to be accurate, the foundation demo) does not have support for that built in. Randy Moore Axion Information Technologies, Inc. email ramoore@axion-it.net phone 301-408-1200 fax 301-445-3947 From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Mon Dec 3 14:10:01 2001 Subject: [ic] calculating prices with variable quantity-pricings Hi, I just look at the docu for "item-subtotal". Well, it tells me that it calculates subtotal without taxes. An quick view to Data.pm makes me ask myself if that tags honors quantity-pricing? Is the quantitiy-pricing think with the q5, q100 fields a foundation feature or a IC feature? My catalog is foundation-based, but I replaced the quantity handling (since my customers have non-constant quantity-prices, that means, some products have a reduced price if you order more or equal than 1278 or so). I changed the pricing table and used an own usertag for displaing the quantity-prices. BTW, if anyone is interested in what I exactly did so far, just drop me a note! Now of course the cart (..) totals are wrong. I read that it is possible to override "system" tags - like subtotal and item-subtotal. Basically I need a item-subtotal which does not do a [item-price] * [item-quantity] but a [my_price_tag [item-code] [item-quantity]] If that would be possible, the subtotal tag should work, since it seems to use the item-subtotal, is that correct? Can anyone give my some point to start? I looked at Data::item_price but was not able to understand it. The Doc of "CommonAdjust" says: Settings for Interchange pricing. See Chained pricing. But I haven't found "Chained pricing" everywhere else. Maybe CommonAdjust is flexible enough for my price-model? The Documentation of "CommonAdjust" is not telling me enough to decide it. Maybe I should override item-price directly? Where is the IC/Foundation price model described? It seems to handle i.e. dealers different and such, and pointers happily accepted! Any ideas how to solve my task? Thank you for your time! oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Mon Dec 3 14:21:01 2001 Subject: [ic] Problems with SOAP On Mon, 3 Dec 2001, Thomas Dan Otto wrote: > I was very happy to see, that SOAP is now integreted in IC 4.8.3. It's been part of IC since the 4.7 days, actually. > Also I tried to contact to a SOAP-server, helloworld example (from > www.soaplite.com) on my localhost. The call looks like: > > my $text = q{[soap > uri="http://localhost:80/Demo"; > proxy="http://localhost:80/cgi-bin/hibye.cgi"; > call="hi" > ]}; > (In a single perl script, it's okay...) > > The only thing happend, is that $text has the string as value=[soap > uri="ht...]. It seem, that the tag it is not "compiled". Nothing is > written in the error.log. Do you have an idea? You probably mean something like: my $text = $Tag->soap({ uri => "http://localhost:80/Demo", proxy => "http://localhost:80/cgi-bin/hibye.cgi", call => "hi", }); > Were can I got more information about SOAP in IC? I think this is it for now: http://ftp.interchange.redhat.com/interchange/alpha/soap.html Jon From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Mon Dec 3 14:26:00 2001 Subject: [ic] calculating prices with variable quantity-pricings * Steffen Dettmer wrote on Mon, Dec 03, 2001 at 19:56 +0100: > CommonAdjust is flexible enough for my price-model? The > Documentation of "CommonAdjust" is not telling me enough to > decide it. Maybe I should override item-price directly? I forgot to mention that according to http://interchange.redhat.com/archive/interchange-users/2001/msg03850.html the =item & CODE [...] seems not to be sufficient, since I get only the parameters: $item->{code} gives key for current item $item->{size} gives size for current item (if there) $item->{mv_ib} gives database ordered from $s is the prospective item price (not settable). But additionally I need the ordered quantity addtitionally. If there were a $item->{'quantity'}, I could write something like: CommonAdjust & $Tag->my_price_tag( $item->{code}, $item->{'quantity'} ) ... if I understood it correctly. Any suggestions? oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Dec 3 14:44:01 2001 Subject: [ic] calculating prices with variable quantity-pricings Quoting Steffen Dettmer (steffen@dett.de): > * Steffen Dettmer wrote on Mon, Dec 03, 2001 at 19:56 +0100: > > CommonAdjust is flexible enough for my price-model? The > > Documentation of "CommonAdjust" is not telling me enough to > > decide it. Maybe I should override item-price directly? > > I forgot to mention that according to > http://interchange.redhat.com/archive/interchange-users/2001/msg03850.html > the > > =item & CODE > [...] > seems not to be sufficient, since I get only the parameters: > > $item->{code} gives key for current item > $item->{size} gives size for current item (if there) > $item->{mv_ib} gives database ordered from > $s is the prospective item price (not settable). > > But additionally I need the ordered quantity addtitionally. If > there were a $item->{'quantity'}, I could write something like: > > CommonAdjust & $Tag->my_price_tag( $item->{code}, $item->{'quantity'} ) > > ... if I understood it correctly. It needs to be a quoted string -- there would be no other way for Interchange to know the various pieces were one atom. CommonAdjust "& $Tag->my_price_tag( $item->{code}, $item->{quantity} )" -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Software axiom: Lack of speed kills. From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Mon Dec 3 15:06:01 2001 Subject: [ic] Gift Certificates and Coupons On this general topic... we are looking into developing a "Filene's Bargain Basement" -- a clearance site for our stuff. The marketing department wants to be able to "willy-nilly" add various discounts to items and of course for it to just all work magicly. :) We've been researching the capabilities of IC and have seen some simple stuff -- the promotions or the affiliate options, but these aren't as customized as what we need. So on the -- not reinventing the wheel note -- has anyone developed a way of placing multiple discounts on an item --- and or some sort of interface that can add or delete discounts from an item? Currently, my thoughts are to use the feature column in the marketing table and populating it with not just one but a comma delimited list of discounts for a particular product. Then pulling out a particular group of products -- say 50% percent off products with a query like statement. Another thought would be to add columns to the marketing table -- or even the products table -- one for each discount -- just marking Y for those who have the discount Any thoughts on this subject would be appreciated. Thanks On Monday, November 12, 2001, at 08:38 PM, Ron Phipps wrote: > Hello all, > > A client of ours is asking that we setup a system for handling gift > certificates and coupons. Before I go through the steps to do this I > would like to hear if there are plans in the near future to implement > these functions so I do not reinvent the wheel? I see there is a > gift_certs table which has certainly given me ideas on how to handle > these functions, but it appears that if you purchase a gift certificate > there is no way to redeem it. Can it be verified whether this will > appear in the next release or not? > > Thank you, > -Ron > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Mon Dec 3 16:25:00 2001 Subject: SOLVED! Re: [ic] calculating prices with variable quantity-pricings [If you found this while searching the archives, see at the end for some hints! Since I found no example, I created a simple one and even tested it :) ] * Mike Heins wrote on Mon, Dec 03, 2001 at 14:43 -0500: > Quoting Steffen Dettmer (steffen@dett.de): > > =item & CODE > > [...] > > CommonAdjust & $Tag->my_price_tag( $item->{code}, $item->{'quantity'} ) Ohh, so there is the parameter $item->{'quantity'} passed. > It needs to be a quoted string Yes, urghhh... Thank you very much! Sometimes it's really depressing how simple solutions there are, but what I'm unable to find... Now I have still a minor problem. The decimal digits are not used. My Tag returns i.e. "6.49". I need "6,49". This is a locale-issue? When I run perl from commandline, $a="6.49" + 0.0 is 6.49, but from IC I need $a="6,49" + 0.0 to get the working result. For now, I hacked: $price =~ s/\./,/; Is there a better way to do it? I read about a numeric parameter for databases in catalog.cfg, does this return a converted result from the DB? If I use [data] or works this even in [query]? Thank you very much to save me another 3 hours :) ! oki, Steffen Some hints for the archives: - Yes, DO quote the & CODE parameter in CommonAdjust - Yes, DO comment out CommonAdjust in etc/after.cfg - Yes, DO set "PriceField 0" - Yes, CommonAdjust returns the price for one item - Yes, you can use $Tag and friends - For testing, you may use: =====8<----------------------------------------------------- PriceField 0 CommonAdjust "& $Tag->std_paralog( $item->{code}, $item->{quantity} )" UserTag std_paralog Order one two three UserTag std_paralog Routine <<EOR sub { my @para = @_; $Tag->log( { file => '/tmp/iclog'}, "Paralog: " . join("|", @_) ); } EOR ---------------------------------------------------->8====== - An simple CommonAdjust Perl CODE example: =====8<----------------------------------------------------- PriceField 0 CommonAdjust "& $Tag->std_simple_price( $item->{code}, $item->{quantity} )" UserTag std_simple_price Order sku quantity unwanted_rest UserTag std_simple_price Routine <<EOR sub { my ($sku, $quantity, @rest) = @_; my $constant_global_price_adjust = 0.95; #5% off today! if ($quantity >= 1000) { #if yuo buy more than 1000, you get them for the half price! $constant_global_price_adjust = 0.5; } my $price = $Tag->data( { table => 'products', field => 'price', key => $sku, }); #I need to uncomment the following line: #$price =~ s/\./,/; #just for debug: $Tag->std_paralog("sku: $sku, quantity: $quantity, off: " . $constant_global_price_adjust . " products::price: $price"); if ($price ne $price + 0.0) { $Tag->std_paralog("locale error: $price " , $price+0.0); return 0; } $price = $price * $constant_global_price_adjust; #just for debug: $Tag->std_paralog("will return price: ", $price+0); return $price; } EOR ---------------------------------------------------->8====== - Take care about locale float handling. The interchange database tables default to varchar() fields, and even if you use float a database may return "123.56" as float. To make sure perl interpretes it like desired, try + 0.0, like: ... $Tag->std_paralog("price == '$price' == " , $price + 0.0); ... If in the logfile the left and right sides of "==" are not equal, you may have to same problem like me ;) If somebody needs an example of product-specific quantity prices, drop me a note, I'll post what I did. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Will & Viva) Date: Mon Dec 3 16:36:01 2001 Subject: [ic] psigate Hello, does anyone have any experience with implementing the psigate credit card authorization script with interchange? Any advise would be appreciated. Regards From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 3 16:40:01 2001 Subject: [ic] Gift Certificates and Coupons On Mon, Dec 03, 2001 at 02:00:53PM -0600, Michelle Wilant wrote: > On this general topic... we are looking into developing a "Filene's > Bargain Basement" -- a clearance site for our stuff. The marketing > department wants to be able to "willy-nilly" add various discounts to > items and of course for it to just all work magicly. :) We've been > researching the capabilities of IC and have seen some simple stuff -- > the promotions or the affiliate options, but these aren't as customized > as what we need. > > So on the -- not reinventing the wheel note -- has anyone developed a > way of placing multiple discounts on an item --- and or some sort of > interface that can add or delete discounts from an item? > > Currently, my thoughts are to use the feature column in the marketing > table and populating it with not just one but a comma delimited list of > discounts for a particular product. Then pulling out a particular group > of products -- say 50% percent off products with a query like > statement. Another thought would be to add columns to the marketing > table -- or even the products table -- one for each discount -- just > marking Y for those who have the discount > > Any thoughts on this subject would be appreciated. Thanks Yes. 1) make sure they are not putting the cart before the horse and that they can sell enough stuff to make it worthwhile. 2) You will be spending time training. Make that part of the proposal. 3) You are not going to be able to do it all with web interface. You need some sort of tie in to their ERP (if any) or even a spreadsheet if need be (or multiple spread sheets). 4) Promotions alone will not sell their product. 5) Some of the things ic can do out of the box will amaze them, if they can understand what you are talking about. A little CommonAdjust and product groupings and you can do just about anything. Discounts are easy, right down to the product code even without that; check docs. 6) Coupons are hard, mostly because people are very unclear about what they mean by "coupon". Pin them down and gets **much** easier. Most of the difficulty is not ic, but clarifying expectations and specifying what they need. What's new? :-) > On Monday, November 12, 2001, at 08:38 PM, Ron Phipps wrote: > > >Hello all, > > > >A client of ours is asking that we setup a system for handling gift > >certificates and coupons. Before I go through the steps to do this I > >would like to hear if there are plans in the near future to implement > >these functions so I do not reinvent the wheel? I see there is a > >gift_certs table which has certainly given me ideas on how to handle > >these functions, but it appears that if you purchase a gift certificate > >there is no way to redeem it. Can it be verified whether this will > >appear in the next release or not? > > > >Thank you, > >-Ron > > > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Mon Dec 3 17:37:00 2001 Subject: [ic] Size based shipping > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ed > LaFrance > Sent: Monday, December 03, 2001 12:27 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Size based shipping > > > At 10:55 AM 12/03/2001 -0600, you wrote: > >I am trying to make shipping to be based on the size of the items. > > > >I have looked throught the archives and spent time in the IRC > chat. I have > >tried many different ways to make this work. I am now trying to use a > >usertag to make this work. > > > >I have a shipping.asc file of: > > > >FLATD Standard price 0 0 e No thing to ship > >FLATD Standard price 0 9999999 f [ship] > > > >I have a usertag defined in the catlog.cfg: > > > >#================================================================ > ==========# > > > >#Shipping user tag > > > >UserTag ship Routine <<EOF > >sub{ > >package Vend::Interpolate; > >my $total =0; > >[item-list] > >if ([item-modifier size] =~ /^s/i) {$total += ([item-quantity] * 8.95);} > >if ([item-modifier size] =~ /^m/i) {$total += ([item-quantity] * 9.95);} > >if ([item-modifier size] =~ /^l/i) {$total += ([item-quantity] * 10.95);} > >if ([item-modifier size] =~ /^xl/i) {$total += ([item-quantity] > * 11.95);} > >[/item-list] > >return $total; > >} > >EOF > > > >#================================================================ > ==========# > > > > > >When i load an item into the cart it gives me a shipping cost of > >$154,792,564.00 for a medium > >and $154,792,620.00 for a large. Now while i plan to retire > someday I do not > >think I will get many sales on this site.:) > > > >So what have I done wrong? lol To me the code looks write but I know that > >one can not proof read there own essay. > > > >I am useing redhat 7.1 and interchange 4.8.3(rpm). Not that that > will matter > >much. > > > > This looks suspiciously like some code I posted a week or so ago - though > it was never intended to be used this way. A little knowledge is indeed > dangerous ;-). > > Try it this way and see if the shipping rate is a bit more reasonable: > > FLATD Standard [ship] 0 0 e No thing to ship > FLATD Standard [ship] 0 9999999 f @@TOTAL@@ * 1 > > - Ed L. > now with that i do not get a wrong calc i get "Note: No match found for mode 'FLATD', quantity '32.95', returning 0." From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Mon Dec 3 17:44:01 2001 Subject: [ic] Size based shipping > One problem that I see right off is : > if ([item-modifier size] =~ /^xl/i) {$total += ([item-quantity] * 11.95);} > > Try changing "[item-quantity]" to "[nitems]". I had this problem with my > system. I kept getting a shipping price of over 30 million dollars > (hand-delivered by Tibeten monks?). > > Here is where I found my answer: > http://interchange.redhat.com/cgi-bin/ic/dev/ictags_51.html (thanks to > Chris Knight) > > > > <original message follows> > ------------------------- > Rick Eicher II interchange-users@interchange.redhat.com > Mon Dec 3 11:44:00 2001 > > ------------------------------------------------------------------ > ---------- > ---- > > I am trying to make shipping to be based on the size of the items. > > I have looked throught the archives and spent time in the IRC chat. I have > tried many different ways to make this work. I am now trying to use a > usertag to make this work. > > I have a shipping.asc file of: > > FLATD Standard price 0 0 e No thing to ship > FLATD Standard price 0 9999999 f [ship] > > I have a usertag defined in the catlog.cfg: > > #================================================================= > =========# > > #Shipping user tag > > UserTag ship Routine <<EOF > sub{ > package Vend::Interpolate; > my $total =0; > [item-list] > if ([item-modifier size] =~ /^s/i) {$total += ([item-quantity] * 8.95);} > if ([item-modifier size] =~ /^m/i) {$total += ([item-quantity] * 9.95);} > if ([item-modifier size] =~ /^l/i) {$total += ([item-quantity] * 10.95);} > if ([item-modifier size] =~ /^xl/i) {$total += ([item-quantity] * 11.95);} > [/item-list] > return $total; > } > EOF > > #================================================================= > =========# > > > When i load an item into the cart it gives me a shipping cost of > $154,792,564.00 for a medium > and $154,792,620.00 for a large. Now while i plan to retire > someday I do not > think I will get many sales on this site.:) > > So what have I done wrong? lol To me the code looks write but I know that > one can not proof read there own essay. > > I am useing redhat 7.1 and interchange 4.8.3(rpm). Not that that > will matter > much. Here is my latest version of the usertag in my catalog.cfg: #Shipping user tag UserTag ship Routine <<EOF sub{ package Vend::Interpolate; my $total =0; [item-list] if ([item-modifier size] =~ /^s/i) {$total += ([nitems] * 8.95);} if ([item-modifier size] =~ /^m/i) {$total += ([nitems] * 9.95);} if ([item-modifier size] =~ /^l/i) {$total += ([nitems] * 10.95);} if ([item-modifier size] =~ /^xl/i) {$total += ([nitems] * 11.95);} [/item-list] return $total; } I believe that the [item-modifier size] is not the right tag. So i made a test.html as follows to test it: [perl interpolate=1] my $total = 0; [item-list] $total += ([item-quantity] * 8.95) if q{[item-modifier size]} =~ /^S/i; $total += ([item-quantity] * 9.95) if q{[item-modifier size]} =~ /^M/i; $total += ([item-quantity] * 10.95) if q{[item-modifier size]} =~ /^L/i; $total += ([item-quantity] * 11.95) if q{[item-modifier size]} =~ /^XL/i; [/item-list] return $total; [/perl] hello [item-list] [item-modifier size]<br> [/item-list] bye I use the hello and bye just to make sure the page is executing. But that is all the out put that I am getting. I believe once I get this tag set right then this usertag will work. Any ideas? Thanks for all the help, Rick From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Dec 3 19:14:01 2001 Subject: [ic] Shipping problem causing me to almost close On Mon, 3 Dec 2001 steve@moddepot.com wrote: >>Well as most of you noticed I been having a priority mail problem. Well >>tonight at midnight is the deadline for me to release a product. I still >>didn't get priority mail working. My files can be seen at >>www.moddepot.com/shipping . Please help me as this problem is ruining my >>business drastically. I really need this working by midnight tonight. I been >>up everynight for the last 3-5 days trying to fix this. I have had no luck >>at all and really need this done. I've tried everyone's directions on how to >>do it and have had no luck. you can send me a message on AIM or ICQ. my aim >>name is pcsteve2001 and my icq # is 135284133 . ill do whatever it takes to >>have this problem fixed. if you want money you got it. ill even send you >>some via paypal just to show my appreciation. So please somebody help me >>out. This is really reflecting on the future of my business. somebody shed >>some light on this. thanks a ton guys Why can't you just change the labels you used for FedEx to USPS? In the manuals, the one titled "Interchange Databases", on page 47 through 56 is a detailed discussion about shipping. If you need to have someone else set all of this up for you, rather than for you to wade in and read the manuals and figure it out for yourself, then you need to hire a consultant at a price of from $100-$250 per hour or else find a different software package. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, December 03, 2001 at 18:35 PM: Sign on a clothing store - Come inside and have a fit. ---------------------------------------------------------------- This Linux System has been up 195 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Dec 3 19:25:01 2001 Subject: [ic] Shipping problem causing me to almost close On Mon, 3 Dec 2001 steve@moddepot.com wrote: >>isn't that like 400$. I cant afford to blow that kind of money. my next best Before I got IC, I spent a couple thousand dollars on software packages to get one that does what I need. It just happened to be free. It takes time, it takes work to write software. I gladly spent $500 for Tech Support to support the free software and to get the help I needed to make it go. If you can't afford $400 for a piece of software that will generate thousands of dollars for you, then either you can't afford to be in business, or the business that you are in is not going to make money. (I know all about starting businesses on a shoestring! My shoestring still has a couple of knots left in it!) If you only want inventory control, contact True North Software in Canada for Retail Plus software. Fabulous Point Of Sale software with excellent inventory data. It's free for the first 100 SKUs and then it only nags. If you are only after inventory control, then drop IC and have the customers send you orders via e-mail. IC's Inventory segment is horrible! I strongly suspect that you are not ever going to be able to over come the steep learning curve that IC requires. And, all of this is my own personal opinion and I wear asbestos suits to protect me from the flames. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, December 03, 2001 at 19:15 PM: Microsoft gives you Windows... OS/2 gives you the whole house. ---------------------------------------------------------------- This Linux System has been up 196 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 3 20:03:01 2001 Subject: [ic] Size based shipping On Mon, Dec 03, 2001 at 04:56:03PM -0600, Rick Eicher II wrote: > > One problem that I see right off is : > > if ([item-modifier size] =~ /^xl/i) {$total += ([item-quantity] * 11.95);} ... > > When i load an item into the cart it gives me a shipping cost of > > $154,792,564.00 for a medium > > and $154,792,620.00 for a large. Now while i plan to retire > > someday I do not > > think I will get many sales on this site.:) > > > > So what have I done wrong? lol To me the code looks write but I know that > > one can not proof read there own essay. > > > > I am useing redhat 7.1 and interchange 4.8.3(rpm). Not that that > > will matter > > much. > > Here is my latest version of the usertag in my catalog.cfg: > > #Shipping user tag > > UserTag ship Routine <<EOF > sub{ > package Vend::Interpolate; > my $total =0; > [item-list] > if ([item-modifier size] =~ /^s/i) {$total += ([nitems] * 8.95);} > if ([item-modifier size] =~ /^m/i) {$total += ([nitems] * 9.95);} > if ([item-modifier size] =~ /^l/i) {$total += ([nitems] * 10.95);} > if ([item-modifier size] =~ /^xl/i) {$total += ([nitems] * 11.95);} > [/item-list] > return $total; > } This is certainly one of the harder ways. I'd suggest: Learn how to do it in straight perl; there are numerous examples in the list. This will be hard to maintain unless you do. Give each size a different code. This way works now, but what happens when you have another item with size attributes? -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Tony Scott) Date: Mon Dec 3 21:01:01 2001 Subject: [ic] [ic]Merchandising Editor default sort Hello all, Using Interchange 4.8 on RedHat 7.1. I am trying to find out how to change the default behavior of the sort in the "Merchandising Editor" in the 'Admin' section. By default, it sorts by description. An SKU sort would be much easier to deal with (for me, anyway). I've checked the docs, the message archives, and searched the Interchange directories manually and with 'grep'. Unless I'm totally blind, I'm missing it. Anyone know how to change this, or, can it be changed? Thanks in advance. Tony Scott After Hours Computing http://www.ahcnet.net From: interchange-users at interchange.redhat.com (Korey Gozman) Date: Mon Dec 3 21:40:01 2001 Subject: [ic] ASP like Perl - Loop and Query why can I do both Im trying to do this and it just wont work note: __TABLE_001__ is a comma separated list [query sql="SELECT * from table001 " type=list list=1 more=1 ml=1000] [list] [perl] $Tag->loop( { list => __TABLE_001__ }, for(@list) {[sql-param $list]} ) [/perl] [/list] [/query] reason being is that I tried to do a regular loop like so ** [query sql="SELECT * from table001 " type=list list=1 more=1 ml=1000] [list] [loop list=|__TABLE_001__|] [sql-param [loop-code]] [/loop] [/list] [/query] ** and it completly baffles me why it would print this : ** [sql-param FileName] [sql-param FootNote] [sql-param PartNumber] [sql-param NomHoleDia] [sql-param PanelThicknessMin] [sql-param PanelThicknessMax] [sql-param ProngLengthCRefMin] [sql-pa..................................... .......................................................am ProngLengthCRefMax] [sql-param HeadStyle] [sql-param HeadDiaD] [sql-param HeadHTE] ** This list is fairily extensive so Im assuming that the query goes through it just lacks the recognition of formatting tags,.. but why quite puzzling, but Im sure that there is some logical answer to this out there somewhere, -Thanks Guys Ill keep working on it --Korey From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 3 22:07:01 2001 Subject: [ic] Credit Card Info On Mon, Dec 03, 2001 at 08:47:36PM -0600, David xxxxxxx wrote: > Hey guys, > > 2) I went to Thawte.com to get a pgp key which I've never before had, and > after signing up, I received a message that they no longer can generate pgp > keys. > The pgp application itself generates keys (using pgp -kg if you are using the standard unix version), having someone else generate keys for you requires you to trust them implicitly, which is dangerous... -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Rockford Computer) Date: Mon Dec 3 22:11:01 2001 Subject: [ic] Authorize.net Problems WILLING TO PAY FOR HELP!! Hello, I am willing to pay someone to help me.. I will pay pal the money over to your account for help. Name your price, I would like directions to complete this task or you can even log into my server and fix it for me.. PLEASE!!! I am new to this list, so please bare with me.. I must also tell everyone that I'm also new to Linux. I'm getting this error: (authorize net): Charge operation 'authorize net' failed Even when I set my authorize.net account in test mode and I even have tried using a real credit card and the test card number. I have searched the online doc's and even this list but I just don't have any idea what to do.. Like I said I'm new to Linux and don't understand anything.. Please help! Thank you, Jason Maycock From: interchange-users at interchange.redhat.com (Jason Maycock) Date: Mon Dec 3 22:16:00 2001 Subject: [ic] Authorize.net Problems WILLING TO PAY FOR HELP!! Hello, I am willing to pay someone to help me.. I will pay pal the money over to your account for help. Name your price, I would like directions to complete this task or you can even log into my server and fix it for me.. PLEASE!!! I am new to this list, so please bare with me.. I must also tell everyone that I'm also new to Linux. I'm getting this error: (authorize net): Charge operation 'authorize net' failed Even when I set my authorize.net account in test mode and I even have tried using a real credit card and the test card number. I have searched the online doc's and even this list but I just don't have any idea what to do.. Like I said I'm new to Linux and don't understand anything.. Please help! Thank you, Jason Maycock From: interchange-users at interchange.redhat.com (Korey Gozman) Date: Mon Dec 3 22:26:01 2001 Subject: [ic] Authorize.net Problems WILLING TO PAY FOR HELP!! Whats it say in your error log, also, if your using 4.8.2 this might work, http://interchange.redhat.com/archive/interchange-users/2001/msg11008.html Justin Helped me out big time, Check it out. Korey ;) At 21:06 12/3/01 -0600, you wrote: >Hello, > >I am willing to pay someone to help me.. I will pay pal the money over >to your account for help. Name your price, I would like directions to >complete this task or you can even log into my server and fix it for >me.. PLEASE!!! > > >I am new to this list, so please bare with me.. > >I must also tell everyone that I'm also new to Linux. > >I'm getting this error: > >(authorize net): Charge operation 'authorize net' failed > >Even when I set my authorize.net account in test mode and I even have >tried using a real credit card and the test card number. > >I have searched the online doc's and even this list but I just don't >have any idea what to do.. Like I said I'm new to Linux and don't >understand anything.. > >Please help! > >Thank you, >Jason Maycock > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Mon Dec 3 22:44:00 2001 Subject: [ic] change sku reference The other day I posted what I thought was an accurate question, but I think I made a mistake. Please let me state it again. In the results.html page where it lists the results of a search of products.txt, I have let's say sku im0003 and im0003_web (and so on). I only have the sku's without the "_web" searchable so to avoid redundant hits. When the results page displays the im0003 fields and information, I wish to also display a single field from the corresponding im0003_web record. I referred to it last time as a loop, and someone tried to help, but I don't think I should have said it was in a loop. It is in the results.html page which I am sure you are all familiar with. I guess it is a "list" which is sort of like a loop. So this [item-field size] would refer to the current item, now I am trying to get something like- [item-field size] [item_web-field size] Now obviously this won't work, but it illustrates what I am trying to do. I have tried every way I can think to. If someone can figure this out I will give them a big wet kiss :) thanks again all Paul Jordan From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 3 22:48:00 2001 Subject: [ic] Credit Card Info > Okay, I've been trying to figure out how to get my credit card info > encrypted for a good part of the day now. I see the below workaround, but > read about two hours of debate later on in the thread. I would love to get > pgp installed and working on my machine but I've run into two problems. This is how I do it using GnuPG. Install GnuPG on the box that will be used to receive and decrypt the orders. Then create a key pair on this box. Export the public key as an ascii file. Import this public key on the interch users ring on the server using: gpg --import [filename.asc] (as the interchange user) (Obviously GnuPG must be installed on the server) Then edit catalog.cfg and add the encryptor key to the line: EncryptKey 67A8567A Also the e-mail address for orders in catalog.cfg should be the same as the keys e-mail. Re-start IC and it should do the rest. Simon From: interchange-users at interchange.redhat.com (Jim Webster) Date: Mon Dec 3 22:50:53 2001 Subject: [ic] Products.txt I have a script that writes new products to the products.txt automatically. This file is a TAB delimited file. To make revisions easier, how can I make IC read this file with a comma "," or pipe "|" between each value. Jim. From: interchange-users at interchange.redhat.com (Korey G.) Date: Mon Dec 3 23:06:01 2001 Subject: [ic] Products.txt Hey Dude, I think this may help you out http://interchange.redhat.com/cgi-bin/ic/dev-4.8/icdatabase_5.html ;) At 19:48 12/3/01 -0800, you wrote: >I have a script that writes new products to the products.txt automatically. > >This file is a TAB delimited file. To make revisions easier, how can I make >IC read this file with a comma "," or pipe "|" between each value. > >Jim. > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Korey G.) Date: Mon Dec 3 23:12:01 2001 Subject: [ic] change sku reference Im not sure if this will help but since this is a search result when you format the results.html do something like <a href="[area [item-code]]">Low Res Image</a> and <a href="[area [item-code]_web]">High Res Image</a> At 19:44 12/3/01 -0800, you wrote: >The other day I posted what I thought was an accurate question, but I think >I made a mistake. Please let me state it again. > >In the results.html page where it lists the results of a search of >products.txt, I have let's say sku im0003 and im0003_web (and so on). I only >have the sku's without the "_web" searchable so to avoid redundant hits. > >When the results page displays the im0003 fields and information, I wish to >also display a single field from the corresponding im0003_web record. > >I referred to it last time as a loop, and someone tried to help, but I don't >think I should have said it was in a loop. It is in the results.html page >which I am sure you are all familiar with. I guess it is a "list" which is >sort of like a loop. > >So this >[item-field size] >would refer to the current item, now I am trying to get something like- >[item-field size] >[item_web-field size] > >Now obviously this won't work, but it illustrates what I am trying to do. I >have tried every way I can think to. > >If someone can figure this out I will give them a big wet kiss :) > >thanks again all > >Paul Jordan > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jim Webster) Date: Mon Dec 3 23:50:00 2001 Subject: [ic] products.gdbm Sorry for new post, Im not getting my mail on the mailing list. Where are the database directives listed so I can modify the database type. Jim. From: interchange-users at interchange.redhat.com (Steve Graham) Date: Tue Dec 4 00:00:01 2001 Subject: [ic] Static Pages listing items by sku Hello, I have both dynamic and static pages in my web site. On the static pages I would like to display a few items showing their price, description, and an order button. I know I can use something like this for each item: [loop search="se=18143"] [loop-field description] [loop-field price] [/loop] [order "12345"]Order This</a> Isn't there a simple way like [display-item "18143"] to include all the above, or more in a neat clean format? Thanks, Steve _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Korey G.) Date: Tue Dec 4 01:08:01 2001 Subject: [ic] products.gdbm Hey you can declare then in the catalog.cfg by doing so you can override dbconf/default_db/products.dbm automagically with out having to modify the default database cofiguration hope this helps -Korey At 20:51 12/3/01 -0800, you wrote: >Sorry for new post, Im not getting my mail on the mailing list. > >Where are the database directives listed so I can modify the database type. > >Jim. >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Korey G.) Date: Tue Dec 4 01:31:00 2001 Subject: [ic] Credit Card Info one more thing heres my encryptor setting Variable ENCRYPTOR /usr/bin/gpg --batch -ear billgates\@msn.com 2>test.error the test.error will help you out when you are having problems, make sure you can write to directory At 14:45 12/4/01 +1100, you wrote: > > Okay, I've been trying to figure out how to get my credit card info > > encrypted for a good part of the day now. I see the below workaround, but > > read about two hours of debate later on in the thread. I would love to >get > > pgp installed and working on my machine but I've run into two problems. > > >This is how I do it using GnuPG. > >Install GnuPG on the box that will be used to receive and decrypt the >orders. >Then create a key pair on this box. > >Export the public key as an ascii file. > >Import this public key on the interch users ring on the server using: > >gpg --import [filename.asc] > >(as the interchange user) > >(Obviously GnuPG must be installed on the server) > >Then edit catalog.cfg and add the encryptor key to the line: > >EncryptKey 67A8567A > >Also the e-mail address for orders in catalog.cfg should be the same as the >keys e-mail. > >Re-start IC and it should do the rest. > >Simon > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Tue Dec 4 04:16:01 2001 Subject: [ic] Products.txt > I have a script that writes new products to the products.txt > automatically. > > This file is a TAB delimited file. To make revisions easier, how > can I make > IC read this file with a comma "," or pipe "|" between each value. You don't say what database you are using. I will assume dbm with its auto importing. Have a look at <catroot>/dbconf/default_db/products.dbm - the table definition file; it looks like this: Database products products.txt TAB Database products HOT 1 Database products INDEX category:c Guess where you tell it to be PIPE instead of the default tab delimited. In addition, see: http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icdatabase03%2e0 2 which is about database definitions. If you are using an alternative database, there is a similar directory in the dbconf directory corresponding to your db type. I would avoid csv unless you can be _absolutely_ sure there are going to be no commas in your descriptions etc. have fun. Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Interchange Admin) Date: Tue Dec 4 08:41:01 2001 Subject: [ic] upgrade from 4.6 to 4.8.3 wierd problem Does nobody have a clue what the problem could be or did this message not make it out to the list? I don't want to take out 4.8.3 and put 4.6 back in but that one works. Thanks. jaime On Sun, Dec 02, 2001 at 07:49:31PM -0600, Interchange Admin wrote: > I am in the process of moving my store to a faster computer and Internet > connection and thought it would be a good time to upgrade from Interchange > 4.6 to 4.8.3. I had some strange problems going to 4.8.anything in the > past and cancelled the upgrade. I hoped that this newest version would > not have the wierd problems. It does. > > The problem is that Interchange will not recognize and go to the second > (and third, I suppose) checkout page. It works perfectly on 4.6. > On 4.8.x I get "page not found". Either something in Interchange is > broken or I am lucky it worked in 4.6. > > Any help would be much appreciated! > > interchange-4.6.5-1.rh6 perl-5.00503-10 RedHat 7.2 > > Here are the relevent portions of the suspect files: > > FILE- etc/profiles.order > > __NAME__ checkout_profile > > fname=required > lname=required > address1=required > city=required > state=required > zip=required > email=required > phone=required > > &final=no > &fatal=yes > &set=mv_successpage checkout2 > > __END__ > > __NAME__ checkout_profile2 > > &final=no > &fatal=yes > &set=mv_successpage checkout3 > > __END__ > > FILE- pages/checkout.html > __TOP__ > <h1>Checkout Page One</h1> > > <form method=post action="[process]"> > <input type=hidden name=mv_todo value=submit> > <input type=hidden name=mv_order_profile value=checkout_profile> > > <P>We need all of the following information to complete your order. When > finished entering all of the information please click on <b>NEXT!</b> below.</P> > > <TABLE ALIGN="CENTER" BORDER="1" CELLPADDING="1" CELLSPACING="1"> > <TR> > <TH BGCOLOR="#CCFFFF" align=right>* First Name</TH> > <TD BGCOLOR="#FFFF00"><input type=text name=fname size="32" > maxlength="60" value="[value fname]"></TD> > </TR> > [STUFF DELETED FOR SPACE] > </TABLE> > > <p> > <input type=submit name=mv_click value="Next!"> > <input type=reset name=reset value="Reset"> > </p> > > </form> > > <p>[page index]Return to shopping instead[/page]</p> > __BOTTOM__ -- interch | I read recently that human beings use only 15% @ Jaime Viehweg | of their brains capacity. Makes you wonder viehweg.net | what they do with the other 75%. From: interchange-users at interchange.redhat.com (Steve Graham) Date: Tue Dec 4 08:48:00 2001 Subject: [ic] Static Pages listing items by sku(2) Hello, I have both dynamic and static pages in my web site. On the static pages I would like to display a few items showing their price, description, and an order button. I know I can use something like this for each item: item code is 18143 [loop search="se=18143"] [loop-field description] [loop-field price] [/loop] [order "18143"]Order This</a> Isn't there a simple way like [display-item "18143"] to include all the above, or more in a neat clean format? Thanks, Steve _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Thomas Dan Otto) Date: Tue Dec 4 09:01:01 2001 Subject: [ic] Problems with SOAP Jon Jensen schrieb: > On Mon, 3 Dec 2001, Thomas Dan Otto wrote: > > > I was very happy to see, that SOAP is now integreted in IC 4.8.3. > > It's been part of IC since the 4.7 days, actually. > > > Also I tried to contact to a SOAP-server, helloworld example (from > > www.soaplite.com) on my localhost. The call looks like: > > > > my $text = q{[soap > > uri="http://localhost:80/Demo"; > > proxy="http://localhost:80/cgi-bin/hibye.cgi"; > > call="hi" > > ]}; > > (In a single perl script, it's okay...) > > > > The only thing happend, is that $text has the string as value=[soap > > uri="ht...]. It seem, that the tag it is not "compiled". Nothing is > > written in the error.log. Do you have an idea? > > You probably mean something like: > > my $text = $Tag->soap({ > uri => "http://localhost:80/Demo", > proxy => "http://localhost:80/cgi-bin/hibye.cgi", > call => "hi", > }); Thanks, - looked too much in soap.html. But I have still problems. Here an extract of the icdebug: Vend::SOAP:debug: error on SOAP call: require trapped by operation mask at /usr/lib/perl5/site_perl/5.6.1/LWP/UserAgent.pm line 4. Compilation failed in require at /usr/lib/perl5/site_perl/5.6.1/SOAP/Transport/HTTP.pm line 52. Maybe I'm not able to put of the Safe-modul. Must be a little mistake, because I look for it until hours. I hope you can help me. Thomas > > > > Were can I got more information about SOAP in IC? > > I think this is it for now: > > http://ftp.interchange.redhat.com/interchange/alpha/soap.html > > Jon > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 4 09:08:00 2001 Subject: [ic] Static Pages listing items by sku(2) On Tue, Dec 04, 2001 at 01:47:52PM +0000, Steve Graham wrote: > > Hello, > > I have both dynamic and static pages in my web site. > > On the static pages I would like to display a few items showing > their price, > description, and an order button. > > I know I can use something like this for each item: > item code is 18143 > > [loop search="se=18143"] > [loop-field description] > [loop-field price] > [/loop] > [order "18143"]Order This</a> > > Isn't there a simple way like [display-item "18143"] to include all > the > above, or more in a neat clean format? > > Thanks, > Steve Yes, we see you've asked several times. Maybe it's clear to everyone else, but I find the question confusing so I skip it. Maybe if you clarified what you mean by static and dynamic someone might help. cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Dec 4 09:19:00 2001 Subject: [ic] change sku reference On Mon, 3 Dec 2001, Paul Jordan wrote: PJ>>In the results.html page where it lists the results of a search of PJ>>products.txt, I have let's say sku im0003 and im0003_web (and so on). I only PJ>>have the sku's without the "_web" searchable so to avoid redundant hits. PJ>> PJ>>When the results page displays the im0003 fields and information, I wish to PJ>>also display a single field from the corresponding im0003_web record. PJ>> PJ>>I referred to it last time as a loop, and someone tried to help, but I don't PJ>>think I should have said it was in a loop. It is in the results.html page PJ>>which I am sure you are all familiar with. I guess it is a "list" which is PJ>>sort of like a loop. In the interest of clarifying your question, Let me see if I am understanding what you are trying to do. Let's say the im0003 is an electric drill. Is im0003_web an accessory for this drill? Like a carrying case, or something? If this is the case, then perhaps you would be better off using results_big.html and checking for the existence of SKU+'_web' and if it exists to also display it. If I've gone down the wrong road, please give us a better example of what you are trying to do. PJ>>If someone can figure this out I will give them a big wet kiss :) Big wet kisses are always nice! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, December 04, 2001 at 09:10 AM: My karma ran over my dogma ---------------------------------------------------------------- This Linux System has been up 210 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Dec 4 09:23:01 2001 Subject: [ic] Products.txt On Mon, 3 Dec 2001, Jim Webster wrote: JW>>I have a script that writes new products to the products.txt automatically. JW>> JW>>This file is a TAB delimited file. To make revisions easier, how can I make JW>>IC read this file with a comma "," or pipe "|" between each value. Others will probably correct me. It seems to me that if you do that you will break a lot of other things and cause massive headaches. It seems to me to be easier to teach your script to insert a CTL-I (or 09) between the fields. Then, nothing gets broken. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, December 04, 2001 at 09:20 AM: Entropy isn't what it used to be. ---------------------------------------------------------------- This Linux System has been up 210 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Dec 4 09:31:00 2001 Subject: [ic] How To Ask Questions Thanks to Dan Browning, I repost this: From: http://www.tuxedo.org/~esr/faqs/smart-questions.html How To Ask Questions The Smart Way Copyright © 2001 by Eric S. Raymond -------------------------------------------------------------------------------- Table of Contents Introduction Before You Ask When You Ask How To Interpret Answers On Not Reacting Like A Loser Questions Not To Ask Good and Bad Questions If You Can't Get An Answer -------------------------------------------------------------------------------- Introduction In the world of hackers, the kind of answers you get to your technical questions depends as much on the way you ask the questions as on the difficulty of developing the answer. This guide will teach you how to ask questions in a way that is likely to get you a satisfactory answer. The first thing to understand is that hackers actually like hard problems and good, thought-provoking questions about them. If we didn't, we wouldn't be here. If you give us an interesting question to chew on we'll be grateful to you; good questions are a stimulus and a gift. Good questions help us develop our understanding, and often reveal problems we might not have noticed or thought about otherwise. Among hackers, "Good question!" is a strong and sincere compliment. Despite this, hackers have a reputation for meeting simple questions with what looks like hostility or arrogance. It sometimes looks like we're hostile to newbies and the ignorant. But this isn't really true. What we are, unapologetically, is hostile to people who seem to be unwilling to to think or do their own homework before asking questions. People like that are time sinks -- they take without giving back, they waste time we could have spent on another question more interesting and another person more worthy of an answer. We call people like this "losers" (and for historical reasons we sometimes spell it "lusers"). We're (largely) volunteers. We take time out of busy lives to answer questions, and at times we're overwhelmed with them. So we filter ruthlessly. In particular, we throw away questions from people who appear to be losers in order to spend our question-answering time more efficiently, on winners. You don't want to be one of the losers. You don't want to seem like one, either. The best way to get a rapid and responsive answer is to ask it like a winner ^× to ask it like a person with smarts, confidence, and clues who just happens to need help on one particular problem. (Improvements to this guide are welcome. You can mail suggestions to esr@thyrsus.com.) -------------------------------------------------------------------------------- Before You Ask Before asking a technical question by email, or in a newsgroup, or on a website chat board, do the following: Try to find an answer by reading the manual. Try to find an answer by reading a FAQ. Try to find an answer by searching the Web. Try to find an answer by asking a skilled friend. When you ask your question, display the fact that you have done these things first; this will help establish that you're not being a lazy sponge and wasting peoples' time. Better yet, display what you have learned from doing these things. We like answering questions for people who have demonstrated that they can learn from the answers. Prepare your question. Think it through. Hasty-sounding questions get hasty answers, or none at all. The more you do to demonstrate that you have put thought and effort into solving your problem before asking for help, the more likely you are to actually get help. Beware of asking the wrong question. If you ask one that is based on faulty assumptions, J. Random Hacker is quite likely to reply with a uselessly literal answer while thinking "Stupid question...", and hoping that the experience of getting what you asked for rather than what you needed will teach you a lesson. Never assume you are entitled to an answer. You are not. You will earn an answer, if you earn it, by asking a question that is substantial, interesting, and thought-provoking ^× one that implicitly contributes to the experience of the community rather than merely passively demanding knowledge from others. On the other hand, making it clear that you are able and willing to help in the process of developing the solution is a very good start. "Can someone provide a pointer?", "What is my example missing?" and "Is there a site I should have checked?" are more likely to get answered than "Please post the exact procedure I should use." because you're making it clear that you're truly willing to complete the process if someone can simply point you in the right direction. -------------------------------------------------------------------------------- When You Ask Choose your forum carefully Be sensitive in choosing where you ask your question. You are likely to be ignored, or written off as a loser, if you: post your question to a forum where it is off topic post a very elementary question to a forum where advanced technical questions are expected, or vice-versa cross-post to too many different newsgroups Hackers blow off questions that are inappropriately targeted in order to try to protect their communications channels from being drowned in irrelevance. You don't want this to happen to you. -------------------------------------------------------------------------------- Write in clear, grammatical, correctly-spelled language We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy thinkers (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere. So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ^× in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention. Spell correctly. Don't confuse "its" with "it's" or "loose" with "lose". Don't TYPE IN ALL CAPS, this is read as shouting and considered rude. If you write like a semi-literate boob, you will probably be ignored. Writing like a l33t script kiddie hax0r is the absolute kiss of death and guarantees you will receive nothing but stony silence (or, at best, a heaping helping of scorn and sarcasm) in return. If you are asking questions in a forum that does not use your native language, you will get a limited amount of slack for spelling and grammar errors ^× but no extra slack at all for sloppy thinking (and yes, we can usually spot that difference). Also, unless you know what your respondent's languages are, write in English. Busy hackers tend to simply flush questions in languages they don't understand, and English is the working language of the net. By writing in English you minimize your chances that your question will be discarded unread. -------------------------------------------------------------------------------- Send questions in formats that are easy to understand If you make your question artificially hard to read, it is more likely to be passed over in favor of one that isn't. So: Send plain text mail, not HTML. Don't send mail in which entire paragraphs are single multiply-wrapped lines. (This makes it too difficult to reply to just part of the message.) Don't send MIME Quoted-Printable encoding either; all those =20 glyphs scattered through the text are ugly and distracting. Never, ever expect hackers to be able to read closed proprietary document formats like Microsoft Word. Most hackers react to these about as well as you would to having a pile of steaming pig manure dumped on your doorstep. If you're sending mail from a Windows machine, turn off Microsoft's stupid "Smart Quotes" feature. This is so you avoid sprinkling garbage characters through your mail. -------------------------------------------------------------------------------- Use meaningful, specific subject headers On mailing lists or newsgroups, the subject header is your golden opportunity to attract qualified experts' attention in around 50 characters or fewer. Don't waste it on babble like "Please help me" (let alone "PLEASE HELP ME!!!!"). Don't try to impress us with the depth of your anguish; use the space for a super-concise problem description instead. Stupid: HELP! Video doesn't work properly on my laptop! Smart: XFree86 4.1 misshapen mouse cursor, Fooware MV1005 vid. chipset -------------------------------------------------------------------------------- Be precise and informative about your problem Describe the symptoms of your problem or bug carefully and clearly. Describe the environment in which it occurs (machine, OS, application, whatever). Describe the research you did to try and understand the problem before you asked the question. Describe the diagnostic steps you took to try and pin down the problem yourself before you asked the question. Describe any recent changes in your computer or software configuration that might be relevant. Do the best you can to anticipate the questions a hacker will ask, and to answer them in advance in your request for help. Simon Tatham has written an excellent essay entitled How to Report Bugs Effectively. I strongly recommend that you read it. -------------------------------------------------------------------------------- Describe the problem's symptoms, not your guesses It's not useful to tell hackers what you think is causing your problem. (If your diagnostic theories were such hot stuff, would you be consulting others for help?) So, make sure you're telling them the raw symptoms of what goes wrong, rather than your interpretations and theories. Let them do the interpretation and diagnosis. Stupid: I'm getting back-to-back SIG11 errors on kernel compiles, and suspect a hairline crack on one of the motherboard traces. What's the best way to check for those? Smart: My home-built K6/233 on an FIC-PA2007 motherboard (VIA Apollo VP2 chipset) with 256MB Corsair PC133 SDRAM starts getting frequent SIG11 errors about 20 minutes after power-on during the course of kernel compiles, but never in the first 20 minutes. Rebooting doesn't restart the clock, but powering down overnight does. Swapping out all RAM didn't help. The relevant part of a typical compile session log follows. -------------------------------------------------------------------------------- Describe your problem's symptoms in chronological order The most useful clues in figuring out something that went wrong often lie in the events immediately prior. So, your account should describe precisely what you did, and what the machine did, leading up to the blowup. In the case of command-line processes, having a session log (e.g., using the script utility) and quoting the relevant twenty or so lines is very useful. If the program that blew up on you has diagnostic options (such as -v for verbose), try to think carefully about selecting options that will add useful debugging information to the transcript. If your account ends up being long (more than about four paragraphs), it might be useful to succinctly state the problem up top, then follow with the chronological tale. That way, hackers will know what to watch for in reading your account. -------------------------------------------------------------------------------- Don't ask people to reply by private email Hackers believe solving problems should be a public, transparent process during which a first try at an answer can and should be corrected if someone more knowledgeable notices that it is incomplete or incorrect. Also, they get some of their reward for being respondents from being seen to be competent and knowledgeable by their peers. When you ask for a private reply, you are disrupting both the process and the reward. Don't do this. It's the respondent's choice whether to reply privately ^× and if he does, it's usually because he thinks the question is too obvious or ill-formed to be interesting to others. There is one limited exception to to this rule. If you think the question is such that you are likely to get a lot of answers that are all pretty similar, then the magic words are "email me and I'll summarize the answers for the group". It is courteous to try and save the mailing list or newsgroup a flood of substantially identical postings ^× but you have to keep the promise to summarize. -------------------------------------------------------------------------------- Prune pointless queries Resist the temptation to close your request for help with semantically-null questions like "Can anyone help me?" or "Is there an answer?" First: if you've written your problem description halfway competently, such tacked-on questions are at best superfluous. Second: because they are superfluous, hackers find them annoying ^× and are likely to return logically impeccable but dismissive answers like "Yes, you can be helped" and "No, there is no help for you." -------------------------------------------------------------------------------- Courtesy never hurts, and sometimes helps Be courteous. Use "Please" and "Thanks in advance". Make it clear that you appreciate the time people spend helping you for free. To be honest, this isn't as important as (and cannot substitute for) being grammatical, clear, precise and descriptive, avoiding proprietary formats etc.; hackers in general would rather get somewhat brusque but technically sharp bug reports than polite vagueness. (If this puzzles you, remember that we value a question by what it teaches us.) However, if you've got your technical ducks in a row, politeness does increase you chances of getting a useful answer. -------------------------------------------------------------------------------- Follow up with a brief note on the solution Send a note after the problem has been solved to all who helped you; let them know how it came out and thank them again for their help. If the problem attracted general interest in a mailing list or newsgroup, it's appropriate to post the followup there. Your followup doesn't have to be long and involved; a simple "Howdy - it was a failed network cable! Thanks, everyone. - Bill" would be better than nothing. In fact, a short and sweet summary is better than a long dissertation unless the solution has real technical depth. Besides being courteous and informative, this sort of followup helps everybody who assisted feel a satisfying sense of closure about the problem. If you are not a techie or hacker yourself, trust us that this feeling is very important to the gurus and experts you tapped for help. Problem narratives that trail off into unresolved nothingness are frustrating things; hackers itch to see them resolved. The good karma that scratching that itch earns you will be very, very helpful to you next time you need to pose a question. -------------------------------------------------------------------------------- How To Interpret Answers RTFM and STFW: How To Tell You've Seriously Screwed Up There is an ancient and hallowed tradition: if you get a reply that reads "RTFM", the person who sent it thinks you should have Read The Fucking Manual. He is almost certainly right. Go read it. RTFM has a younger relative. If you get a reply that reads "STFW", the person who sent it thinks you should have Searched The Fucking Web. He is almost certainly right. Go search it. Often, the person sending either of these replies has the manual or the web page with the information you need open, and is looking at it as he types. These replies mean that he thinks (a) the information you read is easy to find, and (b) you will learn more if you seek out the information than if you have it spoon-fed to you. You shouldn't be offended by this; by hacker standards, he is showing you a rough kind of respect simply by not ignoring you. You should instead thank him for his grandmotherly kindness. -------------------------------------------------------------------------------- If you don't understand... If you don't understand the answer, do not immediately bounce back a demand for clarification. Use the same tools that you used to try and answer your original question (manuals, FAQs, the Web, skilled friends) to understand the answer. If you need to ask for clarification, exhibit what you have learned. For example, suppose I tell you: "It sounds like you've got a stuck zentry; you'll need to clear it." Then: Here's a bad followup question: "What's a zentry?" Here's a good followup question: "OK, I read the man page and zentries are only mentioned under the -z and -p switches. Neither of them says anything about clearing zentries. Is it one of these or am I missing something here?" -------------------------------------------------------------------------------- On Not Reacting Like A Loser Odds are, you'll screw up a few times, on hacker community forums -- in ways detailed in this article, or similar. And you'll be told exactly how you screwed up, possibly with colourful asides. In public. When this happens, the worst thing you can do is whine about the experience, claim to have been verbally assaulted, demand apologies, scream, hold your breath, threaten lawsuits, complain to people's employers, leave the toilet seat up, etc. Instead, here's what you do: Get over it. It's normal. In fact, it's healthy and appropriate. Community standards do not maintain themselves: They're maintained by people actively applying them, visibly, in public. Don't whine that all criticism should have been conveyed via private mail: That's not how it works. Nor is it useful to insist you've been personally insulted when someone comments that one of your claims was wrong, or that his views differ. Those are loser attitudes. There have been hacker forums where, out of some misguided sense of hyper-courtesy, participants are banned from posting any fault-finding with another's posts, and told "Don't say anything if you're unwilling to help the user." The resulting departure of clueful participants to elsewhere causes them to descend into meaningless babble and become useless as technical forums. Exaggeratedly "friendly" (in that fashion) or useful: Pick one. Remember: When that hacker tells you that you've screwed up, and (no matter how gruffly) tells you not to do it again, he's acting out of concern for (1) you and (2) his community. It would be much easier for him to ignore you and filter you out of his life. If you can't manage to be grateful, at least have a little dignity, don't whine, and don't expect to be treated like a fragile doll just because you're a newcomer with a theatrically hypersensitive soul and delusions of entitlement. -------------------------------------------------------------------------------- Questions Not To Ask Here are some classic stupid questions, and what hackers are thinking when they don't answer them. Q: Where can I find program X? Q: I'm having problems with my Windows machine. Can you help? Q: I'm having problems installing Linux or X. Can you help? Q: How can I crack root/steal channel-ops privileges/read someone's email? Q: Where can I find program X? A: The same place I'd find it, fool -- at the other end of a web search. Ghod, doesn't everybody know how to use Google yet? Q: I'm having problems with my Windows machine. Can you help? A: Yes. Throw out that Microsoft trash and install Linux. Q: I'm having problems installing Linux or X. Can you help? A: No. I'd need hands-on access to your machine to troubleshoot this. Go ask your local Linux user group for hands-on help. Q: How can I crack root/steal channel-ops privileges/read someone's email? A: You're a lowlife for wanting to do such things and a moron for asking a hacker to help you. -------------------------------------------------------------------------------- Good and Bad Questions Finally, I'm going to illustrate how to ask questions in a smart way by example; pairs of questions about the same problem, one asked in a stupid way and one in a smart way. Stupid: Where can I find out stuff about the Foonly Flurbamatic? This question just begs for "STFW" as a reply. Smart: I used Google to try to find "Foonly Flurbamatic 2600" on the Web, but I got no useful hits. Does anyone know where I can find programming information on this device? This one has already SFTWed, and sounds like he might have a real problem. Stupid: I can't get the code from project foo to compile. Why is it broken? He assumes that somebody else screwed up. Arrogant of him. Smart: The code from project foo doesn't compile under Nulix version 6.2. I've read the FAQ, but it doesn't have anything in it about Nulix-related problems. Here's a transcript of my compilation attempt; is it something I did? He's specified the environment, he's read the FAQ, he's showing the error, and and he's not assuming his problems are someone else's fault. This guy might be worth some attention. Stupid: I'm having problems with my motherboard. Can anybody help? J. Random Hacker's response to this is likely to be "Right. Do you need burping and diapering, too?" followed by a punch of the delete key. Smart: I tried X, Y, and Z on the S2464 motherboard. When that didn't work, I tried A, B, and C. Note the curious symptom when I tried C. Obviously the florbish is grommicking, but the results aren't what one might expect. What are the usual causes of grommicking on MP motherboards? Anybody got ideas for more tests I can run to pin down the problem? This person, on the other hand, seems worthy of an answer. He has exhibited problem-solving intelligence rather than waiting for an answer to drop from on high. In the last question, notice the subtle but important difference between demanding "Give me an answer" and "Please help me figure out what additional diagnostics I can run to achieve enlightenment." In fact, the form of that last question is closely based on a real incident that happened in August 2001 on the linux-kernel mailing list. I (Eric) was the one asking the question that time. I was seeing mysterious lockups on a Tyan S2464 motherboard. The listmembers supplied the critical information I needed to solve them. By asking the question in the way I did, I gave people something to chew on; I made it easy and attractive for them to get involved. I demonstrated respect for my peers' ability and invited them to consult with me as a peer. I also demonstrated respect for the value of their time by telling them the blind alleys I had already run down. Afterwards, when I thanked everyone and remarked how well the process had worked, an lkml member observed that he thought it had worked not because I'm a "name" on that list, but because I asked the question in the proper form. We hackers are in some ways a very ruthless meritocracy; I'm certain he was right, and that if I had behaved like a sponge I would have been flamed or ignored no matter who I was. His suggestion that I write up the whole incident as an instruction to others led directly to the composition of this guide. -------------------------------------------------------------------------------- If You Can't Get An Answer We realize that there are many people who just want to use the software we write, and have no interest in learning technical details. For most people, a computer is merely a tool, a means to an end. We acknowledge that, and don't expect everyone to take an interest in technical matters. Nevertheless, our style of answering questions is tuned for people who do take such an interest. Thus, if you can't get an answer, please don't take it personally that we don't feel we can help you. There are other sources of help you can go to, often sources better adapted to a novice's needs. There are many online and local user groups who are enthusiasts about the software, even though they may never have written any software themselves. These groups often form so that people can help each other and help new users. There are also plenty of commercial companies you can contract with for help, both large and small. Don't be dismayed at the idea of having to pay for a bit of help! After all, if your car engine blows a head gasket, chances are, you will take it to a repair shop and pay to get it fixed. Even if the software didn't cost you anything, you can't expect that support will always come for free. For popular software like Linux, there are are at least 10000 users per developer. It's just not possible for one person to handle the support calls from over 10000 users. Remember that even if you have to pay for support, you are still paying much less than if you had to buy the software as well (and support for closed-source software is usually more expensive and less competent than support for open-source software). From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Tue Dec 4 09:40:01 2001 Subject: [ic] Size based shipping > ... > > > > When i load an item into the cart it gives me a shipping cost of > > > $154,792,564.00 for a medium > > > and $154,792,620.00 for a large. Now while i plan to retire > > > someday I do not > > > think I will get many sales on this site.:) > > > > > > So what have I done wrong? lol To me the code looks write but > I know that > > > one can not proof read there own essay. > > > > > > I am useing redhat 7.1 and interchange 4.8.3(rpm). Not that that > > > will matter > > > much. > > > > Here is my latest version of the usertag in my catalog.cfg: > > > > #Shipping user tag > > > > UserTag ship Routine <<EOF > > sub{ > > package Vend::Interpolate; > > my $total =0; > > [item-list] > > if ([item-modifier size] =~ /^s/i) {$total += ([nitems] * 8.95);} > > if ([item-modifier size] =~ /^m/i) {$total += ([nitems] * 9.95);} > > if ([item-modifier size] =~ /^l/i) {$total += ([nitems] * 10.95);} > > if ([item-modifier size] =~ /^xl/i) {$total += ([nitems] * 11.95);} > > [/item-list] > > return $total; > > } > If I make the usertag like this: UserTag ship Routine <<EOF sub{ package Vend::Interpolate; my $total =0; {$total += (9.95);} return $total; } EOF Then it works. :) (gives 9.95 as the shipping) But as soon as I try and add any tag I get $153 million or so for the shipping. Even the [item-list]tags. It seems to me that it is not interpreting the tags correctly. Have i left some thing out that would let it use the tags? Thanks Rick From: interchange-users at interchange.redhat.com (Steve Graham) Date: Tue Dec 4 10:57:00 2001 Subject: [ic] Static Pages listing items by sku - rephrased Hello, I'm looking for something which I thought was very basic - I need to show item 18143 on a static page (one that I hand coded, eg. test.html), showing the sku number, selling price, order button, and a tumbnail image. Just like the random items showing on the main Interchange index.html page. The code below is a way to do this, but doesn't seem an efficient method. Any other simple way to make this function call? I suggested something like [display-item "18143"] just as an example of what MIGHT be available. Thanks, -Steve >From: cfm@maine.com >Reply-To: interchange-users@interchange.redhat.com >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] Static Pages listing items by sku(2) >Date: Tue, 4 Dec 2001 09:07:35 -0500 > >On Tue, Dec 04, 2001 at 01:47:52PM +0000, Steve Graham wrote: > > > > Hello, > > > > I have both dynamic and static pages in my web site. > > > > On the static pages I would like to display a few items showing > > their price, > > description, and an order button. > > > > I know I can use something like this for each item: > > item code is 18143 > > > > [loop search="se=18143"] > > [loop-field description] > > [loop-field price] > > [/loop] > > [order "18143"]Order This</a> > > > > Isn't there a simple way like [display-item "18143"] to include all > > the > > above, or more in a neat clean format? > > > > Thanks, > > Steve > >Yes, we see you've asked several times. Maybe it's clear to everyone >else, but I find the question confusing so I skip it. Maybe if you >clarified what you mean by static and dynamic someone might help. > >cfm > >-- > >Christopher F. Miller, Publisher >cfm@maine.com >MaineStreet Communications, Inc 208 Portland Road, Gray, ME >04039 >1.207.657.5078 >http://www.maine.com/ >Content/site management, online commerce, internet integration, Debian >linux >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Chad Leigh -- Shire.Net LLC) Date: Tue Dec 4 11:01:00 2001 Subject: [ic] Static Pages listing items by sku(2) On Tuesday, December 4, 2001, at 09:07 AM, cfm@maine.com wrote: > Yes, we see you've asked several times. Maybe it's clear to everyone > else, but I find the question confusing so I skip it. Maybe if you > clarified what you mean by static and dynamic someone might help. > I think what he wants is to develop a page by hand that he chooses certain products to list and the products are not determined by any part of IC search or other logic. Chad From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Dec 4 11:10:00 2001 Subject: [ic] ASP like Perl - Loop and Query why can I do both > Im trying to do this and it just wont work > > note: __TABLE_001__ is a comma separated list > > [query sql="SELECT * from table001 " > type=list > list=1 > more=1 > ml=1000] > > > [list] > [perl] > $Tag->loop( > { > list => __TABLE_001__ > }, > for(@list) {[sql-param > $list]} Maybe... for(@list) {q{[sql-param $list]}} ...just a thought. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Dec 4 11:18:01 2001 Subject: [ic] upgrade from 4.6 to 4.8.3 wierd problem > Does nobody have a clue what the problem could be or did this message > not make it out to the list? > > I don't want to take out 4.8.3 and put 4.6 back in but that one works. > > Thanks. > > jaime > > On Sun, Dec 02, 2001 at 07:49:31PM -0600, Interchange Admin wrote: > > I am in the process of moving my store to a faster computer > and Internet > > connection and thought it would be a good time to upgrade > from Interchange > > 4.6 to 4.8.3. I had some strange problems going to > 4.8.anything in the > > past and cancelled the upgrade. I hoped that this newest > version would > > not have the wierd problems. It does. > > > > The problem is that Interchange will not recognize and go > to the second > > (and third, I suppose) checkout page. It works perfectly on 4.6. > > On 4.8.x I get "page not found". Either something in Interchange is > > broken or I am lucky it worked in 4.6. > > > > Any help would be much appreciated! > > > > interchange-4.6.5-1.rh6 perl-5.00503-10 RedHat 7.2 > > > > Here are the relevent portions of the suspect files: > > > > FILE- etc/profiles.order > > > > __NAME__ checkout_profile > > > > fname=required > > lname=required > > address1=required > > city=required > > state=required > > zip=required > > email=required > > phone=required > > > > &final=no > > &fatal=yes > > &set=mv_successpage checkout2 > > > > __END__ > > > > __NAME__ checkout_profile2 > > > > &final=no > > &fatal=yes > > &set=mv_successpage checkout3 > > > > __END__ > > > > FILE- pages/checkout.html > > __TOP__ > > <h1>Checkout Page One</h1> > > > > <form method=post action="[process]"> > > <input type=hidden name=mv_todo value=submit> > > <input type=hidden name=mv_order_profile value=checkout_profile> Hopefully someone will have more time to look into it for you, but you might try adding a mv_todo or mv_nextpage or something to this and see if that helps. Also, post the portion of your code that looks like: [set Next!] ... [/set] Because I see you have mv_click set to Next! below. HTH, Dan Browning Kavod Technologies > > > > <P>We need all of the following information to complete > your order. When > > finished entering all of the information please click on > <b>NEXT!</b> below.</P> > > > > <TABLE ALIGN="CENTER" BORDER="1" CELLPADDING="1" CELLSPACING="1"> > > <TR> > > <TH BGCOLOR="#CCFFFF" align=right>* First Name</TH> > > <TD BGCOLOR="#FFFF00"><input type=text name=fname size="32" > > maxlength="60" value="[value fname]"></TD> > > </TR> > > [STUFF DELETED FOR SPACE] > > </TABLE> > > > > <p> > > <input type=submit name=mv_click value="Next!"> > > <input type=reset name=reset value="Reset"> > > </p> > > > > </form> > > > > <p>[page index]Return to shopping instead[/page]</p> > > __BOTTOM__ > > -- > interch | I read recently that human beings use only 15% > @ Jaime Viehweg | of their brains capacity. Makes you wonder > viehweg.net | what they do with the other 75%. > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Dec 4 11:22:00 2001 Subject: [ic] ASP like Perl - Loop and Query why can I do both > > Im trying to do this and it just wont work > > > > note: __TABLE_001__ is a comma separated list > > > > [query sql="SELECT * from table001 " > > type=list > > list=1 > > more=1 > > ml=1000] > > > > > > [list] > > [perl] > > $Tag->loop( > > { > > list => __TABLE_001__ > > }, > > > for(@list) {[sql-param > > $list]} > > Maybe... > > for(@list) {q{[sql-param $list]}} > > ...just a thought. > > Dan Browning > Kavod Technologies Oh, and: - [perl] + [calc] (Again, probably just shots in the dark), Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Dec 4 11:30:01 2001 Subject: [ic] Problems with SOAP Quoting Thomas Dan Otto (otto@onlinekaufen.de): > Jon Jensen schrieb: > > > On Mon, 3 Dec 2001, Thomas Dan Otto wrote: > > > > > I was very happy to see, that SOAP is now integreted in IC 4.8.3. > > > > It's been part of IC since the 4.7 days, actually. > > > > > Also I tried to contact to a SOAP-server, helloworld example (from > > > www.soaplite.com) on my localhost. The call looks like: > > > > > > my $text = q{[soap > > > uri="http://localhost:80/Demo"; > > > proxy="http://localhost:80/cgi-bin/hibye.cgi"; > > > call="hi" > > > ]}; > > > (In a single perl script, it's okay...) > > > > > > The only thing happend, is that $text has the string as value=[soap > > > uri="ht...]. It seem, that the tag it is not "compiled". Nothing is > > > written in the error.log. Do you have an idea? > > > > You probably mean something like: > > > > my $text = $Tag->soap({ > > uri => "http://localhost:80/Demo", > > proxy => "http://localhost:80/cgi-bin/hibye.cgi", > > call => "hi", > > }); > > Thanks, - looked too much in soap.html. > > But I have still problems. Here an extract of the icdebug: > Vend::SOAP:debug: error on SOAP call: require trapped by operation mask > at /usr/lib/perl5/site_perl/5.6.1/LWP/UserAgent.pm line 4. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.6.1/SOAP/Transport/HTTP.pm line > 52. > The SOAP module cannot be used in embedded Perl without AllowGlobal, because it does a "require" even when it already has the module. That is why the example showed [calc] my $text = q{[soap uri="http://localhost:80/Demo" proxy="http://localhost:80/cgi-bin/hibye.cgi" call="hi" ]}; [/calc] Of course that means this is all done before the [calc] region gets run. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Software axiom: Lack of speed kills. From: interchange-users at interchange.redhat.com (Korey G.) Date: Tue Dec 4 11:59:01 2001 Subject: [ic] ASP like Perl - Loop and Query why can I do both At 08:11 12/4/01 -0800, you wrote: > > Im trying to do this and it just wont work > > > > note: __TABLE_001__ is a comma separated list > > > > [query sql="SELECT * from table001 " > > type=list > > list=1 > > more=1 > > ml=1000] > > > > > > [list] > > [perl] > > $Tag->loop( > > { > > list => __TABLE_001__ > > }, > > > for(@list) {[sql-param > > $list]} > >Maybe... > >for(@list) {q{[sql-param $list]}} > >...just a thought. whats the q in q{[sql.... mean From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Tue Dec 4 12:13:00 2001 Subject: [ic] ASP like Perl - Loop and Query why can I do both On Tue, 4 Dec 2001, Korey G. wrote: > whats the q in q{[sql.... mean man perlop search for q/STRING/ Jon From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Dec 4 12:17:02 2001 Subject: [ic] ASP like Perl - Loop and Query why can I do both > At 08:11 12/4/01 -0800, you wrote: > > > Im trying to do this and it just wont work > > > > > > note: __TABLE_001__ is a comma separated list > > > > > > [query sql="SELECT * from table001 " > > > type=list > > > list=1 > > > more=1 > > > ml=1000] > > > > > > > > > [list] > > > [perl] > > > $Tag->loop( > > > { > > > list => __TABLE_001__ > > > }, > > > > > for(@list) {[sql-param > > > $list]} > > > >Maybe... > > > >for(@list) {q{[sql-param $list]}} > > > >...just a thought. > whats the q in q{[sql.... mean "q" = "quote", I believe. In Interchange language, it means "make them ther's ic tag thingies work in them ther's [calc] thingies". (I feel a correction coming already...) :-) Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Dec 4 12:20:00 2001 Subject: [ic] change sku reference At 07:44 PM 12/03/2001 -0800, you wrote: >The other day I posted what I thought was an accurate question, but I think >I made a mistake. Please let me state it again. > >In the results.html page where it lists the results of a search of >products.txt, I have let's say sku im0003 and im0003_web (and so on). I only >have the sku's without the "_web" searchable so to avoid redundant hits. > >When the results page displays the im0003 fields and information, I wish to >also display a single field from the corresponding im0003_web record. > >I referred to it last time as a loop, and someone tried to help, but I don't >think I should have said it was in a loop. It is in the results.html page >which I am sure you are all familiar with. I guess it is a "list" which is >sort of like a loop. > >So this >[item-field size] >would refer to the current item, now I am trying to get something like- >[item-field size] >[item_web-field size] > >Now obviously this won't work, but it illustrates what I am trying to do. I >have tried every way I can think to. > >If someone can figure this out I will give them a big wet kiss :) > >thanks again all > >Paul Jordan I answered your question the first time around; after reading this, I arrive at the same answer again: [loop arg="[item-code]_web"][loop-field foo][/loop] - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Dec 4 12:22:59 2001 Subject: [ic] Static Pages listing items by sku At 04:59 AM 12/04/2001 +0000, you wrote: >Hello, > >I have both dynamic and static pages in my web site. > >On the static pages I would like to display a few items showing their >price, description, and an order button. > >I know I can use something like this for each item: >[loop search="se=18143"] > [loop-field description] > [loop-field price] > [/loop] >[order "12345"]Order This</a> > >Isn't there a simple way like [display-item "18143"] to include all the >above, or more in a neat clean format? > Yes, write a UserTag! - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Dec 4 12:29:01 2001 Subject: [ic] upgrade from 4.6 to 4.8.3 wierd problem At 08:47 AM 12/04/2001 -0600, you wrote: >Does nobody have a clue what the problem could be or did this message >not make it out to the list? > >I don't want to take out 4.8.3 and put 4.6 back in but that one works. > >Thanks. > >jaime > >On Sun, Dec 02, 2001 at 07:49:31PM -0600, Interchange Admin wrote: > > I am in the process of moving my store to a faster computer and Internet > > connection and thought it would be a good time to upgrade from Interchange > > 4.6 to 4.8.3. I had some strange problems going to 4.8.anything in the > > past and cancelled the upgrade. I hoped that this newest version would > > not have the wierd problems. It does. > > > > The problem is that Interchange will not recognize and go to the second > > (and third, I suppose) checkout page. I think I ran across this, but didn't investigate much. Something has changed in the handling of order profiles in 4.8 vs. 4.6, and consequently this &set is ignored in some (if not all) circumstances: &set = mv_successpage mypagename Remove it from your profile and set it with an hidden form input or within an mv_click block on the calling page instead: <input type=hidden name=mv_successpage value=checkout2> -- or -- <input type=submit name=mv_click value=Continue> [set Continue] mv_successpage=checkout2 mv_todo=submit [/set] - Ed L. > It works perfectly on 4.6. > > On 4.8.x I get "page not found". Either something in Interchange is > > broken or I am lucky it worked in 4.6. > > > > Any help would be much appreciated! > > > > interchange-4.6.5-1.rh6 perl-5.00503-10 RedHat 7.2 > > > > Here are the relevent portions of the suspect files: > > > > FILE- etc/profiles.order > > > > __NAME__ checkout_profile > > > > fname=required > > lname=required > > address1=required > > city=required > > state=required > > zip=required > > email=required > > phone=required > > > > &final=no > > &fatal=yes > > &set=mv_successpage checkout2 > > > > __END__ > > > > __NAME__ checkout_profile2 > > > > &final=no > > &fatal=yes > > &set=mv_successpage checkout3 > > > > __END__ > > > > FILE- pages/checkout.html > > __TOP__ > > <h1>Checkout Page One</h1> > > > > <form method=post action="[process]"> > > <input type=hidden name=mv_todo value=submit> > > <input type=hidden name=mv_order_profile value=checkout_profile> > > > > <P>We need all of the following information to complete your > order. When > > finished entering all of the information please click on > <b>NEXT!</b> below.</P> > > > > <TABLE ALIGN="CENTER" BORDER="1" CELLPADDING="1" CELLSPACING="1"> > > <TR> > > <TH BGCOLOR="#CCFFFF" align=right>* First Name</TH> > > <TD BGCOLOR="#FFFF00"><input type=text name=fname size="32" > > maxlength="60" value="[value fname]"></TD> > > </TR> > > [STUFF DELETED FOR SPACE] > > </TABLE> > > > > <p> > > <input type=submit name=mv_click value="Next!"> > > <input type=reset name=reset value="Reset"> > > </p> > > > > </form> > > > > <p>[page index]Return to shopping instead[/page]</p> > > __BOTTOM__ > >-- >interch | I read recently that human beings use only 15% >@ Jaime Viehweg | of their brains capacity. Makes you wonder >viehweg.net | what they do with the other 75%. >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Tue Dec 4 12:31:53 2001 Subject: [ic] Size based shipping > > ... > > > > > > When i load an item into the cart it gives me a shipping cost of > > > > $154,792,564.00 for a medium > > > > and $154,792,620.00 for a large. Now while i plan to retire > > > > someday I do not > > > > think I will get many sales on this site.:) > > > > > > > > So what have I done wrong? lol To me the code looks write but > > I know that > > > > one can not proof read there own essay. > > > > > > > > I am useing redhat 7.1 and interchange 4.8.3(rpm). Not that that > > > > will matter > > > > much. > > > > > > Here is my latest version of the usertag in my catalog.cfg: > > > > > > #Shipping user tag > > > > > > UserTag ship Routine <<EOF > > > sub{ > > > package Vend::Interpolate; > > > my $total =0; > > > [item-list] > > > if ([item-modifier size] =~ /^s/i) {$total += ([nitems] * 8.95);} > > > if ([item-modifier size] =~ /^m/i) {$total += ([nitems] * 9.95);} > > > if ([item-modifier size] =~ /^l/i) {$total += ([nitems] * 10.95);} > > > if ([item-modifier size] =~ /^xl/i) {$total += ([nitems] * 11.95);} > > > [/item-list] > > > return $total; > > > } > > > If I make the usertag like this: > > UserTag ship Routine <<EOF > sub{ > package Vend::Interpolate; > my $total =0; > > {$total += (9.95);} > > return $total; > } > EOF > > > Then it works. :) (gives 9.95 as the shipping) But as soon as I > try and add > any tag I get $153 million or so for the shipping. Even the > [item-list]tags. > > It seems to me that it is not interpreting the tags correctly. Have i left > some thing out that would let it use the tags? > > Thanks > Rick After doing so research i have come to the decition that I can not use tags inside my usertag. So I have redone the usertag as follows: UserTag ship Routine <<EOF sub{ package Vend::Interpolate; my $total =0; for (@$Items) { if {$_->{size} =~ /^s/i} {$total += $_->{quantity} * 8.95;} if {$_->{size} =~ /^m/i} {$total += $_->{quantity} * 9.95;} if {$_->{size} =~ /^l/i} {$total += $_->{quantity} * 10.95;} if {$_->{size} =~ /^xl/i} {$total += $_->{quantity} * 11.95;} } return $total; } EOF But I still get shipping of around 153 million. Any ideas? rick From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Dec 4 12:35:00 2001 Subject: [ic] [ic]Merchandising Editor default sort At 07:58 PM 12/03/2001 -0500, you wrote: >Hello all, > >Using Interchange 4.8 on RedHat 7.1. > >I am trying to find out how to change the default behavior of the sort in >the "Merchandising Editor" in the 'Admin' section. > >By default, it sorts by description. An SKU sort would be much easier to >deal with (for me, anyway). > >I've checked the docs, the message archives, and searched the Interchange >directories manually and with 'grep'. Unless I'm totally blind, I'm missing >it. > >Anyone know how to change this, or, can it be changed? > >Thanks in advance. >Tony Scott >After Hours Computing >http://www.ahcnet.net >\ I believe the behavior in which it defaults to sorting by description is hard-coded, so to change it for any one catalog you'll want to copy the appropriate UI pages (i.e. item.html) into your catalog's pages/admin/ directory and modify them to suit. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Korey G.) Date: Tue Dec 4 12:50:01 2001 Subject: [ic] ASP like Perl - Loop and Query why can I do both I have it set like so right now: [query sql="SELECT * from table001 " type=list list=1 more=1 ml=1000] [list] [perl] $Tag->loop( { list => __TABLE_001__, }, for(@list) {q{[sql-param $list]}} ) [/perl] [/list] [/query] still not having any luck this is what it says in my log Safe: syntax error at (eval 8235) line 7, near ", > > for" > > > $Tag->loop( > { > list => FileName, FootNote, PartNumber, NomHoleDia, PanelThicknessMin, PanelThicknessMax, ProngLengthCRefMin, ProngLengthCRefMax, HeadStyle, HeadDiaD, HeadHTE , > }, > > for(@list) {q{[sql-param $list]}} > > > ) theres a logical problem here that Im just blindly overseeing, any suggestions, -Korey At 09:17 12/4/01 -0800, you wrote: > > At 08:11 12/4/01 -0800, you wrote: > > > > Im trying to do this and it just wont work > > > > > > > > note: __TABLE_001__ is a comma separated list > > > > > > > > [query sql="SELECT * from table001 " > > > > type=list > > > > list=1 > > > > more=1 > > > > ml=1000] > > > > > > > > > > > > [list] > > > > [perl] > > > > $Tag->loop( > > > > { > > > > list => __TABLE_001__ > > > > }, > > > > > > > for(@list) {[sql-param > > > > $list]} > > > > > >Maybe... > > > > > >for(@list) {q{[sql-param $list]}} > > > > > >...just a thought. > > whats the q in q{[sql.... mean > >"q" = "quote", I believe. In Interchange language, it means "make them >ther's ic tag thingies work in them ther's [calc] thingies". (I feel a >correction coming already...) :-) > >Dan Browning >Kavod Technologies > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (joachim.richter) Date: Tue Dec 4 12:55:01 2001 Subject: [ic] SQL ? Thanks for the answer Jon, as I read my last question, i realised that I forgot to mail the top section with all the details like we are using interchange 4.81 and a MYSQL database sorry about that. I understand that [query more=1 ml=10 st=sql sql=| SELECT sku FROM products WHERE category = 'TEST' |] and [list][sql-item description][/list][/query] will actually access the sql database via sql statements and is therefore superfast. Heres a try to use an SQL statements in a link <a href="[area href=scan arg=| SELECT sku FROM products WHERE category = 'TEST' |]">CLICK ME</a> the link actually works, but if I check the bottom line of the browser (by moving the mouse on the link) I read : ..../scan/fi=products.txt/rf=sku/co=yes/nu=0/se=TEST/op==/sf=category/ne=0.html now the link accesses the textfile and not the database directly, which means somehow I have to get the st=sql in there ! >From my amateur point of view I believe that interchange changes the qualified sql statement into an interchange link, because the link gives me a BAD_SQL if I add this to the statement ORDER BY category ASC LIMIT 50 well basically then the link you gave me (below) is the same except the missing st=sql <a href="[area href=scan arg=| fi=products st=sql co=1 sf=category se=TEST ml=10 |]">CLICK ME</a> See the reason for those questions is the amazing difference in speed. The query gives an results within seconds while the link takes a lot longer. What I like to know is how to change the link therefore it also accesses the SQL database via SQL statements to achieve the same breathtaking speed the query has. Or am I like completely mistaken ? If that is so I am really sorry, but I just bought a book on MYSQL and I am doing my first steps so to speak, and thats where I got the idea from, because even the most complicated query pops up results within seconds. JoE US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Tue Dec 4 12:58:00 2001 Subject: [ic] RE: products.txt Jim I am a newbie but I think I may be able to help here, even though I may be proven wrong by the more experienced. I have read that TAB delimited is much faster than comma delimited, and a little faster than pipe delimited. I have chosen TAB delimited, but what I do is I open products.txt in microsoft EXCEL. I don't known what OS or software you have but EXCEL will allow you to open TAB delimited .txt files in your typical spreadsheet view, edit the records and then when you close and save just be sure when prompted, NOT to save with "excel features". in others words whatever software you may use will try to save your file product.txt with little bells and whistles (from THAT program) which you don't want. This works great for me. I have also noticed in the directory "uploads" there is a porducts.xls, I don't know if you can get IC to read directly from an excel file but that is curiosity for another day. Hope I helped Paul Jordan From: interchange-users at interchange.redhat.com (Steve Graham) Date: Tue Dec 4 13:17:01 2001 Subject: [ic] Static Pages listing items by sku(2) - Exactly - Thanks, Steve >From: "Chad Leigh -- Shire.Net LLC" <chad@shire.net> >Reply-To: interchange-users@interchange.redhat.com >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] Static Pages listing items by sku(2) >Date: Tue, 4 Dec 2001 10:39:35 -0500 > > >On Tuesday, December 4, 2001, at 09:07 AM, cfm@maine.com wrote: > >>Yes, we see you've asked several times. Maybe it's clear to everyone >>else, but I find the question confusing so I skip it. Maybe if you >>clarified what you mean by static and dynamic someone might help. >> > >I think what he wants is to develop a page by hand that he chooses >certain products to list and the products are not determined by any part >of IC search or other logic. > >Chad > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Marty Tennison) Date: Tue Dec 4 13:37:01 2001 Subject: [ic] Static Pages listing items by sku - rephrased You might be missing the forest. Instead of thinking about how code a page to display individual items, think about how to "classify" individual items in different ways so that you can use your relational database and pre-built pages to display certain types of items. Here is one way to do it: You could use the featured column of the products table to specify a particular search string then simply pass that sting in a query. You could also specify a different results page than the normal results.html scan/st=db/co=yes/ml=10/sf=featured/sp=<SOME_RESULTS_PAGE>/se=<SOME_SEARCH_S TRING> BTW...You're right, doing a bunch of loops in a page would be very inefficient. Your much better off to do a single loop with search criteria. Marty Tennison marty@sediva.com > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Steve Graham > Sent: Tuesday, December 04, 2001 3:56 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Static Pages listing items by sku - rephrased > > > Hello, > > I'm looking for something which I thought was very basic - I need to show > item 18143 on a static page (one that I hand coded, eg. > test.html), showing > the sku number, selling price, order button, and a tumbnail > image. Just like > the random items showing on the main Interchange index.html page. > > The code below is a way to do this, but doesn't seem an efficient method. > Any other simple way to make this function call? > > I suggested something like [display-item "18143"] just as an > example of what > MIGHT be available. > > Thanks, > -Steve > > > >From: cfm@maine.com > >Reply-To: interchange-users@interchange.redhat.com > >To: interchange-users@interchange.redhat.com > >Subject: Re: [ic] Static Pages listing items by sku(2) > >Date: Tue, 4 Dec 2001 09:07:35 -0500 > > > >On Tue, Dec 04, 2001 at 01:47:52PM +0000, Steve Graham wrote: > > > > > > Hello, > > > > > > I have both dynamic and static pages in my web site. > > > > > > On the static pages I would like to display a few items showing > > > their price, > > > description, and an order button. > > > > > > I know I can use something like this for each item: > > > item code is 18143 > > > > > > [loop search="se=18143"] > > > [loop-field description] > > > [loop-field price] > > > [/loop] > > > [order "18143"]Order This</a> > > > > > > Isn't there a simple way like [display-item "18143"] to include all > > > the > > > above, or more in a neat clean format? > > > > > > Thanks, > > > Steve > > > >Yes, we see you've asked several times. Maybe it's clear to everyone > >else, but I find the question confusing so I skip it. Maybe if you > >clarified what you mean by static and dynamic someone might help. > > > >cfm > > > >-- > > > >Christopher F. Miller, Publisher > >cfm@maine.com > >MaineStreet Communications, Inc 208 Portland Road, Gray, ME > >04039 > >1.207.657.5078 > >http://www.maine.com/ > >Content/site management, online commerce, internet integration, Debian > >linux > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Korey G.) Date: Tue Dec 4 13:41:01 2001 Subject: [ic] ASP like Perl - Loop and Query why can't I do both I dont get this one part in the Interchange Tags Refernce section (2.44.1 Summary there is an ASP like perl section for loops and it goes like this: for(@list) {CODE} $Tag->loop( { list => VALUE, }, BODY ) now Im assuming that these should be encased in [PERL] tags and I guess I should replace the VALUE with __TABLE_001__ but what should be CODE and BODY? -Korey At 12:51 12/4/01 -0800, you wrote: >I have it set like so right now: >[query sql="SELECT * from table001 " > type=list > list=1 > more=1 > ml=1000] > > > [list] > [perl] > $Tag->loop( > { > list => __TABLE_001__, > }, > > for(@list) {q{[sql-param $list]}} > > > ) > [/perl] > > > [/list] > >[/query] >still not having any luck >this is what it says in my log >Safe: syntax error at (eval 8235) line 7, near ", > > > > for" > > > > > > $Tag->loop( > > { > > list => FileName, FootNote, PartNumber, > NomHoleDia, PanelThicknessMin, PanelThicknessMax, ProngLengthCRefMin, > ProngLengthCRefMax, HeadStyle, HeadDiaD, HeadHTE , > > }, > > > > for(@list) {q{[sql-param $list]}} > > > > > > ) >theres a logical problem here that Im just blindly overseeing, any >suggestions, > >-Korey > > > >At 09:17 12/4/01 -0800, you wrote: >> > At 08:11 12/4/01 -0800, you wrote: >> > > > Im trying to do this and it just wont work >> > > > >> > > > note: __TABLE_001__ is a comma separated list >> > > > >> > > > [query sql="SELECT * from table001 " >> > > > type=list >> > > > list=1 >> > > > more=1 >> > > > ml=1000] >> > > > >> > > > >> > > > [list] >> > > > [perl] >> > > > $Tag->loop( >> > > > { >> > > > list => __TABLE_001__ >> > > > }, >> > > >> > > > for(@list) {[sql-param >> > > > $list]} >> > > >> > >Maybe... >> > > >> > >for(@list) {q{[sql-param $list]}} >> > > >> > >...just a thought. >> > whats the q in q{[sql.... mean >> >>"q" = "quote", I believe. In Interchange language, it means "make them >>ther's ic tag thingies work in them ther's [calc] thingies". (I feel a >>correction coming already...) :-) >> >>Dan Browning >>Kavod Technologies >> >> >>_______________________________________________ >>interchange-users mailing list >>interchange-users@interchange.redhat.com >>http://interchange.redhat.com/mailman/listinfo/interchange-users > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Dec 4 13:55:01 2001 Subject: [ic] Static Pages listing items by sku(2) > On Tuesday, December 4, 2001, at 09:07 AM, cfm@maine.com wrote: > > > Yes, we see you've asked several times. Maybe it's clear > to everyone > > else, but I find the question confusing so I skip it. Maybe if you > > clarified what you mean by static and dynamic someone might help. > > > > I think what he wants is to develop a page by hand that he chooses > certain products to list and the products are not determined > by any part > of IC search or other logic. > > Chad One way to do it is: [...] mv_searchfield=sku mv_searchspec=102132|324322|324423|12312|123|3425452|234235...etc... [...] Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Tue Dec 4 13:58:10 2001 Subject: [ic] Static Pages listing items by sku - rephrased You're asking for a tag that somehow magically displays an item, but there is no such beast. However, you can create a page which displays information about a particular item in any way you want. For example, to show the price and description of item with sku "sku0123" you could do this: sku0123, [description code="sku0123"], is now at the low price of [price code="sku0123"]! Look through the docs. The 'code=' parameter can be applied to a bunch of tags, iirc. I think you can get any field from the products table for a particular product simply by doing this: [field code="sku0123" name="fieldname"]. If you want to make a single tag that spits out some kind of formatted information then, as someone else said, you need to create a usertag. ..Patrick ----- Original Message ----- From: "Steve Graham" <dtlgc@hotmail.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, December 04, 2001 7:56 AM Subject: Re: [ic] Static Pages listing items by sku - rephrased > Hello, > > I'm looking for something which I thought was very basic - I need to show > item 18143 on a static page (one that I hand coded, eg. test.html), showing > the sku number, selling price, order button, and a tumbnail image. Just like > the random items showing on the main Interchange index.html page. > > The code below is a way to do this, but doesn't seem an efficient method. > Any other simple way to make this function call? > > I suggested something like [display-item "18143"] just as an example of what > MIGHT be available. > > Thanks, > -Steve > > > >From: cfm@maine.com > >Reply-To: interchange-users@interchange.redhat.com > >To: interchange-users@interchange.redhat.com > >Subject: Re: [ic] Static Pages listing items by sku(2) > >Date: Tue, 4 Dec 2001 09:07:35 -0500 > > > >On Tue, Dec 04, 2001 at 01:47:52PM +0000, Steve Graham wrote: > > > > > > Hello, > > > > > > I have both dynamic and static pages in my web site. > > > > > > On the static pages I would like to display a few items showing > > > their price, > > > description, and an order button. > > > > > > I know I can use something like this for each item: > > > item code is 18143 > > > > > > [loop search="se=18143"] > > > [loop-field description] > > > [loop-field price] > > > [/loop] > > > [order "18143"]Order This</a> > > > > > > Isn't there a simple way like [display-item "18143"] to include all > > > the > > > above, or more in a neat clean format? > > > > > > Thanks, > > > Steve > > > >Yes, we see you've asked several times. Maybe it's clear to everyone > >else, but I find the question confusing so I skip it. Maybe if you > >clarified what you mean by static and dynamic someone might help. > > > >cfm > > > >-- > > > >Christopher F. Miller, Publisher > >cfm@maine.com > >MaineStreet Communications, Inc 208 Portland Road, Gray, ME > >04039 > >1.207.657.5078 > >http://www.maine.com/ > >Content/site management, online commerce, internet integration, Debian > >linux > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Shane Keene) Date: Tue Dec 4 14:22:01 2001 Subject: [ic] price level functionality gone? Does anyone know what happened to the price level functionality in Interchange 4.8.2? In 4.8.1 there was a column in userdb called price_level. This controlled what pricing the customer saw. It appears to have gone away in 4.8.2. Did it get moved somewhere else? Am I completely missing something? Any help greatly appreciated. Shane Keene Webmaster Network Computing Devices, Inc. http://www.ncd.com From: interchange-users at interchange.redhat.com (Interchange Admin) Date: Tue Dec 4 15:45:01 2001 Subject: [ic] upgrade from 4.6 to 4.8.3 wierd problem On Tue, Dec 04, 2001 at 09:29:24AM -0800, Ed LaFrance wrote: > At 08:47 AM 12/04/2001 -0600, you wrote: > > > I am in the process of moving my store to a faster computer and Internet > > > connection and thought it would be a good time to upgrade from Interchange > > > 4.6 to 4.8.3. I had some strange problems going to 4.8.anything in the > > > past and cancelled the upgrade. I hoped that this newest version would > > > not have the wierd problems. It does. > > > > > > The problem is that Interchange will not recognize and go to the second > > > (and third, I suppose) checkout page. > > I think I ran across this, but didn't investigate much. Something has > changed in the handling of order profiles in 4.8 vs. 4.6, and consequently > this &set is ignored in some (if not all) circumstances: > > &set = mv_successpage mypagename > > Remove it from your profile and set it with an hidden form input or within > an mv_click block on the calling page instead: > > <input type=hidden name=mv_successpage value=checkout2> > > - Ed L. This did the trick! Thanks! The funny thing is that putting the "mv_successpage" in the profile is what made the multi-page checkout work for 4.6. That's one of the reasons why I never thought to move it back to the page. Thanks again! jaime -- interch | I read recently that human beings use only 15% @ Jaime Viehweg | of their brains capacity. Makes you wonder viehweg.net | what they do with the other 75%. From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Tue Dec 4 15:52:01 2001 Subject: [ic] Adding Zip Codes for Tax I am using zip as the field to tax an order on. I was entering the zips that I want to tax into the admin ui, but I noticed that it only appears to keep the last 25. I looked in variables.txt and it only has the last 25 I entered also. Why is this? I didn't notice until after I had entered roughly 100 zip codes. Is there some tag I need to change to allow for more tax rates? Also, is there an easier way to enter this info into the varibles.gdbm? I am not familiar with this database (the default that interchange comes with). Any help on either of these issues would be greatly appreciated. Thanks in advance, Chad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Therapy is expensive. Poppin' bubble wrap is cheap. The choice is yours!" ____ | | |\ | || Chad M. Wittrock (Chad.Wittrock@uni.edu) \__/ | \| _||_ University of Northern Iowa From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 4 15:57:00 2001 Subject: [ic] Static Pages listing items by sku - rephrased On Tue, Dec 04, 2001 at 10:54:58AM -0800, Patrick J. Walsh wrote: > You're asking for a tag that somehow magically displays an item, but > there is no such beast. However, you can create a page which displays > information about a particular item in any way you want. For example, to > show the price and description of item with sku "sku0123" you could do this: > > sku0123, [description code="sku0123"], is now at the low price of [price > code="sku0123"]! > > Look through the docs. The 'code=' parameter can be applied to a bunch > of tags, iirc. I think you can get any field from the products table for a > particular product simply by doing this: [field code="sku0123" > name="fieldname"]. If you want to make a single tag that spits out some > kind of formatted information then, as someone else said, you need to create > a usertag. > > ..Patrick I **still** don't get the static vs dynamic thing. Am I dense or what? If it is a static page, hand coded, then what's with the tags? That's not static. Do you mean a finely crafted, hand tweaked page for sku0123? Just make page 'sku0132.html' and put it in your pages directory. IC will pull that **static** page rather than a dynamic flypage. Or you can use PageSelectField. Even in those cases you will still probably want an [order] tag or some such. Or do you mean you want to include a dynamic, random image within a static page **outside** of IC, like a server side include? You can do that too. > > ----- Original Message ----- > From: "Steve Graham" <dtlgc@hotmail.com> > To: <interchange-users@interchange.redhat.com> > Sent: Tuesday, December 04, 2001 7:56 AM > Subject: Re: [ic] Static Pages listing items by sku - rephrased > > > > Hello, > > > > I'm looking for something which I thought was very basic - I need to show > > item 18143 on a static page (one that I hand coded, eg. test.html), > showing > > the sku number, selling price, order button, and a tumbnail image. Just > like > > the random items showing on the main Interchange index.html page. > > > > The code below is a way to do this, but doesn't seem an efficient method. > > Any other simple way to make this function call? > > > > I suggested something like [display-item "18143"] just as an example of > what > > MIGHT be available. > > > > Thanks, > > -Steve > > > > > > >From: cfm@maine.com > > >Reply-To: interchange-users@interchange.redhat.com > > >To: interchange-users@interchange.redhat.com > > >Subject: Re: [ic] Static Pages listing items by sku(2) > > >Date: Tue, 4 Dec 2001 09:07:35 -0500 > > > > > >On Tue, Dec 04, 2001 at 01:47:52PM +0000, Steve Graham wrote: > > > > > > > > Hello, > > > > > > > > I have both dynamic and static pages in my web site. > > > > > > > > On the static pages I would like to display a few items showing > > > > their price, > > > > description, and an order button. > > > > > > > > I know I can use something like this for each item: > > > > item code is 18143 > > > > > > > > [loop search="se=18143"] > > > > [loop-field description] > > > > [loop-field price] > > > > [/loop] > > > > [order "18143"]Order This</a> > > > > > > > > Isn't there a simple way like [display-item "18143"] to include all > > > > the > > > > above, or more in a neat clean format? > > > > > > > > Thanks, > > > > Steve > > > > > >Yes, we see you've asked several times. Maybe it's clear to everyone > > >else, but I find the question confusing so I skip it. Maybe if you > > >clarified what you mean by static and dynamic someone might help. > > > > > >cfm > > > > > >-- > > > > > >Christopher F. Miller, Publisher > > >cfm@maine.com > > >MaineStreet Communications, Inc 208 Portland Road, Gray, ME > > >04039 > > >1.207.657.5078 > > >http://www.maine.com/ > > >Content/site management, online commerce, internet integration, Debian > > >linux > > >_______________________________________________ > > >interchange-users mailing list > > >interchange-users@interchange.redhat.com > > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _________________________________________________________________ > > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Nathan Olmscheid) Date: Tue Dec 4 16:20:00 2001 Subject: [ic] Re: Static Pages listing items by sku - rephrased Dynamic pages are pages that are built at runtime. EVERY time you click on a prudct to view the description on the foundation, it creates a dynamic page to greab stuff from the databases. When you leave that page, it does not save a productnumber.html and leave it on the server. It deletes it and will generate next time that it is needed. (users interact to make the page dynamically change) Static are pages that are already all completey coded, and there is a physcialy .html or some sort of web file on the server for it. If you want that page to change you have to download the static page and edit it. This make sense?? I have seen an ecommerce page that was STATIC. EVERY single item had its own page....instead of having a peice of software such as Interchange to dynamically change it. So if you wanted to change the way you displayed your products, you had to go edit EVERY one of them, in Interchange you change the template files and such that build the dynamic pages. Nathan > > I **still** don't get the static vs dynamic thing. Am I dense or what? > If it is a static page, hand coded, then what's with the tags? That's > not static. > > Do you mean a finely crafted, hand tweaked page for sku0123? Just > make page 'sku0132.html' and put it in your pages directory. IC > will pull that **static** page rather than a dynamic flypage. Or you > can use PageSelectField. Even in those cases you will still > probably want an [order] tag or some such. > > Or do you mean you want to include a dynamic, random image within a > static page **outside** of IC, like a server side include? You can > do that too. > > -- NAMI Solutions Nathan D. Olmscheid Co-Owner - Phone: 612-237-9646 e-mail: nathan@namisolutions.com From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Tue Dec 4 16:36:00 2001 Subject: [ic] Fatal error imporing variable table I recieved this error when I tried to import a file into the variable table through the admin ui: FATAL error gdbm store returned -1, errno 0, key "kUI_C_TITLEBARBG" at //usr/lib/interchange/lib/Vend/Table/Common.pm line 327, line 2. Progress to date: Using fields from file: 'code Variable pref_group' Can anyone help me with this? I have been looking through the archives for some help and so far have found nothing. I am running IC 4.6 on RH 7.1 with the default database. Thanks in advance. Chad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Therapy is expensive. Poppin' bubble wrap is cheap. The choice is yours!" ____ | | |\ | || Chad M. Wittrock (Chad.Wittrock@uni.edu) \__/ | \| _||_ University of Northern Iowa From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Dec 4 16:44:00 2001 Subject: [ic] Re: Static Pages listing items by sku - rephrased "Nathan Olmscheid" <nathan@namisolutions.com> writes: > Dynamic pages are pages that are built at runtime. EVERY time you click on a > prudct to view the description on the foundation, it creates a dynamic page > to greab stuff from the databases. When you leave that page, it does not > save a productnumber.html and leave it on the server. It deletes it and will > generate next time that it is needed. > > (users interact to make the page dynamically change) Static are pages that > are already all completey coded, and there is a physcialy .html or some sort > of web file on the server for it. If you want that page to change you have > to download the static page and edit it. This make sense?? I have seen an > ecommerce page that was STATIC. EVERY single item had its own > page....instead of having a peice of software such as Interchange to > dynamically change it. So if you wanted to change the way you displayed your > products, you had to go edit EVERY one of them, in Interchange you change > the template files and such that build the dynamic pages. Nathan But you can use the Static Page feature of IC to generate these pages automatically, though it has its drawbacks. Ciao Racke > -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Dec 4 16:49:00 2001 Subject: [ic] Adding Zip Codes for Tax Quoting Chad Wittrock (Chad.Wittrock@uni.edu): > I am using zip as the field to tax an order on. I was entering the zips that > I want to tax into the admin ui, but I noticed that it only appears to keep > the last 25. I looked in variables.txt and it only has the last 25 I entered > also. Why is this? I didn't notice until after I had entered roughly 100 zip > codes. Is there some tag I need to change to allow for more tax rates? Also, > is there an easier way to enter this info into the varibles.gdbm? I am not > familiar with this database (the default that interchange comes with). > > Any help on either of these issues would be greatly appreciated. That particular method of taxing is designed for only a limited number of things, not hundreds of zip codes. You want to add zips to your salestax.asc file, then change SalesTax in catalog.cfg to SalesTax zip state Your salestax.asc would look something like: default [fly-tax] 00011 .0735 00012 .0755 00013 .0735 etc. If the zip is not in salestax.asc, it will fall through to state. You can either put the states there, or you can put the rest in the standard Variable, relying on the "default [fly-tax]" setting in salestax.asc. The little JavaScript popup on the checkout page should be removed if you do this, it won't work like you want. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Tue Dec 4 17:10:01 2001 Subject: [ic] Re: Static Pages listing items by sku - rephrased > But you can use the Static Page feature of IC to generate these pages > automatically, though it has its drawbacks. Out of curiosity, wouldn't this improve server performance? I understand that when you change flypage.html or product prices or descriptions, you have to regenerate the static pages, but otherwise, what are the drawbacks? My site generates all of the pages dynamically at the moment, but I always figured that if we ran into performance problems, that would be one of the first stop-gap measures. ..Patrick From: interchange-users at interchange.redhat.com (Michael Stearne) Date: Tue Dec 4 17:14:00 2001 Subject: [ic] Newbie Help With Session Vars I have a site that I am developing ( http://demo.lserve.com/cgi-bin/fea/index.html ) that is to be view by different types of users. The first, the standard user, will have access to all "lines" (band names) and should see all designs in the system. The second type, a branded store will be directed into the site from an external link and should only be viewing one "line" at a time. For example if a user is coming in from the Blink 182 site, a session variable should be set to let it be know that the line code is now BL (unique for each band) and only that lines designs should show up. (in browsing, searching, and on the left side category listing). My question is, how can I create a session variable and then use that for various substitutions throughtout the catalog. For example all the Blink 182 designs are in a category called BL-Designs Is there anyway I can set the "lineVariable" (a session? variable) to be BL and then when I am search on categories I can swap in lineVariable dynamically: category=BL-Designs or if the session happens to be AM category=AM-Designs ? I am sure this is very vague, but I am looking for basic guidance here of how the above (branded and non-branded sites sharing same templates, database) can be accomplished. Thanks for any help, Michael Stearne From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 4 17:17:00 2001 Subject: [ic] Priority Mail not working Ok priority mail wasnt wroking so as a temp solution i did this FEG USPS Priority Mail W/ Delivery Confirmation weight 0 1 f 4.00 {'PriceDivide' => "1",} FEG USPS Priority Mail W/ Delivery Confirmation weight 1 2 f 4.50 {'PriceDivide' => "1",} FEG USPS Priority Mail W/ Delivery Confirmation weight 2 3 f 5.70 {'PriceDivide' => "1",} FEG USPS Priority Mail W/ Delivery Confirmation weight 3 4 f 6.95 {'PriceDivide' => "1",} FEG USPS Priority Mail W/ Delivery Confirmation weight 4 5 f 7.50 {'PriceDivide' => "1",} FEG USPS Priority Mail W/ Delivery Confirmation weight 5 70 e Email Sales For Shipping Price {'PriceDivide' => "1",} since up to 5lbs shipping is the same for everywhere so it works good. but after 5lbs shipping varies depending on zone. so i make a message to email sales for a shipping price. while this is only a temp solution is works pretty good. ill still be banging my head off my desk everyday trying to get it to work like the rest of the shipping methods. most order from my site wont exceed 5lbs. most of my items dont even weigh a tenth of an ounce. but my fans and stuff do weigh alot. so if a person was to order 20 fans theyd most likely have to email sales.but hey its a temp solution and now i offer priority mail as a shipping method. From: interchange-users at interchange.redhat.com (Remik) Date: Tue Dec 4 17:25:01 2001 Subject: [ic] Migrating from Miva Merchant to Interchange Hi All, We are currently using Miva Merchant for just about all our clients' e-commerce sites, but for several reasons we would like to migrate everything to Interchange. Has anyone here gone through this, any experience with migrating from Miva Merchant or other packages to Interchange? Any web sites/docs/experiences/wisdom anyone would like to share? How difficult was it and how time consuming? I'm new to this list, just joined a few days ago, so I don't know the developers out there who specialize in Interchange. Just judging by Miva's mailing lists, there's a semi-decent number of developers writing 3rd party modules and support for Merchant. Are there similar developers for Interchange who write 3rd party add-ons or provide support for the product? If there's a FAQ or a web site or two I could check out, that would also be great. Thanks! Remik From: interchange-users at interchange.redhat.com (Nathan Olmscheid) Date: Tue Dec 4 17:31:00 2001 Subject: [ic] Re: Static Pages listing items by sku - rephrased Correct....forgot to mention that. You are right in that it has its drawbacks though! Nathan Stefan Hornburg (Racke) writes: > "Nathan Olmscheid" <nathan@namisolutions.com> writes: > >> Dynamic pages are pages that are built at runtime. EVERY time you click on a >> prudct to view the description on the foundation, it creates a dynamic page >> to greab stuff from the databases. When you leave that page, it does not >> save a productnumber.html and leave it on the server. It deletes it and will >> generate next time that it is needed. >> >> (users interact to make the page dynamically change) Static are pages that >> are already all completey coded, and there is a physcialy .html or some sort >> of web file on the server for it. If you want that page to change you have >> to download the static page and edit it. This make sense?? I have seen an >> ecommerce page that was STATIC. EVERY single item had its own >> page....instead of having a peice of software such as Interchange to >> dynamically change it. So if you wanted to change the way you displayed your >> products, you had to go edit EVERY one of them, in Interchange you change >> the template files and such that build the dynamic pages. Nathan > > But you can use the Static Page feature of IC to generate these pages > automatically, though it has its drawbacks. > > Ciao > Racke >> > > -- > Die Erde bleibt keine Scheibe. --- The earth remains no disk. > > For projects and other business stuff please refer to COBOLT NetServices > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- NAMI Solutions Nathan D. Olmscheid Co-Owner - Phone: 612-237-9646 e-mail: nathan@namisolutions.com From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Dec 4 18:30:01 2001 Subject: [ic] Re: Static Pages listing items by sku - rephrased On Tue, 4 Dec 2001, Patrick J. Walsh wrote: PJW>>> But you can use the Static Page feature of IC to generate these pages PJW>>> automatically, though it has its drawbacks. PJW>> PJW>> Out of curiosity, wouldn't this improve server performance? I PJW>>understand that when you change flypage.html or product prices or PJW>>descriptions, you have to regenerate the static pages, but otherwise, what PJW>>are the drawbacks? My site generates all of the pages dynamically at the PJW>>moment, but I always figured that if we ran into performance problems, that PJW>>would be one of the first stop-gap measures. I think that to do so would tend to cripple a couple of features of IC. I like to think that the product pictures that are along the sides and the bottom are improving my sales. I would like to think that having these pictures change every time they refresh the page puts a lot more images in front of them. I figure that if I throw enough stuff out there that there will be something that will cause their finger to hit 'Buy Now' on an impulse purchase. I do have some 'static' pages (as defined in todays mail) that I wrote early on. I am gradually phasing them out and re-writing them with more dynamic attributes. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, December 04, 2001 at 18:25 PM: A is A - Aristotle ---------------------------------------------------------------- This Linux System has been up 219 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Dec 4 18:57:01 2001 Subject: [ic] Priority Mail not working On Tue, 4 Dec 2001 steve@moddepot.com wrote: >>Ok priority mail wasnt wroking so as a temp solution i did this >> >> >>FEG USPS Priority Mail W/ Delivery Confirmation weight 0 1 f 4.00 >>{'PriceDivide' => "1",} .................. >>since up to 5lbs shipping is the same for everywhere so it works good. but >>after 5lbs shipping varies depending on zone. so i make a message to email >>sales for a shipping price. while this is only a temp solution is works >>pretty good. ill still be banging my head off my desk everyday trying to get >>it to work like the rest of the shipping methods. most order from my site >>wont exceed 5lbs. most of my items dont even weigh a tenth of an ounce. but >>my fans and stuff do weigh alot. so if a person was to order 20 fans theyd >>most likely have to email sales.but hey its a temp solution and now i offer >>priority mail as a shipping method. In 1977 I took a Processor Technology SOL-20 to Korea with me and a copy of "What To Do After You Hit Return", and "Nailing Jelly To A Tree". There was only 1 other PC in the country and that was based on a 6800 so we couldn't exchange much. I entered in some of the Basic programs and got them to run. Then I got into "What If..." Hammurabi was soon up to a millionaire, only to have the tax collector totally wipe him out Sitting alone in Korea (and, this was before Bill Gates got his MITS Basic on the market) I taught myself Basic programming from these 2 books and going in and making changes and then looking at the results. Most of my computer knowledge has come this way. You can learn IC by poking, by prodding, by changing this and checking the results. By changing that and seeing what the effect was. EXPERIMENT!!! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, December 04, 2001 at 18:30 PM: Fad: In one era and out the other. ---------------------------------------------------------------- This Linux System has been up 219 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Steve Graham) Date: Tue Dec 4 21:03:01 2001 Subject: [ic] Static Pages listing items by sku - rephrased You might be right, and I'll look at grouping them to save some code writing if possible, but there still should be some enclusive tag call to display an item like the plus sell random items at the sides or bottom. Thanks, Steve >From: "Marty Tennison" <marty@sediva.com> >Reply-To: interchange-users@interchange.redhat.com >To: <interchange-users@interchange.redhat.com> >Subject: RE: [ic] Static Pages listing items by sku - rephrased >Date: Tue, 4 Dec 2001 10:26:51 -0800 > >You might be missing the forest. Instead of thinking about how code a >page >to display individual items, think about how to "classify" individual items >in different ways so that you can use your relational database and >pre-built >pages to display certain types of items. > >Here is one way to do it: >You could use the featured column of the products table to specify a >particular search string then simply pass that sting in a query. You could >also specify a different results page than the normal results.html >scan/st=db/co=yes/ml=10/sf=featured/sp=<SOME_RESULTS_PAGE>/se=<SOME_SEARCH_S >TRING> > > >BTW...You're right, doing a bunch of loops in a page would be very >inefficient. Your much better off to do a single loop with search >criteria. > >Marty Tennison >marty@sediva.com > > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.com > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > > Steve Graham > > Sent: Tuesday, December 04, 2001 3:56 PM > > To: interchange-users@interchange.redhat.com > > Subject: Re: [ic] Static Pages listing items by sku - rephrased > > > > > > Hello, > > > > I'm looking for something which I thought was very basic - I need to >show > > item 18143 on a static page (one that I hand coded, eg. > > test.html), showing > > the sku number, selling price, order button, and a tumbnail > > image. Just like > > the random items showing on the main Interchange index.html page. > > > > The code below is a way to do this, but doesn't seem an efficient >method. > > Any other simple way to make this function call? > > > > I suggested something like [display-item "18143"] just as an > > example of what > > MIGHT be available. > > > > Thanks, > > -Steve > > > > > > >From: cfm@maine.com > > >Reply-To: interchange-users@interchange.redhat.com > > >To: interchange-users@interchange.redhat.com > > >Subject: Re: [ic] Static Pages listing items by sku(2) > > >Date: Tue, 4 Dec 2001 09:07:35 -0500 > > > > > >On Tue, Dec 04, 2001 at 01:47:52PM +0000, Steve Graham wrote: > > > > > > > > Hello, > > > > > > > > I have both dynamic and static pages in my web site. > > > > > > > > On the static pages I would like to display a few items showing > > > > their price, > > > > description, and an order button. > > > > > > > > I know I can use something like this for each item: > > > > item code is 18143 > > > > > > > > [loop search="se=18143"] > > > > [loop-field description] > > > > [loop-field price] > > > > [/loop] > > > > [order "18143"]Order This</a> > > > > > > > > Isn't there a simple way like [display-item "18143"] to include all > > > > the > > > > above, or more in a neat clean format? > > > > > > > > Thanks, > > > > Steve > > > > > >Yes, we see you've asked several times. Maybe it's clear to everyone > > >else, but I find the question confusing so I skip it. Maybe if you > > >clarified what you mean by static and dynamic someone might help. > > > > > >cfm > > > > > >-- > > > > > >Christopher F. Miller, Publisher > > >cfm@maine.com > > >MaineStreet Communications, Inc 208 Portland Road, Gray, ME > > >04039 > > >1.207.657.5078 > > >http://www.maine.com/ > > >Content/site management, online commerce, internet integration, Debian > > >linux > > >_______________________________________________ > > >interchange-users mailing list > > >interchange-users@interchange.redhat.com > > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _________________________________________________________________ > > Get your FREE download of MSN Explorer at >http://explorer.msn.com/intl.asp > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Orko Sines) Date: Tue Dec 4 23:07:00 2001 Subject: [ic] One/Two Step Purchase? First off, let me get this out of the way: One week into installing and trying out Interchange 4.8.2 ( and just yesterday I installed 4.8.3 ) I have to say, anyone in on the development process of this project has my utmost respect. There was obviously a metric *ton* of work involved in designing this product to be not only compatible with the major players in the UNIX WebDev industry ( Perl, Javascript, and MySQL ), but to be fully customizable as well! Not to mention all the time involved on documentation ( BTW, anyone that is complaining about lack of documentation... have you actually seen how many Docs there are? Try printing them out sometime :) ) Okay, now that I've got the 'butt-shark' award from some of the developers, let's get on to my question... ;-) I'm involved in integrating a shopping cart system into a corporation's subscription site that has live traffic coursing through it's veins as we speak. The purpose of it is to provide a way for our users to be one submit away from purchasing a subscription to continue using our software. Conversion from a freetrial to a paid user is critical, and we've been in the conversion business for a long time now ( remember the banner days? Ugh. ). Needless to say, Our CEO is very intent on making sure that the site meets certain criteria. Three of the basic requirements are namely: a) fast. Not sluggish. As few pages as possible to get to a conversion without confusing the user. b) safe. Security we can promise to our users. c) easy. Simple to use/navigate. Easy to return and be recognized as a returning user. d) Flexible enough to be changed at any moment. Yeah, this is four things, but this is always there in any project ;) Interchange seems to fill all of these requirements, except that I'm having trouble in a single area: fast. You see, the existing site has exactly two user pages in a succesful conversion for CC transactions. The initial page accepts CGI parameters to produce the correct sales pitch for the correct level of subscription for the user ( there are several levels you can be at, depending on how much you're willing to pay ). This same page has the form elements for user information, credit card data, basically everything to fill the order. This page posts to itself, performing all of the error-checking and posting through PayFlowPro to Verisign, and also displaying the receipt and mailing one off. All of this, and also interacting with a central MySQL DB to adjust account status and credits on their account for the software. It's quite ugly, viewing it from the backend, and error prone. We are losing transactions due to it's 'Frankenstein' design model. Two many cooks, and not enough spoons. So...I'm looking at Interchange. I have all of our subscription plans in the products database, and have our skeleton template working in the interchange model. My question is this: No inventory control, two page subscription. Is this possible with IC? If so, where could I find an example of the proper variables to post to fill the user's cart and checkout in the same POST? Thank you for your time. I promise my future posts won't be nearly as wordy ;-) -- orko _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Jim Webster) Date: Tue Dec 4 23:14:01 2001 Subject: [ic] THIS IS FUNNY! Im finally getting the chance to build MY site vs. client sites. I'm trying to use the matrix options. My 1st variant is set at $231. When added to the cart, it reads $213!!!!!!! Any ideas? Here is the link.. add it to the cart and see for yourself. http://billiardmerchant.com/~billiard/cgi-bin/cart.cgi/bm-015.html Jim. From: interchange-users at interchange.redhat.com (Chad Leigh -- Shire.Net LLC) Date: Tue Dec 4 23:17:01 2001 Subject: [ic] Trying to get a grip on how IC works with "tables" Hi All I am a new IC user. I have been reading the various online docs and the perl based docs including the FAQ. I have installed 4.8.3 on FreeBSD 4.2 and am accessing PostgreSQL 7.1.3, I believe, on a separate machine. I installed the demo foundation store with no data preloaded as a test bed. I am running the interchange server as user interch This user also has its own group interch. The catalog is in my directory ~chad/catalogs/foundation The files in the catalogs tree are user: chad group: interch some that were created are user: interch group:interch The permissions for the files seem to match those given in the IC FAQ. I am in the admin screen and can add new items, etc. When I go to the "administration" section, under payment, I try and change, for example, "Online Check" from "accepted" to "not accepted." The change does not stick, after pressing "update" it reverts back immediately. In the error.log file I see the following: ip address and stuff [date] catalogname /icgi/catalogname/admin/payment.html Attempt to set variable::Variable::POSTAL_ACCEPTED in read-only table What makes a table read only? The file variables.txt is writable by the group. I have tried to RTFM and STFW and have not found the correct info to help me grok this. (I am not a perl pro). These "tables" where the various variables are set -- these are just the variables.txt and so forth in the catalog, right? Thanks for your help. Chad From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Dec 4 23:40:00 2001 Subject: [ic] One/Two Step Purchase? On Tue, 4 Dec 2001, Orko Sines wrote: OS>>One week into installing and trying out Interchange 4.8.2 ( and just OS>>yesterday I installed 4.8.3 ) I have to say, anyone in on the development OS>>process of this project has my utmost respect. There was obviously a metric OS>>*ton* of work involved in designing this product to be not only compatible OS>>with the major players in the UNIX WebDev industry ( Perl, Javascript, and OS>>MySQL ), but to be fully customizable as well! Let's back up a bit. You make this sound as if a thousand (give or take a few) people have been working to make Interchange what it is today. It's ONE person! Just ONE that has brought this to us. Yes, there are other people involved now, but that's only recently and they are busily rushing around trying to learn what's been going on in Mike's mind. I can only think of the wise sage that sits on the top of the mountain contemplating 'the meaning of life' with thousands of supplicants going to him to get educated because that sage does actually have all of those answers. Mike Heins is that sage! Yes, stuff is missing, especially in the docs. Software authors are notoriously bad document writers and Mike seems to be no exception. The people at Red Hat have tried to write docs for Mike's gospel, but their efforts don't get down to the level that people like you and I need. Plug away at it. Mike has written some great shit! You can make a fortune with what he is giving away for free! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, December 04, 2001 at 23:30 PM: People say I'm apathetic, but I don't care. ---------------------------------------------------------------- This Linux System has been up 224 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Tue Dec 4 23:44:01 2001 Subject: [ic] Trying to get a grip on how IC works with "tables" Under Administration click on Preferences, then click Payment, then Check_Accepted, change no to yes, click OK. That should do it. The other sections is read only. Anton ******************** AddAction New Media Web Hosting & E-Commerce Development www.interchangeworks.com E-mail: info@addaction.net www.addaction.net -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Chad Leigh -- Shire.Net LLC Sent: Tuesday, December 04, 2001 11:16 PM To: interchange-users@interchange.redhat.com Subject: [ic] Trying to get a grip on how IC works with "tables" Hi All I am a new IC user. I have been reading the various online docs and the perl based docs including the FAQ. I have installed 4.8.3 on FreeBSD 4.2 and am accessing PostgreSQL 7.1.3, I believe, on a separate machine. I installed the demo foundation store with no data preloaded as a test bed. I am running the interchange server as user interch This user also has its own group interch. The catalog is in my directory ~chad/catalogs/foundation The files in the catalogs tree are user: chad group: interch some that were created are user: interch group:interch The permissions for the files seem to match those given in the IC FAQ. I am in the admin screen and can add new items, etc. When I go to the "administration" section, under payment, I try and change, for example, "Online Check" from "accepted" to "not accepted." The change does not stick, after pressing "update" it reverts back immediately. In the error.log file I see the following: ip address and stuff [date] catalogname /icgi/catalogname/admin/payment.html Attempt to set variable::Variable::POSTAL_ACCEPTED in read-only table What makes a table read only? The file variables.txt is writable by the group. I have tried to RTFM and STFW and have not found the correct info to help me grok this. (I am not a perl pro). These "tables" where the various variables are set -- these are just the variables.txt and so forth in the catalog, right? Thanks for your help. Chad _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Chad Leigh -- Shire.Net LLC) Date: Tue Dec 4 23:57:00 2001 Subject: [ic] Trying to get a grip on how IC works with "tables" On Tuesday, December 4, 2001, at 11:40 , AddAction New Media wrote: > Under Administration click on Preferences, then click Payment, then > Check_Accepted, change no to yes, click OK. That should do it. The other > sections is read only. Sorry I was not clear. I am doing exactly that, and the change is not accepted, and I am actually getting the error I gave in the error file for each field on this screen, not just POSTAL... thanks Chad > > Anton From: interchange-users at interchange.redhat.com (www.bathbodybeyond.com) Date: Wed Dec 5 00:09:01 2001 Subject: [ic] Gift Certificates or Coupon Codes Does anyone know the purpose of the gift certificate or if there is some sort of code that the customer would enter in order to receive a discount automatically on their purchase? Thanks in advance Tanya Bath Body and More www.bathbodybeyond.com From: interchange-users at interchange.redhat.com (Nathan Olmscheid) Date: Wed Dec 5 00:16:00 2001 Subject: [ic] Re: Trying to get a grip on how IC works with =?iso-8859-1?Q?=22tables=22?= I was having the same problem. I ended up going into the table directly and changing it. I could not get it to STICK by using the Admin. Nathan > > Sorry I was not clear. I am doing exactly that, and the change is not > accepted, and I am actually getting the error I gave in the error file for > each field on this screen, not just POSTAL... > > thanks > Chad > >> >> Anton > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- NAMI Solutions Nathan D. Olmscheid Co-Owner - Phone: 612-237-9646 e-mail: nathan@namisolutions.com From: interchange-users at interchange.redhat.com (Jeff Fearn) Date: Wed Dec 5 00:20:00 2001 Subject: [ic] One/Two Step Purchase? /me joins in with a garolous hail mike, followed by supplication and a large "how to do" list ;) Jeff. >Let's back up a bit. You make this sound as if a thousand (give or take a >few) people have been working to make Interchange what it is today. > >It's ONE person! Just ONE that has brought this to us. Yes, there are other >people involved now, but that's only recently and they are busily rushing >around trying to learn what's been going on in Mike's mind. > >I can only think of the wise sage that sits on the top of the mountain >contemplating 'the meaning of life' with thousands of supplicants going to >him to get educated because that sage does actually have all of those >answers. Mike Heins is that sage! > >Yes, stuff is missing, especially in the docs. Software authors are >notoriously bad document writers and Mike seems to be no exception. The >people at Red Hat have tried to write docs for Mike's gospel, but their >efforts don't get down to the level that people like you and I need. > >Plug away at it. Mike has written some great shit! You can make a fortune >with what he is giving away for free! > >-= Jim =- > >---------------------------------------------------------------- >Jim's Linux-Operated Underground Bomb Shelter > >Tagline for Tuesday, December 04, 2001 at 23:30 PM: >People say I'm apathetic, but I don't care. > >---------------------------------------------------------------- >This Linux System has been up 224 hours > >My web page: http://www.idk-enterprises.com >---------------------------------------------------------------- > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Wed Dec 5 00:41:01 2001 Subject: [ic] Re: Trying to get a grip on how IC works with "tables" Make sure your permissions are OK. A bug in IC sometimes corrupts the permissions for the Site Administrator. The easiest way to correct this is to go to "ACCESS" and click on your username, then set the permissions by hand (click all boxes) and save changes. Log in again and see what happens. I am not sure, but it has happened to me in several IC stores that I could not make changes, after this is was solved. Try it. Anton ******************** AddAction.net Web Hosting & E-Commerce Development E-mail: info@addaction.net www.addaction.net -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Nathan Olmscheid Sent: Wednesday, December 05, 2001 12:10 AM To: interchange-users@interchange.redhat.com Subject: [ic] Re: Trying to get a grip on how IC works with "tables" I was having the same problem. I ended up going into the table directly and changing it. I could not get it to STICK by using the Admin. Nathan > > Sorry I was not clear. I am doing exactly that, and the change is not > accepted, and I am actually getting the error I gave in the error file for > each field on this screen, not just POSTAL... > > thanks > Chad > >> >> Anton > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- NAMI Solutions Nathan D. Olmscheid Co-Owner - Phone: 612-237-9646 e-mail: nathan@namisolutions.com _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Chad Leigh -- Shire.Net LLC) Date: Wed Dec 5 00:46:00 2001 Subject: [ic] Re: Trying to get a grip on how IC works with "tables" On Wednesday, December 5, 2001, at 12:36 , AddAction New Media wrote: > Make sure your permissions are OK. > > A bug in IC sometimes corrupts the permissions for the Site > Administrator. > The easiest way to correct this is to go to "ACCESS" and click on your > username, then set the permissions by hand (click all boxes) and save > changes. Log in again and see what happens. I am not sure, but it has > happened to me in several IC stores that I could not make changes, after > this is was solved. > > Try it. > > Anton > Hi Anton Thanks. I tried that too, in the mean time, and that did not fix it either. I went in and put a check by everything in the permissions for the admin user. Thanks Chad From: interchange-users at interchange.redhat.com (Orko Sines) Date: Wed Dec 5 00:49:00 2001 Subject: [ic] Hotmail....BAD >From the MailMan description of this mail list: "Note also that you may not receive mail from the list if you use certain free email providers who do not defend the use of their From line by spammers." Judging by the way I can see the messages coming into the list archives, but don't see any rolling into my Inbox, I'm guessing that Hotmail is one of those bad boy 'free email providers' they are talking about. Does anyone know of any free email providers are accepted here? I'd hate to use my work address, since that gets >500 a day as it is. Thanks, -- orko _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Jeff Fearn) Date: Wed Dec 5 02:40:01 2001 Subject: [ic] pgsql - options table error Hi :) IC 4.8.3, pgsql, perl v5.6.0, RedHat 7.1 I have recently started having a problem creating new options, or even editing existing options, for a product with matrix options. I get the following error: Sorry, there was an error in processing this form action. Please report the error or try again later. (DBD::Pg::st execute failed: ERROR: ExecReplace: Fail to add null value in not null attribute o_master at /usr/lib/interchange/lib/Vend/Table/DBI.pm line 985. ) lines from 983: my $sth = $s->[$DBI]->prepare($sql) or die ::errmsg("prepare %s: %s", $sql, $DBI::errstr); my $rc = $sth->execute(@$vary) or die ::errmsg("execute %s: %s", $sql, $DBI::errstr); I conclude from this that the sql statement is actually being passed to pgsql for execution. The definition of options has not changed. I can see via phpPgAdmin that the field is NOT NULL and has DEFAULT ''. I have recently changed wich fields are displayed on the options maintenance page, but can not see how that would affect anything. P.S. any idea why a field that has 0 or 1 in it is a varchar(64) and not a int(1)? :} Thanks, Jeff. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Dec 5 03:55:00 2001 Subject: [ic] Problem with Cobalt Raq4 installation Hi all, I know that this problem has cropped up from time to time in the past, especially whenever Cobalt decide to release a new product! I've been trying for days to move a beta site that i've been working on from a RedHat 7.1 server to a Cobalt Raq4 to put the finishing touches on the site. Having a look around various user forums i found that the Raq4 does some strange things with it's particular configurations of Perl and Apache. One particular suggestion by a guy called Ross Cousens, seemed to be the most feasible solution: 1. Installed Perl 5.6.1 PARALLEL to the Perl 5.005 installation already on the box, so as not to break the Cobalt Admin Applications. 2. Installed Bundle::Interchange 3. Installed and compiled Interchange 4.8.3 without errors using Perl 5.6.1, to a user "interch" under the users directory of the site i'm putting up; /home/sites/site2/users/interch/interchange Since Interchange "coughs" when you use cgi-wrapper, the recommendation is to bypass cgi-wrapper with a cgi-script reference, which i set up as "AddHandler cgi-script .ic" and set the foundation store cgi example to "foundation.ic" 4. Installed site under /home/sites/site2/web 5. Added Options ExecCGI on directory /home/sites/site2/web 6. Restarted httpd and started interchange, seemingly without problems. THE EFFECT: At first, i thought that i had got the configuration wrong, so I tried dozens of different combinations on install, as i keep getting "You do not have permission to access the requested file on this server". When i had a closer look at the /etc/httpd/logs/error file, the resultant error that comes back is "Options ExecCGI is off in this directory: /home/sites/site2/web/foundation.ic". Now I am more than fairly certain that ExecCGI IS enabled for this directory. Can anybody tell me how to find out for sure?? I've installed webmin to help me and it does actually confirm that Options ExecCGI is running in the virtual directory. I'd be seriously grateful for some help... as by now I'm going spare on this problem!! Thanx Patrick _______________________________________________________________________ Never pay another Internet phone bill! Freeserve AnyTime, for all the Internet access you want, day and night, only £12.99 per month. Sign-up at http://www.freeserve.com/time/anytime From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Wed Dec 5 04:59:01 2001 Subject: [ic] pgsql - options table error * Jeff Fearn wrote on Wed, Dec 05, 2001 at 07:39 +0000: > Sorry, there was an error in processing this form action. Please report the > error or try again later. (DBD::Pg::st execute failed: ERROR: ExecReplace: > Fail to add null value in not null attribute o_master at > /usr/lib/interchange/lib/Vend/Table/DBI.pm line 985. ) this messages seems not be be generated by: > my $rc = $sth->execute(@$vary) > or die ::errmsg("execute %s: %s", $sql, $DBI::errstr); this line, since you would see the SQL statement I think. But ICs errorhandling is a little... well... strange sometimes. > via phpPgAdmin that the field is NOT NULL and has DEFAULT ''. I have > recently changed wich fields are displayed on the options maintenance page, > but can not see how that would affect anything. I would try to get the statement, maybe it's malformed or so. > P.S. any idea why a field that has 0 or 1 in it is a varchar(64) and not a > int(1)? :} Yes. The foundation store builder didn't though of DBMS but about textfiles. Why int(1) for a bool field, btw? There are a lot of other strange table definitions, i.e. the "sel" of area/cat which includes part of the conditions (difficult to use from SQL :)), the tables are not normalized and so on. Well, it was build to use text files. And: it's an example. You should change a lot of things to your needs. But maybe you get some strange error messages only, so take care to not break anything. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Wed Dec 5 05:03:28 2001 Subject: [ic] ASP like Perl * Korey Gozman wrote on Fri, Nov 30, 2001 at 15:12 -0800: > I want to pull all the fields that match the criteria > but it only displays the last entry in tha table. > any suggestions? For postgres, you could order reverse and give a limit 1, i.e.: select sku from products where ... order by ... limit 1 But in standard-SQL it's not really possible I think, usually SQL is deterministic :) oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Jim Webster) Date: Wed Dec 5 05:07:00 2001 Subject: [ic] mail_receipt OPTIONS... Anyone know where I can locate the code below to make the proper adjustment? <input type=hidden name="mv_item_option" value="odd"> Output example (to customer): Quan Item No. Description Price Extension ---- ----------- ------------------------------- -------------- ------------ ---- 1 bm-021 Stingray Flaming Rail and $65.00 $65.00 Ivory Tint Fiberglass Cue <input type=hidden name="mv_item_option" value="odd">Ivory Tint White SUBTOTAL $65.00 SALES TAX $5.20 SHIPPING $10.55 ORDER TOTAL $80.75 Thanks, Jim. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Dec 5 08:34:01 2001 Subject: [ic] One/Two Step Purchase? On Tue, Dec 04, 2001 at 07:54:35PM -0800, Orko Sines wrote: ... > Interchange seems to fill all of these requirements, except that I'm having > trouble in a single area: fast. > > You see, the existing site has exactly two user pages in a succesful > conversion for CC transactions. The initial page accepts CGI parameters to > produce the correct sales pitch for the correct level of subscription for > the user ( there are several levels you can be at, depending on how much > you're willing to pay ). This same page has the form elements for user > information, credit card data, basically everything to fill the order. > This page posts to itself, performing all of the error-checking and posting > through PayFlowPro to Verisign, and also displaying the receipt and mailing > one off. All of this, and also interacting with a central MySQL DB to > adjust account status and credits on their account for the software. > > It's quite ugly, viewing it from the backend, and error prone. We are > losing transactions due to it's 'Frankenstein' design model. Two many > cooks, and not enough spoons. > > So...I'm looking at Interchange. I have all of our subscription plans in > the products database, and have our skeleton template working in the > interchange model. My question is this: > > No inventory control, two page subscription. Is this possible with IC? If > so, where could I find an example of the proper variables to post to fill > the user's cart and checkout in the same POST? IC can be slow or fast. Payflow to Verisign is going to be the slow part. I don't understand that part of the question: about fast? (Don't worry, I'm the stupid guy that complains when he can't understand the question. You did not say what the two page subscription model looks like. There is nothing particularly odd about it. We ourselves use a 4+ page checkout, trying to keep everything "above the fold". Look at mv_successpage, mv_failpage, mv_nextpage and profiles for flow control. > > Thank you for your time. I promise my future posts won't be nearly as > wordy ;-) > > -- orko > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Dec 5 08:40:01 2001 Subject: [ic] Hotmail....BAD On Tue, Dec 04, 2001 at 09:46:48PM -0800, Orko Sines wrote: > >From the MailMan description of this mail list: > > "Note also that you may not receive mail from the list if you use certain > free email providers who do not defend the use of their From line by > spammers." > > Judging by the way I can see the messages coming into the list archives, > but don't see any rolling into my Inbox, I'm guessing that Hotmail is one > of those bad boy 'free email providers' they are talking about. My understanding of that (some time back) was that you might get filtered and be unable to post. More likely hotmail is just broken again; it happens quite a bit - DNS oddities. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Dec 5 08:45:00 2001 Subject: [ic] ASP like Perl On Wed, Dec 05, 2001 at 10:32:37AM +0100, Steffen Dettmer wrote: > * Korey Gozman wrote on Fri, Nov 30, 2001 at 15:12 -0800: > > I want to pull all the fields that match the criteria > > but it only displays the last entry in tha table. > > any suggestions? > "All the fields?" You probably mean "all records"? > For postgres, you could order reverse and give a limit 1, i.e.: > > select sku from products where ... order by ... limit 1 > > But in standard-SQL it's not really possible I think, usually SQL > is deterministic :) What is "last entry"? Most recent timestamp? Last by some counter? etc... Bet you can answer the question yourself when you get it clear. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Wed Dec 5 08:59:00 2001 Subject: [ic] Anyone using VeriSign Gateway for Credit Card Payment? My new client is using VeriSign's Gateway. Any trouble using IC with VeriSign's Gateway? thanks. ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Wed Dec 5 09:02:01 2001 Subject: [ic] Adding Zip Codes for Tax Thanks a lot Mike!!! I really appreciate you helping me out with this! It works great! Chad > -----Original Message----- > From: interchange-users-admin@interchange.redhat.COM > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of Mike > Heins > Sent: Tuesday, December 04, 2001 3:49 PM > To: interchange-users@interchange.redhat.COM > Subject: Re: [ic] Adding Zip Codes for Tax > > > Quoting Chad Wittrock (Chad.Wittrock@uni.edu): > > I am using zip as the field to tax an order on. I was entering > the zips that > > I want to tax into the admin ui, but I noticed that it only > appears to keep > > the last 25. I looked in variables.txt and it only has the last > 25 I entered > > also. Why is this? I didn't notice until after I had entered > roughly 100 zip > > codes. Is there some tag I need to change to allow for more tax > rates? Also, > > is there an easier way to enter this info into the > varibles.gdbm? I am not > > familiar with this database (the default that interchange comes with). > > > > Any help on either of these issues would be greatly appreciated. > > That particular method of taxing is designed for only a limited number > of things, not hundreds of zip codes. > > You want to add zips to your salestax.asc file, then change SalesTax > in catalog.cfg to > > SalesTax zip state > > Your salestax.asc would look something like: > > default [fly-tax] > 00011 .0735 > 00012 .0755 > 00013 .0735 > > etc. > > If the zip is not in salestax.asc, it will fall through to state. > You can either put the states there, or you can put the rest in > the standard Variable, relying on the "default [fly-tax]" setting > in salestax.asc. > > The little JavaScript popup on the checkout page should be removed > if you do this, it won't work like you want. > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > Nature, to be commanded, must be obeyed. -- Francis Bacon > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (joachim.richter) Date: Wed Dec 5 09:12:00 2001 Subject: [ic] [log] - question Hi list, this tag writes lname, interchange page title and date in a logfile. with the create=1 the tag will create the file after deletion ! [log file="pages/log/logfile.log" type=txt interpolate=1 create=1] Name : [value lname] Page : @_MV_PAGE_@ Date : [tag time]%A, %d. %B, %Y %H:%M:%S[/tag] [/log] One question, how do I get rid of the "1" which always shows up on the page ? regards JoEr US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Wed Dec 5 09:35:00 2001 Subject: [ic] [log] - question "joachim.richter" <joachim.richter@usvideocenter.de> writes: > Hi list, > > this tag writes lname, interchange page title and date in a logfile. > with the create=1 the tag will create the file after deletion ! > > [log file="pages/log/logfile.log" type=txt interpolate=1 create=1] > Name : [value lname] Page : @_MV_PAGE_@ Date : [tag time]%A, %d. %B, %Y %H:%M:%S[/tag] > [/log] > > One question, how do I get rid of the "1" which always shows up on the page ? [tmp dummy][log ...] ... [/log][/tmp] Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Marty Tennison) Date: Wed Dec 5 09:51:01 2001 Subject: [ic] mail_receipt If you question is "Why are the option arguments showing up in the customers receipt rather than the option description? (see code below for example)" Try using etc/receipt.html as your template, it has a very similar layout. Someone on this list graciously posted the following link. http://www.tuxedo.org/~esr/faqs/smart-questions.html > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jim > Webster > Sent: Wednesday, December 05, 2001 2:06 AM > To: interchange-users@interchange.redhat.com > Subject: [ic] mail_receipt > > > OPTIONS... Anyone know where I can locate the code below to make > the proper > adjustment? > > <input type=hidden name="mv_item_option" value="odd"> > > Output example (to customer): > > Quan Item No. Description Price > Extension > ---- ----------- ------------------------------- -------------- > ------------ > ---- > 1 bm-021 Stingray Flaming Rail and $65.00 > $65.00 > Ivory Tint Fiberglass Cue > <input type=hidden > name="mv_item_option" > value="odd">Ivory Tint White > > SUBTOTAL > $65.00 > SALES TAX > $5.20 > SHIPPING > $10.55 > > ORDER TOTAL > $80.75 > > Thanks, Jim. > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Fred Pope) Date: Wed Dec 5 10:15:00 2001 Subject: [ic] Anyone using VeriSign Gateway for Credit Card Payment? None. -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of JOHN WRONG Sent: Wednesday, December 05, 2001 6:58 AM To: interchange-users@interchange.redhat.com Subject: [ic] Anyone using VeriSign Gateway for Credit Card Payment? My new client is using VeriSign's Gateway. Any trouble using IC with VeriSign's Gateway? thanks. ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Wed Dec 5 10:36:01 2001 Subject: [ic] Size based shipping (almost got it) Ok I almost have this working. Every thing works but the if statement. Here is my user tag now: #Shipping user tag UserTag ship Routine <<EOF sub{ package Vend::Interpolate; my $total =0; for(@$Items) { #if {$Tag->accessories('size') =~ /^s/i} {$total += $_->{quantity} * 8.95;} if {$Tag->accessories{'Size'} =~ /^m/i} {$total += $_->{quantity} * 9.95;} #if {$Tag->accessories('size') =~ /^l/i} {$total += $_->{quantity} * 10.95;} #if {$Tag->accessories('size') =~ /^xl/i} {$total += $_->{quantity} * 11.95;} } return $total;} EOF I just can not figure out how to do the "$Tag->accessories{Size}" part. I need it to find the option "size" I have set up for the item. Once i get this I am done. How should this be done? My option.txt is: AP212 1 AP212 Size 1 Size m=Medium*,^Ml=Large select m==32.95,l==49.95 Thank you all for the help, Rick From: interchange-users at interchange.redhat.com (Andy Phung) Date: Wed Dec 5 11:01:00 2001 Subject: [ic] Interchange process dies after a few access Dear all, I seemed to have installed the Interchange without much problem and managed to create a test cart (foundation) and started the interchange server. All goes well for a few seconds, and I can even access the cart (even the cgi files) and then the interchange server suddenly dies. I checked the process list (ps x) and first interchange process exist, then soon it disappear and replaced by a process: foundation (name of the cart) and then foundation dies also. Please what is wrong and how can I correct this problem. Best regards From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Wed Dec 5 11:14:01 2001 Subject: [ic] [log] - question On 5 Dec 2001, Stefan Hornburg (Racke) wrote: > > this tag writes lname, interchange page title and date in a logfile. > > with the create=1 the tag will create the file after deletion ! > > > > [log file="pages/log/logfile.log" type=txt interpolate=1 create=1] > > Name : [value lname] Page : @_MV_PAGE_@ Date : [tag time]%A, %d. %B, %Y %H:%M:%S[/tag] > > [/log] > > > > One question, how do I get rid of the "1" which always shows up on the page ? > > [tmp dummy][log ...] ... [/log][/tmp] Or [log ... hide=1] ... [/log] Jon From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Dec 5 12:45:04 2001 Subject: Fwd: RE: [ic] Size based shipping (almost got it) >Delivered-To: newmediaems-com-edl@newmediaems.com >From: "Rick Eicher II" <rick@texol.net> >To: <interchange-users@interchange.redhat.com> >Subject: RE: [ic] Size based shipping (almost got it) >X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) >Importance: Normal >Sender: interchange-users-admin@interchange.redhat.com >X-BeenThere: interchange-users@interchange.redhat.com >X-Mailman-Version: 2.0.7 >Reply-To: interchange-users@interchange.redhat.com >List-Help: ><mailto:interchange-users-request@interchange.redhat.com?subject=help> >List-Post: <mailto:interchange-users@interchange.redhat.com> >List-Subscribe: ><http://interchange.redhat.com/mailman/listinfo/interchange-users>, > ><mailto:interchange-users-request@interchange.redhat.com?subject=subscribe> >List-Id: Interchange users discussion (high volume) ><interchange-users.interchange.redhat.com> >List-Unsubscribe: ><http://interchange.redhat.com/mailman/listinfo/interchange-users>, > ><mailto:interchange-users-request@interchange.redhat.com?subject=unsubscribe> >List-Archive: <http://interchange.redhat.com/pipermail/interchange-users/> >X-Original-Date: Wed, 5 Dec 2001 09:48:12 -0600 >Date: Wed, 5 Dec 2001 09:48:12 -0600 > >Ok I almost have this working. Every thing works but the if statement. > >Here is my user tag now: > >#Shipping user tag > > >UserTag ship Routine <<EOF >sub{ >package Vend::Interpolate; >my $total =0; > >for(@$Items) { >#if {$Tag->accessories('size') =~ /^s/i} {$total += $_->{quantity} * 8.95;} >if {$Tag->accessories{'Size'} =~ /^m/i} {$total += $_->{quantity} * 9.95;} I can't vouch for the code as a whole, but here are a couple of corrections: for (@$Items) { if ($_->{'size'} =~ /^m/i) {$total += $_->{quantity} * 9.95;} # ...more conditions... } Note that this assumes the there is an option named 'size' for each item in the cart; you can always verify what is in your current cart by doing a [dump] (which is what you see in UI->Administration->Active Sessions). - Ed L. >#if {$Tag->accessories('size') =~ /^l/i} {$total += $_->{quantity} * 10.95;} >#if {$Tag->accessories('size') =~ /^xl/i} {$total += $_->{quantity} * >11.95;} >} >return $total;} >EOF > > >I just can not figure out how to do the "$Tag->accessories{Size}" part. I >need it to find the option "size" I have set up for the item. Once i get >this I am done. How should this be done? > >My option.txt is: > >AP212 1 AP212 Size 1 Size m=Medium*,^Ml=Large select >m==32.95,l==49.95 > > >Thank you all for the help, >Rick > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Dec 5 13:21:01 2001 Subject: [ic] Size based shipping (almost got it) Quoting Rick Eicher II (rick@texol.net): > Ok I almost have this working. Every thing works but the if statement. > > Here is my user tag now: > > #Shipping user tag > > > UserTag ship Routine <<EOF > sub{ > package Vend::Interpolate; > my $total =0; > > for(@$Items) { > #if {$Tag->accessories('size') =~ /^s/i} {$total += $_->{quantity} * 8.95;} > if {$Tag->accessories{'Size'} =~ /^m/i} {$total += $_->{quantity} * 9.95;} > #if {$Tag->accessories('size') =~ /^l/i} {$total += $_->{quantity} * 10.95;} > #if {$Tag->accessories('size') =~ /^xl/i} {$total += $_->{quantity} * > 11.95;} > } > return $total;} > EOF > > > I just can not figure out how to do the "$Tag->accessories{Size}" part. That never would have compiled. UserTag ship Routine <<EOF sub { package Vend::Interpolate; my $total =0; for my $item (@$Items) { if ($item->{size} =~ /^s/i ) { $total += $item->{quantity} * 8.95; } elsif ($item->{size} =~ /^m/i ) { $total += $item->{quantity} * 9.95; } elsif ($item->{size} =~ /^l/i ) { $total += $item->{quantity} * 10.95; } elsif ($item->{size} =~ /^xl/i) { $total += $item->{quantity} * 11.95; } } return $total; } EOF I have corrected your spacing a bit -- is there a shortage of whitespace characters in your area? 8-) -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> "All you need in this life is ignorance and confidence, and then success is sure." -- Mark Twain From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Wed Dec 5 13:55:01 2001 Subject: [ic] Size based shipping (works) > Quoting Rick Eicher II (rick@texol.net): > > Ok I almost have this working. Every thing works but the if statement. > > > > Here is my user tag now: > > > > #Shipping user tag > > > > > > UserTag ship Routine <<EOF > > sub{ > > package Vend::Interpolate; > > my $total =0; > > > > for(@$Items) { > > #if {$Tag->accessories('size') =~ /^s/i} {$total += > $_->{quantity} * 8.95;} > > if {$Tag->accessories{'Size'} =~ /^m/i} {$total += > $_->{quantity} * 9.95;} > > #if {$Tag->accessories('size') =~ /^l/i} {$total += > $_->{quantity} * 10.95;} > > #if {$Tag->accessories('size') =~ /^xl/i} {$total += $_->{quantity} * > > 11.95;} > > } > > return $total;} > > EOF > > > > > > I just can not figure out how to do the "$Tag->accessories{Size}" part. > > That never would have compiled. > > UserTag ship Routine <<EOF > sub { > package Vend::Interpolate; > my $total =0; > > for my $item (@$Items) { > if ($item->{size} =~ /^s/i ) { $total += > $item->{quantity} * 8.95; } > elsif ($item->{size} =~ /^m/i ) { $total += > $item->{quantity} * 9.95; } > elsif ($item->{size} =~ /^l/i ) { $total += > $item->{quantity} * 10.95; } > elsif ($item->{size} =~ /^xl/i) { $total += > $item->{quantity} * 11.95; } > } > return $total; > } > EOF > > I have corrected your spacing a bit -- is there a shortage of whitespace > characters in your area? 8-) > Not that anyone would be surprised but that worked. I change size to Size but that all. Thanks Mike! Thanks for everyone that helped me on this! rick From: interchange-users at interchange.redhat.com (Dorothy Puma) Date: Wed Dec 5 14:51:00 2001 Subject: [ic] Clearing Form Values from Session Hi All, I'm sure this must be a simple thing to do, but I have searched for 2 days, and have not been able to find the answer. What I want to do is clear out all the form values from the session database, with out the user having to click on any buttons. I have a form that the user fills out, the values are sent to a 2nd page for viewing, an email is sent, and the data is written to a database table. Once it has been written to that database table, we no longer need the info stored in the session database and want the form values to be cleared so they can then return to the form with cleared values. I would like to do this on the 2nd page, but haven't figured it out. I'm running 4.8.2 with perl 5.6.1 Any ideas on this would be much appreciated. thanks, Dorothy Puma From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Dec 5 15:30:01 2001 Subject: [ic] Clearing Form Values from Session Quoting Dorothy Puma (dorothy@digilink.net): > Hi All, > > I'm sure this must be a simple thing to do, but I have searched for 2 > days, and have not been able to find the answer. What I want to do is > clear out all the form values from the session database, with out the > user having to click on any buttons. I have a form that the user fills > out, the values are sent to a 2nd page for viewing, an email is sent, > and the data is written to a database table. Once it has been written > to that database table, we no longer need the info stored in the session > database and want the form values to be cleared so they can then return > to the form with cleared values. I would like to do this on the 2nd > page, but haven't figured it out. I'm running 4.8.2 with perl 5.6.1 > > Any ideas on this would be much appreciated. > [calc] $Values = {}; [/calc] -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Dec 5 15:41:01 2001 Subject: [ic] Clearing Form Values from Session At 11:50 AM 12/05/2001 -0800, you wrote: >Hi All, > >I'm sure this must be a simple thing to do, but I have searched for 2 >days, and have not been able to find the answer. What I want to do is >clear out all the form values from the session database, with out the >user having to click on any buttons. I have a form that the user fills >out, the values are sent to a 2nd page for viewing, an email is sent, >and the data is written to a database table. Once it has been written >to that database table, we no longer need the info stored in the session >database and want the form values to be cleared so they can then return >to the form with cleared values. I would like to do this on the 2nd >page, but haven't figured it out. I'm running 4.8.2 with perl 5.6.1 > >Any ideas on this would be much appreciated. > Usually you can do something like this with [calc]: [calc] foreach (qw( value_1 value_2 value_whatever )) { $Values->{$_} = ''; } return; [/calc] - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Orko) Date: Wed Dec 5 15:47:01 2001 Subject: [ic] One/Two Step Purchase? > IC can be slow or fast. Payflow to Verisign is going to be the slow part. > I don't understand that part of the question: about fast? (Don't worry, > I'm the stupid guy that complains when he can't understand the question. As far as fast goes, I was referring to being 'fast' to conversion. Getting the user to a purchase with the minimum amount of actions as possible. Sorry I wasn't clear on that ;) > You did not say what the two page subscription model looks like. There is > nothing particularly odd about it. We ourselves use a 4+ page checkout, > trying to keep everything "above the fold". Look at mv_successpage, > mv_failpage, mv_nextpage and profiles for flow control. Thanks, I'll take a look at those. I've set up IC using the foundation tools demo, and am having trouble seeing how to accomplish the two-page subscription. From what I see, there are submits required from the user to login, put an item in their basket, checkout, and finalize. Is there code already out there that handles gathering the user data from the first page and 'prefilling' the cart with a preselected item? I'm looking to have only one POST to get the user to the receipt page for CC transactions. These people are coming from our software with URL parameters that tell us who they are (our own accounting information from our central Accounting DB) and what they want to buy (based on if they are freetrial, paid, or advanced users - they just go up to the next level). Logging in should be automatic, using their email address with no password(is this possible?). A way to do this may become clearer when I look at the docs for the variables you suggested. I just don't want to reinvent the wheel (or suffer another brain cramp from trying to hack this all out with only a week of experience in IC) :) I've read through almost all of the docs, and we may go with a spread out 3+ page checkout. I'm just getting prepared to do the impossible, which always seems to be requested two days before the deadline :) -- orko IMPOSSIBLE: Something that takes a little longer to accomplish. From: interchange-users at interchange.redhat.com (Dorothy Puma) Date: Wed Dec 5 15:51:02 2001 Subject: [ic] Clearing Form Values from Session Mike Heins wrote: > Quoting Dorothy Puma (dorothy@digilink.net): > > Hi All, > > > > I'm sure this must be a simple thing to do, but I have searched for 2 > > days, and have not been able to find the answer. What I want to do is > > clear out all the form values from the session database, with out the > > user having to click on any buttons. I have a form that the user fills > > out, the values are sent to a 2nd page for viewing, an email is sent, > > and the data is written to a database table. Once it has been written > > to that database table, we no longer need the info stored in the session > > database and want the form values to be cleared so they can then return > > to the form with cleared values. I would like to do this on the 2nd > > page, but haven't figured it out. I'm running 4.8.2 with perl 5.6.1 > > > > Any ideas on this would be much appreciated. > > > > [calc] > $Values = {}; > [/calc] > Cool Thanks, I'll give that a go. ---- Dorothy From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Dec 5 15:54:03 2001 Subject: [ic] Clearing Form Values from Session At 03:29 PM 12/05/2001 -0500, you wrote: >Quoting Dorothy Puma (dorothy@digilink.net): > > Hi All, > > > > I'm sure this must be a simple thing to do, but I have searched for 2 > > days, and have not been able to find the answer. What I want to do is > > clear out all the form values from the session database, with out the > > user having to click on any buttons. I have a form that the user fills > > out, the values are sent to a 2nd page for viewing, an email is sent, > > and the data is written to a database table. Once it has been written > > to that database table, we no longer need the info stored in the session > > database and want the form values to be cleared so they can then return > > to the form with cleared values. I would like to do this on the 2nd > > page, but haven't figured it out. I'm running 4.8.2 with perl 5.6.1 > > > > Any ideas on this would be much appreciated. > > > >[calc] > $Values = {}; >[/calc] > This is effective, but be careful. It will clear *all* values, including some you may want to retain. Explicitly specifying the value names is messier, but more controlled. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Dec 5 16:00:00 2001 Subject: [ic] Re: Netscape 4.7 and IC (4.8.1) major problems with the shopping cart To whom it may concern: I am having major problems getting the shopping cart contents droping off when I try using the shopping cart with Netscape 4.7. and IC 4.8.1. I have read the newsletters and I just don't understand how to fix this. I am willing to pay a small amount for the fix. I log in and order products in Netscape but when I go to checkout (which is on a secure server...) the cart drops off in Netscape. The non secure domain is http://www.domainname.com and the secure domain name is https://secure.domainname.com. Can anyone help me? I am lost. I am willing to pay a small fee. Here is my catelog.cfg file: #==========================================================================# # catalog.cfg # See the 'icconfig' document for details. #==========================================================================# # Read in initial variables from a database. VariableDatabase variable #==========================================================================# # Allow a template to drop in some beginning config. include etc/before.cfg #==========================================================================# # Warn if any important modules or usertags are missing. Require module Digest::MD5 "Need %s %s for better cache keys." Require module Safe::Hole Require module SQL::Statement Require module LWP::Simple Require UserTag email email_raw var loc table_editor button #==========================================================================# # Can send various files outside the catalog directory, for disk partition # reasons, for example. ParseVariables Yes ifdef LOGDIR ErrorFile __LOGDIR__/error.log AsciiTrack __LOGDIR__/tracking.asc TrackFile __LOGDIR__/usertrack endif ifndef LOGDIR AsciiTrack logs/tracking.asc TrackFile logs/usertrack endif ifdef CACHEDIR SessionDatabase __CACHEDIR__/session ScratchDir __CACHEDIR__/tmp endif ifndef CACHEDIR SessionDatabase session ScratchDir tmp endif #==========================================================================# # Database setup ParseVariables Yes ifndef SQLDSN Variable SQLDSN endif ifdef MYSQL include dbconf/mysql/mysql.cfg endif ifdef PGSQL include dbconf/pgsql/pgsql.cfg endif ifdef ORACLE include dbconf/oracle/oracle.cfg endif # Default DBM if nothing else defined ifndef SOME_DATABASE include dbconf/default_db/default_db.cfg endif ProductFiles products #==========================================================================# # The URLs which are written to refer back to our catalog. ParseVariables Yes VendURL http://__SERVER_NAME____CGI_URL__ SecureURL __SECURE_SERVER____CGI_URL__ ifndef SECURE_ENABLE SecureURL http://__SERVER_NAME____CGI_URL__ endif # Set the image path for relative images ImageDir __IMAGE_DIR__/ ImageDirInternal http://__SERVER_NAME____IMAGE_DIR__/ ImageDirSecure __IMAGE_SECURE_URL__/ #==========================================================================# # Here we set up the catalog theme. ParseVariables Yes ifndef STYLE Variable STYLE default endif include templates/__STYLE__/theme.cfg #==========================================================================# # Last locale specified is the default. Locale en_US LC_CTYPE C LocaleDatabase locale #==========================================================================# # Various catalog settings. ScratchDefault mv_add_dot_html 1 ScratchDefault mv_no_session_id 1 ScratchDefault mv_no_count 1 SpecialPage catalog index SpecialPage report ../etc/report SpecialPage receipt ../etc/receipt # Allow others in our group to read/write files by default ReadPermission group WritePermission group # If a specific user session accesses our catalog more than this many times # in a 30-second time period. If the limit is exceeded, the LockoutCommand # (if set) is executed. Set this to 0 if you're getting links to 127.0.0.1 # during your testing. RobotLimit 100 # Sets Interchange to not parse <BODY MV="body 1"> and other tags within # HTML tags. Use [pragma no_html_parse 0] to enable on an individual page. Pragma no_html_parse # Strip whitespace from top of pages so you don't have to scroll down # before the HTML starts when doing 'view source' in a browser. Pragma strip_white #==========================================================================# # User session related settings. # Whether to encrypt passwords in UserDB # We usually don't for users, so we can mail them their password # We DO in admin, that is set in catalog_after.cfg UserDB default crypt 0 # Change a field to something that doesn't conflict in MySQL UserDB default time_field mod_time # Don't want people setting their credit limit or dealer status directly UserDB default scratch "dealer price_level credit_limit" # minimal login stuff for affiliate UserDB affiliate user_field affiliate UserDB affiliate database affiliate UserDB affiliate time_field none UserDB affiliate crypt 0 # Set this to No if you don't want auto-login capability for users CookieLogin Yes #==========================================================================# # Cart, order, and route settings. ParseVariables Yes ValuesDefault country __SHIP_DEFAULT_COUNTRY__ ValuesDefault mv_shipmode __SHIP_DEFAULT_MODE__ DefaultShipping __SHIP_DEFAULT_MODE__ MailOrderTo __ORDERS_TO__ AlwaysSecure <<EOF account change_password customerservice login logout new_account ord/basket ord/checkout order process query/check_orders query/order_detail query/order_return returns saved_carts ship_addresses EOF ## Set this if you have a different secure server #AlwaysSecure order ord/checkout ord/basket login change_password process PriceField 0 CommonAdjust :sale_price, ;:price, ;$, ==:options EncryptKey __PGP_KEY__ # This prevents a user from setting this value, you may want to unset # this if you have user-selectable handling charges like insurance FormIgnore mv_handling # # # Along these lines further, for better integrity and less chance of a # user screwing up your order routes: # Note that __ORDER_ROUTES__ is empty by default, default Route "default" # is used with cascades FormIgnore mv_order_route ## This route places the order entry in the database. If you don't ## have an inventory table (or a userdb table for that matter) make ## sure you remove it from the list of "transactions" tables. Route log <<EOF empty 1 encrypt 0 increment 0 report etc/log_transaction supplant 0 track logs/log EOF ## This route places the order entry in the database when you are ## entering an order from the admin. See above. Route log_entry <<EOF empty 1 encrypt 0 report etc/log_entry supplant 0 track logs/log EOF ifdef TRANSACTION_TABLES Route log transactions '__TRANSACTION_TABLES__' Route log_entry transactions '__TRANSACTION_TABLES__' endif ## This route copies the user if they requested that. We don't ## care (much) if it fails, so error_ok is set and failure will ## not cause the order to fail Route copy_user <<EOF empty 1 error_ok 1 encrypt 0 increment 0 report etc/mail_receipt supplant 0 track logs/log EOF ParseVariables Yes ## This route emails the order to you unless email is set to "", ## and failsafe-logs the order report a couple of places Route main <<EOF attach 0 credit_card 1 default 1 email '__ORDERS_TO__' encrypt 0 errors_to '__ORDERS_TO__' pgp_cc_key "__PGP_KEY__" pgp_key "__PGP_KEY__" receipt etc/receipt.html report etc/report supplant 1 individual_track orders track logs/tracking.asc EOF # Order routes can be maintained in a database # CHANGES TO THIS WILL OVERRIDE THE ROUTES ABOVE. RouteDatabase route # Default route is run if no routes set, this should be last Route # always Route default master 1 Route default cascade "log main copy_user" Route default empty 1 Route default supplant 1 Route default email '__ORDERS_TO__' ## Uncomment this if you want Routes read dynamically from DB #Route default dynamic_routes 1 ## Uncomment this if you want ITL allowed in routes #Route default expandable 1 ## These routes are not order routes, but payment routes Route authorizenet id "__AUTHNET_ID__" Route authorizenet secret "__AUTHNET_SECRET__" Route authorizenet host "__AUTHNET_HOST__" Route authorizenet referer "__AUTHNET_REFERER__" Route cybercash configfile "__CYBER_CONFIGFILE__" Route itransact id "__ITRANSACT_ID__" Route signio id "__SIGNIO_ID__" Route signio secret "__SIGNIO_SECRET__" Route signio partner "__SIGNIO_PARTNER__" Route signio vendor "__SIGNIO_VENDOR__" Route signio host "__SIGNIO_SERVER__" Route skipjack id "__SKIPJACK_ID__" Route skipjack partner "__SKIPJACK_PARTNER__" SalesTax __TAXFIELD__ TaxShipping __TAXSHIPPING__ SeparateItems Yes OrderCounter etc/order.number OrderLineLimit 200 OrderProfile etc/profiles.order etc/profiles.login etc/profiles.misc #==========================================================================# # Static page build settings. NoCache <<EOF admin login account logout config multi ord/basket ord/checkout query reconfig special EOF Static __CATALOG_STATIC__ StaticLogged __LOGGED_STATIC__ StaticAll Yes StaticDBM static StaticDepth 2 StaticDir __SAMPLEHTML__/pages StaticFly Yes StaticPath __SAMPLEURL__/pages #==========================================================================# ifdef UI_TRAFFIC_STATS TrackFile __UI_TRAFFIC_STATS__ endif # Deal with customer click history. For example, after adding an item to # the cart, the user can return to a specific search results page. History 10 UserTag history-scan Order find exclude default UserTag history-scan addAttr UserTag history-scan Routine <<EOR my %var_exclude = ( qw/ mv_credit_card_number 1 mv_pc 1 mv_session_id 1 /); sub { my ($find, $exclude, $default) = @_; my $ref = $Vend::Session->{History} or return $Tag->area($default || $Config->{SpecialPage}{catalog}); my ($hist, $href, $cgi); $exclude = qr/$exclude/ if $exclude; for(my $i = $#$ref; $i >= 0; $i--) { #Log("checking $ref->[$i][0] for $exclude"); next if $ref->[$i][0] eq 'expired'; if ($exclude and $ref->[$i][0] =~ $exclude) { next; } if($find) { next unless $ref->[$i][0] =~ /$find/; } ($href, $cgi) = @{$ref->[$i]}; last; } return $Tag->area($default || $Config->{SpecialPage}{catalog}) if ! $href; my $form = ''; for(grep !$var_exclude{$_}, keys %$cgi) { $form .= "\n$_="; $form .= join("\n$_=", split /\0/, $cgi->{$_}); } return $Tag->area( { href => $href, form => $form} ); } EOR # Allow delivery of soft goods (downloadable files). ActionMap deliver <<EOR sub { my $deliverable = shift; $Scratch->{deliverable} = $CGI->{mv_arg}; $CGI->{mv_nextpage} = 'deliver'; if(! $Session->{username} and $CGI->{mv_username}) { $Tag->userdb('login'); } return 1; } EOR # Allow customers to have their passwords emailed to them. ActionMap get_password <<EOR sub { $Config->{NoSearch} = ''; $CGI->{mv_nextpage} = $CGI->{mv_search_page} = 'action/get_password'; $CGI->{mv_todo} = 'search'; $Tag->update('process'); return 1; } EOR #==========================================================================# # Allow a template to drop in some ending config. include etc/after.cfg #=======Add on=============================================================# SessionExpire 10 minutes WideOpen Yes #==========================================================================# From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Wed Dec 5 16:21:01 2001 Subject: [ic] Re: Netscape 4.7 and IC (4.8.1) major problems with the shopping cart dropping off... Robert.J.Maagdenberg@seagate.com writes: > To whom it may concern: > > I am having major problems getting the shopping cart contents droping off > when I try using the shopping cart with Netscape 4.7. and IC 4.8.1. I have > read the newsletters and I just don't understand how to fix this. I am > willing to pay a small amount for the fix. I log in and order products in > Netscape but when I go to checkout (which is on a secure server...) the > cart drops off in Netscape. The non secure domain is > http://www.domainname.com and the secure domain name is > https://secure.domainname.com. Can anyone help me? I am lost. I am willing > to pay a small fee. First of all read the FAQ on this topic. Bye Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Dec 5 16:24:00 2001 Subject: [ic] One/Two Step Purchase? Quoting Orko (orkolist_interchange@hotmail.com): > Thanks, I'll take a look at those. I've set up IC using the foundation > tools demo, and am having trouble seeing how to accomplish the two-page > subscription. From what I see, there are submits required from the user > to login, put an item in their basket, checkout, and finalize. Is there > code already out there that handles gathering the user data from the > first page and 'prefilling' the cart with a preselected item? Make a form to collect the data, and put this on it: [calc] $Carts->{main} = [ { code => 'os28007', quantity => 1 } ]; return; [/calc] Or do it by link: [page href=ord/checkout form=" mv_order_item=os28007 mv_action=refresh " ]Order Brush Set and go right to checkout[/page] -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Experience is what allows you to recognize a mistake the second time you make it. -- unknown From: interchange-users at interchange.redhat.com (Orko) Date: Wed Dec 5 16:47:01 2001 Subject: [ic] One/Two Step Purchase? Thanks Mike! The first example is what I was looking for. I wasn't using the $Carts reference correctly. -- orko ----- Original Message ----- From: "Mike Heins" <mheins@redhat.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, December 05, 2001 1:22 PM Subject: Re: [ic] One/Two Step Purchase? > Quoting Orko (orkolist_interchange@hotmail.com): > > Thanks, I'll take a look at those. I've set up IC using the foundation > > tools demo, and am having trouble seeing how to accomplish the two-page > > subscription. From what I see, there are submits required from the user > > to login, put an item in their basket, checkout, and finalize. Is there > > code already out there that handles gathering the user data from the > > first page and 'prefilling' the cart with a preselected item? > > Make a form to collect the data, and put this on it: > > [calc] > $Carts->{main} = [ > { code => 'os28007', quantity => 1 } > ]; > return; > [/calc] > > Or do it by link: > > [page href=ord/checkout > form=" > mv_order_item=os28007 > mv_action=refresh > " > ]Order Brush Set and go right to checkout[/page] > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > Experience is what allows you to recognize a mistake the second > time you make it. -- unknown > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Jeff Fearn) Date: Wed Dec 5 18:08:00 2001 Subject: [ic] ASP like Perl >* Korey Gozman wrote on Fri, Nov 30, 2001 at 15:12 -0800: > > I want to pull all the fields that match the criteria > > but it only displays the last entry in tha table. > > any suggestions? > >For postgres, you could order reverse and give a limit 1, i.e.: > >select sku from products where ... order by ... limit 1 > >But in standard-SQL it's not really possible I think, usually SQL >is deterministic :) Amazing how something can trigger a long buried memory :} If your sku's are automatic, this should work: select sku from products where ... and sku = max(sku) syntax may be a little off as I have not tested it :} Jeff. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Jeff Fearn) Date: Wed Dec 5 19:41:00 2001 Subject: [ic] pgsql - options table error >* Jeff Fearn wrote on Wed, Dec 05, 2001 at 07:39 +0000: > > Sorry, there was an error in processing this form action. Please report >the > > error or try again later. (DBD::Pg::st execute failed: ERROR: >ExecReplace: > > Fail to add null value in not null attribute o_master at > > /usr/lib/interchange/lib/Vend/Table/DBI.pm line 985. ) > >this messages seems not be be generated by: > > > my $rc = $sth->execute(@$vary) > > or die ::errmsg("execute %s: %s", $sql, $DBI::errstr); > >this line, since you would see the SQL statement I think. But >ICs errorhandling is a little... well... strange sometimes. Well that is obvious ... wonder how I missed that :} >I would try to get the statement, maybe it's malformed or so. SQL = update options SET description=?,o_master=?,wholesale=?,o_default=?,o_widget=?,mv_shipmode=?,o_group=?,o_width=?,price=?,o_footer=?,sku=?,differential=?,o_matrix=?,volume=?,o_height=?,o_modular=?,weight=?,o_enable=?,o_label=?,o_include=?,o_exclude=?,o_sort=?,phantom=?,o_value=?,o_header=? WHERE code = 'RH033-Date' This is populated with the data: ::::select::Date:0:::RH033::::0::::Date::25Jan2002=25January2002:001, This is a : joined array, should o_master be in there at all? Obviously it is being set to NULL, but should it not use the default value? o_master is actually being displayed on the "Select for table edit" page. Which you get to by editing a variant option, from the option edit page ... that is confusing :} I believe I may have deleted the profile in there, if so how would I edit the current profile to get the poriginal settings back? > > P.S. any idea why a field that has 0 or 1 in it is a varchar(64) and not >a > > int(1)? :} > >Steffen Thanks for your help Steffen :) Jeff. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Dec 5 21:06:01 2001 Subject: [ic] Hotmail....BAD On Tue, 4 Dec 2001, Orko Sines wrote: OS>>Date: Tue, 04 Dec 2001 21:46:48 -0800 OS>>From: Orko Sines <orkolist_interchange@hotmail.com> OS>>Reply-To: interchange-users@interchange.redhat.com OS>>To: interchange-users@interchange.redhat.com OS>>Subject: [ic] Hotmail....BAD OS>> OS>>>From the MailMan description of this mail list: OS>> OS>>"Note also that you may not receive mail from the list if you use certain OS>>free email providers who do not defend the use of their From line by OS>>spammers." OS>> OS>>Judging by the way I can see the messages coming into the list archives, but OS>>don't see any rolling into my Inbox, I'm guessing that Hotmail is one of OS>>those bad boy 'free email providers' they are talking about. OS>> OS>>Does anyone know of any free email providers are accepted here? I'd hate to OS>>use my work address, since that gets >500 a day as it is. I am going to launch a tirade here which will earn me flames, so I've put on my asbestos suit! In my personal opinion, MOST people playing with Interchange are using it to run a store. (www.freecell.com is one of the lovely exceptions.) It's difficult for me to understand how someone can run a store without having a specific domain name for it. Even if it's www.mystore.multihost.bestserver.domain.com I'm really turned off when I see a store being run - even with an appropriate domain name and the order admin messages come from an AOL or Hotmail, or Yahoo, etc address. It leads me to want to cancel the order, and clearly tells me that I need to use PayPal, or a charge card that I can quickly throw away when it becomes compromised. To me they are only 'wannabe's' and not yet ready for prime time. And, frankly, I frequently pass by requests for help on this list that come from a free e-mail provider, like hotmail, yahoo, etc. I guess that some of this has been caused by warnings from my charge card processors to be careful of customers using the free e-mail services. They are saying that a significant amount of their fraud is from people using the free e-mail services. I think that if you are unable (or unwilling) to get your own domain name and maintain it properly - with e-mail addresses - (even if it takes getting help from your ISP) that you are not ready to tackle a complex package like Interchange. (Domain Discover is an EXCELLENT registrar! For $50 they will register your domain name for 2 years, host your web page and provide e-mail addresses, I doubt that they will supply Interchange, but they will put in the links to forward that domain to a server that has IC.) I don't know how other people on this list feel about supplying help to people from the free e-mail providers........ I would appreciate it if all flames were sent to /dev/null These opinions are strictly my own, and clearly demonstrate that I am a cantankerous Olde Farte -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, December 05, 2001 at 20:45 PM: Useless Invention: Ice skate sandals, for use in hot climates. ---------------------------------------------------------------- This Linux System has been up 245 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Dec 5 21:16:01 2001 Subject: [ic] Size based shipping (almost got it) On Wed, 5 Dec 2001, Mike Heins wrote: MH>>I have corrected your spacing a bit -- is there a shortage of whitespace MH>>characters in your area? 8-) That should be corrected later this month when the blizzard hits! :-) (Hopefully, in time for Christmas!) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, December 05, 2001 at 21:15 PM: That does not compute. ---------------------------------------------------------------- This Linux System has been up 246 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Orko Sines) Date: Wed Dec 5 21:35:00 2001 Subject: [ic] Hotmail....BAD <chuckle> I think you misunderstand my position :) My company currently owns so many domains that I don't even want to research and tell you a number. I know it's over 100. Anyways, we host corporate email for internal company use for our employees (me included) on one server with 4 different domain names associated with it. Getting an email address is not the problem... I just don't think it's necessary. The email addresses on the site I am working on are all corporate addresses. No hotmail there. :) The reason I choose to not subscribe to outside mailing lists with a corporate address is because I receive (in my opinion) enough email there already. >500 per day is typical, with spurts up to 800. We currently got bombed with the SirCam and Nimda virus attacks, which made us revamp our mail handling(grrr). Subscribing to an email list that has an unknown number of people subscribed and an unknown SPAM protocol, I find that the free email services can help out. They do the organizing and filtering for me. You'll notice that my hotmail username that I chose for all interchange communication is 'orkolist_interchange'. I have several others, with 'orkolist_' prefixing the names of the actual lists. If I receive SPAM from subscribing to the list, I know exactly which one it came from. If it gets too bad, and unsubscribing to the offending list doesn't help, I just close the account. Simple. Make sense? ;) -- orko PS. Take that asbestos off, I'm freindly unless really provoked ;) >From: Jim Balcom <jim@idk-enterprises.com> >Reply-To: interchange-users@interchange.redhat.com >To: <interchange-users@interchange.redhat.com> >Subject: Re: [ic] Hotmail....BAD >Date: Wed, 5 Dec 2001 21:08:40 -0500 (EST) > >On Tue, 4 Dec 2001, Orko Sines wrote: > >OS>>Date: Tue, 04 Dec 2001 21:46:48 -0800 >OS>>From: Orko Sines <orkolist_interchange@hotmail.com> >OS>>Reply-To: interchange-users@interchange.redhat.com >OS>>To: interchange-users@interchange.redhat.com >OS>>Subject: [ic] Hotmail....BAD >OS>> >OS>>>From the MailMan description of this mail list: >OS>> >OS>>"Note also that you may not receive mail from the list if you use >certain >OS>>free email providers who do not defend the use of their From line by >OS>>spammers." >OS>> >OS>>Judging by the way I can see the messages coming into the list >archives, but >OS>>don't see any rolling into my Inbox, I'm guessing that Hotmail is one >of >OS>>those bad boy 'free email providers' they are talking about. >OS>> >OS>>Does anyone know of any free email providers are accepted here? I'd >hate to >OS>>use my work address, since that gets >500 a day as it is. > >I am going to launch a tirade here which will earn me flames, so I've put >on >my asbestos suit! > >In my personal opinion, MOST people playing with Interchange are using it >to >run a store. (www.freecell.com is one of the lovely exceptions.) > >It's difficult for me to understand how someone can run a store without >having a specific domain name for it. Even if it's >www.mystore.multihost.bestserver.domain.com >I'm really turned off when I see a store being run - even with an >appropriate domain name and the order admin messages come from an AOL or >Hotmail, or Yahoo, etc address. It leads me to want to cancel the order, >and >clearly tells me that I need to use PayPal, or a charge card that I can >quickly throw away when it becomes compromised. To me they are only >'wannabe's' and not yet ready for prime time. > >And, frankly, I frequently pass by requests for help on this list that come >from a free e-mail provider, like hotmail, yahoo, etc. > >I guess that some of this has been caused by warnings from my charge card >processors to be careful of customers using the free e-mail services. They >are saying that a significant amount of their fraud is from people using >the >free e-mail services. > >I think that if you are unable (or unwilling) to get your own domain name >and maintain it properly - with e-mail addresses - (even if it takes >getting >help from your ISP) that you are not ready to tackle a complex package like >Interchange. > >(Domain Discover is an EXCELLENT registrar! For $50 they will register your >domain name for 2 years, host your web page and provide e-mail addresses, I >doubt that they will supply Interchange, but they will put in the links to >forward that domain to a server that has IC.) > >I don't know how other people on this list feel about supplying help to >people from the free e-mail providers........ > >I would appreciate it if all flames were sent to /dev/null >These opinions are strictly my own, and clearly demonstrate that I am a >cantankerous Olde Farte > > >-= Jim =- > >---------------------------------------------------------------- >Jim's Linux-Operated Underground Bomb Shelter > >Tagline for Wednesday, December 05, 2001 at 20:45 PM: >Useless Invention: Ice skate sandals, for use in hot climates. > >---------------------------------------------------------------- >This Linux System has been up 245 hours > >My web page: http://www.idk-enterprises.com >---------------------------------------------------------------- > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Jeff Fearn) Date: Wed Dec 5 21:37:01 2001 Subject: [ic] Hotmail....BAD Wow imagine a world where everyone is judged by the actions of others, guilt by association. Yeah for democracy! Imagine you are a contractor, who spends their time at different customer sites and you want to have a central place where customers can contact you. Rather easy as hotmail supports getting mail from a pop3 account. You can email any abuse to jfearn@labf.org, jfearn@optus.net.au or DarthBobo@edgenetwk.com These being my non free accounts that are inconvienient to access individually. I suppose it would also be a crime against humanity for someone to try and learn how IC works _befor_ they actually start a business, who the hell would want to help someone stupid enough to have a poor idea like that? I think that in future the list should not help anyone who wears a hat, or drives a car with 13 inch wheels. Stupidity for all! Love and mung beans, Jeff. >I am going to launch a tirade here which will earn me flames, so I've put >on >my asbestos suit! > >In my personal opinion, MOST people playing with Interchange are using it >to >run a store. (www.freecell.com is one of the lovely exceptions.) > >It's difficult for me to understand how someone can run a store without >having a specific domain name for it. Even if it's >www.mystore.multihost.bestserver.domain.com >I'm really turned off when I see a store being run - even with an >appropriate domain name and the order admin messages come from an AOL or >Hotmail, or Yahoo, etc address. It leads me to want to cancel the order, >and >clearly tells me that I need to use PayPal, or a charge card that I can >quickly throw away when it becomes compromised. To me they are only >'wannabe's' and not yet ready for prime time. > >And, frankly, I frequently pass by requests for help on this list that come >from a free e-mail provider, like hotmail, yahoo, etc. > >I guess that some of this has been caused by warnings from my charge card >processors to be careful of customers using the free e-mail services. They >are saying that a significant amount of their fraud is from people using >the >free e-mail services. > >I think that if you are unable (or unwilling) to get your own domain name >and maintain it properly - with e-mail addresses - (even if it takes >getting >help from your ISP) that you are not ready to tackle a complex package like >Interchange. > >(Domain Discover is an EXCELLENT registrar! For $50 they will register your >domain name for 2 years, host your web page and provide e-mail addresses, I >doubt that they will supply Interchange, but they will put in the links to >forward that domain to a server that has IC.) > >I don't know how other people on this list feel about supplying help to >people from the free e-mail providers........ > >I would appreciate it if all flames were sent to /dev/null >These opinions are strictly my own, and clearly demonstrate that I am a >cantankerous Olde Farte > > >-= Jim =- > >---------------------------------------------------------------- >Jim's Linux-Operated Underground Bomb Shelter > >Tagline for Wednesday, December 05, 2001 at 20:45 PM: >Useless Invention: Ice skate sandals, for use in hot climates. > >---------------------------------------------------------------- >This Linux System has been up 245 hours > >My web page: http://www.idk-enterprises.com >---------------------------------------------------------------- > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Orko Sines) Date: Wed Dec 5 21:54:01 2001 Subject: [ic] One/Two Step Purchase? Mike, that worked wonderfully. One more question on the prefilling of the shopping cart, if you please. I've looked through the docs this morning and tried a few dozen things, but I can't seem to get this to work properly... I have a base SKU of Basic001 set up with matrix options. One of the option names is 'sourcetype' and has values of 'I1', 'C1', and 'S1', which map to 'Instant', 'Cold', and 'Standard'. I can prefill the users shopping cart with the code that was given to me as follows: $Carts->{main} = [ { code => 'Basic001', quantity => 1, } ]; ... and that works well. But I can't seem to prefill with one of the matrix options selected. I've tried: $Carts->{main} = [ { code => 'Basic001', quantity => 1, sourcetype => 'C1', } ]; ... but the main Basic001 SKU with no options is all that gets put into the user's cart(I can tell this because the price is different on each of the variations). Replacing code => 'Basic001' with code => 'Basic001-C1' does not seem to be working quite as expected ( using the cart_display component shows a SKU with no price or Description ). There is probably an easier way to do this... What am I missing? Thanks in advance, -- orko >From: "Orko" <orkolist_interchange@hotmail.com> >Reply-To: interchange-users@interchange.redhat.com >To: <interchange-users@interchange.redhat.com> >Subject: Re: [ic] One/Two Step Purchase? >Date: Wed, 5 Dec 2001 13:45:40 -0800 > >Thanks Mike! The first example is what I was looking for. I wasn't >using the $Carts reference correctly. > >-- orko > >----- Original Message ----- >From: "Mike Heins" <mheins@redhat.com> >To: <interchange-users@interchange.redhat.com> >Sent: Wednesday, December 05, 2001 1:22 PM >Subject: Re: [ic] One/Two Step Purchase? > > > > Quoting Orko (orkolist_interchange@hotmail.com): > > > Thanks, I'll take a look at those. I've set up IC using the >foundation > > > tools demo, and am having trouble seeing how to accomplish the >two-page > > > subscription. From what I see, there are submits required from the >user > > > to login, put an item in their basket, checkout, and finalize. Is >there > > > code already out there that handles gathering the user data from the > > > first page and 'prefilling' the cart with a preselected item? > > > > Make a form to collect the data, and put this on it: > > > > [calc] > > $Carts->{main} = [ > > { code => 'os28007', quantity => 1 } > > ]; > > return; > > [/calc] > > > > Or do it by link: > > > > [page href=ord/checkout > > form=" > > mv_order_item=os28007 > > mv_action=refresh > > " > > ]Order Brush Set and go right to checkout[/page] > > > > -- > > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > > phone +1.513.523.7621 <mheins@redhat.com> > > > > Experience is what allows you to recognize a mistake the second > > time you make it. -- unknown > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Jason Maycock - Ad-Vantedge) Date: Wed Dec 5 22:28:01 2001 Subject: [ic] Static Pages listing items by sku - rephrased Why am I getting this same darn email 150 times per day??? Jason -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of Steve Graham Sent: Tuesday, December 04, 2001 3:56 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Static Pages listing items by sku - rephrased Hello, I'm looking for something which I thought was very basic - I need to show item 18143 on a static page (one that I hand coded, eg. test.html), showing the sku number, selling price, order button, and a tumbnail image. Just like the random items showing on the main Interchange index.html page. The code below is a way to do this, but doesn't seem an efficient method. Any other simple way to make this function call? I suggested something like [display-item "18143"] just as an example of what MIGHT be available. Thanks, -Steve >From: cfm@maine.com >Reply-To: interchange-users@interchange.redhat.com >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] Static Pages listing items by sku(2) >Date: Tue, 4 Dec 2001 09:07:35 -0500 > >On Tue, Dec 04, 2001 at 01:47:52PM +0000, Steve Graham wrote: > > > > Hello, > > > > I have both dynamic and static pages in my web site. > > > > On the static pages I would like to display a few items showing > > their price, > > description, and an order button. > > > > I know I can use something like this for each item: > > item code is 18143 > > > > [loop search="se=18143"] > > [loop-field description] > > [loop-field price] > > [/loop] > > [order "18143"]Order This</a> > > > > Isn't there a simple way like [display-item "18143"] to include all > > the > > above, or more in a neat clean format? > > > > Thanks, > > Steve > >Yes, we see you've asked several times. Maybe it's clear to everyone >else, but I find the question confusing so I skip it. Maybe if you >clarified what you mean by static and dynamic someone might help. > >cfm > >-- > >Christopher F. Miller, Publisher >cfm@maine.com >MaineStreet Communications, Inc 208 Portland Road, Gray, ME >04039 >1.207.657.5078 >http://www.maine.com/ >Content/site management, online commerce, internet integration, Debian >linux >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Dec 5 22:52:01 2001 Subject: [ic] Hotmail....BAD On Thu, 6 Dec 2001, Jeff Fearn wrote: JF>>Rather easy as hotmail supports getting mail from a pop3 account. You can And, that makes them unique??? What would make them unique is if they did NOT support pop3. Pop3 is as common as water. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, December 05, 2001 at 22:50 PM: What if there were no hypothetical situations? ---------------------------------------------------------------- This Linux System has been up 247 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Dec 5 22:56:01 2001 Subject: [ic] Hotmail....BAD On Wed, 5 Dec 2001, Orko Sines wrote: OS>>My company currently owns so many domains that I don't even want to research OS>>and tell you a number. I know it's over 100. Anyways, we host corporate OS>>already. >500 per day is typical, with spurts up to 800. We currently got OS>>bombed with the SirCam and Nimda virus attacks, which made us revamp our OS>>mail handling(grrr). Since you have so many domain names, you should be familiar with Sendmail and it's ability to stop such traffic. Such attacks are useless on Linux/Unix based systems. I know that they are out there, but they have not yet worked on Linux. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, December 05, 2001 at 22:55 PM: Unqualified superlatives are the worst of all. ---------------------------------------------------------------- This Linux System has been up 248 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Steve Graham) Date: Wed Dec 5 23:24:01 2001 Subject: [ic] Static Pages listing items by sku - rephrased Good question. It was only sent once. >From: "Jason Maycock - Ad-Vantedge" <jmaycock@ad-vantedge.com> >Reply-To: interchange-users@interchange.redhat.com >To: <interchange-users@interchange.redhat.com> >Subject: RE: [ic] Static Pages listing items by sku - rephrased >Date: Wed, 5 Dec 2001 21:25:24 -0600 > >Why am I getting this same darn email 150 times per day??? > >Jason > >-----Original Message----- >From: interchange-users-admin@interchange.redhat.com >[mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of >Steve Graham >Sent: Tuesday, December 04, 2001 3:56 PM >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] Static Pages listing items by sku - rephrased > >Hello, > >I'm looking for something which I thought was very basic - I need to >show ... snip ... _______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Jeff Fearn) Date: Wed Dec 5 23:32:00 2001 Subject: [ic] Hotmail....BAD >JF>>Rather easy as hotmail supports getting mail from a pop3 account. You >can > >And, that makes them unique??? > >What would make them unique is if they did NOT support pop3. > >Pop3 is as common as water. Of course that does not make them unique. I was simply explaining why I find hotmail a useful tool when I am at a customers site. Which I believe was extreemly obvious; bigotry always seems to make people ignore the obvious and clutch at straws to validate their beliefs. Jeff. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Tux MacAuley) Date: Wed Dec 5 23:34:00 2001 Subject: [ic] sorting categories When clicking on the categories (on the left hand side, vertical, just like in the demo store) the results are not sorted alphabetically. I would like them to sort alphabetically. I've got the following sort codes on the following .html pages. Can someone please tell me what is is causing the problem? I don't know what one of these is affecting the category search or should I be looking at another html page to paste the sort code into? I've been trying to fix this for literally 2 months.. any help would be appreciated. Advanced search.html [loop option=category search=" ra=yes fi=cat rf=code,name ml=1000 tf=name"] browse.html [loop more=1 search="ra=yes/tf=category/to=x/tf=description/to=x/ml=5"] fly page.html [loop search=" fi=specs.txt st=text sf=sku se=[item-code] op=eq co=yes rf=header,detail "] From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Dec 6 00:09:01 2001 Subject: [ic] (authorizenet): Charge operation 'authorizenet' failed. I get this error when trying to use authorize.net. I've read all the stuff on the list along with the authorizenet.pm file. I've updated ssleady and all that. I added include globalsub/authorizenet to the interchange.cfg file. Another problem that may be causing it is that I use cpanel3 which has interchange in a really weird directory. I'm not sure if it's being seen or what. I turned on debug and it didn't even output to a file. I also tried adding custom Authorizenet and that didn't work. I have all the MV variables set correctly. Any other ideas? Please help me out here. I don't understand what could be causing the problem. Thanks in advance. From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Thu Dec 6 00:41:00 2001 Subject: [ic] (authorizenet): Charge operation 'authorizenet' failed. Steve, I am having the same problem on a server with Cpanel installation. Followed all instructions, but is still does not work with no error reports anywhere. I am just as puzzled and believe it has something to do with the way Cpanel was installed. Different user permissions? File structure? Hope someone can give a helping hand that has made Authorize.net work under a Cpanel environment. Anton -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of steve@moddepot.com Sent: Thursday, December 06, 2001 3:07 AM To: interchange-users@interchange.redhat.com Subject: [ic] (authorizenet): Charge operation 'authorizenet' failed. I get this error when trying to use authorize.net. I've read all the stuff on the list along with the authorizenet.pm file. I've updated ssleady and all that. I added include globalsub/authorizenet to the interchange.cfg file. Another problem that may be causing it is that I use cpanel3 which has interchange in a really weird directory. I'm not sure if it's being seen or what. I turned on debug and it didn't even output to a file. I also tried adding custom Authorizenet and that didn't work. I have all the MV variables set correctly. Any other ideas? Please help me out here. I don't understand what could be causing the problem. Thanks in advance. _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Support) Date: Thu Dec 6 01:17:01 2001 Subject: [ic] Newbie Questions OK, I love the demo and I am trying to get the program to work. I ran the /configure and all seemed to install OK but I really do not understand what the program wants when doing a makecat. I have a Cobalt Raq4i server with linux (note that it is not a racke - whatever that is). . . 1) When I install 4.8.3, I get a section in the install that has the following and I was wondering if "bad option" is normal that was normal?????? /usr/bin/pod2man: bad option in paragraph 31 of pod/icadvanced.pod: ``-r'' should be [CB]<-r> /usr/bin/pod2man: bad option in paragraph 42 of pod/icadvanced.pod: ``-i'' should be [CB]<-i> /usr/bin/pod2man: bad option in paragraph 42 of pod/icadvanced.pod: ``-u'' should be [CB]<-u> /usr/bin/pod2man: bad option in paragraph 53 of pod/icadvanced.pod: ``-r'' should be [CB]<-r> /usr/bin/pod2man: bad option in paragraph 68 of pod/icadvanced.pod: ``-r'' should be [CB]<-r> Manifying blib/man3/icconfig.8 /usr/bin/pod2man: bad option in paragraph 160 of pod/icconfig.pod: ``-i'' should be [CB]<-i> /usr/bin/pod2man: bad option in paragraph 176 of pod/icconfig.pod: ``-e'' should be [CB]<-e> /usr/bin/pod2man: bad option in paragraph 290 of pod/icconfig.pod: ``-u'' should be [CB]<-u> /usr/bin/pod2man: bad option in paragraph 500 of pod/icconfig.pod: ``-C'' should be [CB]<-C> /usr/bin/pod2man: bad option in paragraph 500 of pod/icconfig.pod: ``-J'' should be [CB]<-J> It does say that it was successful. 2) When I try to create a catalog/storefront, it seems that many files are not copied to the directory. I get the opening page but nothing works. Any ideas? John From: interchange-users at interchange.redhat.com (marc) Date: Thu Dec 6 01:57:01 2001 Subject: [ic] Using [banner] Howdy Everyone, After getting Interchange setup and looping products and checking out I decided to try to get random banners to work. With no luck. I'm hoping one of you will know the quick and definitive answer from these symptoms. Interchange 4.8.2 RedHat 7.2 Using the tag: [banner weighted=1 category="tech"] Pulling info from a table in mysql named banner, containing the fields: code category weight rotate banner t1 tech 1 0 Click Here to get some stuff t2 tech 2 0 Click Here to get some more stuff t3 tech 1 0 Click Here to get still more stuff Returns this error in the logs: fizz /cgi-bin/fizz/index.html no banners db banner The table "banner" doesn't show up in the admin also but is definitely there in Mysql. I'm a little stumped on this one so if anyone knows what I'm doing wrong here I'd love to get skooled. Thanks! Marc Hauge marc@cruciblelabs.com From: interchange-users at interchange.redhat.com (Joachim Schubert) Date: Thu Dec 6 02:45:01 2001 Subject: [ic] [log] - question joachim.richter wrote: > Hi list, > > this tag writes lname, interchange page title and date in a logfile. > with the create=1 the tag will create the file after deletion ! > > [log file="pages/log/logfile.log" type=txt interpolate=1 create=1] > Name : [value lname] Page : @_MV_PAGE_@ Date : [tag time]%A, %d. %B, %Y %H:%M:%S[/tag] > [/log] > > One question, how do I get rid of the "1" which always shows up on the page ? > try: [log file="pages/log/logfile.log" type=txt interpolate=1 create=1 hide=1] Name : [value lname] Page : @_MV_PAGE_@ Date : [tag time]%A, %d. %B, %Y %H:%M:%S[/tag] [/log] (See: http://ic.redhat.com/cgi-bin/ic/dev-4.8/ictags_47.html) regards achim From: interchange-users at interchange.redhat.com (Nobody) Date: Thu Dec 6 02:53:00 2001 Subject: [ic] whats up 499921501 Nachfolgend erhalten Sie das Ergebnis eines ausgefuellten Formulares das von Nobody (korzn@aol.com) am Donnerstag, 6.Dezember 2001 um 08:51:45 abgeschickt wurde: --------------------------------------------------------------------------- : Hey, what's up, yall? I found a site and if you want to meet people and talk to people on webcam, you should check this out. They're now giving members totally free memberships! You don't even need your own webcam. You can watch live videos of family, friends, or anybody! What is there to lose?<br><a href="http://lllil.com/livewebcam">http://lllil.com/livewebcam <br><br><br><br></a>To take yourself off my mailing list <a href="http://lllil.com/list-off>click here</a>.<br><br><br>809680105 --------------------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Thu Dec 6 04:22:02 2001 Subject: [ic] (authorizenet): Charge operation 'authorizenet' failed. > I get this error when trying to use authorize.net. I've read all the stuff > on the list along with the authorizenet.pm file. I've updated ssleady and > > I am having the same problem on a server with Cpanel installation. Followed What version of perl are you using? From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Dec 6 04:40:01 2001 Subject: [ic] (authorizenet): Charge operation 'authorizenet' failed. Perl Version Perl 5.6.0 (called with: perl) Optional Module Information Digest::MD5 found (v2.16). LWP::Simple found (v1.35). MIME::Base64 found (v2.12). SQL::Statement found (v0.1021). Safe::Hole found (v0.08). Storable found (v1.014). Tie::Watch not found. Minor: cannot set watch points in catalog.cfg. URI::URL found (v5.02). Safe operations untrapped ftfile sort rand Database Information Database Interfaces GDBM available (v1.03) No Berkeley DB_File. DBI enabled (v1.20), available drivers: ExampleP Proxy ----- Original Message ----- From: "Patrick J. Walsh" <pwalsh@dyna-q.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, December 06, 2001 1:21 AM Subject: Re: [ic] (authorizenet): Charge operation 'authorizenet' failed. > > I get this error when trying to use authorize.net. I've read all the stuff > > on the list along with the authorizenet.pm file. I've updated ssleady and > > > > I am having the same problem on a server with Cpanel installation. > Followed > > What version of perl are you using? > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Erik Kendel) Date: Thu Dec 6 05:38:03 2001 Subject: [ic] German currency / dezimal=zero problem! hello together, I am running IC 4.8.2 on redhat 7.1 with a mysql database. The IC server still rounding up dezimal numbers to ,00 or .00 for example: the database includes the price 10.99, on result page it is 10.00. I setup the catalog.cf to : Locale de_DE PriceDivide .58 Locale de_DE mon_decimal_point . Locale de_DE mon_thousands_sep " " Locale de_DE currency_symbol " DM" Locale de_DE ps_cs_precedes 1 using the LocaleDatabase locale Locale de_DE LC_CTYPE C ------------------------------------------------- code en_US de_DE fr_FR April April Avril August August Aout December Dezember D&eacute;cembre February Februar F&eacute;vrier January Januar Janvier July Juli Juillet June Juni Juin March M&auml;rz Mars May Mai Mai November November Novembre October October Octobre PriceDivide 1 0,5409 0.1632 ProductFiles September September Septembre currency_symbol $ DM FF decimal_point . . . default 0 1 0 frac_digits 2 2 2 mon_decimal_point . . , mon_thousand_sep mon_thousands_sep , , . p_cs_precedes 1 1 p_sep_by_space 2 price_picture ### ### ###.## DM products de_products produits ------------------------------------------------- does not change the result! Using $ instead it's the same result. What can I do? Regards Erik Kendel From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Thu Dec 6 07:19:00 2001 Subject: [ic] German currency / dezimal=zero problem! Erik Kendel wrote: > > hello together, > > I am running IC 4.8.2 on redhat 7.1 with a mysql database. > The IC server still rounding up dezimal numbers to ,00 > or .00 for example: the database includes the price 10.99, > on result page it is 10.00. > I setup the catalog.cf to : > > Locale de_DE PriceDivide .58 > Locale de_DE mon_decimal_point . > Locale de_DE mon_thousands_sep " " > Locale de_DE currency_symbol " DM" > Locale de_DE ps_cs_precedes 1 .... Try with adding Locale de_DE frac_digits 2 in your catalog.cfg Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (default) Date: Thu Dec 6 08:38:00 2001 Subject: [ic] worldpay integration Hi Anyone succeeded in integrating Worldpay with interchange. Michael Please reply to gallenm@hotmail.com From: interchange-users at interchange.redhat.com (Marty Tennison) Date: Thu Dec 6 10:13:00 2001 Subject: [ic] Using [banner] Hi Marc, It sounds like you have not told Interchange that the table exists. Even though mysql sees the table, interchange will not see it until you inform interchange of the new table. I'm sure there are more way to do this than what I am going to say, but this method works for me. Create a banner.mysql file in your dbconf/mysql directory with all your other mysql definition files. Then edit that file to have the correct information for your new table. Restart interchange. Interchange will scan that directory and pick up the new table. After interchange is restarted you should see the banner table in the IC admin screens just like all your other tables. Everything should work just peachy after that. Hope this helps. Marty Tennison > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of marc > Sent: Wednesday, December 05, 2001 10:57 PM > To: interchange-users@interchange.redhat.com > Subject: [ic] Using [banner] > > > Howdy Everyone, > > After getting Interchange setup and looping products and checking out I > decided to try to get random banners to work. With no luck. > > I'm hoping one of you will know the quick and definitive answer from these > symptoms. > > Interchange 4.8.2 > RedHat 7.2 > > Using the tag: > [banner weighted=1 category="tech"] > > Pulling info from a table in mysql named banner, containing the fields: > code category weight rotate banner > t1 tech 1 0 Click Here to get some stuff > t2 tech 2 0 Click Here to get some more stuff > t3 tech 1 0 Click Here to get still more stuff > > Returns this error in the logs: > fizz /cgi-bin/fizz/index.html no banners db banner > > The table "banner" doesn't show up in the admin also but is > definitely there > in Mysql. > > I'm a little stumped on this one so if anyone knows what I'm doing wrong > here I'd love to get skooled. > > Thanks! > > Marc Hauge > marc@cruciblelabs.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Kyle Kirkland) Date: Thu Dec 6 10:38:01 2001 Subject: [ic] 4.8.2 Admin UI Clone options not working Repost of my initial question, since I haven't gotten a response yet... I really need some help with this one... Thanks, Kyle Kyle Kirkland wrote: > I'm running IC4.8.2 on RH7.1.1 > > I'm trying to utilize the "Clone options" facility in > the Admin UI to cut down on entering the same options > over and over again for each of my items. For some > reason, it's not working for me. > > I'm using "Simple Options" and when I try to clone an > existing item's options, the UI just puts me back to the > original blank options screen I started with without > entering any data in the database. I've spent the past 5 hours > sifting through the list archives and docs, modifying > code, trying all suggestions I could find, but to no avail. > > Does anyone know why this may be happening or at least > point me in a direction of trying to debug it? > > Any help would be GREATLY appreciated! > > > Some details: > ------------- > Product A: > - Simple Options > + Name: Size > + Label: Size > + Set label to name: CHECKED > + Textfield: > S7=7 ft. > S8=8 ft. > > Product B: > - Simple Options > + NOTHING ENTERED > + Select Product A in "Clone an existing option set:" > + Click "Clone options" > + still NOTHING ENTERED > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Level 1 System Administrator) Date: Thu Dec 6 10:42:00 2001 Subject: [ic] 4.8.3 crashing Hi everyone, For some time, ever since we installed 4.8.2, we've been having problems with Interchange crashing. Seems like users did something on the admin interface that would cause Interchange to crash. It was related to vend.pm. Today, we installed 4.8.3, seeing that it fixed a problem with that module. However, just a few minutes ago, it crashed again reporting the following error: 66.169.86.239 - - [06/December/2001:10:31:23 -0500] - /cgi-bin/shopedu/admin/login CGI mapping error: Undefined catalog: /cgi-bin/shopedu at /usr/sbin/interchange/lib/Vend/Server.pm line 182. The catalog, of course, is there and works ok. A simple restart fixes everything again: Killing Interchange server 8431 with TERM. CyberCash module found (Version 3.x) Low traffic settings. "mode" is not defined in %Fcntl::EXPORT_TAGS at /usr/sbin/interchange/bin/interchange line 2753 Calling UI......UI is loaded... Interchange V4.8.3 Configuring catalog shopedu...Using default DBM database...done. Configuring catalog shoponline...Using default DBM database...done. Configuring catalog test1...Using default DBM database...done. Interchange server started in UNIX mode(s) (process id 24130) Any ideas? We have dozens of users using Interchange and almost all of them were able to crash Interchange previously. I was happy thinking 4.8.3. would be stable...:( Any ideas? Theories? We would greatly appreciate them... Peter From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Thu Dec 6 11:09:00 2001 Subject: [ic] (authorizenet): Charge operation 'authorizenet' failed. Hi, When restarting Interchange, it does state that the module Authorize.net has been initialized. Perl info: Perl 5.6.1 (called with: /usr/bin/perl) Optional Module Information LWP::Simple found (v1.35). MD5 found (v2.02). MIME::Base64 found (v2.12). SQL::Statement found (v0.1021). Safe::Hole found (v0.08). Storable found (v1.014). Tie::Watch not found. Minor: cannot set watch points in catalog.cfg. URI::URL found (v5.02). Safe operations untrapped ftfile sort rand Database Information Database Interfaces GDBM available (v1.05) No Berkeley DB_File. LDAP available (v0.25) DBI enabled (v1.20), available drivers Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=linux, osvers=2.4.2-2, archname=i686-linux uname='linux mydomain.com 2.4.2-2 #1 sun apr 8 20:41:30 edt 2001 i686 unknown ' config_args='-ds -e -Dprefix=/usr' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing' ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.1 2.96-81)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lndbm -lgdbm -ldl -lm -lc -lcrypt -lutil perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil libc=/lib/libc-2.2.2.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Patrick J. Walsh Sent: Thursday, December 06, 2001 4:22 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] (authorizenet): Charge operation 'authorizenet' failed. > I get this error when trying to use authorize.net. I've read all the stuff > on the list along with the authorizenet.pm file. I've updated ssleady and > > I am having the same problem on a server with Cpanel installation. Followed What version of perl are you using? _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Richard Cook) Date: Thu Dec 6 11:10:39 2001 Subject: [ic] IC and Java App Servers Sorry for the last post which was in HTML. I'm posting again. I'm currently evaluating IC as an e-commerce solution. I'm more familiar with Java/J2EE, so I'm wondering if anyone has implemented IC alongside a Java App. server. I would like to use IC as the basis for an e-commerce website, so I don't have to write from scratch the things IC handles. I would like the rest of the site to run with JSP and an Java app. server such as JBOSS/Resin/Tomcat. Any other data needed would be stored alongside the tables required for IC in PostgreSQL or other similar DB. Does this sound reasonable? Has anyone done this already? If so, what were some problems you ran into? I searched through the archives for this topic, but didn't find anything. Thanks for any insight, Rich __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Thu Dec 6 11:31:01 2001 Subject: [ic] 4.8.2 Admin UI Clone options not working > > Repost of my initial question, since I haven't gotten > a response yet... I really need some help with this one... > > Thanks, > Kyle > > Kyle Kirkland wrote: > > > I'm running IC4.8.2 on RH7.1.1 > > > > I'm trying to utilize the "Clone options" facility in > > the Admin UI to cut down on entering the same options > > over and over again for each of my items. For some > > reason, it's not working for me. > > > > I'm using "Simple Options" and when I try to clone an > > existing item's options, the UI just puts me back to the > > original blank options screen I started with without > > entering any data in the database. I've spent the past 5 hours > > sifting through the list archives and docs, modifying > > code, trying all suggestions I could find, but to no avail. > > > > Does anyone know why this may be happening or at least > > point me in a direction of trying to debug it? > > > > Any help would be GREATLY appreciated! > > > > > > Some details: > > ------------- > > Product A: > > - Simple Options > > + Name: Size > > + Label: Size > > + Set label to name: CHECKED > > + Textfield: > > S7=7 ft. > > S8=8 ft. > > > > Product B: > > - Simple Options > > + NOTHING ENTERED > > + Select Product A in "Clone an existing option set:" > > + Click "Clone options" > > + still NOTHING ENTERED > > I am having the sam problem. Will finish the site then look into this. rick From: interchange-users at interchange.redhat.com (Joe Moschak) Date: Thu Dec 6 11:48:01 2001 Subject: [ic] Making store popup without redirect I had been wondering the same thing: how to get the catalog to come up as the main page. I tried Dan's httpd.conf changes below and couldn't get them to work. I tried adding a RewriteCond still to no avail. I finally got it to work by adding the following line to the VirtualHost section of httpd.conf: Redirect /index.html http://www.mydomain.com/cgi-bin/mycatalogname/index.html thanks to http://www.linuxgazette.com/issue61/nielsen2.html I suspect there are better and faster ways to do this. In particular, it'd be nice if I didn't have to repeat my domain name. Redirect /index.html /cgi-bin/mycatalogname/index.html for example, didn't work. Of course, I don't think that's the way the Redirect command works. I suspect there's a performance penalty for requiring the browser to re-resolve the domain name, but I'm not sure. I'm not sure why Dan's changes didn't work for me. Maybe these don't work if you put them in the VirtualHost section like I did. For what it's worth, http://www.engelschall.com/pw/apache/rewriteguide/#ToC6 suggests RewriteRule ^/$ /e/www/ [R] not RewriteRule ^/$ /cgi-bin/e/index.html [PT,L] (note the different parameters "R" instead of "PT,L" in square brackets). I couldn't get it work either way. Thanks, Dan, for pointing me in the right direction. Joe Moschak Dan Browning wrote: >>On Tue, 27 Nov 2001 steve@moddepot.com wrote: >> >>>>How can I make my domain point right to the store. right >>>> >>now I have a >> >>>>index.html which redirects to the store. but the search >>>> >>engines don't >> >>>>like this. how can I make the store come right up with my >>>> >>domain. also >> >>>>where can I add meta tags on the foundation? just but them in the >>>>index.html page? or what. thanks in advance >>>> >>An interesting question.... >> >>I got around it by putting up a small index page directly at >>the domain name. At the top of that I put all of my meta tags >>for search engines to hit on and pick up. This page also has >>all of the criteria for the new Internet Explorer security >>stuff so that it all gets done and over right there. >> >>I have a meta tag that causes that page to go away after 10 >>seconds and bring on the main IC page through the cgi-bin >>directory. Thee is also a clickable link at the bottom of the >>page if someone is in a hurry. >> >>-= Jim =- >> > >I feel bad for being so terse with Steve, so here's the apache code to >do a redirect (though a staticly-built index.html which links to the >cgi-bin is faster). > >RewriteEngine On > ># matches on http://myhost.com >RewriteRule ^$ /cgi-bin/e/index.html [PT,L] > ># matches on http://myhost.com/ >RewriteRule ^/$ /cgi-bin/e/index.html [PT,L] > ># don't change URLs like /cgi-bin/* >RewriteRule ^/cgi-bin/.* - [PT,L] > >HTH, > >Dan Browning >Kavod Technologies > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Thu Dec 6 12:15:01 2001 Subject: [ic] Making store popup without redirect Joe Moschak wrote: > > I had been wondering the same thing: how to get the catalog to come up > as the main page. I tried Dan's httpd.conf changes below and couldn't > get them to work. I tried adding a RewriteCond still to no avail. I > finally got it to work by adding the following line to the VirtualHost > section of httpd.conf: > > Redirect /index.html > http://www.mydomain.com/cgi-bin/mycatalogname/index.html > > thanks to > > http://www.linuxgazette.com/issue61/nielsen2.html > > I suspect there are better and faster ways to do this. In particular, > it'd be nice if I didn't have to repeat my domain name. > > Redirect /index.html /cgi-bin/mycatalogname/index.html > > for example, didn't work. Of course, I don't think that's the way the > Redirect command works. I suspect there's a performance penalty for > requiring the browser to re-resolve the domain name, but I'm not sure. > > I'm not sure why Dan's changes didn't work for me. Maybe these don't > work if you put them in the VirtualHost section like I did. For what > it's worth, > > http://www.engelschall.com/pw/apache/rewriteguide/#ToC6 > > suggests Redirect permanent /intos/index.html http://www.bpa.leidinger.local/cgi-bin/intos/index for example works for me! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Dec 6 12:24:00 2001 Subject: [ic] sorting categories At 10:30 PM 12/05/2001 -0600, you wrote: >When clicking on the categories (on the left hand side, vertical, just like >in the demo store) the results are not sorted alphabetically. I would like >them to sort alphabetically. I've got the following sort codes on the >following .html pages. Can someone please tell me what is is causing the >problem? I don't know what one of these is affecting the category search or >should I be looking at another html page to paste the sort code into? I've >been trying to fix this for literally 2 months.. any help would be >appreciated. > >Advanced search.html >[loop option=category search=" > ra=yes > fi=cat > rf=code,name > ml=1000 > tf=name"] > >browse.html >[loop more=1 search="ra=yes/tf=category/to=x/tf=description/to=x/ml=5"] > >fly page.html >[loop search=" > fi=specs.txt > st=text > sf=sku > se=[item-code] > op=eq > co=yes > rf=header,detail > "] Maybe I am misunderstanding what you are doing, but typically the way this would be done is to use the design tab in the UI to specify a complex search to be the associated action for a particular category - that is where search terms like those above would go. The terms are passed to IC in a 'scan' url, IC and the standard results.html page take care of the rest. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Thu Dec 6 14:22:01 2001 Subject: [ic] display tag I am trying to fix a display issue in the admin ui of IC 4.6.5, that uses the display tag <font size=2><b>Dealer:</b></font>&nbsp;</td> <td><font size=2>[display arbitrary=custview table=userdb column=dealer key="[loop-code]"]</font></td></tr> if you are using an html enabled browser that munges that, the ic tag is: [display arbitrary=custview table=userdb column=dealer key="[loop-code]"] The only reference in the IC docs is: http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icadvanced06%2e02 which says: If a row is found with one of those keys, then the information in the row is used to set the display widget. If no row is found, an INPUT TYPE=TEXT widget is displayed. If the data is all digits, a size of 8 is used, otherwise the size is 60. but also says: The standard widget types are: text The default. Uses the fields: width size of input box Adding a width=20 has no effect though. Any suggestions? thanks, corey From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Thu Dec 6 14:34:01 2001 Subject: [ic] display tag On Thu, Dec 06, 2001 at 02:19:26PM -0500, Corey Gilmore wrote: > I am trying to fix a display issue in the admin ui of IC 4.6.5, that uses > the display tag > > [display arbitrary=custview table=userdb column=dealer key="[loop-code]"] > > which says: > > If a row is found with one of those keys, then the information in the row > is used to set the display widget. If no row is found, an INPUT TYPE=TEXT > widget is displayed. If the data is all digits, a size of 8 is used, > otherwise the size is 60. > > Adding a width=20 has no effect though. > Sounds like you are trying to change one that does in fact have an entry in mv_metadata. If thats the case you have to change the width there, rather than in the code... -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Larry Caragay) Date: Thu Dec 6 15:16:01 2001 Subject: [ic] display tag How do I un-subscribe to this mailing list??? Larry -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of Jason Kohles Sent: Thursday, December 06, 2001 11:34 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] display tag On Thu, Dec 06, 2001 at 02:19:26PM -0500, Corey Gilmore wrote: > I am trying to fix a display issue in the admin ui of IC 4.6.5, that > uses the display tag > > [display arbitrary=custview table=userdb column=dealer > key="[loop-code]"] > > which says: > > If a row is found with one of those keys, then the information in the > row is used to set the display widget. If no row is found, an INPUT > TYPE=TEXT widget is displayed. If the data is all digits, a size of 8 > is used, otherwise the size is 60. > > Adding a width=20 has no effect though. > Sounds like you are trying to change one that does in fact have an entry in mv_metadata. If thats the case you have to change the width there, rather than in the code... -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Mathew Jones) Date: Thu Dec 6 15:27:01 2001 Subject: [ic] 4.8.2 Admin UI Clone options not working Rick Eicher II wrote: >>Repost of my initial question, since I haven't gotten >>a response yet... I really need some help with this one... >> >>Thanks, >>Kyle >> >>Kyle Kirkland wrote: >> >> >>>I'm running IC4.8.2 on RH7.1.1 >>> >>>I'm trying to utilize the "Clone options" facility in >>>the Admin UI to cut down on entering the same options >>>over and over again for each of my items. For some >>>reason, it's not working for me. >>> >>>I'm using "Simple Options" and when I try to clone an >>>existing item's options, the UI just puts me back to the >>>original blank options screen I started with without >>>entering any data in the database. I've spent the past 5 hours >>>sifting through the list archives and docs, modifying >>>code, trying all suggestions I could find, but to no avail. >>> >>>Does anyone know why this may be happening or at least >>>point me in a direction of trying to debug it? >>> >>>Any help would be GREATLY appreciated! >>> >>> >>>Some details: >>>------------- >>>Product A: >>> - Simple Options >>> + Name: Size >>> + Label: Size >>> + Set label to name: CHECKED >>> + Textfield: >>> S7=7 ft. >>> S8=8 ft. >>> >>>Product B: >>> - Simple Options >>> + NOTHING ENTERED >>> + Select Product A in "Clone an existing option set:" >>> + Click "Clone options" >>> + still NOTHING ENTERED >>> >>> > > I am having the sam problem. Will finish the site then look into this. > > rick > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > I experienced the same problem... go check out the file lib/UI/pages/include/item_option_simple For some reason in item_option_simple the [cgi ui_clone_options] is not set anywhere. I tried adding the folowing , the same way it is used in item_option_matrix, but part of the page did not load: [button text="Clone options"] [flag type=write table="[cgi mv_data_table]"] ui_clone_options=1 mv_todo=back mv_nextpage=@@MV_PAGE@@ [/button] Finally, I just removed the [if cgi ui_clone_options] and changed [and cgi ui_clone_id] to [if cgi ui_clone_id]. Also further down the page the form has no value set for mv_data_table, so I added: <INPUT TYPE=hidden NAME=mv_data_table VALUE="[cgi mv_data_table]"> hope that helps... And if anyone at Rhat knows of a different fix, please let us know :) Mat From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Thu Dec 6 15:56:00 2001 Subject: [ic] Anyone using IC with VeriSign PayFlow Pro ?? How easy it is to use PayFlow Pro with IC? Anyone have any idea?? PayFlow Pro use a thin client right?? So does the IC talks to the thin client? Is there a module from VeriSign that we can add it to IC? Any has more info oh this!? thank a lot! ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag From: interchange-users at interchange.redhat.com (Christopher Van Oosterhout) Date: Thu Dec 6 16:10:01 2001 Subject: [ic] Installed 4.83 but 4. 6 is still running on my machine ... I just ran the following command on my machine: rpm -ivh interchange-foundation-4.8.3-1.noarch.rpm I figured this would install/upgrade me from 4.6.3 to the new version. But it does not appear to have taken place. After running the RPM and stopping and restarting Interchange I find the following entries in my log file: - - - [06/December/2001:13:54:57 -0500] - - STOP server (511) on signal TERM - - - [06/December/2001:13:56:31 -0500] - - Low traffic settings. - - - [06/December/2001:13:56:31 -0500] - - Interchange V4.6.3 - - - [06/December/2001:13:56:32 -0500] - - Using default DBM database. - - - [06/December/2001:13:56:32 -0500] - - START server (7907) (INET and UNIX) - - - [06/December/2001:13:56:33 -0500] - - Accepting connections from localhost|127\.0\.0\.1 - - - [06/December/2001:13:56:34 -0500] - - START server (7951) (INET and UNIX) - - - [06/December/2001:13:56:59 -0500] - - Low traffic settings. - - - [06/December/2001:13:56:59 -0500] - - Interchange V4.6.3 - - - [06/December/2001:13:56:59 -0500] - - Using default DBM database. - - - [06/December/2001:13:56:59 -0500] - - START server (7959) (INET and UNIX) Is there another step I need to take to get 4.8.3 running on my system? Also, the RPM I downloaded was the "foundation" RPM. Should I have installed a different one? Christopher From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Thu Dec 6 16:21:01 2001 Subject: [ic] Installed 4.83 but 4. 6 is still running on my machine ... What did I miss? On Thu, Dec 06, 2001 at 04:07:57PM -0500, Christopher Van Oosterhout wrote: > > > I just ran the following command on my machine: > > rpm -ivh interchange-foundation-4.8.3-1.noarch.rpm > > I figured this would install/upgrade me from 4.6.3 to the new version. But > it does not appear to have taken place. After running the RPM and stopping > and restarting Interchange I find the following entries in my log file: > > Also, the RPM I downloaded was the "foundation" RPM. Should I have > installed a different one? > The foundation rpm is just the base foundation catalog, if you want to actually upgrade interchange, you need the interchange rpm too... -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Thu Dec 6 16:23:00 2001 Subject: [ic] Installed 4.83 but 4. 6 is still running on my machine ... On Thu, 6 Dec 2001, Christopher Van Oosterhout wrote: > I just ran the following command on my machine: > > rpm -ivh interchange-foundation-4.8.3-1.noarch.rpm > > I figured this would install/upgrade me from 4.6.3 to the new version. I would not recommend trying to upgrade between major releases with RPM. Much changed in the RPM packaging between versions 4.6 and 4.8. The best thing to do would be to back everything up, uninstall 4.6, then install the 4.8 RPMs, and copy your old catalogs into /var/lib/interchange and edit /etc/interchange.cfg to suit. Jon From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Thu Dec 6 16:35:01 2001 Subject: [ic] Anyone using IC with VeriSign PayFlow Pro ?? > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of JOHN WRONG > Sent: Thursday, December 06, 2001 12:56 PM > To: interchange-users@interchange.redhat.com > Subject: [ic] Anyone using IC with VeriSign PayFlow Pro ?? > > How easy it is to use PayFlow Pro with IC? > Anyone have any idea?? PayFlow Pro use a thin client right?? > So does the IC talks to the thin client? Is there a module from > VeriSign that we can add it to IC? Any has more info oh this!? IC and Verisign work well with each other straight out of the box. Once you install IC look in vend_root/lib/Vend/Payment/Signio.pm for instructions on how to setup the integration. Payflow Pro is a thin client and IC calls the client to obtain authorization. -Ron From: interchange-users at interchange.redhat.com (Christopher VanOosterhout) Date: Thu Dec 6 16:53:01 2001 Subject: [ic] Additional Snag ... Installed 4.83 but 4. 6 is still running So far I have two pieces of advice. The first is that in addition to the foundation RPM I also need the Interchange RPM. Where do I find that? What is that? Is that the one listed on the Web site as "Core"? The second advice was to back up, un-install old version and install the new version. I would like to do everything right. Is there any documentation that outlines the upgrade proceedure from 4.6 to 4.8? I have searched online and found documents outlining the upgrade process for versions of MiniVend to Interchange but I must have missed any specific documents talking about an upgrade from 4.6 to 4.8 Christopher At 04:22 PM 12/6/01 -0500, Jon Jensen wrote: >On Thu, 6 Dec 2001, Christopher Van Oosterhout wrote: > > > I just ran the following command on my machine: > > > > rpm -ivh interchange-foundation-4.8.3-1.noarch.rpm > > > > I figured this would install/upgrade me from 4.6.3 to the new version. > >I would not recommend trying to upgrade between major releases with RPM. >Much changed in the RPM packaging between versions 4.6 and 4.8. The best >thing to do would be to back everything up, uninstall 4.6, then install >the 4.8 RPMs, and copy your old catalogs into /var/lib/interchange and >edit /etc/interchange.cfg to suit. > >Jon > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher VanOosterhout Torresen Marine, Inc. Internet Division http://www.torresen.com/ http://www.marinedieseldirect.com/ 3126 Lake Shore Drive Muskegon, Michigan 49441 231-759-8596 From: interchange-users at interchange.redhat.com (Jason Maycock - Ad-Vantedge) Date: Thu Dec 6 17:17:01 2001 Subject: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! This is a repost. I lost the info I had from users that were willing to help me. Please repost or contact me off the list. Jmaycock@ad-vantedge.com Hello, I am willing to pay someone to help me.. I will pay pal the money over to your account for help. Name your price, I would like directions to complete this task or you can even log into my server and fix it for me.. PLEASE!!! I am new to this list, so please bare with me.. I must also tell everyone that I'm also new to Linux. I'm getting this error: (authorize net): Charge operation 'authorize net' failed Even when I set my authorize.net account in test mode and I even have tried using a real credit card and the test card number. I have searched the online doc's and even this list but I just don't have any idea what to do.. Like I said I'm new to Linux and don't understand anything.. Please help! Thank you, Jason Maycock From: interchange-users at interchange.redhat.com (Gurs) Date: Thu Dec 6 17:48:01 2001 Subject: [ic] Making store popup without redirect I have DirectoryIndex (in httpd.conf) setup to: DirectoryIndex storename.cgi index.html index.htm index.php index.php4 index.php3 index.cgi index.shtml and of course I use storename.cgi method for url mapping rather than cgi-bin/storename. I throw all my meta tags in my LEFTRIGHT_TOP/LEFTONLY_TOP/NOLEFT_TOP files, it is a lot easier for me and I use robot commands (NOINDEX NOFOLLOW etc...) in my headers so *if* the robot isn't a bad robot I can control it. Hope this helps! gurs -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Joe Moschak Sent: Thursday, December 06, 2001 8:51 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Making store popup without redirect I had been wondering the same thing: how to get the catalog to come up as the main page. I tried Dan's httpd.conf changes below and couldn't get them to work. I tried adding a RewriteCond still to no avail. I finally got it to work by adding the following line to the VirtualHost section of httpd.conf: Redirect /index.html http://www.mydomain.com/cgi-bin/mycatalogname/index.html thanks to http://www.linuxgazette.com/issue61/nielsen2.html I suspect there are better and faster ways to do this. In particular, it'd be nice if I didn't have to repeat my domain name. Redirect /index.html /cgi-bin/mycatalogname/index.html for example, didn't work. Of course, I don't think that's the way the Redirect command works. I suspect there's a performance penalty for requiring the browser to re-resolve the domain name, but I'm not sure. I'm not sure why Dan's changes didn't work for me. Maybe these don't work if you put them in the VirtualHost section like I did. For what it's worth, http://www.engelschall.com/pw/apache/rewriteguide/#ToC6 suggests RewriteRule ^/$ /e/www/ [R] not RewriteRule ^/$ /cgi-bin/e/index.html [PT,L] (note the different parameters "R" instead of "PT,L" in square brackets). I couldn't get it work either way. Thanks, Dan, for pointing me in the right direction. Joe Moschak Dan Browning wrote: >>On Tue, 27 Nov 2001 steve@moddepot.com wrote: >> >>>>How can I make my domain point right to the store. right >>>> >>now I have a >> >>>>index.html which redirects to the store. but the search >>>> >>engines don't >> >>>>like this. how can I make the store come right up with my >>>> >>domain. also >> >>>>where can I add meta tags on the foundation? just but them in the >>>>index.html page? or what. thanks in advance >>>> >>An interesting question.... >> >>I got around it by putting up a small index page directly at >>the domain name. At the top of that I put all of my meta tags >>for search engines to hit on and pick up. This page also has >>all of the criteria for the new Internet Explorer security >>stuff so that it all gets done and over right there. >> >>I have a meta tag that causes that page to go away after 10 >>seconds and bring on the main IC page through the cgi-bin >>directory. Thee is also a clickable link at the bottom of the >>page if someone is in a hurry. >> >>-= Jim =- >> > >I feel bad for being so terse with Steve, so here's the apache code to >do a redirect (though a staticly-built index.html which links to the >cgi-bin is faster). > >RewriteEngine On > ># matches on http://myhost.com >RewriteRule ^$ /cgi-bin/e/index.html [PT,L] > ># matches on http://myhost.com/ >RewriteRule ^/$ /cgi-bin/e/index.html [PT,L] > ># don't change URLs like /cgi-bin/* >RewriteRule ^/cgi-bin/.* - [PT,L] > >HTH, > >Dan Browning >Kavod Technologies > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Axium Computer Services) Date: Thu Dec 6 17:51:01 2001 Subject: [ic] Hotmail....BAD www.softhome.net provides free pop3 accounts... Orko Sines wrote: >> From the MailMan description of this mail list: > > > "Note also that you may not receive mail from the list if you use > certain free email providers who do not defend the use of their From > line by spammers." > > Judging by the way I can see the messages coming into the list > archives, but don't see any rolling into my Inbox, I'm guessing that > Hotmail is one of those bad boy 'free email providers' they are > talking about. > > Does anyone know of any free email providers are accepted here? I'd > hate to use my work address, since that gets >500 a day as it is. > > Thanks, > > -- orko > > _________________________________________________________________ > Get your FREE download of MSN Explorer at > http://explorer.msn.com/intl.asp > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Thu Dec 6 17:52:59 2001 Subject: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > I'm getting this error: > > (authorize net): Charge operation 'authorize net' failed > > Even when I set my authorize.net account in test mode and I even have > tried using a real credit card and the test card number. > > I have searched the online doc's and even this list but I just don't > have any idea what to do.. Like I said I'm new to Linux and don't > understand anything.. > Perhaps you overlooked my VERY DETAILED post at: http://interchange.redhat.com/archive/interchange-users/2001/msg11008.html From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Dec 6 18:10:01 2001 Subject: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! actually im the one setting up his server and your post was the first one i went by. it didnt work. i think the problem is that he uses cpanel and the modules arent loaded correctly or something. ----- Original Message ----- From: "Justin Bonds" <justin@hypertech.net> To: <interchange-users@interchange.redhat.com> Sent: Thursday, December 06, 2001 2:49 PM Subject: RE: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > > > I'm getting this error: > > > > (authorize net): Charge operation 'authorize net' failed > > > > Even when I set my authorize.net account in test mode and I even have > > tried using a real credit card and the test card number. > > > > I have searched the online doc's and even this list but I just don't > > have any idea what to do.. Like I said I'm new to Linux and don't > > understand anything.. > > > > Perhaps you overlooked my VERY DETAILED post at: > > http://interchange.redhat.com/archive/interchange-users/2001/msg11008.html > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Jason Maycock - Ad-Vantedge) Date: Thu Dec 6 18:39:01 2001 Subject: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! Justin, Me and two other guys looked at your post and followed your directions. But we didn't have any good results.. Thanks, Jason -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of Justin Bonds Sent: Thursday, December 06, 2001 4:50 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > I'm getting this error: > > (authorize net): Charge operation 'authorize net' failed > > Even when I set my authorize.net account in test mode and I even have > tried using a real credit card and the test card number. > > I have searched the online doc's and even this list but I just don't > have any idea what to do.. Like I said I'm new to Linux and don't > understand anything.. > Perhaps you overlooked my VERY DETAILED post at: http://interchange.redhat.com/archive/interchange-users/2001/msg11008.ht ml _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (texas pimp) Date: Thu Dec 6 18:42:00 2001 Subject: [ic] HELP ME Please I will apreciate it very Much Hi, iam I new user to IC Interchange and it was installed by my web hosting provider, I been using the administration side for two weeks, but I cant find out how to change the color of the shopping cart? Also I would like to use another credit card processor that's not in the drop down menu how would I put another one there? Please Help me ThankYou For Ready This E-mail __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Dec 6 18:57:00 2001 Subject: [ic] HELP ME Please I will apreciate it very Much open theme.cfg in a text editor and edit the hex color code. ----- Original Message ----- From: "texas pimp" <texasballer2k@yahoo.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, December 06, 2001 3:40 PM Subject: [ic] HELP ME Please I will apreciate it very Much > Hi, iam I new user to IC Interchange and it was > installed by my web hosting provider, I been using the > administration side for two weeks, but I cant find out > how to change the color of the shopping cart? Also I > would like to use another credit card processor that's > not in the drop down menu how would I put another one > there? > Please Help me > ThankYou For Ready This E-mail > > __________________________________________________ > Do You Yahoo!? > Send your FREE holiday greetings online! > http://greetings.yahoo.com > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Fresh Leads for 2002 !!) Date: Thu Dec 6 19:01:00 2001 Subject: [ic] Specialty Lead databases ! MARKETING PROFESSIONALS Call 800-299-8280 for 500 FREE Leads for 2002 !! =========================== SALES Leads: with Exec contacts, sales, revenues, employees, credit rating, target by industry / area Business Fax Lists: by industry, zip code, with exec contacts: $199 for 10,000 records or $500 for up to 20,000 records in your Area Code UCC-1 filings >> get competitive lease filings on your competition use as competitive Intelligence or Sales Intel New Business DBA Filings - 254,000+ Fresh records for new businesses in all 50 states started this year 2001 Business Sales Leads > any industry 10 million records+ We sell for 20% below anyone Consumer Records > Investors, Millionaires, Hobbyists, Autodial lists 100,000 records for $495 clean #'s Medical & Physicians Database > 580,000+ US Physicians with fax and specialty much more available - just call 800-299-8280 You wil be glad you did ! Digital Voice Mail Broadcasting & Targeted Fax Broadcasting > We sell you the Targeted Pre Qualified Leads INVESTIGATORS !! ===================== Lawyers Database > every lawyer in your area code $250 or 500 for up to 50,000 full records MORTGAGE BROKERS !! ===================== High Rate Mortgage Borrowers Database >> 17 Million Records in 15 top states COPIER PROFESSIONALS ===================== COPIER Lease database - identifies early lease buyout opportunities before the lease is up Marketing Solutions Call 800-299-8280 800-579-4912 fax We are a raw data wholesale suppllier to Dunn&Bradstreet as well as Bell South. Buy direct from the source This is not SPAM. You were sent this because you subscribed to a sales or business related information network or registered with our multi-threaded searche engine placement system and opted in to recieve Business/Marleting related offers. TO BE REMOVED email remove@email.com with your email address in the subject line. Thanks !! From: interchange-users at interchange.redhat.com (Christopher Van Oosterhout) Date: Thu Dec 6 19:04:01 2001 Subject: [ic] Interchange Upgrade Documentation Greetings All, I am looking for documentation that can give me instructions for upgrading from 4.6 to 4.8 versions of Interchange Do you have any ideas? I have found a document in email and online at the Akopia Web site that tells me how to upgrade from MiniVend to Interchange but there does not appear to be anything that walks through the process of an upgrade from 4.6 to 4.8 , etc. What do I need to be aware of? I would like to do this on the fly so I do not have down time for my current 4.6 store. Thanks Christopher From: interchange-users at interchange.redhat.com (John Beima) Date: Thu Dec 6 20:15:00 2001 Subject: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! Actually I would be willing ot bet cash it has nothing to do with CPanel... I have set 4 AuthorizeNet servers up and that post that is referenced is of VERY LITTLE use... I will be in contact off the list... Quoting steve@moddepot.com: > actually im the one setting up his server and your post was the first > one i > went by. it didnt work. i think the problem is that he uses cpanel and > the > modules arent loaded correctly or something. > ----- Original Message ----- > From: "Justin Bonds" <justin@hypertech.net> > To: <interchange-users@interchange.redhat.com> > Sent: Thursday, December 06, 2001 2:49 PM > Subject: RE: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > > > > > > > > I'm getting this error: > > > > > > (authorize net): Charge operation 'authorize net' failed > > > > > > Even when I set my authorize.net account in test mode and I even > have > > > tried using a real credit card and the test card number. > > > > > > I have searched the online doc's and even this list but I just don't > > > have any idea what to do.. Like I said I'm new to Linux and don't > > > understand anything.. > > > > > > > Perhaps you overlooked my VERY DETAILED post at: > > > > > http://interchange.redhat.com/archive/interchange-users/2001/msg11008.html > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Dec 6 20:41:01 2001 Subject: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! i installed ssleay md5 and all that. did everything in the authorizenet.pm file. did everything the lists said. so maybe you people know more. i only been using a IC a few months and im fairly good with it. but i couldnt get this working for the life of me. ----- Original Message ----- From: "John Beima" <jbeima@palb.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, December 06, 2001 5:14 PM Subject: Re: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > Actually I would be willing ot bet cash it has nothing to do with CPanel... I > have set 4 AuthorizeNet servers up and that post that is referenced is of VERY > LITTLE use... I will be in contact off the list... > > > Quoting steve@moddepot.com: > > > actually im the one setting up his server and your post was the first > > one i > > went by. it didnt work. i think the problem is that he uses cpanel and > > the > > modules arent loaded correctly or something. > > ----- Original Message ----- > > From: "Justin Bonds" <justin@hypertech.net> > > To: <interchange-users@interchange.redhat.com> > > Sent: Thursday, December 06, 2001 2:49 PM > > Subject: RE: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > > > > > > > > > > > > > I'm getting this error: > > > > > > > > (authorize net): Charge operation 'authorize net' failed > > > > > > > > Even when I set my authorize.net account in test mode and I even > > have > > > > tried using a real credit card and the test card number. > > > > > > > > I have searched the online doc's and even this list but I just don't > > > > have any idea what to do.. Like I said I'm new to Linux and don't > > > > understand anything.. > > > > > > > > > > Perhaps you overlooked my VERY DETAILED post at: > > > > > > > > http://interchange.redhat.com/archive/interchange-users/2001/msg11008.html > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > John Beima > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Thu Dec 6 21:09:00 2001 Subject: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! May I add... I don't get any errors nor are ther any errors in the logs. Nothing reaches Authorize.net. With other programs on that same server, using Perl, the transactions do work with Authorize.net. Anton -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of steve@moddepot.com Sent: Thursday, December 06, 2001 11:39 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! i installed ssleay md5 and all that. did everything in the authorizenet.pm file. did everything the lists said. so maybe you people know more. i only been using a IC a few months and im fairly good with it. but i couldnt get this working for the life of me. ----- Original Message ----- From: "John Beima" <jbeima@palb.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, December 06, 2001 5:14 PM Subject: Re: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > Actually I would be willing ot bet cash it has nothing to do with CPanel... I > have set 4 AuthorizeNet servers up and that post that is referenced is of VERY > LITTLE use... I will be in contact off the list... > > > Quoting steve@moddepot.com: > > > actually im the one setting up his server and your post was the first > > one i > > went by. it didnt work. i think the problem is that he uses cpanel and > > the > > modules arent loaded correctly or something. > > ----- Original Message ----- > > From: "Justin Bonds" <justin@hypertech.net> > > To: <interchange-users@interchange.redhat.com> > > Sent: Thursday, December 06, 2001 2:49 PM > > Subject: RE: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > > > > > > > > > > > > > I'm getting this error: > > > > > > > > (authorize net): Charge operation 'authorize net' failed > > > > > > > > Even when I set my authorize.net account in test mode and I even > > have > > > > tried using a real credit card and the test card number. > > > > > > > > I have searched the online doc's and even this list but I just don't > > > > have any idea what to do.. Like I said I'm new to Linux and don't > > > > understand anything.. > > > > > > > > > > Perhaps you overlooked my VERY DETAILED post at: > > > > > > > > http://interchange.redhat.com/archive/interchange-users/2001/msg11008.html > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > John Beima > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Fri Dec 7 02:58:01 2001 Subject: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! John, My previous post is intended to help those that need AuthorizeNet integration to easily set it up to work with Interchange. It does provide a WORKING example of a successful AuthorizeNet configuration, but it is in NO WAY intended to work for every configuration. If it doesn't work with your configuration, then it would be nice if you'd provide your AuthorizeNet configuration so that all of us may benefit. I would definitely be interested in learning what additional steps you've taken to get AuthorizeNet to work in your particular instance . . . Steve, have you verified that NetSSLeay and/or CryptSSLeay are installed and working correctly? I had a problem which was similar to yours and once I corrected this configuration problem (and all other configuration problems - HA!) - it started working properly. :) Justin > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of John > Beima > Sent: Thursday, December 06, 2001 7:14 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > Actually I would be willing ot bet cash it has nothing to do with > CPanel... I > have set 4 AuthorizeNet servers up and that post that is > referenced is of VERY > LITTLE use... I will be in contact off the list... > > > Quoting steve@moddepot.com: > > > actually im the one setting up his server and your post was the first > > one i > > went by. it didnt work. i think the problem is that he uses cpanel and > > the > > modules arent loaded correctly or something. > > ----- Original Message ----- > > From: "Justin Bonds" <justin@hypertech.net> > > To: <interchange-users@interchange.redhat.com> > > Sent: Thursday, December 06, 2001 2:49 PM > > Subject: RE: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > > > > > > > > > > > > > I'm getting this error: > > > > > > > > (authorize net): Charge operation 'authorize net' failed > > > > > > > > Even when I set my authorize.net account in test mode and I even > > have > > > > tried using a real credit card and the test card number. > > > > > > > > I have searched the online doc's and even this list but I just don't > > > > have any idea what to do.. Like I said I'm new to Linux and don't > > > > understand anything.. > > > > > > > > > > Perhaps you overlooked my VERY DETAILED post at: > > > > > > > > http://interchange.redhat.com/archive/interchange-users/2001/msg11008.html > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Fri Dec 7 03:06:01 2001 Subject: [ic] Anyone using IC with VeriSign PayFlow Pro ?? For tighter control and better performance they also provides APIs right? Anyone tired that?? any idea?? thanks alot. :) ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag ---- On Thu, 6 Dec 2001, Ron Phipps (rphipps@reliant- solutions.com) wrote: > > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange- > > users-admin@interchange.redhat.com] On Behalf Of JOHN WRONG > > Sent: Thursday, December 06, 2001 12:56 PM > > To: interchange-users@interchange.redhat.com > > Subject: [ic] Anyone using IC with VeriSign PayFlow Pro ?? > > > > How easy it is to use PayFlow Pro with IC? > > Anyone have any idea?? PayFlow Pro use a thin client right?? > > So does the IC talks to the thin client? Is there a module from > > VeriSign that we can add it to IC? Any has more info oh this!? > > IC and Verisign work well with each other straight out of the box. Once > you install IC look in vend_root/lib/Vend/Payment/Signio.pm for > instructions on how to setup the integration. Payflow Pro is a thin > client and IC calls the client to obtain authorization. > > -Ron > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange- users > > From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Fri Dec 7 03:57:01 2001 Subject: [ic] Interchange Upgrade Documentation Do you think there is prints doc that you can buy?? I just order them. ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag ---- On Thu, 06 Dec 2001, Christopher Van Oosterhout (chris@vanoosterhout.com) wrote: > > Greetings All, > > I am looking for documentation that can give me instructions for > upgrading > from 4.6 to 4.8 versions of Interchange > > Do you have any ideas? > > I have found a document in email and online at the Akopia Web site that > tells me how to upgrade from MiniVend to Interchange but there does not > appear to be anything that walks through the process of an upgrade from > 4.6 > to 4.8 , etc. > > What do I need to be aware of? > > I would like to do this on the fly so I do not have down time for my > current 4.6 store. > > Thanks > > Christopher > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange- users > > From: interchange-users at interchange.redhat.com (Jim Webster) Date: Fri Dec 7 03:59:00 2001 Subject: [ic] What an incredible resource. Have to give thanks to "cursor" in the IRC chat room. Helped me with my 1st MySQL/IC install (inside of 5 minutes). Did not even know that chat room existed... Didn't even know IRC still existed (no hate mail please, haha). Here's the info: server irc.vensnews.com port 6667 channel #interchange Real nice of you guys to offer your free time for us rookies. :) Jim. From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Fri Dec 7 04:35:01 2001 Subject: [ic] Anyone using Paymentech Gateway for payment? Anyone using Paymentech Gateway for payment? I can't get any info from their site? ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Fri Dec 7 04:37:01 2001 Subject: [ic] Interchange Upgrade Documentation sorry for me last post.. I mean did u know there are prints DOC for sell? check it out! it is on their main page. I will get my on Monday. ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag ---- On Thu, 06 Dec 2001, Christopher Van Oosterhout (chris@vanoosterhout.com) wrote: > > Greetings All, > > I am looking for documentation that can give me instructions for > upgrading > from 4.6 to 4.8 versions of Interchange > > Do you have any ideas? > > I have found a document in email and online at the Akopia Web site that > tells me how to upgrade from MiniVend to Interchange but there does not > appear to be anything that walks through the process of an upgrade from > 4.6 > to 4.8 , etc. > > What do I need to be aware of? > > I would like to do this on the fly so I do not have down time for my > current 4.6 store. > > Thanks > > Christopher > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange- users > > From: interchange-users at interchange.redhat.com (Orko) Date: Fri Dec 7 04:38:14 2001 Subject: [ic] Severe Trouble going LIVE I have been testing out IC 4.8.3 on my local Redhat 7.1 machine and had no problems installing or getting the server to run. However, getting it up on the secure server we were planning on using for the purchase site has proven to be impossible so far... The server has the following specs: BSDI BSD/OS 4.2 1GB RAM (~750MB Free) 100GB RAID HD (~90GB Free) Perl v5.6.1 MySQL v3.23.37 Apache v1.3.12 cgiwrap v3.6.4 The install went fine, all of the perl modules were pre-installed before the install of IC. No errors reported all the way through the install and makecat (used foundation theme). At the end of makecat received the following: ========================== Done with installation. If my reading of your input is correct, you should be able to access the demo catalog with the following URL: http://www.mydomain.com/secure_samples In any case, you should get direct access at: http://www.mydomain.com/lcgi-bin/secure That is, after you START or RESTART the Interchange server. 8-) It is best done with: /path/to/interchange/bin/interchange -r For session expiration, you might want to place a line like this in your crontab: 44 4 * * * /path/to/interchange/bin/expireall -r It will prevent the session databases from getting too large. ============================ At which point I did.... ============================ interchange $ bin/interchange -r The Interchange server was not running (/usr/home/wwwcust1/./asic/interchange/etc/interchange.pid). Low traffic settings. Calling UI......UI is loaded... Out of memory! Callback called exit, <GLOBAL> line 378. END failed--call queue aborted at bin/interchange line 99, <GLOBAL> line 378. Callback called exit at bin/interchange line 99, <GLOBAL> line 378. END failed--call queue aborted at bin/interchange line 57, <GLOBAL> line 378. Callback called exit at bin/interchange line 57, <GLOBAL> line 378. END failed--call queue aborted at bin/interchange line 16, <GLOBAL> line 378. ============================= Any attempts to start the server have failed with the same errors. I've tried ' --DEBUG=1' with the same result, and ' -test' dies the same also. I've even tried ' --exclude=secure' to take out my only catalog, with the same result. Looking at the /bin/interchange perl script, I can't see where it could be hanging up. Line 99 is just a blank line, so I must be looking at the error wrong...Line 378 is a line inside the update_quantity() function, so that doesn't help, either. Has anyone seen or heard of a similar issue? It's obvious I'm not out of memory. The most important question is, how can I step through this initialization and debug what is causing the error? Thank you very much for your help in this. My boss is getting worried :) -- orko From: interchange-users at interchange.redhat.com (Bill Carr) Date: Fri Dec 7 07:51:00 2001 Subject: [ic] Check for database update success How do I check for success when 'Updating Interchange Database Tables with a Form'? -- Bill Carr Worldwide Impact bill@worldwideimpact.com 413-253-6700 From: interchange-users at interchange.redhat.com (Erik Kendel) Date: Fri Dec 7 08:41:00 2001 Subject: [ic] German currency / dezimal=zero problem Erik Kendel wrote: > > hello together, > > I am running IC 4.8.2 on redhat 7.1 with a mysql database. > The IC server still rounding up dezimal numbers to ,00 > or .00 for example: the database includes the price 10.99, > on result page it is 10.00. > I setup the catalog.cf to : > > Locale de_DE PriceDivide .58 > Locale de_DE mon_decimal_point . > Locale de_DE mon_thousands_sep " " > Locale de_DE currency_symbol " DM" > Locale de_DE ps_cs_precedes 1 .... Try with adding Locale de_DE frac_digits 2 in your catalog.cfg Joachim I add it to : Locale de_DE PriceDivide .58 Locale de_DE mon_decimal_point . Locale de_DE mon_thousands_sep " " Locale de_DE currency_symbol " DM" Locale de_DE ps_cs_precedes 1 Locale de_DE frac_digits 2 without any success. Same as before. Do you have any other suggestions?! -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Dec 7 09:14:01 2001 Subject: [ic] German currency / dezimal=zero problem Erik Kendel wrote: > > Erik Kendel wrote: > > > > hello together, > > > > I am running IC 4.8.2 on redhat 7.1 with a mysql database. > > The IC server still rounding up dezimal numbers to ,00 > > or .00 for example: the database includes the price 10.99, > > on result page it is 10.00. > > I setup the catalog.cf to : > > > > Locale de_DE PriceDivide .58 > > Locale de_DE mon_decimal_point . > > Locale de_DE mon_thousands_sep " " > > Locale de_DE currency_symbol " DM" > > Locale de_DE ps_cs_precedes 1 > > .... > > Try with adding > > Locale de_DE frac_digits 2 > > in your catalog.cfg > > Joachim > > I add it to : > > Locale de_DE PriceDivide .58 > Locale de_DE mon_decimal_point . > Locale de_DE mon_thousands_sep " " > Locale de_DE currency_symbol " DM" > Locale de_DE ps_cs_precedes 1 > Locale de_DE frac_digits 2 > > without any success. Same as before. Do you have any other suggestions?! Did you restart the Interchange server? Did you set the locale to de_DE (for example [setlocale de_DE])? Did you have another locale setting befor or after the de_DE stuff in you catalog.cfg? Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Dec 7 09:24:01 2001 Subject: [ic] I can't delete a records from the database xyz! Hi List, in old MV Shop, I've <INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="anmelden"> <INPUT TYPE=HIDDEN NAME="mv_data_key" VALUE="[scratch code]"> <INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="delete"> <INPUT TYPE=HIDDEN NAME="mv_data_verify" VALUE="1"> to remove a record from the database "anmelden". After updating to IC 4.8.3, that codes is not working now. The codes [delete_record table="anmelden" key="[scratch code]"] is not working in IC 4.8.3 too! I could not find a right solution from the mail archiv! What is the right solution? Any helps, tips and suggestions are very welcome! Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Christopher VanOosterhout) Date: Fri Dec 7 09:30:00 2001 Subject: How to Upgrade Re: [ic] Interchange Upgrade Documentation I am still not clear on how to upgrade from one version of Interchange to another. This gentleman seems to recommend the purchase of the printed documentation. Will that do it? Is there really step by step upgrade info in the printed documentation that is not online as it relates to an 4.6 to 4.8 upgrade. I know this may sound very simple, but there are several questions I have not been able to find answers to online. I see online documentation telling how to upgrade from various versions of MiniVend to other versions of MiniVend and that same document includes how to upgrade from MiniVend to a version of Interchange. What I do not see is information about how to upgrade from one (4.6.x) version of Interchange to another (4.8.x) version of Interchange. In previous posts I have been told not to just use the "foundation.rpm" but also to use the Interchange rpm. I do not see an "Interchange RPM" on the download page. Is that the "core rpm?" Other people on the list have told me that I should not use RPMs to upgrade. It would be great if someone had documentation that gave recommendations and instructions. Please forgive me and point me in the right direction if the documents are online. Thanks for your time and help. CV At 03:56 AM 12/7/01 -0500, JOHN WRONG wrote: >Do you think there is prints doc that you can buy?? > >I just order them. > > > >________________________________________________ >Get your own "800" number >Voicemail, fax, email, and a lot more >http://www.ureach.com/reg/tag > > >---- On Thu, 06 Dec 2001, Christopher Van Oosterhout >(chris@vanoosterhout.com) wrote: > > > > > Greetings All, > > > > I am looking for documentation that can give me instructions >for > > upgrading > > from 4.6 to 4.8 versions of Interchange > > > > Do you have any ideas? > > > > I have found a document in email and online at the Akopia Web >site that > > tells me how to upgrade from MiniVend to Interchange but >there does not > > appear to be anything that walks through the process of an >upgrade from > > 4.6 > > to 4.8 , etc. > > > > What do I need to be aware of? > > > > I would like to do this on the fly so I do not have down time >for my > > current 4.6 store. > > > > Thanks > > > > Christopher > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange- >users > > > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher VanOosterhout Torresen Marine, Inc. Internet Division http://www.torresen.com/ http://www.marinedieseldirect.com/ 3126 Lake Shore Drive Muskegon, Michigan 49441 231-759-8596 From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Dec 7 09:32:09 2001 Subject: [ic] Check for database update success Bill Carr <bill@worldwideimpact.com> writes: > How do I check for success when 'Updating Interchange Database Tables > with a Form'? Read the error.log :-; Presumably you can set: <input type=hidden name=mv_data_return_key value="idf"> in the form and check if $CGI->{idf} is valid on the next page. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Dec 7 09:55:00 2001 Subject: [ic] I can't delete a records from the database xyz! Joachim Leidinger <jojo@blackpoint.de> writes: > Hi List, > > in old MV Shop, I've > > <INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="anmelden"> > <INPUT TYPE=HIDDEN NAME="mv_data_key" VALUE="[scratch code]"> > <INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="delete"> > <INPUT TYPE=HIDDEN NAME="mv_data_verify" VALUE="1"> > > to remove a record from the database "anmelden". After updating to IC > 4.8.3, that codes is not working now. What says the error log ? > The codes > > [delete_record table="anmelden" key="[scratch code]"] This is no IC tag. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Javier Martin) Date: Fri Dec 7 10:04:01 2001 Subject: [ic] EINTR on select Hello list, This is for Mike, I think: I have written a profile in which some socket IO is done through LWP. I do an HTTP query to a server, which responds in approx 1 or 2 seconds. My problem is: during this lapse, I often (not in a deterministic way) obtain the error EINTR in the select call (deep into the LWP guts) that waits for data on the socket connected to the server. The EINTR error probably means that 'select' has been interrupted by some signal. My question is: Is it possible that the interchange process receive any asynchronous signal that could break ongoing system calls such as select? Please, this has been turning me completely crazy for almost a week. Javier From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Dec 7 10:30:01 2001 Subject: [ic] I can't delete a records from the database xyz! "Stefan Hornburg (Racke)" wrote: > > Joachim Leidinger <jojo@blackpoint.de> writes: > > > Hi List, > > > > in old MV Shop, I've > > > > <INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="anmelden"> > > <INPUT TYPE=HIDDEN NAME="mv_data_key" VALUE="[scratch code]"> > > <INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="delete"> > > <INPUT TYPE=HIDDEN NAME="mv_data_verify" VALUE="1"> > > > > to remove a record from the database "anmelden". After updating to IC > > 4.8.3, that codes is not working now. > > What says the error log ? Nothing! Remember! I was your student! If there is any error messages, i would post this message with my email too. :-) > > The codes > > > > [delete_record table="anmelden" key="[scratch code]"] > > This is no IC tag. Right! It was for the old MV! I try out to find a right IC codes/Tag for the above tag! What is the right codes to remove a row from the table "anmelden.asc"? Looking in UI with flex_select, I'm able to remove a row from the table "anmelden". But the row has to be removed automatically on my next IC page after any submitting. I've a customer, who get an email by the MV shop for the new user, who ask for a new account. For example: --- snip email ------ .... Benutzer annehmen hier -> http://www.bpa.leidinger.local/cgi-bin/owkpa/admin/adduser?;011214 klicken! (Add this new user -> ...) Benutzer ablehnen hier -> http://www.bpa.leidinger.local/cgi-bin/owkpa/admin/deluser?;011214 klicken! (Don't add this new user and remove it from the table...) --- snip email ------ My customer don't want, that a new user is able to use the standard new account page of the MV Shop. My customer don't provide a new_account page by the MV Shop and now in IC Shop too. Therefore my customer has to click the above url to add a new user or not. The page deluser looks like ----------- snip ------------ [tag flag write]anmelden[/tag] [delete_record table="anmelden" key="[scratch code]"] <!-- I don't know, why I need the following codes twice? --> [tag flag write]anmelden.asc[/tag] [tag export anmelden anmelden.asc]Proceed[/tag] [tag flag write]anmelden.asc[/tag] [tag export anmelden anmelden.asc]Proceed[/tag] --- snip email ------ -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 7 10:31:59 2001 Subject: [ic] Internationalization - how? --8064261.1007739028140.JavaMail.root@www-a26 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ok firstly, sorry for this newbie question. But I have found this in the 'm= anual': http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_41.htm= l and want to change $ into =80? and know that I must set the locale to show this. But how? The script was automatically set up by my control panel for my webspace but= I can't work out from the instructions what file to edit and where. Any help would be appreciated - thanks, xoff. ---------- Get a free, personalised email address at http://another.com TXT ALRT! Stop wasting money now. Send FREE, personalised txt from http://another.com --8064261.1007739028140.JavaMail.root@www-a26-- From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Dec 7 10:33:01 2001 Subject: [ic] EINTR on select Javier Martin wrote: > > Hello list, > > This is for Mike, I think: I have written a profile in which some socket IO > is done through LWP. I do an HTTP query to a server, which responds in > approx 1 or 2 seconds. My problem is: during this lapse, I often (not in a > deterministic way) obtain the error EINTR in the select call (deep into the > LWP guts) that waits for data on the socket connected to the server. The > EINTR error probably means that 'select' has been interrupted by some > signal. > > My question is: Is it possible that the interchange process receive any > asynchronous signal that could break ongoing system calls such as select? > > Please, this has been turning me completely crazy for almost a week. Did you see any message about 'select' from the error.log of IC? If yes, can you post that part of message? Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Dec 7 10:46:01 2001 Subject: [ic] I can't delete a records from the database xyz! Joachim Leidinger wrote: .... > > > The codes > > > > > > [delete_record table="anmelden" key="[scratch code]"] > > > > This is no IC tag. > > Right! It was for the old MV! I try out to find a right IC codes/Tag for > the above tag! What is the right codes to remove a row from the table > "anmelden.asc"? Looking in UI with flex_select, I'm able to remove a row > from the table "anmelden". But the row has to be removed automatically > on my next IC page after any submitting. Aaarggh! Sorry to waste the list! It was an old usertag like UserTag delete_record Order table key UserTag delete_record PosNumber 2 UserTag delete_record Routine <<EOF sub { my ($table, $key) = @_; return "Delete-record requires all information" unless $table and $key; my $db = Vend::Data::database_exists_ref($table) or return "Bad table '$table'."; $db = $db->ref(); $db->record_exists($key) or return "No key '$key' in table '$table'."; return $db->delete_record($key); } EOF I apologize for my sloppiness! Thanks! Joachim (is beaten his own head with a brick of the wall) -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Twentys) Date: Fri Dec 7 10:53:01 2001 Subject: [ic] Internationalization - how? if you set DE_de in locale table with € [setlocale DE_de] bie 07/12/01 16.30.28, xoff@another.com wrote: >Ok firstly, sorry for this newbie question. But I have found this in the 'manual': http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_41.html > >and want to change $ into €? > >and know that I must set the locale to show this. But how? > >The script was automatically set up by my control panel for my webspace but I can't work out from the instructions what file to edit and where. > >Any help would be appreciated - thanks, xoff. > > >---------- >Get a free, personalised email address at http://another.com >TXT ALRT! Stop wasting money now. Send FREE, personalised txt >from http://another.com From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Dec 7 10:56:01 2001 Subject: [ic] I can't delete a records from the database xyz! Joachim Leidinger <jojo@blackpoint.de> writes: > "Stefan Hornburg (Racke)" wrote: > > > > Joachim Leidinger <jojo@blackpoint.de> writes: > > > > > Hi List, > > > > > > in old MV Shop, I've > > > > > > <INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="anmelden"> > > > <INPUT TYPE=HIDDEN NAME="mv_data_key" VALUE="[scratch code]"> > > > <INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="delete"> > > > <INPUT TYPE=HIDDEN NAME="mv_data_verify" VALUE="1"> > > > > > > to remove a record from the database "anmelden". After updating to IC > > > 4.8.3, that codes is not working now. > > > > What says the error log ? > > Nothing! Remember! I was your student! If there is any error messages, i > would post this message with my email too. :-) Hm, then it is hard to guess. I'm using SQL database most of the times. > > > > The codes > > > > > > [delete_record table="anmelden" key="[scratch code]"] > > > > This is no IC tag. > > Right! It was for the old MV! I try out to find a right IC codes/Tag for > the above tag! What is the right codes to remove a row from the table > "anmelden.asc"? Looking in UI with flex_select, I'm able to remove a row > from the table "anmelden". But the row has to be removed automatically > on my next IC page after any submitting. [perl tables=anmelden] $Db{anmelden}->delete_record($Scratch->{code}); [/perl] You need to do the export stuff too. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Roulliere Idoménée) Date: Fri Dec 7 10:57:03 2001 Subject: [ic] Internationalization - how? table : locale, variable : currency_symbol xoff@another.com wrote: >Ok firstly, sorry for this newbie question. But I have found this in the 'manual': http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_41.html > >and want to change $ into EUR? > >and know that I must set the locale to show this. But how? > >The script was automatically set up by my control panel for my webspace but I can't work out from the instructions what file to edit and where. > >Any help would be appreciated - thanks, xoff. > > >---------- >Get a free, personalised email address at http://another.com >TXT ALRT! Stop wasting money now. Send FREE, personalised txt >from http://another.com > From: interchange-users at interchange.redhat.com (Bob Staaf) Date: Fri Dec 7 11:01:01 2001 Subject: [ic] Newbie Installation Question Hello all, Just considering a move from Miva Merchant to Interchange and am getting ready to do an rpm installation of Interchange. I have downloaded all the rpms with the exception of the CPAN modules. How do I know which ones I need or do I need all of them? I apologize in advance for the newbie question and hope to learn a lot very quickly :) Thanks Bob From: interchange-users at interchange.redhat.com (Javier Martin) Date: Fri Dec 7 11:03:01 2001 Subject: [ic] EINTR on select > > My question is: Is it possible that the interchange process receive any > > asynchronous signal that could break ongoing system calls such > as select? > Did you see any message about 'select' from the error.log of IC? If yes, > can you post that part of message? No. Interchange does not complain at all. It's my code which breaks on signal reception. Javier From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Dec 7 11:43:00 2001 Subject: [ic] Newbie Installation Question > Hello all, > > Just considering a move from Miva Merchant to > Interchange and am getting ready to do an rpm installation > of Interchange. I have downloaded all the rpms with the > exception of the CPAN modules. How do I know which ones I > need or do I need all of them? > > I apologize in advance for the newbie question and hope to > learn a lot very quickly :) > > Thanks > > Bob Even if you do install the RPM modules (some of which are out of date for Red Hat 7.2), I recommend running perl -MCPAN -e 'install Bundle::Interchange' Or perhaps this first to get a faster mirror: perl -MCPAN -e 'shell' o conf urllist push ftp://mirrors.kernel.org/pub/CPAN/ HTH, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (John Beima) Date: Fri Dec 7 11:44:44 2001 Subject: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! G'Day Justin, I have not intentions on debating this with you... Your post is incomplete and not very helpful at all, and sorry I don't just GIVE AWAY complete and proper Interchange solutions/fixes... John Quoting Justin Bonds <justin@hypertech.net>: > John, > > My previous post is intended to help those that need AuthorizeNet > integration to easily set it up to work with Interchange. It does > provide a > WORKING example of a successful AuthorizeNet configuration, but it is in > NO > WAY intended to work for every configuration. If it doesn't work with > your > configuration, then it would be nice if you'd provide your AuthorizeNet > configuration so that all of us may benefit. I would definitely be > interested in learning what additional steps you've taken to get > AuthorizeNet to work in your particular instance . . . > > Steve, have you verified that NetSSLeay and/or CryptSSLeay are installed > and > working correctly? I had a problem which was similar to yours and once > I > corrected this configuration problem (and all other configuration > problems - > HA!) - it started working properly. > > :) Justin > > > > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.com > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > John > > Beima > > Sent: Thursday, December 06, 2001 7:14 PM > > To: interchange-users@interchange.redhat.com > > Subject: Re: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > > > > Actually I would be willing ot bet cash it has nothing to do with > > CPanel... I > > have set 4 AuthorizeNet servers up and that post that is > > referenced is of VERY > > LITTLE use... I will be in contact off the list... > > > > > > Quoting steve@moddepot.com: > > > > > actually im the one setting up his server and your post was the > first > > > one i > > > went by. it didnt work. i think the problem is that he uses cpanel > and > > > the > > > modules arent loaded correctly or something. > > > ----- Original Message ----- > > > From: "Justin Bonds" <justin@hypertech.net> > > > To: <interchange-users@interchange.redhat.com> > > > Sent: Thursday, December 06, 2001 2:49 PM > > > Subject: RE: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > > > > > > > > > > > > > > > > > > I'm getting this error: > > > > > > > > > > (authorize net): Charge operation 'authorize net' failed > > > > > > > > > > Even when I set my authorize.net account in test mode and I even > > > have > > > > > tried using a real credit card and the test card number. > > > > > > > > > > I have searched the online doc's and even this list but I just > don't > > > > > have any idea what to do.. Like I said I'm new to Linux and > don't > > > > > understand anything.. > > > > > > > > > > > > > Perhaps you overlooked my VERY DETAILED post at: > > > > > > > > > > > > http://interchange.redhat.com/archive/interchange-users/2001/msg11008.html > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > John Beima > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 7 11:50:01 2001 Subject: [ic] Internationalization - how? --722015.1007743738396.JavaMail.root@www-a20 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit ok i know this is going to sound dumb but ... how do i edit it / find it? FTP or the admin interface? thanks again -----Original Message----- >From : Roulliere =?ISO-8859-1?Q?Idom=E9n=E9e?= <roulliere@idomenee.com> To : interchange-users@interchange.redhat.com Date : 07 December 2001 21:58:36 Subject : Re: [ic] Internationalization - how? table : locale, variable : currency_symbol > >xoff@another.com wrote: > >>Ok firstly, sorry for this newbie question. But I have found this in the 'manual': http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_41.html >> >>and want to change $ into EUR? >> >>and know that I must set the locale to show this. But how? >> >>The script was automatically set up by my control panel for my webspace but I can't work out from the instructions what file to edit and where. >> >>Any help would be appreciated - thanks, xoff. >> >> >>---------- >>Get a free, personalised email address at http://another.com >>TXT ALRT! Stop wasting money now. Send FREE, personalised txt >>from http://another.com >> > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > ---------- Get a fun email address at http://another.com COOL: Personalise a t-shirt with your name/email/slogan from 9.99 pounds. CLICK HERE http://another-shop.com --722015.1007743738396.JavaMail.root@www-a20-- From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Dec 7 12:08:01 2001 Subject: [ic] I can't delete a records from the database xyz! At 04:55 PM 12/07/2001 +0100, you wrote: >Joachim Leidinger <jojo@blackpoint.de> writes: > > > "Stefan Hornburg (Racke)" wrote: > > > > > > Joachim Leidinger <jojo@blackpoint.de> writes: > > > > > > > Hi List, > > > > > > > > in old MV Shop, I've > > > > > > > > <INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="anmelden"> > > > > <INPUT TYPE=HIDDEN NAME="mv_data_key" VALUE="[scratch code]"> > > > > <INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="delete"> > > > > <INPUT TYPE=HIDDEN NAME="mv_data_verify" VALUE="1"> > > > > > > > > to remove a record from the database "anmelden". After updating to IC > > > > 4.8.3, that codes is not working now. > > > > > > What says the error log ? > > > > Nothing! Remember! I was your student! If there is any error messages, i > > would post this message with my email too. :-) > >Hm, then it is hard to guess. I'm using SQL database most of the times. > > > > > > > The codes > > > > > > > > [delete_record table="anmelden" key="[scratch code]"] > > > > > > This is no IC tag. > > > > Right! It was for the old MV! I try out to find a right IC codes/Tag for > > the above tag! What is the right codes to remove a row from the table > > "anmelden.asc"? Looking in UI with flex_select, I'm able to remove a row > > from the table "anmelden". But the row has to be removed automatically > > on my next IC page after any submitting. > >[perl tables=anmelden] >$Db{anmelden}->delete_record($Scratch->{code}); >[/perl] > >You need to do the export stuff too. > >Ciao > Racke From the docs on Updating Database Tables with a From (I really don't know how relevant this is anymore): mv_data_enable (scratch) \IMPORTANT: This must be set to a non-zero, non-blank value in the scratch space to allow data set functions. Usually it is put in an mv_click that precedes the data set function. For example: [set update_database] [if type=data term="userdb::trusted::[data session username]"] [set mv_data_enable]1[/set] [else] [set mv_data_enable]0[/set] [/else] [/if] [/set] <INPUT TYPE=hidden NAME=mv_click VALUE=update_database> More here: http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_40.html - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Korey G.) Date: Fri Dec 7 12:09:42 2001 Subject: [ic] ASP like Perl Thanks for all your help guys, just for the record, if some one else comes around with a similar problem, The reason I was pulling up the last field in the database was because my [sql-code] field was not unique, I figured if I make all the code fields 1 and do a query like so [select * from table001 where code < 2] It should work,. right?.... wrong, as with any database you need to have an ID field which is unique and original in my case the ID was being skitzo, So basically when I changed my code field to be the part-number (which is unique) I can easily pull down all the records in the database. with a query like so [select * from table001] at which point I dont even need matching criterial, I can just say all the records, -Hope this helps someone in the future -Korey G. At 23:07 12/5/01 +0000, you wrote: >>* Korey Gozman wrote on Fri, Nov 30, 2001 at 15:12 -0800: >> > I want to pull all the fields that match the criteria >> > but it only displays the last entry in tha table. >> > any suggestions? >> >>For postgres, you could order reverse and give a limit 1, i.e.: >> >>select sku from products where ... order by ... limit 1 >> >>But in standard-SQL it's not really possible I think, usually SQL >>is deterministic :) > >Amazing how something can trigger a long buried memory :} > >If your sku's are automatic, this should work: >select sku from products where ... and sku = max(sku) > >syntax may be a little off as I have not tested it :} > >Jeff. > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Korey G.) Date: Fri Dec 7 12:20:00 2001 Subject: [ic] [item-modifield engraving] will not display in checkout Hey Guys, Im having a problem getting [item-modifier engraving] to display in the checkout page, Im not having any problems displaying this in tha basket tho, and I do have it declared in the catalog.cfg file, Any suggestions out thea -Korey From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Dec 7 12:27:00 2001 Subject: [ic] I can't delete a records from the database xyz! Ed LaFrance <edl@newmediaems.com> writes: [...] > > From the docs on Updating Database Tables with a From (I really don't know > how relevant this is anymore): > > > mv_data_enable (scratch) > > \IMPORTANT: This must be set to a non-zero, non-blank value in the scratch > space to allow data set functions. Usually it is put in an mv_click that > precedes the data set function. For example: > > [set update_database] > [if type=data term="userdb::trusted::[data session username]"] > [set mv_data_enable]1[/set] > [else] > [set mv_data_enable]0[/set] > [/else] > [/if] > [/set] > <INPUT TYPE=hidden NAME=mv_click VALUE=update_database> > > > More here: > > http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_40.html That's right, but in this case IC would leave a message in the error log. Bye Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Korey G.) Date: Fri Dec 7 12:45:07 2001 Subject: [ic] [item-modifier] will not display in checkout In general what are the types of things that I should be carefull about when working with [item-modifier engraving] tags, cause I just noticed that when I remove an Item in the basket it clears out the rest of the items' modifier aswell which give me the same problem as in the checkout page, -Korey At 12:21 12/7/01 -0800, you wrote: >Hey Guys, > Im having a problem getting [item-modifier engraving] to display >in the checkout page, Im not having any problems displaying this >in tha basket tho, and I do have it declared in the catalog.cfg file, > Any suggestions out thea > >-Korey > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Korey G.) Date: Fri Dec 7 13:17:01 2001 Subject: [ic] [item-modifield engraving] will not display in Problem solved! there are 3 basic things that you should keep in mind when working with additional modifiers 1) Define the Modifier in catalog.cfg UseModifier size color partnumber 2) Assign the modifier value Modifier <A HREF="[area href=ord/basket form="mv_order_item=[item-code] mv_order_partnumber=100-5202165-013215 mv_action=refresh"]"> or <input type="text" name="mv_order_partnumber" value=""> 3) reference the modifier in any future displays for example if in the basket.html <input type=hidden name="[modifier-name partnumber]" value="[item-modifier partnumber]"> so that interchange knows that you are refering to this particular item with this particular modifier value when ever you want to display the modifier information <b>[item-modifier partnumber]</b> At 12:21 12/7/01 -0800, you wrote: >Hey Guys, > Im having a problem getting [item-modifier engraving] to display >in the checkout page, Im not having any problems displaying this >in tha basket tho, and I do have it declared in the catalog.cfg file, > Any suggestions out thea > >-Korey > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Kyle Cook) Date: Fri Dec 7 13:35:01 2001 Subject: [ic] [item-modifier] will not display in checkout At 12:46 PM 12/7/01, you wrote: >In general what are the types of things that I should be carefull >about when working with [item-modifier engraving] tags, cause > I just noticed that when I remove an Item in the basket it clears >out the rest of the items' modifier aswell which give me the same >problem as in the checkout page, > >-Korey > > >At 12:21 12/7/01 -0800, you wrote: >>Hey Guys, >> Im having a problem getting [item-modifier engraving] to display >>in the checkout page, Im not having any problems displaying this >>in tha basket tho, and I do have it declared in the catalog.cfg file, >> Any suggestions out thea >> >>-Korey Hmmm, are you passing the modifier along from the basket page form? Like the following inside the item-list: <INPUT TYPE=hidden NAME="[modifier-name engraving]" VALUE="[item-modifier engraving]"> Kyle From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Fri Dec 7 13:44:01 2001 Subject: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! John, Who's debating? I provided my insight into the AuthorizeNet integration free of charge so that it could benefit others. Isn't that the purpose of this list? To help others and to be helped? That's my take on all of it. So, yes, perhaps I did leave some things out but you haven't said WHAT which would be helpful to others. My installation is working and so I don't need you to GIVE AWAY anything to me . . . and regarding my AuthorizeNet post being of VERY LITTLE use, I really can't say that your posts regarding AuthorizeNet are of any significant benefit, either. I can say that I made an attempt by posting, free of charge, information about AuthorizeNet which is more than your "VERY LITTLE use", "debating this with you", and "I just don't GIVE AWAY" comments made to me, while at the same time, posting nothing of actual benefit for getting AuthorizeNet to work with Interchange. Yes - perhaps your instructions sent privately to Scott are good - but why are you putting down my FREE post (which is working in all of my installations) when you provide NO POST and instead apparently CHARGE for everything???? Who's really providing something of VERY LITTLE use??? Sorry everyone for this post. If John replies, I won't bother. I just don't feel that someone should state that my 2 hour write-up on AuthorizeNet (which took several installations to get correct) is of VERY LITTLE use and yet, they provide nothing of benefit (for AuthorizeNet integration) so that others may easily configure AuthorizeNet. If my free post sucks - fine. But, he has no right to put down my post and at the same time - provide nothing for getting Interchange and AuthorizeNet to cooperate with each other . . . just my thought - but perhaps I'm biased. :) Justin PS - I do know that John is a frequent poster to Interchange and I'm sure that he is very good with Interchange and has helped others tremendously. I just feel that his comments were not appropriate. > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of John > Beima > Sent: Friday, December 07, 2001 10:43 AM > To: interchange-users@interchange.redhat.com > Subject: RE: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > G'Day Justin, > > > I have not intentions on debating this with you... Your post is > incomplete and > not very helpful at all, and sorry I don't just GIVE AWAY > complete and proper > Interchange solutions/fixes... > > > John > > > Quoting Justin Bonds <justin@hypertech.net>: > > > John, > > > > My previous post is intended to help those that need AuthorizeNet > > integration to easily set it up to work with Interchange. It does > > provide a > > WORKING example of a successful AuthorizeNet configuration, but it is in > > NO > > WAY intended to work for every configuration. If it doesn't work with > > your > > configuration, then it would be nice if you'd provide your AuthorizeNet > > configuration so that all of us may benefit. I would definitely be > > interested in learning what additional steps you've taken to get > > AuthorizeNet to work in your particular instance . . . > > > > Steve, have you verified that NetSSLeay and/or CryptSSLeay are installed > > and > > working correctly? I had a problem which was similar to yours and once > > I > > corrected this configuration problem (and all other configuration > > problems - > > HA!) - it started working properly. > > > > :) Justin > > > > > > > > > -----Original Message----- > > > From: interchange-users-admin@interchange.redhat.com > > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > > John > > > Beima > > > Sent: Thursday, December 06, 2001 7:14 PM > > > To: interchange-users@interchange.redhat.com > > > Subject: Re: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > > > > > > > Actually I would be willing ot bet cash it has nothing to do with > > > CPanel... I > > > have set 4 AuthorizeNet servers up and that post that is > > > referenced is of VERY > > > LITTLE use... I will be in contact off the list... > > > > > > > > > Quoting steve@moddepot.com: > > > > > > > actually im the one setting up his server and your post was the > > first > > > > one i > > > > went by. it didnt work. i think the problem is that he uses cpanel > > and > > > > the > > > > modules arent loaded correctly or something. > > > > ----- Original Message ----- > > > > From: "Justin Bonds" <justin@hypertech.net> > > > > To: <interchange-users@interchange.redhat.com> > > > > Sent: Thursday, December 06, 2001 2:49 PM > > > > Subject: RE: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > > > > > > > > > > > > > > > > > > > > > > > I'm getting this error: > > > > > > > > > > > > (authorize net): Charge operation 'authorize net' failed > > > > > > > > > > > > Even when I set my authorize.net account in test mode and I even > > > > have > > > > > > tried using a real credit card and the test card number. > > > > > > > > > > > > I have searched the online doc's and even this list but I just > > don't > > > > > > have any idea what to do.. Like I said I'm new to Linux and > > don't > > > > > > understand anything.. > > > > > > > > > > > > > > > > Perhaps you overlooked my VERY DETAILED post at: > > > > > > > > > > > > > > > > > http://interchange.redhat.com/archive/interchange-users/2001/msg11008.html > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > John Beima > > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > John Beima > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Götz Verdieck) Date: Fri Dec 7 14:47:01 2001 Subject: [ic] Segmentation fault Hi, still have the same problem when trying to start IC 4.8.3 Operation system: Mac OSX 10.1.1 Perl: 5.6.1 I tried everything : - Upgraded perl from 5.6.0 to 5.6.1 - Installed IC 4.8.3 again. - Searched the archive an tried the workarounds and set the Variable MV_DOLLAR_ZERO to 0,1 or interchange in interchange.cfg but nothing helps. perl -V gave following output: Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=darwin, osvers=5.1, archname=darwin uname='darwin localhost 5.1 darwin kernel version 5.1: tue oct 30 00:06:34 pst 2001; root:xnuxnu-201.5.obj~1release_ppc power macintosh powerpc ' config_args='-des -Dfirstmakefile=GNUmakefile -Dldflags=-flat_namespace' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef ..... Any help or tip is welcome. regards, Goetz Verdieck From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Fri Dec 7 15:36:01 2001 Subject: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! I do agree with Justin. In the end it will do everybody good who is involved with Interchange, including the developers to get functions like Authorize.net going for people. Otherwise they will turn to lesser quality programs, but ones that do work for them. As a firm supporter of Interchange, I would hate to see that happen. Perhaps Mike can help as well? There are a lot of people that need a helping hand with this. Anton -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Justin Bonds Sent: Friday, December 07, 2001 1:42 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! John, Who's debating? I provided my insight into the AuthorizeNet integration free of charge so that it could benefit others. Isn't that the purpose of this list? To help others and to be helped? That's my take on all of it. So, yes, perhaps I did leave some things out but you haven't said WHAT which would be helpful to others. My installation is working and so I don't need you to GIVE AWAY anything to me . . . and regarding my AuthorizeNet post being of VERY LITTLE use, I really can't say that your posts regarding AuthorizeNet are of any significant benefit, either. I can say that I made an attempt by posting, free of charge, information about AuthorizeNet which is more than your "VERY LITTLE use", "debating this with you", and "I just don't GIVE AWAY" comments made to me, while at the same time, posting nothing of actual benefit for getting AuthorizeNet to work with Interchange. Yes - perhaps your instructions sent privately to Scott are good - but why are you putting down my FREE post (which is working in all of my installations) when you provide NO POST and instead apparently CHARGE for everything???? Who's really providing something of VERY LITTLE use??? Sorry everyone for this post. If John replies, I won't bother. I just don't feel that someone should state that my 2 hour write-up on AuthorizeNet (which took several installations to get correct) is of VERY LITTLE use and yet, they provide nothing of benefit (for AuthorizeNet integration) so that others may easily configure AuthorizeNet. If my free post sucks - fine. But, he has no right to put down my post and at the same time - provide nothing for getting Interchange and AuthorizeNet to cooperate with each other . . . just my thought - but perhaps I'm biased. :) Justin PS - I do know that John is a frequent poster to Interchange and I'm sure that he is very good with Interchange and has helped others tremendously. I just feel that his comments were not appropriate. > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of John > Beima > Sent: Friday, December 07, 2001 10:43 AM > To: interchange-users@interchange.redhat.com > Subject: RE: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > G'Day Justin, > > > I have not intentions on debating this with you... Your post is > incomplete and > not very helpful at all, and sorry I don't just GIVE AWAY > complete and proper > Interchange solutions/fixes... > > > John > > > Quoting Justin Bonds <justin@hypertech.net>: > > > John, > > > > My previous post is intended to help those that need AuthorizeNet > > integration to easily set it up to work with Interchange. It does > > provide a > > WORKING example of a successful AuthorizeNet configuration, but it is in > > NO > > WAY intended to work for every configuration. If it doesn't work with > > your > > configuration, then it would be nice if you'd provide your AuthorizeNet > > configuration so that all of us may benefit. I would definitely be > > interested in learning what additional steps you've taken to get > > AuthorizeNet to work in your particular instance . . . > > > > Steve, have you verified that NetSSLeay and/or CryptSSLeay are installed > > and > > working correctly? I had a problem which was similar to yours and once > > I > > corrected this configuration problem (and all other configuration > > problems - > > HA!) - it started working properly. > > > > :) Justin > > > > > > > > > -----Original Message----- > > > From: interchange-users-admin@interchange.redhat.com > > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > > John > > > Beima > > > Sent: Thursday, December 06, 2001 7:14 PM > > > To: interchange-users@interchange.redhat.com > > > Subject: Re: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > > > > > > > Actually I would be willing ot bet cash it has nothing to do with > > > CPanel... I > > > have set 4 AuthorizeNet servers up and that post that is > > > referenced is of VERY > > > LITTLE use... I will be in contact off the list... > > > > > > > > > Quoting steve@moddepot.com: > > > > > > > actually im the one setting up his server and your post was the > > first > > > > one i > > > > went by. it didnt work. i think the problem is that he uses cpanel > > and > > > > the > > > > modules arent loaded correctly or something. > > > > ----- Original Message ----- > > > > From: "Justin Bonds" <justin@hypertech.net> > > > > To: <interchange-users@interchange.redhat.com> > > > > Sent: Thursday, December 06, 2001 2:49 PM > > > > Subject: RE: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > > > > > > > > > > > > > > > > > > > > > > > I'm getting this error: > > > > > > > > > > > > (authorize net): Charge operation 'authorize net' failed > > > > > > > > > > > > Even when I set my authorize.net account in test mode and I even > > > > have > > > > > > tried using a real credit card and the test card number. > > > > > > > > > > > > I have searched the online doc's and even this list but I just > > don't > > > > > > have any idea what to do.. Like I said I'm new to Linux and > > don't > > > > > > understand anything.. > > > > > > > > > > > > > > > > Perhaps you overlooked my VERY DETAILED post at: > > > > > > > > > > > > > > > > > http://interchange.redhat.com/archive/interchange-users/2001/msg11008.html > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > John Beima > > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > John Beima > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Bill Carr) Date: Fri Dec 7 16:10:01 2001 Subject: [ic] Check for database update success On Fri, 2001-12-07 at 09:29, Stefan Hornburg (Racke) wrote: > Bill Carr <bill@worldwideimpact.com> writes: > > > How do I check for success when 'Updating Interchange Database Tables > > with a Form'? > > Read the error.log :-; > > Presumably you can set: > > <input type=hidden name=mv_data_return_key value="idf"> > > in the form and check if $CGI->{idf} is valid on the next page. Perfect. Thank you. -- Bill Carr Worldwide Impact bill@worldwideimpact.com 413-253-6700 From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Dec 7 16:28:01 2001 Subject: [ic] Segmentation fault > Hi, > > still have the same problem when trying to start IC 4.8.3 > Operation system: Mac OSX 10.1.1 > Perl: 5.6.1 > > I tried everything : > - Upgraded perl from 5.6.0 to 5.6.1 > - Installed IC 4.8.3 again. > - Searched the archive an tried the workarounds and > set the Variable MV_DOLLAR_ZERO to 0,1 or interchange in > interchange.cfg > > > but nothing helps. > > > perl -V gave following output: > > Summary of my perl5 (revision 5.0 version 6 subversion 1) > configuration: > Platform: > osname=darwin, osvers=5.1, archname=darwin > uname='darwin localhost 5.1 darwin kernel version 5.1: tue oct 30 > 00:06:34 pst 2001; root:xnuxnu-201.5.obj~1release_ppc power macintosh > powerpc ' > config_args='-des -Dfirstmakefile=GNUmakefile > -Dldflags=-flat_namespace' > hint=recommended, useposix=true, d_sigaction=define > usethreads=undef use5005threads=undef useithreads=undef > usemultiplicity=undef > useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef > use64bitint=undef use64bitall=undef uselongdouble=undef > > ..... > > > > Any help or tip is welcome. > > regards, > > > Goetz Verdieck Does the perl 'make test' run cleanly? I hear that is the telltale sign of a good perl build. Also, did you build 5.6.1 yourself with the latest compiler for your platform, or did you find a new binary somewhere? Also for your perl modules that are used by IC, do their tests run cleanly as well? Do you want to post a trace of the core dump and see where perl is barphing at? Just throwing ideas out there. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Fri Dec 7 17:06:01 2001 Subject: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! Agree with Justin!! this is open source?? This is a free list right?? Everything here is helping the grow of IC right?? This is how we get involved with IC development right? Why wouldn't you share? I mean you can do anything you want. But in here.. the idea is to share?? no? Don't be like M$!!! Seeing people helping each other make me so happy and thats what i see here!!! Thanks everyone!!!!!!!!!! :) ---- On Fri, 7 Dec 2001, AddAction New Media (info@addaction.com) wrote: > I do agree with Justin. In the end it will do everybody good who is > involved > with Interchange, including the developers to get functions like > Authorize.net going for people. Otherwise they will turn to lesser > quality > programs, but ones that do work for them. As a firm supporter of > Interchange, I would hate to see that happen. > > Perhaps Mike can help as well? There are a lot of people that need a > helping > hand with this. > > Anton > > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Justin Bonds > Sent: Friday, December 07, 2001 1:42 PM > To: interchange-users@interchange.redhat.com > Subject: RE: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > John, > > Who's debating? I provided my insight into the AuthorizeNet integration > free of charge so that it could benefit others. Isn't that the purpose > of > this list? To help others and to be helped? That's my take on all of > it. > So, yes, perhaps I did leave some things out but you haven't said WHAT > which > would be helpful to others. My installation is working and so I don't > need > you to GIVE AWAY anything to me . . . and regarding my AuthorizeNet post > being of VERY LITTLE use, I really can't say that your posts regarding > AuthorizeNet are of any significant benefit, either. I can say that I > made > an attempt by posting, free of charge, information about AuthorizeNet > which > is more than your "VERY LITTLE use", "debating this with you", and "I > just > don't GIVE AWAY" comments made to me, while at the same time, posting > nothing of actual benefit for getting AuthorizeNet to work with > Interchange. > Yes - perhaps your instructions sent privately to Scott are good - but > why > are you putting down my FREE post (which is working in all of my > installations) when you provide NO POST and instead apparently CHARGE > for > everything???? Who's really providing something of VERY LITTLE use??? > > Sorry everyone for this post. If John replies, I won't bother. I just > don't feel that someone should state that my 2 hour write-up on > AuthorizeNet > (which took several installations to get correct) is of VERY LITTLE use > and > yet, they provide nothing of benefit (for AuthorizeNet integration) so > that > others may easily configure AuthorizeNet. If my free post sucks - fine. > But, he has no right to put down my post and at the same time - provide > nothing for getting Interchange and AuthorizeNet to cooperate with each > other . . . just my thought - but perhaps I'm biased. > > :) Justin > > PS - I do know that John is a frequent poster to Interchange and I'm > sure > that he is very good with Interchange and has helped others > tremendously. I > just feel that his comments were not appropriate. > > > > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.com > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > John > > Beima > > Sent: Friday, December 07, 2001 10:43 AM > > To: interchange-users@interchange.redhat.com > > Subject: RE: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > > > > G'Day Justin, > > > > > > I have not intentions on debating this with you... Your post is > > incomplete and > > not very helpful at all, and sorry I don't just GIVE AWAY > > complete and proper > > Interchange solutions/fixes... > > > > > > John > > > > > > Quoting Justin Bonds <justin@hypertech.net>: > > > > > John, > > > > > > My previous post is intended to help those that need AuthorizeNet > > > integration to easily set it up to work with Interchange. It does > > > provide a > > > WORKING example of a successful AuthorizeNet configuration, but it > is in > > > NO > > > WAY intended to work for every configuration. If it doesn't work > with > > > your > > > configuration, then it would be nice if you'd provide your > AuthorizeNet > > > configuration so that all of us may benefit. I would definitely be > > > interested in learning what additional steps you've taken to get > > > AuthorizeNet to work in your particular instance . . . > > > > > > Steve, have you verified that NetSSLeay and/or CryptSSLeay are > installed > > > and > > > working correctly? I had a problem which was similar to yours and > once > > > I > > > corrected this configuration problem (and all other configuration > > > problems - > > > HA!) - it started working properly. > > > > > > :) Justin > > > > > > > > > > > > > -----Original Message----- > > > > From: interchange-users-admin@interchange.redhat.com > > > > [mailto:interchange-users-admin@interchange.redhat.com] On Behalf > Of > > > John > > > > Beima > > > > Sent: Thursday, December 06, 2001 7:14 PM > > > > To: interchange-users@interchange.redhat.com > > > > Subject: Re: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > > > > > > > > > > Actually I would be willing ot bet cash it has nothing to do with > > > > CPanel... I > > > > have set 4 AuthorizeNet servers up and that post that is > > > > referenced is of VERY > > > > LITTLE use... I will be in contact off the list... > > > > > > > > > > > > Quoting steve@moddepot.com: > > > > > > > > > actually im the one setting up his server and your post was the > > > first > > > > > one i > > > > > went by. it didnt work. i think the problem is that he uses > cpanel > > > and > > > > > the > > > > > modules arent loaded correctly or something. > > > > > ----- Original Message ----- > > > > > From: "Justin Bonds" <justin@hypertech.net> > > > > > To: <interchange-users@interchange.redhat.com> > > > > > Sent: Thursday, December 06, 2001 2:49 PM > > > > > Subject: RE: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm getting this error: > > > > > > > > > > > > > > (authorize net): Charge operation 'authorize net' failed > > > > > > > > > > > > > > Even when I set my authorize.net account in test mode and I > even > > > > > have > > > > > > > tried using a real credit card and the test card number. > > > > > > > > > > > > > > I have searched the online doc's and even this list but I > just > > > don't > > > > > > > have any idea what to do.. Like I said I'm new to Linux and > > > don't > > > > > > > understand anything.. > > > > > > > > > > > > > > > > > > > Perhaps you overlooked my VERY DETAILED post at: > > > > > > > > > > > > > > > > > > > > > > > http://interchange.redhat.com/archive/interchange- users/2001/msg11008.html > > > > > _______________________________________________ > > > > > interchange-users mailing list > > > > > interchange-users@interchange.redhat.com > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > > John Beima > > > jbeima@palb.com, support@alocalagent.com, and > support@alocalchurch.com > > > > > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447- 4760 > > > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > > > > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256) 351-7297 > > > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > John Beima > > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351- 7297 > > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange- users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange- users > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange- users > > ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Fri Dec 7 18:47:00 2001 Subject: [ic] EINTR on select * Javier Martin wrote on Fri, Dec 07, 2001 at 17:02 +0100: > > > My question is: Is it possible that the interchange process receive any > > > asynchronous signal that could break ongoing system calls such > > as select? You can test it by sending a lot of signals. Well, you need some "unused" signal for that, and IIRC it must be handled. I do not know, but maybe you can try: #dummy $SIG{USR1} = sub { }; and then kill -USR1 $PID many times. AFAIK this test "breaks" really much services :) > > Did you see any message about 'select' from the error.log of IC? If yes, > > can you post that part of message? > > No. Interchange does not complain at all. It's my code which breaks on > signal reception. You should call select(2) in a do {} while (ret == 1 && errno == EINTR); BTW, since you cannot rely on select return value for tm on most systems, you need to use gettimeofday() or something which makes a correct time select code slightly more complex... Same of course for reads and writes. Well, and since things like print sometimes call write, you can have some strange results anyway. If you send i.e. 1000 signals per second, I don't think that any non-bullet-proof process will work reliable... But signals usually don't came without reason. I had such a problem with a SIGCHLD in some server, difficult to handle such things. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 7 19:30:01 2001 Subject: [IC] results.html - different display for first 2 search results IC 4.8.3 I am trying to modify the default foundation results.html page. Would like to display a thumbnail and description for the first 2 items in the search-list and have the rest of the returned results remain as they are. Is there an example of this somewhere? What tags should I be looking at? I am guessing there is an increment value that I should be able to use to place a condition on? Simon From: interchange-users at interchange.redhat.com (Kyle Kirkland) Date: Fri Dec 7 19:54:00 2001 Subject: [ic] 4.8.2 Admin UI Clone options not working > > I experienced the same problem... > go check out the file lib/UI/pages/include/item_option_simple > > For some reason in item_option_simple the [cgi ui_clone_options] is not > set anywhere. > I tried adding the folowing , the same way it is used in > item_option_matrix, but part of the page did not load: > > [button text="Clone options"] > [flag type=write table="[cgi mv_data_table]"] > ui_clone_options=1 > mv_todo=back > mv_nextpage=@@MV_PAGE@@ > [/button] > > Finally, I just removed the [if cgi ui_clone_options] > and changed [and cgi ui_clone_id] to [if cgi ui_clone_id]. > > Also further down the page the form has no value set for mv_data_table, > so I added: > > <INPUT TYPE=hidden NAME=mv_data_table VALUE="[cgi mv_data_table]"> > > > hope that helps... > > And if anyone at Rhat knows of a different fix, please let us know :) > > Mat > Mat, Thank you very much for your post... IT WORKS! I did everything you listed & it all worked. The only thing that didn't (like you mentioned) was the [button]...[/button] code. I just left that piece of the file alone. Thanks again! From: interchange-users at interchange.redhat.com (John Beima) Date: Fri Dec 7 20:13:00 2001 Subject: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! G'Day Justin, Gee for someone who is not debating you sure debate a lot. The REASON I said you post was of very little use, was because EVERYTHING in it is in the documentation. If you actually READ THE DOCUMENTATION you would of found all of that and more... So wasting the lists bandwidth with what is in the manual is as I stated earilier very little use. John Quoting Justin Bonds <justin@hypertech.net>: > John, > > Who's debating? I provided my insight into the AuthorizeNet integration > free of charge so that it could benefit others. Isn't that the purpose > of > this list? To help others and to be helped? That's my take on all of > it. > So, yes, perhaps I did leave some things out but you haven't said WHAT > which > would be helpful to others. My installation is working and so I don't > need > you to GIVE AWAY anything to me . . . and regarding my AuthorizeNet post > being of VERY LITTLE use, I really can't say that your posts regarding > AuthorizeNet are of any significant benefit, either. I can say that I > made > an attempt by posting, free of charge, information about AuthorizeNet > which > is more than your "VERY LITTLE use", "debating this with you", and "I > just > don't GIVE AWAY" comments made to me, while at the same time, posting > nothing of actual benefit for getting AuthorizeNet to work with > Interchange. > Yes - perhaps your instructions sent privately to Scott are good - but > why > are you putting down my FREE post (which is working in all of my > installations) when you provide NO POST and instead apparently CHARGE > for > everything???? Who's really providing something of VERY LITTLE use??? > > Sorry everyone for this post. If John replies, I won't bother. I just > don't feel that someone should state that my 2 hour write-up on > AuthorizeNet > (which took several installations to get correct) is of VERY LITTLE use > and > yet, they provide nothing of benefit (for AuthorizeNet integration) so > that > others may easily configure AuthorizeNet. If my free post sucks - fine. > But, he has no right to put down my post and at the same time - provide > nothing for getting Interchange and AuthorizeNet to cooperate with each > other . . . just my thought - but perhaps I'm biased. > > :) Justin > > PS - I do know that John is a frequent poster to Interchange and I'm > sure > that he is very good with Interchange and has helped others > tremendously. I > just feel that his comments were not appropriate. > > > > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.com > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > John > > Beima > > Sent: Friday, December 07, 2001 10:43 AM > > To: interchange-users@interchange.redhat.com > > Subject: RE: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > > > > G'Day Justin, > > > > > > I have not intentions on debating this with you... Your post is > > incomplete and > > not very helpful at all, and sorry I don't just GIVE AWAY > > complete and proper > > Interchange solutions/fixes... > > > > > > John > > > > > > Quoting Justin Bonds <justin@hypertech.net>: > > > > > John, > > > > > > My previous post is intended to help those that need AuthorizeNet > > > integration to easily set it up to work with Interchange. It does > > > provide a > > > WORKING example of a successful AuthorizeNet configuration, but it > is in > > > NO > > > WAY intended to work for every configuration. If it doesn't work > with > > > your > > > configuration, then it would be nice if you'd provide your > AuthorizeNet > > > configuration so that all of us may benefit. I would definitely be > > > interested in learning what additional steps you've taken to get > > > AuthorizeNet to work in your particular instance . . . > > > > > > Steve, have you verified that NetSSLeay and/or CryptSSLeay are > installed > > > and > > > working correctly? I had a problem which was similar to yours and > once > > > I > > > corrected this configuration problem (and all other configuration > > > problems - > > > HA!) - it started working properly. > > > > > > :) Justin > > > > > > > > > > > > > -----Original Message----- > > > > From: interchange-users-admin@interchange.redhat.com > > > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf > Of > > > John > > > > Beima > > > > Sent: Thursday, December 06, 2001 7:14 PM > > > > To: interchange-users@interchange.redhat.com > > > > Subject: Re: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > > > > > > > > > > Actually I would be willing ot bet cash it has nothing to do with > > > > CPanel... I > > > > have set 4 AuthorizeNet servers up and that post that is > > > > referenced is of VERY > > > > LITTLE use... I will be in contact off the list... > > > > > > > > > > > > Quoting steve@moddepot.com: > > > > > > > > > actually im the one setting up his server and your post was the > > > first > > > > > one i > > > > > went by. it didnt work. i think the problem is that he uses > cpanel > > > and > > > > > the > > > > > modules arent loaded correctly or something. > > > > > ----- Original Message ----- > > > > > From: "Justin Bonds" <justin@hypertech.net> > > > > > To: <interchange-users@interchange.redhat.com> > > > > > Sent: Thursday, December 06, 2001 2:49 PM > > > > > Subject: RE: [ic] AuthorizeNet Help.. Willing to PAY FOR HELP! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm getting this error: > > > > > > > > > > > > > > (authorize net): Charge operation 'authorize net' failed > > > > > > > > > > > > > > Even when I set my authorize.net account in test mode and I > even > > > > > have > > > > > > > tried using a real credit card and the test card number. > > > > > > > > > > > > > > I have searched the online doc's and even this list but I > just > > > don't > > > > > > > have any idea what to do.. Like I said I'm new to Linux and > > > don't > > > > > > > understand anything.. > > > > > > > > > > > > > > > > > > > Perhaps you overlooked my VERY DETAILED post at: > > > > > > > > > > > > > > > > > > > > > > > http://interchange.redhat.com/archive/interchange-users/2001/msg11008.html > > > > > _______________________________________________ > > > > > interchange-users mailing list > > > > > interchange-users@interchange.redhat.com > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > > John Beima > > > jbeima@palb.com, support@alocalagent.com, and > support@alocalchurch.com > > > > > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > > > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > > > > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > > > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > John Beima > > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (Scott Kennedy) Date: Fri Dec 7 22:05:00 2001 Subject: [ic] [item-modifier] will not display in checkout I'm having some trouble with item modifiers as well. Everything gets displayed okay but the subtotal doesn't get updated (for those modifiers that alter the price). What might be wrong here? How should I be updating the subtotal when using modifiers? I didn't have any trouble until I upgraded to the latest version of IC. --Scott --- "Korey G." <korey@awpg.com> wrote: > In general what are the types of things that I should be carefull > about when working with [item-modifier engraving] tags, cause > I just noticed that when I remove an Item in the basket it clears > out the rest of the items' modifier aswell which give me the same > problem as in the checkout page, > > -Korey > > > At 12:21 12/7/01 -0800, you wrote: > >Hey Guys, > > Im having a problem getting [item-modifier engraving] to display > >in the checkout page, Im not having any problems displaying this > >in tha basket tho, and I do have it declared in the catalog.cfg > file, > > Any suggestions out thea > > > >-Korey > > > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users ===== ********************************************************************* / Custom Web Promotions / Economical web hosting & online storefronts featuring Red Hat Linux 7.1 & Red Hat Interchange 4.8.2 http://custom-web-promotions.com / 888-287-8932 / sales@custweb.com ********************************************************************* __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com From: interchange-users at interchange.redhat.com (Christine Chaney) Date: Fri Dec 7 22:35:01 2001 Subject: [ic] 2 Problems: Email does not work and log out button does not log out Hi, I'm having 2 problems: 1) Interchange does not send e-mail Everything goes okay in the order process. It shows up in the database after. However the mail is not set. My sendmail path is /usr/lib/sendmail and have set this up in my interchange.cfg config file. Sendmail works okay, verified using formmail (same path to sendmail). Interchange start up without errors. Yet email doesn't send and I get this error, why? 168.105.116.15 Y5LYeCJY:168.105.116.15 - [08/December/2001:03:10:26 +0000] ff2 /cgi-bin/ff2/process.html Unable to send mail using /usr/lib/sendmail Does anybody know how to fix this or set up to use SMTP instead? I did not find any documentation on how to set up for SMTP. I have libnet installed and have the perl modules to do this just don't know how to set up it up in interchange. 2) Log out button doesn't log out Click on it it goes to the confirmation page saying that they've been logged out. But it hasn't logged out. It will only 'log out' a user when the session has expired. Can anybody offer any suggestions? My URL is: http://www.fashionfantasies.net/cgi-bin/ff2 I know the combination of lingerie/hardware is a little odd, deal with it :) Thanks, Christine From: interchange-users at interchange.redhat.com (Steve Graham) Date: Fri Dec 7 22:43:00 2001 Subject: [ic] Join search in 4.8.3 & mv_search_groups Hello, I'm trying to do something like a Join or merge search like in SQL (psuedo code) select * from products,pricing join on sku where pricing.price_group=test and products.category=big It seems that I should be able to use something like, but I don't have a good grasp of the sequence of setting variables. [loop search=" co=yes fi=pricing sf=price_group se=test sg=0 fi=products sf=category se=big sg=1 sr=0 AND 1 tf=description "] Thanks, Steve _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Steve Graham) Date: Fri Dec 7 23:35:00 2001 Subject: [ic] Join search in 4.8.3 & mv_search_groups I found that this SQL Query does what I need, but how do I write this doing a loop search. query sql="select * from products,pricing where products.sku = pricing.sku AND pricing.price_group='test' ORDER BY products.description" type=list more=1 ml=10] Thanks >From: "Steve Graham" <dtlgc@hotmail.com> >Reply-To: interchange-users@interchange.redhat.com >To: interchange-users@interchange.redhat.com >Subject: [ic] Join search in 4.8.3 & mv_search_groups >Date: Sat, 08 Dec 2001 03:42:18 > >Hello, > >I'm trying to do something like a Join or merge search like in SQL >(psuedo code) >select * from products,pricing join on sku where pricing.price_group=test >and products.category=big > >It seems that I should be able to use something like, but I don't have a >good grasp of the sequence of setting variables. > > >[loop search=" >co=yes >fi=pricing >sf=price_group >se=test >sg=0 > >fi=products >sf=category >se=big >sg=1 >sr=0 AND 1 >tf=description >"] > > >Thanks, >Steve > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Steve Graham) Date: Fri Dec 7 23:55:01 2001 Subject: [ic] Bug ? 4.8.3 Hello, Still getting our IC 4.8.3 populated, and I notice if you click on In-stock Notification on a product with no inventory that the stock-alert.html page shows the folling tag around the tumbnail image: [if-item-field thumb] image [/if-item-field thumb] which is strange because the thumbnail image is shown. -Steve _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Sat Dec 8 00:34:00 2001 Subject: [ic] Join search in 4.8.3 & mv_search_groups My $.02 Just use sql --- send a form to one of the .html pages -- then put your query on the html page and fill in the blanks with what you submitted in the form. Steve Graham wrote: > Hello, > > I'm trying to do something like a Join or merge search like in SQL > (psuedo code) > select * from products,pricing join on sku where > pricing.price_group=test and products.category=big > > It seems that I should be able to use something like, but I don't have > a good grasp of the sequence of setting variables. > > > [loop search=" > co=yes > fi=pricing > sf=price_group > se=test > sg=0 > > fi=products > sf=category > se=big > sg=1 > sr=0 AND 1 > tf=description > "] > > > Thanks, > Steve > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > . > From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Sat Dec 8 01:01:00 2001 Subject: [ic] Join search in 4.8.3 & mv_search_groups Not totally clear on what you are asking, but I think you are just asking how to abuse that query in IC. [query ...all that other stuff...] if your type = list then use [list] [sql-param title] -- or whatever [/list] [/query] Someone correct me if I'm wrong in saying that I think you can substitute loop for list and it would work the same way. Michelle Steve Graham wrote: > I found that this SQL Query does what I need, but how do I write this > doing a loop search. > > query sql="select * from products,pricing where products.sku = > pricing.sku AND pricing.price_group='test' ORDER BY products.description" > type=list > more=1 > ml=10] > > Thanks > > >> From: "Steve Graham" <dtlgc@hotmail.com> >> Reply-To: interchange-users@interchange.redhat.com >> To: interchange-users@interchange.redhat.com >> Subject: [ic] Join search in 4.8.3 & mv_search_groups >> Date: Sat, 08 Dec 2001 03:42:18 >> >> Hello, >> >> I'm trying to do something like a Join or merge search like in SQL >> (psuedo code) >> select * from products,pricing join on sku where pricing.price_group=test >> and products.category=big >> >> It seems that I should be able to use something like, but I don't have a >> good grasp of the sequence of setting variables. >> >> >> [loop search=" >> co=yes >> fi=pricing >> sf=price_group >> se=test >> sg=0 >> >> fi=products >> sf=category >> se=big >> sg=1 >> sr=0 AND 1 >> tf=description >> "] >> >> >> Thanks, >> Steve >> >> _________________________________________________________________ >> Get your FREE download of MSN Explorer at >> http://explorer.msn.com/intl.asp >> >> _______________________________________________ >> interchange-users mailing list >> interchange-users@interchange.redhat.com >> http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > . > From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Sat Dec 8 01:12:00 2001 Subject: How to Upgrade Re: [ic] Interchange Upgrade Documentation Although, the printed documentation is a great asset (good job guys and gals), its not going to directly answer questions regarding upgrading from 4.6 to 4.8. We did do an upgrade from 4.6 to 4.8. But we took a different approach to the issue. We installed 4.8 in a development area, while 4.6 still ran our live store. I'm not sure how you set up your installation to begin with, but if you are able to do this, I think it may be the best approach. This also means, creating another database (if that is what you are using). 4.8 comes with the foundation templates - very different from the 4.6 construct. It also adds columns to the database -- several to the merchandising table. After you have a 4.8 area set up, you can move and use most of your 4.6 pages for use within 4.8. Again, that was something we did -- we didn't redesign our site at the upgrade just moved it over to 4.8. Hope that helps Christopher VanOosterhout wrote: > I am still not clear on how to upgrade from one version of Interchange > to another. This gentleman seems to recommend the purchase of the > printed documentation. Will that do it? > > Is there really step by step upgrade info in the printed documentation > that is not online as it relates to an 4.6 to 4.8 upgrade. > > I know this may sound very simple, but there are several questions I > have not been able to find answers to online. I see online > documentation telling how to upgrade from various versions of MiniVend > to other versions of MiniVend and that same document includes how to > upgrade from MiniVend to a version of Interchange. > > > What I do not see is information about how to upgrade from one (4.6.x) > version of Interchange to another (4.8.x) version of Interchange. > > In previous posts I have been told not to just use the > "foundation.rpm" but also to use the Interchange rpm. I do not see an > "Interchange RPM" on the download page. Is that the "core rpm?" > Other people on the list have told me that I should not use RPMs to > upgrade. > > It would be great if someone had documentation that gave > recommendations and instructions. Please forgive me and point me in > the right direction if the documents are online. > > Thanks for your time and help. > > CV > > At 03:56 AM 12/7/01 -0500, JOHN WRONG wrote: > >> Do you think there is prints doc that you can buy?? >> >> I just order them. >> >> >> >> ________________________________________________ >> Get your own "800" number >> Voicemail, fax, email, and a lot more >> http://www.ureach.com/reg/tag >> >> >> ---- On Thu, 06 Dec 2001, Christopher Van Oosterhout >> (chris@vanoosterhout.com) wrote: >> >> > >> > Greetings All, >> > >> > I am looking for documentation that can give me instructions >> for >> > upgrading >> > from 4.6 to 4.8 versions of Interchange >> > >> > Do you have any ideas? >> > >> > I have found a document in email and online at the Akopia Web >> site that >> > tells me how to upgrade from MiniVend to Interchange but >> there does not >> > appear to be anything that walks through the process of an >> upgrade from >> > 4.6 >> > to 4.8 , etc. >> > >> > What do I need to be aware of? >> > >> > I would like to do this on the fly so I do not have down time >> for my >> > current 4.6 store. >> > >> > Thanks >> > >> > Christopher >> > >> > _______________________________________________ >> > interchange-users mailing list >> > interchange-users@interchange.redhat.com >> > http://interchange.redhat.com/mailman/listinfo/interchange- >> users >> > >> > >> >> _______________________________________________ >> interchange-users mailing list >> interchange-users@interchange.redhat.com >> http://interchange.redhat.com/mailman/listinfo/interchange-users > > > -- > Christopher VanOosterhout > Torresen Marine, Inc. > Internet Division > http://www.torresen.com/ > http://www.marinedieseldirect.com/ > 3126 Lake Shore Drive > Muskegon, Michigan 49441 > 231-759-8596 > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > . > From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Sat Dec 8 01:16:01 2001 Subject: [ic] Anyone using Paymentech Gateway for payment? Paymentech? Like paymentech.com? Sure. They are McGraw-Hill's clearing house for transactions. If that's who your Merchant ID is through, you need a middle man (another piece of software) to actually do the authorization for you. Paymentech does not sell software. (That's basicly what their cust service told me about a year ago when we were investigating this.) My recommendation is to use PayflowPro from Verisign. There's already the signio sub routine - user tag in Interchange for them and its pretty straight forward. Michelle JOHN WRONG wrote: >Anyone using Paymentech Gateway for payment? > >I can't get any info from their site? > > >________________________________________________ >Get your own "800" number >Voicemail, fax, email, and a lot more >http://www.ureach.com/reg/tag >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > >. > From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Sat Dec 8 01:24:01 2001 Subject: [ic] IC and Java App Servers Just turn and walk away. :) Learn perl. Be happy. Honestly, java apps suck up so much memory. I think you may be happier if you learn perl and with that mod_perl. But that's just my $.02. Richard Cook wrote: >Sorry for the last post which was in HTML. I'm posting >again. > >I'm currently evaluating IC as an e-commerce solution. >I'm more familiar with Java/J2EE, so I'm wondering if >anyone has implemented IC alongside a Java App. >server. > >I would like to use IC as the basis for an e-commerce >website, so I don't have to write from scratch the >things IC handles. I would like the rest of the site >to run with JSP and an Java app. server such as >JBOSS/Resin/Tomcat. Any other data needed would be >stored alongside the tables required for IC in >PostgreSQL or other similar DB. > >Does this sound reasonable? Has anyone done this >already? If so, what were some problems you ran into? > >I searched through the archives for this topic, but >didn't find anything. > >Thanks for any insight, >Rich > > >__________________________________________________ >Do You Yahoo!? >Send your FREE holiday greetings online! >http://greetings.yahoo.com >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > >. > From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Sat Dec 8 01:30:01 2001 Subject: [ic] sorting categories I believe there is a sort tag you can use -- placing it on your results page above the listing of your results -- look it up in the docs -- Here's an example one of our developers used in our code: [sort products:copy_date:rf products:pub_date:rf] But I haven't learned exactly what the rf part means yet. :) Tux MacAuley wrote: >When clicking on the categories (on the left hand side, vertical, just like >in the demo store) the results are not sorted alphabetically. I would like >them to sort alphabetically. I've got the following sort codes on the >following .html pages. Can someone please tell me what is is causing the >problem? I don't know what one of these is affecting the category search or >should I be looking at another html page to paste the sort code into? I've >been trying to fix this for literally 2 months.. any help would be >appreciated. > >Advanced search.html >[loop option=category search=" > ra=yes > fi=cat > rf=code,name > ml=1000 > tf=name"] > >browse.html >[loop more=1 search="ra=yes/tf=category/to=x/tf=description/to=x/ml=5"] > >fly page.html >[loop search=" > fi=specs.txt > st=text > sf=sku > se=[item-code] > op=eq > co=yes > rf=header,detail > "] > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > >. > From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Sat Dec 8 01:39:01 2001 Subject: [ic] Migrating from Miva Merchant to Interchange Yea again! I love converts from Miva to IC. I would love to read comments on why you decided to switch -- so I may use your Miva knowledge for good. (Get others here to switch.) Remik wrote: >Hi All, > >We are currently using Miva Merchant for just about all our clients' >e-commerce sites, but for several reasons we would like to migrate >everything to Interchange. Has anyone here gone through this, any >experience with migrating from Miva Merchant or other packages to >Interchange? Any web sites/docs/experiences/wisdom anyone would like to >share? How difficult was it and how time consuming? > >I'm new to this list, just joined a few days ago, so I don't know the >developers out there who specialize in Interchange. Just judging by Miva's >mailing lists, there's a semi-decent number of developers writing 3rd party >modules and support for Merchant. Are there similar developers for >Interchange who write 3rd party add-ons or provide support for the product? >If there's a FAQ or a web site or two I could check out, that would also be >great. > >Thanks! > >Remik > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > >. > From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Sat Dec 8 01:56:00 2001 Subject: [ic] SQL ? <cheering you on>Keep learning MySQL</cheering you on> In our research it seems (correct me if I'm wrong, IC gurus) that the interchange formatted query actually calls the whole table of information back to IC and then parses it according to what you really want in your query. So basicly doing a select * from table -- no matter what you put down for those se= .. sf=.. and so on. That's where the load comes in. Our search box was taking 30 seconds to show the results. By then the customer has vanished. Plus, having IC continually do select * created quite a load on our mysql box. Make mysql do the work. I'm on the "Learn MySql and have IC really kick some A**" campaign. I did send another email a little bit ago that should hopefully answer the <a> tag question you bring up below. But just for the archive and anyone else reading, use forms -- create a link like <a href="http://www.yoursitehere.com/cgi-bin/store/categoryresults.html?category=bar>Bar</a>. Then copy results.html as categoryresults.html and place your query in there. It could be like so: [query type=list ml=10 -- how many per page if you use the [more] tags more=1 sql="select title, price from products where category like '%[cgi category]%' limit 100 order by title asc"] joachim.richter wrote: >Thanks for the answer Jon, > >as I read my last question, i realised that I forgot to mail the top section >with all the details like we are using interchange 4.81 and a MYSQL database >sorry about that. > >I understand that > >[query more=1 ml=10 st=sql sql=| >SELECT sku FROM products >WHERE category = 'TEST' >|] > >and > >[list][sql-item description][/list][/query] > >will actually access the sql database via sql statements and is therefore superfast. > >Heres a try to use an SQL statements in a link > ><a href="[area href=scan arg=| >SELECT sku FROM products >WHERE category = 'TEST' >|]">CLICK ME</a> > >the link actually works, but if I check the bottom line of the browser (by moving the mouse on the link) > >I read : ..../scan/fi=products.txt/rf=sku/co=yes/nu=0/se=TEST/op==/sf=category/ne=0.html > >now the link accesses the textfile and not the database directly, >which means somehow I have to get the st=sql in there ! >>From my amateur point of view I believe that interchange changes the >qualified sql statement into an interchange link, because the link gives me a >BAD_SQL if I add this to the statement ORDER BY category ASC LIMIT 50 > >well basically then the link you gave me (below) is the same except the missing st=sql > ><a href="[area href=scan arg=| > fi=products > st=sql > co=1 > sf=category > se=TEST > ml=10 >|]">CLICK ME</a> > >See the reason for those questions is the amazing difference in speed. The query gives an results within seconds >while the link takes a lot longer. > >What I like to know is how to change the link therefore it also accesses the SQL database via SQL statements >to achieve the same breathtaking speed the query has. > >Or am I like completely mistaken ? If that is so I am really sorry, but I just bought a book on MYSQL and I am >doing my first steps so to speak, and thats where I got the idea from, because even the most complicated query >pops up results within seconds. > >JoE > >US Video Center Medien GmbH >Heimsheimer Str 22 >70499 Stuttgart > >Tel 0711 880252 0 >Fax 0711 880252 22 >Email joachim.richter@usvideocenter.de > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > >. > From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Sat Dec 8 02:05:01 2001 Subject: [ic] Tutorial for setup of Interchange with MySQL Actually, pretty straight forward. Once you install, then run the makecat script and it goes through it step by step. Make sure you know the simple things in life: your user name, password, host - if your mysql database is on another box, and what you want to call the crazy thing and life should go pretty smooth. *Note: only the database is created with the makecat script. You won't notice the tables and sample data being placed into the database until you start up your catalog the first time. Yury German wrote: >Does anyone know if there is a tutorial or documentations for setting up >Interchange with MySQL? > > > >_________________________________________________________ >Do You Yahoo!? >Get your free @yahoo.com address at http://mail.yahoo.com > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > >. > From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Sat Dec 8 02:26:02 2001 Subject: [ic] Tutorial for setup of Interchange with MySQL Hi Yuri, You'll want to download and install the DBI and DBD components from: http://www.mysql.com/downloads/api-dbi.html Then, create your catalog as Michelle mentions. Then, restart Interchange and it should create the tables for you. If it doesn't, try re-installing DBI and DBD - for some reason, I've had to install it twice at some points . . . :) Justin > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Michelle Wilant > Sent: Saturday, December 08, 2001 1:00 AM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Tutorial for setup of Interchange with MySQL > > > Actually, pretty straight forward. Once you install, then run the > makecat script and it goes through it step by step. Make sure you know > the simple things in life: your user name, password, host - if your > mysql database is on another box, and what you want to call the crazy > thing and life should go pretty smooth. > > *Note: only the database is created with the makecat script. You won't > notice the tables and sample data being placed into the database until > you start up your catalog the first time. > > Yury German wrote: > > >Does anyone know if there is a tutorial or documentations for setting up > >Interchange with MySQL? > > > > > > > >_________________________________________________________ > >Do You Yahoo!? > >Get your free @yahoo.com address at http://mail.yahoo.com > > > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > > >. > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Sat Dec 8 05:01:02 2001 Subject: [ic] Tutorial for setup of Interchange with MySQL Justin, what is the DBI and DBD for?? isn't it come the with standard down of MySql? I am not sure. Can you clear that for me? thanks. ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag ---- On Sat, 8 Dec 2001, Justin Bonds (justin@hypertech.net) wrote: > Hi Yuri, > > You'll want to download and install the DBI and DBD components from: > > http://www.mysql.com/downloads/api-dbi.html > > Then, create your catalog as Michelle mentions. Then, restart > Interchange > and it should create the tables for you. If it doesn't, try > re-installing > DBI and DBD - for some reason, I've had to install it twice at some > points . > . . > > :) Justin From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Sat Dec 8 06:39:01 2001 Subject: [ic] anyone using Authorizenet or SurePay for Credit Card Processing ? Been trying to get Authorizenet's merchant account and Gateway rate? Anyone using Authorizenet and know their rate? I am not so sure which on to use for Credit Card processing? My list is Authorizenet, VeriSign PayFlow Pro or SurePay. Which one do you think has the best rate? Which one has the easiest integration with IC? I been reading the old posts. It seems PayFlow Pro is the most easy. Anyone have comment on Authorizenet and Surepay? I am pretty new to this as u can see. Thanks for all your help and advice. ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag From: interchange-users at interchange.redhat.com (Christine Chaney) Date: Sat Dec 8 09:08:01 2001 Subject: [ic] Tutorial for setup of Interchange with MySQL No DBI & DBD are interface modules for mysql you'll have to install them seperately. Christine -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of JOHN WRONG Sent: Saturday, December 08, 2001 12:01 AM To: Justin Bonds Subject: Re: RE: [ic] Tutorial for setup of Interchange with MySQL Justin, what is the DBI and DBD for?? isn't it come the with standard down of MySql? I am not sure. Can you clear that for me? thanks. ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag ---- On Sat, 8 Dec 2001, Justin Bonds (justin@hypertech.net) wrote: > Hi Yuri, > > You'll want to download and install the DBI and DBD components from: > > http://www.mysql.com/downloads/api-dbi.html > > Then, create your catalog as Michelle mentions. Then, restart > Interchange > and it should create the tables for you. If it doesn't, try > re-installing > DBI and DBD - for some reason, I've had to install it twice at some > points . > . . > > :) Justin _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Steve Graham) Date: Sat Dec 8 11:00:00 2001 Subject: [ic] Join search in 4.8.3 & mv_search_groups I read one of the other emails, and someone suggested it might be better to use the [query] instead of [loop search..] since you have better control over what is actually fetched from the sql server. Unless someone else has any comments - maybe we should make a new thread [query] vs [looop search]? -Steve >From: Michelle Wilant <michelle@wilant.com> >Reply-To: interchange-users@interchange.redhat.com >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] Join search in 4.8.3 & mv_search_groups >Date: Fri, 07 Dec 2001 23:55:22 -0600 > >Not totally clear on what you are asking, but I think you are just >asking how to abuse that query in IC. > >[query ...all that other stuff...] > >if your type = list then use >[list] > [sql-param title] -- or whatever >[/list] >[/query] > > >Someone correct me if I'm wrong in saying that I think you can >substitute loop for list and it would work the same way. > >Michelle > >Steve Graham wrote: > >>I found that this SQL Query does what I need, but how do I write this >>doing a loop search. >> >>query sql="select * from products,pricing where products.sku = >>pricing.sku AND pricing.price_group='test' ORDER BY products.description" >> type=list >> more=1 >> ml=10] >> >>Thanks >> >> >>>From: "Steve Graham" <dtlgc@hotmail.com> >>>Reply-To: interchange-users@interchange.redhat.com >>>To: interchange-users@interchange.redhat.com >>>Subject: [ic] Join search in 4.8.3 & mv_search_groups >>>Date: Sat, 08 Dec 2001 03:42:18 >>> >>>Hello, >>> >>>I'm trying to do something like a Join or merge search like in SQL >>>(psuedo code) >>>select * from products,pricing join on sku where pricing.price_group=test >>>and products.category=big >>> >>>It seems that I should be able to use something like, but I don't have a >>>good grasp of the sequence of setting variables. >>> >>> >>>[loop search=" >>>co=yes >>>fi=pricing >>>sf=price_group >>>se=test >>>sg=0 >>> >>>fi=products >>>sf=category >>>se=big >>>sg=1 >>>sr=0 AND 1 >>>tf=description >>>"] >>> >>> >>>Thanks, >>>Steve >>> >>>_________________________________________________________________ >>>Get your FREE download of MSN Explorer at >>>http://explorer.msn.com/intl.asp >>> >>>_______________________________________________ >>>interchange-users mailing list >>>interchange-users@interchange.redhat.com >>>http://interchange.redhat.com/mailman/listinfo/interchange-users >> >> >> >>_________________________________________________________________ >>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp >> >>_______________________________________________ >>interchange-users mailing list >>interchange-users@interchange.redhat.com >>http://interchange.redhat.com/mailman/listinfo/interchange-users >> >>. >> > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Erik Kendel) Date: Sat Dec 8 13:45:01 2001 Subject: [ic] German currency / dezimal=zero problem > Erik Kendel wrote: > > > > hello together, > > > > I am running IC 4.8.2 on redhat 7.1 with a mysql database. > > The IC server still rounding up dezimal numbers to ,00 > > or .00 for example: the database includes the price 10.99, > > on result page it is 10.00. > > I setup the catalog.cf to : > > > > Locale de_DE PriceDivide .58 > > Locale de_DE mon_decimal_point . > > Locale de_DE mon_thousands_sep " " > > Locale de_DE currency_symbol " DM" > > Locale de_DE ps_cs_precedes 1 > > .... > > Try with adding > > Locale de_DE frac_digits 2 > > in your catalog.cfg > > Joachim > > I add it to : > > Locale de_DE PriceDivide .58 > Locale de_DE mon_decimal_point . > Locale de_DE mon_thousands_sep " " > Locale de_DE currency_symbol " DM" > Locale de_DE ps_cs_precedes 1 > Locale de_DE frac_digits 2 > > without any success. Same as before. Do you have any other suggestions?! >Did you restart the Interchange server? Ohyeah. I think I made it double with /usr/sbin/interchange -r /etc/rc.d/init.d/interchange restart /usr/lib/interchange/bin/interchange --kill and serve and reconfig and restart >Did you set the locale to de_DE (for example [setlocale de_DE])? I setup it in the catalog.cfg. I tried this: LocaleDatabase locale Locale de_DE and the other version above. but where is [setlocale de_DE] set?! In the result.html page? >Did you have another locale setting befor or after the de_DE stuff in No. >you catalog.cfg? Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Sat Dec 8 15:21:00 2001 Subject: [ic] Tutorial for setup of Interchange with MySQL Hi John, DBI and DBD basically allow Interchange to "talk to" MySQL. You'll need these so that Interchange will work with MySQL. As Christine mentions, you will have to install these separately. If after restarting Interchange - the tables don't get created, try re-installing DBI and DBD. You may also need to create a symbolic link to mysqladmin if you get an error - something along the lines of the file not being found. Now, what I do is that I use Plesk from http://www.plesk.com (which a 1 domain license is free) and it sets up MySQL and several other things. You'll just need to make sure all of the needed Perl modules are installed from the Interchange web site. You'll also want to download the DBI and DBD modules from the MySQL site. Then, I use PHPAdmin to create the database and then run through the makecat utility - giving it the information that I used when creating the database with PHPAdmin. You'll probably also want to disable SUEXEC if using Plesk . . . It's pretty simple and eventually I hope to provide installation instructions for using Plesk, Interchange and AuthorizeNet together . . . but I'm still working on them. I should have them posted to this forum sometime before December 18 . . . :) Justin > > > > > No DBI & DBD are interface modules for mysql you'll have to install them > seperately. > > Christine > > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of JOHN > WRONG > Sent: Saturday, December 08, 2001 12:01 AM > To: Justin Bonds > Subject: Re: RE: [ic] Tutorial for setup of Interchange with MySQL > > > Justin, > > what is the DBI and DBD for?? isn't it come the with standard > down of MySql? I am not sure. Can you clear that for me? > > thanks. > > > > > ________________________________________________ > Get your own "800" number > Voicemail, fax, email, and a lot more > http://www.ureach.com/reg/tag > > > ---- On Sat, 8 Dec 2001, Justin Bonds (justin@hypertech.net) > wrote: > > > Hi Yuri, > > > > You'll want to download and install the DBI and DBD > components from: > > > > http://www.mysql.com/downloads/api-dbi.html > > > > Then, create your catalog as Michelle mentions. Then, restart > > Interchange > > and it should create the tables for you. If it doesn't, try > > re-installing > > DBI and DBD - for some reason, I've had to install it twice > at some > > points . > > . . > > > > :) Justin > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Dec 8 15:30:00 2001 Subject: [ic] Internationalization - how? --3628262.1007843370022.JavaMail.root@www-a21 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit sorry to ask such a newbie question, again, but how is that done? Via ftp and editing the files or the admin options? -----Original Message----- >From : Roulliere =?ISO-8859-1?Q?Idom=E9n=E9e?= <roulliere@idomenee.com> To : interchange-users@interchange.redhat.com Date : 07 December 2001 21:58:36 Subject : Re: [ic] Internationalization - how? table : locale, variable : currency_symbol > >xoff@another.com wrote: > >>Ok firstly, sorry for this newbie question. But I have found this in the 'manual': http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_41.html >> >>and want to change $ into EUR? >> >>and know that I must set the locale to show this. But how? >> >>The script was automatically set up by my control panel for my webspace but I can't work out from the instructions what file to edit and where. >> >>Any help would be appreciated - thanks, xoff. >> >> >>---------- >>Get a free, personalised email address at http://another.com >>TXT ALRT! Stop wasting money now. Send FREE, personalised txt >>from http://another.com >> > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > ---------- Get a free, personalised email address at http://another.com TXT ALRT! Stop wasting money now. Send FREE, personalised txt from http://another.com --3628262.1007843370022.JavaMail.root@www-a21-- From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Sat Dec 8 16:10:01 2001 Subject: [ic] Justin: wow!!! Thanks you so much for it! Cant wait!! So DBI and DBD should be install on the IC machine right? Why symbolic link to mysqladmin? My Mysql is on another machine. Thank!! :) "It's pretty simple and eventually I hope to provide installation instructions for using Plesk, Interchange and AuthorizeNet together . ." ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Sat Dec 8 16:14:01 2001 Subject: [ic] IC and Java App Servers > I'm currently evaluating IC as an e-commerce solution. > I'm more familiar with Java/J2EE, so I'm wondering if > anyone has implemented IC alongside a Java App. > server. > > I would like to use IC as the basis for an e-commerce > website, so I don't have to write from scratch the > things IC handles. I would like the rest of the site > to run with JSP and an Java app. server such as > JBOSS/Resin/Tomcat. Any other data needed would be > stored alongside the tables required for IC in > PostgreSQL or other similar DB. > You said that you were more familiar with Java/J2EE than with Interchange (and possibly Perl, but you didn't say that). Is this the only reason you would want to run IC along side a Java app, or do you have a toolbox of these apps that you would like to reuse? Running Interchange alongside another web app could create session handling problems for users who don't run with cookies switched on, so you would have to pass a session ID back and fourth between your two apps, which is not a problem in itself, and is easily done. Another solution would be to have Interchange act as a 'proxy' for the other app. Interchange could pass requests on to your other app using SOAP, HTTP or whatever and return the results to the user. Yet another solution would be to integrate a Perl module, like 'Java' or 'Inline::Java', into Interchange, which would allow Interchange direct access to execute your Java stuff. I haven't looked into this, so I don't know the issues involved, but it all seems quite possible to me. One thing you haven't explained is what you need Java to do that can't be done in Perl. Perhaps you explained it in your 'more familiar' statement, which is fair enough. If at all possible, I would suggest ditching the Java code and recreating the functionality you need using Perl. It'll cause less of a headache in the end, and you'll find support easier to ask for and get. Good luck. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Roulliere Idoménée) Date: Sat Dec 8 16:27:01 2001 Subject: [ic] Internationalization - how? It's better in admin. 1) In your catalog.cfg :if you are in germany locale de_DE LC_CTYPE C 2) http://yoururl/admin/index Choose : Tables Next : Hidden admin tables : access,dict,......,locale,.... Click locale Now your are In the admin/flex_select to edit the table locale Search code : currency_symbol and modify If you are in germany , type the caracter euro in the de_DE field Save Click Apply changes You can see an example in my 'in construction site' www.idomenee.com Good luck! xoff@another.com wrote: >sorry to ask such a newbie question, again, but how is that done? Via ftp and editing the files or the admin options? > > >-----Original Message----- >>From : Roulliere =?ISO-8859-1?Q?Idom=E9n=E9e?= <roulliere@idomenee.com> >To : interchange-users@interchange.redhat.com >Date : 07 December 2001 21:58:36 >Subject : Re: [ic] Internationalization - how? >table : locale, variable : currency_symbol > >>xoff@another.com wrote: >> >>>Ok firstly, sorry for this newbie question. But I have found this in the 'manual': http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_41.html >>> >>>and want to change $ into EUR? >>> >>>and know that I must set the locale to show this. But how? >>> >>>The script was automatically set up by my control panel for my webspace but I can't work out from the instructions what file to edit and where. >>> >>>Any help would be appreciated - thanks, xoff. >>> >>> >>>---------- >>>Get a free, personalised email address at http://another.com >>>TXT ALRT! Stop wasting money now. Send FREE, personalised txt >>> >>>from http://another.com >> >> >>_______________________________________________ >>interchange-users mailing list >>interchange-users@interchange.redhat.com >>http://interchange.redhat.com/mailman/listinfo/interchange-users >> > > >---------- >Get a free, personalised email address at http://another.com >TXT ALRT! Stop wasting money now. Send FREE, personalised txt >from http://another.com > From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Dec 8 16:44:00 2001 Subject: [ic] IC and Java App Servers On Sat, Dec 08, 2001 at 09:12:46PM -0000, Kevin Walsh wrote: ... > One thing you haven't explained is what you need Java to do that > can't be done in Perl. Perhaps you explained it in your 'more > familiar' statement, which is fair enough. If at all possible, java is much kooler, marketing-wise, than that legacy cgi perl stuff. There is no arguing that. :-) -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (John Beima) Date: Sat Dec 8 17:26:01 2001 Subject: [ic] IC and Java App Servers G'Day Christopher, It may be "kooler" but you have many compatability issue with Java that you don't have with pre-processed perl. You have to look at what your objective is. That is to sell you clients products. Not to have the coolest site on the web. Having 2 out of every 10 not be able to see the site looses MANY sales. Especially since MicroSnot has treatened to remove ALL Java/JavaScript support from their browsers duo to the fact they don't wish to conform to Sun's licensisng (Sp?) agreements. They are tied of being faught about the fact that they are butchering Java by releasing that piece of CRAP they call J/JScript, which is NOT 100% Java compatable. So if IE looses it's Java support, that leaves MANY MANY people from seeing the site. I know from mailing you off the list you are one of the more intelligent people here, so I knew you knew all this already. It was more for the lists benifit. Hope things are going well for you! Oh hey and if you have sometime please e-mail me off the list, I have some Interchange Products you might like to play with/test. John Quoting cfm@maine.com: > On Sat, Dec 08, 2001 at 09:12:46PM -0000, Kevin Walsh wrote: > ... > > One thing you haven't explained is what you need Java to do that > > can't be done in Perl. Perhaps you explained it in your 'more > > familiar' statement, which is fair enough. If at all possible, > > java is much kooler, marketing-wise, than that legacy cgi perl stuff. > There is no arguing that. :-) > > -- > > Christopher F. Miller, Publisher > cfm@maine.com > MaineStreet Communications, Inc 208 Portland Road, Gray, ME > 04039 > 1.207.657.5078 > http://www.maine.com/ > Content/site management, online commerce, internet integration, Debian > linux > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (David Berry) Date: Sat Dec 8 17:44:00 2001 Subject: [ic] passing session along with locale setting Anyone any ideas? I have seperate catalogs (not subcatalogs) that share session, when the locale is changed I'd like to pass this between the catalogs along with the session. this is the present link http://__SERVER_NAME__/cgi-bin/store1/index.html?id=[data session id] the session directories are all symlinked to the same one. Also :o) I notice that when using IC tags like [page ...], pc=??? is also passed. Does anyone know what pc is? I've found references to it in the docs, but no explanations. If it's important, how do I pass it in the above link? Thanks Dave From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Sat Dec 8 18:05:00 2001 Subject: [ic] passing session along with locale setting David Berry <djberry.ennis@eircom.net> writes: > Anyone any ideas? > > I have seperate catalogs (not subcatalogs) that share session, when the > locale is changed I'd like to pass this between the catalogs along with the > session. The locale is stored in the session. [scratch mv_locale] > > this is the present link > > http://__SERVER_NAME__/cgi-bin/store1/index.html?id=[data session id] > > the session directories are all symlinked to the same one. > > Also :o) > > I notice that when using IC tags like [page ...], pc=??? is also passed. > Does anyone know what pc is? I've found references to it in the docs, but no > explanations. If it's important, how do I pass it in the above link? pc is page counter (to avoid caching of dynamic pages). Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Dec 8 18:16:00 2001 Subject: How to Upgrade Re: [ic] Interchange Upgrade Documentation On Sat, 8 Dec 2001, Michelle Wilant wrote: MW>>Although, the printed documentation is a great asset (good job guys and MW>>gals), its not going to directly answer questions regarding upgrading MW>>from 4.6 to 4.8. MW>> MW>>We did do an upgrade from 4.6 to 4.8. But we took a different approach MW>>to the issue. We installed 4.8 in a development area, while 4.6 still MW>>ran our live store. I'm not sure how you set up your installation to MW>>begin with, but if you are able to do this, I think it may be the best MW>>approach. This also means, creating another database (if that is what MW>>you are using). 4.8 comes with the foundation templates - very MW>>different from the 4.6 construct. It also adds columns to the database MW>>-- several to the merchandising table. After you have a 4.8 area set MW>>up, you can move and use most of your 4.6 pages for use within 4.8. MW>>Again, that was something we did -- we didn't redesign our site at the MW>>upgrade just moved it over to 4.8. So, you are saying that if I install 4.8 and use the construct demo out of 4.6 in makecat, that once it is installed and set up, that I should be able to simply move my present 4.6 files to that area and bring it up? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, December 08, 2001 at 18:15 PM: Your analyst has you confused with another patient. ---------------------------------------------------------------- This Linux System has been up 315 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Dec 8 18:22:01 2001 Subject: [ic] anyone using Authorizenet or SurePay for Credit Card On Sat, 8 Dec 2001, JOHN WRONG wrote: JW>>Been trying to get Authorizenet's merchant account and Gateway JW>>rate? Anyone using Authorizenet and know their rate? JW>> JW>>I am not so sure which on to use for Credit Card processing? JW>>My list is Authorizenet, VeriSign PayFlow Pro or SurePay. Which JW>>one do you think has the best rate? I've been led to believe that these companies set their rates based on your volume. That may be incorrect. The thing that you need to really watch are the fixed charges - statement fee, tech support fee, etc It may be more advantageous to pay a higher discount rate and lower fixed fees. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, December 08, 2001 at 18:20 PM: A Cat's courage is as strong as a dog's chain ---------------------------------------------------------------- This Linux System has been up 315 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Dec 8 18:28:01 2001 Subject: [ic] 2 Problems: Email does not work and log out button does On Fri, 7 Dec 2001, Christine Chaney wrote: CC>>Everything goes okay in the order process. It shows up in the database CC>>after. However the mail is not set. My sendmail path is /usr/lib/sendmail CC>>and have set this up in my interchange.cfg config file. Sendmail works CC>>okay, verified using formmail (same path to sendmail). Interchange start up CC>>without errors. CC>> CC>>Yet email doesn't send and I get this error, why? >From the command line type 'which sendmail' The path that you are using is unusual. Perhaps it is right. I'm hoping that it isn't. (Mine is in /usr/sbin/sendmail) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, December 08, 2001 at 18:25 PM: Are dog biscuits made from collie flour? ---------------------------------------------------------------- This Linux System has been up 315 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Dec 8 19:47:01 2001 Subject: [ic] IC and Java App Servers On Sat, Dec 08, 2001 at 03:25:54PM -0700, John Beima wrote: > G'Day Christopher, > > > It may be "kooler" but you have many compatability issue with Java that you > don't have with pre-processed perl. You have to look at what your objective is. > That is to sell you clients products. Not to have the coolest site on the web. > Having 2 out of every 10 not be able to see the site looses MANY sales. Server side that is not an issue. My job is to help clients with **my company's** services; if they want java, we lose that job. I've seen companies ditching what works for a java implementation and explaining it simply as a marketing move. That is just an observation. The bigger question is down the road. Will the next generation back end integration - the "glue" - be written in java? How many java servlet/server variations are there? How many in perl? (Does ic count?) If it's going to be .Net or java services, then what? That's the hype, but the hype sells projects. Maybe it's just the perlmongers don't beat their chests loudly enough. > > Quoting cfm@maine.com: > > > On Sat, Dec 08, 2001 at 09:12:46PM -0000, Kevin Walsh wrote: > > ... > > > One thing you haven't explained is what you need Java to do that > > > can't be done in Perl. Perhaps you explained it in your 'more > > > familiar' statement, which is fair enough. If at all possible, > > > > java is much kooler, marketing-wise, than that legacy cgi perl stuff. > > There is no arguing that. :-) > > > > -- > > > > Christopher F. Miller, Publisher > > cfm@maine.com > > MaineStreet Communications, Inc 208 Portland Road, Gray, ME > > 04039 > > 1.207.657.5078 > > http://www.maine.com/ > > Content/site management, online commerce, internet integration, Debian > > linux > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > John Beima > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jim Webster) Date: Sat Dec 8 20:19:01 2001 Subject: [ic] SQL Archives Last night I found a document that explained the steps needed to create a NEW TABLE in SQL. I didn't add that page to favorites and can't for the life of me find it again. Can someone post the link to that helpful TIP? Jim. From: interchange-users at interchange.redhat.com (Mike Clark) Date: Sat Dec 8 22:39:00 2001 Subject: [ic] Export search results I've plowed through the docs. I have searched the list archives (using a number of different search strings), and still haven't found an easy way to export the results of a search to a file to be used for a download. It looks like I could define the search and then use a GlobalSub routine to write individual items to a file, but didn't know if there was an easier way. Thanks, Mike From: interchange-users at interchange.redhat.com (John Beima) Date: Sun Dec 9 00:35:00 2001 Subject: [ic] 2 Problems: Email does not work and log out button does not log out G'Day Jim, I thought this two, but with RedHat 6.2, 7.1, and 7.2 that path works. I think it is a permissions problem... She is running Interchange as root... John Quoting Jim Balcom <jim@idk-enterprises.com>: > On Fri, 7 Dec 2001, Christine Chaney wrote: > > CC>>Everything goes okay in the order process. It shows up in the > database > CC>>after. However the mail is not set. My sendmail path is > /usr/lib/sendmail > CC>>and have set this up in my interchange.cfg config file. Sendmail > works > CC>>okay, verified using formmail (same path to sendmail). Interchange > start up > CC>>without errors. > CC>> > CC>>Yet email doesn't send and I get this error, why? > > >From the command line type 'which sendmail' > > The path that you are using is unusual. Perhaps it is right. I'm hoping > that > it isn't. (Mine is in /usr/sbin/sendmail) > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Saturday, December 08, 2001 at 18:25 PM: > Are dog biscuits made from collie flour? > > ---------------------------------------------------------------- > This Linux System has been up 315 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Sun Dec 9 00:40:00 2001 Subject: [ic] Anyone using IC with VeriSign PayFlow Pro ?? Michelle Wilant wrote: > I second the -- PayflowPro working with IC "out of the box" -- Not > quite sure what you are probing for in asking about API's. Everything > you need is already there -- other people did the work for you. Ya > just need to configure it with your specific info. > > JOHN WRONG wrote: > >>For tighter control and better performance they also provides >>APIs right? Anyone tired that?? any idea?? >> >>thanks alot. >>:) >> >> >> >>________________________________________________ >>Get your own "800" number >>Voicemail, fax, email, and a lot more >>http://www.ureach.com/reg/tag >> >> >>---- On Thu, 6 Dec 2001, Ron Phipps (rphipps@reliant- >>solutions.com) wrote: >> >>>>From: interchange-users-admin@interchange.redhat.com >>>> >>>[mailto:interchange- >>> >>>>users-admin@interchange.redhat.com] On Behalf Of JOHN WRONG >>>>Sent: Thursday, December 06, 2001 12:56 PM >>>>To: interchange-users@interchange.redhat.com >>>>Subject: [ic] Anyone using IC with VeriSign PayFlow Pro ?? >>>> >>>>How easy it is to use PayFlow Pro with IC? >>>>Anyone have any idea?? PayFlow Pro use a thin client right?? >>>>So does the IC talks to the thin client? Is there a module >>>> >>from >> >>>>VeriSign that we can add it to IC? Any has more info oh >>>> >>this!? >> >>>IC and Verisign work well with each other straight out of the >>> >>box. Once >> >>>you install IC look in vend_root/lib/Vend/Payment/Signio.pm >>> >>for >> >>>instructions on how to setup the integration. Payflow Pro is >>> >>a thin >> >>>client and IC calls the client to obtain authorization. >>> >>>-Ron >>> >>>_______________________________________________ >>>interchange-users mailing list >>>interchange-users@interchange.redhat.com >>>http://interchange.redhat.com/mailman/listinfo/interchange- >>> >>users >> >>> >> >>_______________________________________________ >>interchange-users mailing list >>interchange-users@interchange.redhat.com >>http://interchange.redhat.com/mailman/listinfo/interchange-users >> >>. >> > From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Sun Dec 9 00:41:08 2001 Subject: [ic] Newbie Installation Question Michelle Wilant wrote: > Yea! Nice to hear a Miva person move to Interchange. Now if you > could just convince some of my co-workers to do that.... :) > > Dan Browning wrote: > >>>Hello all, >>> >>> Just considering a move from Miva Merchant to >>>Interchange and am getting ready to do an rpm installation >>>of Interchange. I have downloaded all the rpms with the >>>exception of the CPAN modules. How do I know which ones I >>>need or do I need all of them? >>> >>>I apologize in advance for the newbie question and hope to >>>learn a lot very quickly :) >>> >>>Thanks >>> >>>Bob >>> >> >>Even if you do install the RPM modules (some of which are out of date >>for Red Hat 7.2), I recommend running >> >>perl -MCPAN -e 'install Bundle::Interchange' >> >>Or perhaps this first to get a faster mirror: >> >>perl -MCPAN -e 'shell' >>o conf urllist push ftp://mirrors.kernel.org/pub/CPAN/ >> >>HTH, >> >>Dan Browning >>Kavod Technologies >> >> >>_______________________________________________ >>interchange-users mailing list >>interchange-users@interchange.redhat.com >>http://interchange.redhat.com/mailman/listinfo/interchange-users >> >>. >> > From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Sun Dec 9 00:43:01 2001 Subject: [ic] Interchange link - SQL link ? Michelle Wilant wrote: > I understand your dilemma. Same here. Here's how I would approach it. > > > You need to set it up in form style. Create some variable name for > what category you want to submit to your query and make a link out of > it. Such as: > > <a href=" > http://www.yourstorehere.com/cgi-bin/pbg/categoryresults.html?foo=bar > > > Then, in your categoryresults.html setting up your query and filling > in the blanks. To draw your varable(s) out of the buffer use the [cgi > foo] tag. > > My example (we sell books so it looks a little different). This is > also a good example for how to join queries. > > [if cgi a ne ""] > [query sql="select distinct(t1.isbn), t1.copy_date, > t1.pub_date, t1.title, t1.category, t1.subtitle, t1.price, t1.eisbn > from products as t1, > author2isbn as t2 > where t1.isbn = t2.isbn > and (t2.authorcode = '[cgi a]') > order by t1.title asc limit 100" type=list] > [/if] > > > or another example of ours is: > > [if cgi q ne ""] > [query sql="select distinct(t1.isbn), t1.copy_date, > t1.pub_date, t1.title, t1.category, t1.subtitle, t1.price, t1.eisbn > from products as t1, > author2isbn as t2 > where t1.isbn = t2.isbn > and (t1.isbn like '%[cgi q]%' > or t1.title like '%[cgi q]%' > or t1.subtitle like '%[cgi q]%' > or t1.category like '%[cgi q]%' > or t2.fname like '%[cgi q]%' > or t2.lname like '%[cgi q]%' > and t1.ebook != 'F' > and t1.ebook != 'Y') > order by t1.title limit 100" type=list] > [/if] > > > My only disclaimer to all of this is that I haven't tested this idea > in full with the side links. I'm not sure if there will be problem > with the customer's cart -- keeping track of it. I would be > interested to know what success/problems you have with it. > > Michelle > > > > joachim.richter wrote: > >>Hi list, >> >>I just bought this MYSQL book and I am truely amazed of what it can do. >> >>The biggest problem I am running into at the moment is changing the links. >> >>Because I don't know how to change a regular link to an SQL style link >> >><a href="[area scan >>file=products >>st=sql >>co=1 >>sf=category >>se=TEST >>ml=10 >>]" >> >>>CLICK ME</a> >>> >> >>let's say this link points to the results page, do I build the results page like >> >>[search-region][list][sql-field category][sql-description][/list][/search-region] ? >> >> >>Can anybody point me in the right direction by giving me a hint or the location in the tutorial / docs on how to do this ? >> >>thanx JoE >> >> >>US Video Center Medien GmbH >>Heimsheimer Str 22 >>70499 Stuttgart >> >>Tel 0711 880252 0 >>Fax 0711 880252 22 >>Email joachim.richter@usvideocenter.de >> >>_______________________________________________ >>interchange-users mailing list >>interchange-users@interchange.redhat.com >>http://interchange.redhat.com/mailman/listinf >>o/interchange-users >> >>. >> > From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Sun Dec 9 00:53:01 2001 Subject: [ic] Justin: wow!!! Thanks you so much for it! Cant wait!! You'll want to install those modules on the same box as your IC install. They are perl modules. Here's a little blurb I found by searching for DBI DBD on google.com -- You might find it enlightening -- as did I -- DBI is a database Application Programming Interface (API) written in the form of a Perl5 module. This module defines a set of "methods" and "attributes" to use that defines a consistent interface to any database that has a DataBase Driver (DBD) defined. This driver also takes the form of a Perl5 module. The DBI acts as a "switch " between a programmer's application and one or more database drivers. It is the drivers that actually talk to the database. For MySQL, this driver is called DBD::mysql. These methods and attributes are devided into database methods and attributes and statement methods and attributes. For more information on the Perl5 DBI, please visit http://www.symbolstone.org/technology/perl/DBI <%20http://www.symbolstone.org/technology/perl/DBI> and read the documentation. For more information on Object Oriented Programming (OOP) as defined in Perl5, go to http://language.perl.com/info/documentation.html . Your best bet as always is to read the documentation that comes with the modules! If you haven't installed perl modules before, they are pretty straight forward and come with documentation. JOHN WRONG wrote: >So DBI and DBD should be install on the IC machine right? >Why symbolic link to mysqladmin? My Mysql is on another machine. > >Thank!! :) > >"It's pretty simple and eventually I hope to provide >installation >instructions for using Plesk, Interchange and AuthorizeNet >together . ." > > >________________________________________________ >Get your own "800" number >Voicemail, fax, email, and a lot more >http://www.ureach.com/reg/tag >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > >. > From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Sun Dec 9 01:12:00 2001 Subject: How to Upgrade Re: [ic] Interchange Upgrade Documentation The short answer is yes*. * -My disclaimer -- This is exactly what we have going on. We had a store based upon the contstruct demo in 4.6 on one box. We were then starting a new ecommerce box with more power for all of our stores. On new box we installed 4.8. (Note here: Our mysql is on yet a third box) We then copied over pages, templates from the 4.6 store to the 4.8 store. It does work. In fact, we are still using the 4.6 database with the 4.8 "engine". However, I can't speak to the functions of the admin. We rarely use the admin. So far, we've only noticed one "problem" in the admin and that is with the promotions and such. Since the merchandising table was revised between 4.6 and 4.8 and we haven't upgraded our database then we cannot use that function. When we moved the files over we did not simply copy the whole category directory, but only brought over what we needed. Off the top of my head I beleive that included the pages directory, templated dir, special_pages dir... Jim Balcom wrote: >On Sat, 8 Dec 2001, Michelle Wilant wrote: > >MW>>Although, the printed documentation is a great asset (good job guys and >MW>>gals), its not going to directly answer questions regarding upgrading >MW>>from 4.6 to 4.8. >MW>> >MW>>We did do an upgrade from 4.6 to 4.8. But we took a different approach >MW>>to the issue. We installed 4.8 in a development area, while 4.6 still >MW>>ran our live store. I'm not sure how you set up your installation to >MW>>begin with, but if you are able to do this, I think it may be the best >MW>>approach. This also means, creating another database (if that is what >MW>>you are using). 4.8 comes with the foundation templates - very >MW>>different from the 4.6 construct. It also adds columns to the database >MW>>-- several to the merchandising table. After you have a 4.8 area set >MW>>up, you can move and use most of your 4.6 pages for use within 4.8. >MW>>Again, that was something we did -- we didn't redesign our site at the >MW>>upgrade just moved it over to 4.8. > >So, you are saying that if I install 4.8 and use the construct demo out of >4.6 in makecat, that once it is installed and set up, that I should be able >to simply move my present 4.6 files to that area and bring it up? > > >-= Jim =- > >---------------------------------------------------------------- >Jim's Linux-Operated Underground Bomb Shelter > >Tagline for Saturday, December 08, 2001 at 18:15 PM: >Your analyst has you confused with another patient. > >---------------------------------------------------------------- >This Linux System has been up 315 hours > >My web page: http://www.idk-enterprises.com >---------------------------------------------------------------- > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > >. > From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Sun Dec 9 01:17:01 2001 Subject: [ic] SQL Archives google.com is a great search engine. There's also all the mysql docs at: http://www.mysql.org/documentation/index.html. Jim Webster wrote: >Last night I found a document that explained the steps needed to create a >NEW TABLE in SQL. I didn't add that page to favorites and can't for the >life of me find it again. > >Can someone post the link to that helpful TIP? > >Jim. > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > >. > From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Sun Dec 9 01:23:01 2001 Subject: [ic] Export search results Just out of curiousity, why is the customer downloading the results of the search? I'm just wondering what new/different function you may be using IC for. To address your question, I think the best way would be to create a user tag or a global sub (both are esentially the same -- a perl sub routine) or maybe just plugging some perl into the page with the [perl] [/perl] tags -- Mike Clark wrote: >I've plowed through the docs. I have searched the list archives (using a >number of different search strings), and still haven't found an easy way to >export the results of a search to a file to be used for a download. It looks >like I could define the search and then use a GlobalSub routine to write >individual items to a file, but didn't know if there was an easier way. > >Thanks, > >Mike > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > >. > From: interchange-users at interchange.redhat.com (Ben Myles) Date: Sun Dec 9 02:00:01 2001 Subject: [ic] Session ID keeps changing I'm having some trouble with a site I'm building using Interchange. I'm a bit of a novice, so the solution to the problem may be very simple. Basically I have a site that uses frames. The layout looks like this: |---|---------------| | | 2 | | |---------------| | | | | 1 | 4 | | | | | |---------------| | | 3 | |---|---------------| Frame 1 is a menu frame. When a category is clicked on the items in that category are displayed as thumbnails in either frame 2 or 3 (this is simply alternated using javascript). A shopper would click on one of the thumbnails and the specifics about the item are displayed in frame 4. From here the item can be added to the cart. When an item is added to the cart the basket comes up with the item in it. This works fine. But the contents of the cart gets dropped as soon as I move from this page, no matter what I do. Whether it's re-calculating the cart (if I update quantities) or if I go to a different item the contents of the cart is lost. I think that the session ID is changing because for some reason IC thinks I'm a different person. I don't know why cookies don't override the problem. I added 'Cookies Yes' and 'CookieDomain mydomain.com www.mydomain.com' to my catalog.cfg file, but it didn't make the slightest difference. The site used to work, and the problem started when I moved everything to a secure server (not a different domain, just https instead of http, otherwise everything was the same). The site was still working when everything was secure, however the client then decided we were only going to make the checkout secure, not the entire site. But when I moved everything back to a http connection the problem started. No frames are still using a secure connection, I even took the secure server out of my apache config to ensure that I haven't left any https links in the pages anywhere. Does anyone have any ideas? I've been trying to fix this for days. I'm stumped. The site I'm working on is past its deadline. If anyone could help I would *greatly* appreciate it. Thanks, Ben Myles From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sun Dec 9 02:03:00 2001 Subject: [ic] 2 Problems: Email does not work and log out button does On Sat, 8 Dec 2001, John Beima wrote: JB>>I thought this two, but with RedHat 6.2, 7.1, and 7.2 that path works. I think JB>>it is a permissions problem... She is running Interchange as root... Does Interchange allow this? As I recall, makecat gets upset about this. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, December 09, 2001 at 02:00 AM: Why doesn't the Bat Computer ever crash? ---------------------------------------------------------------- This Linux System has been up 323 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (John Beima) Date: Sun Dec 9 02:23:01 2001 Subject: [ic] 2 Problems: Email does not work and log out button does not log out She left teh username and group if blank when she ran makecat... I didn't eveen knwo you could leave it blank... I think it is Interchanges way con complaining... Quoting Jim Balcom <jim@idk-enterprises.com>: > On Sat, 8 Dec 2001, John Beima wrote: > > JB>>I thought this two, but with RedHat 6.2, 7.1, and 7.2 that path > works. I think > JB>>it is a permissions problem... She is running Interchange as root... > > Does Interchange allow this? > > As I recall, makecat gets upset about this. > > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Sunday, December 09, 2001 at 02:00 AM: > Why doesn't the Bat Computer ever crash? > > ---------------------------------------------------------------- > This Linux System has been up 323 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (Orko Sines) Date: Sun Dec 9 02:40:00 2001 Subject: [ic] remapping form variables I'm trying to remap four seperate form fields into one on form submission. Namely, I'm trying to remap four input fields for the credit card number (four blocks) into the mv_credit_card_number variable. I've looked through the Signio.pm documentation, and it points to documentation in the Interchange documentation in the "Payment Settings" section. Unfortunately, I've looked through all of the docs and have found no reference to this section. I've even recursively grepped for "remap" in my interchange directory ;) My boss wants to present the credit card input in four seperate fields, this wasn't my idea. I'm assuming that I might need this information later on if I want to remap something else, anyway. Thanks in advance, -- orko _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Christine Chaney) Date: Sun Dec 9 03:10:02 2001 Subject: [ic] Setting up SMTP, order e-mail sent to me but not to 'customer' BUG? BTW, in response to previous posts (2 problems: e-mail log out etc..) I am not running on a red hat system...I am using a Solaris system hosted through viaverio (formerly iserver). As such the first e-mail problem I have tried everything to uncover why sendmail will not work, and rooted out every conceivable cause. None was found, so I'm thinking that it's just the virtual server environment. After the fact I have set up SMTP and am now recieving orders to my orders box. My customers box doesn't get any e-mails. After finding no documentation on how to deactivate sendmail. If you don't put anything it defaults. I looked into the Util.pm (interchange/lib/Vend) file and I understand enough about whats happening, but don't know how to fix it or workaround it. Search for SendMailProgram you'll find this line: my $using = $Vend::Cfg->{SendMailProgram}; Following this line you'll see a check to see if SendMailProgram=none or Net::SMTP Following this I set my Sendmailprogram variable in interchange.cfg to none , also tried Net::SMTP Doing this I got the orders to seller e-mails working. Why aren't the e-mails to customer working? I noticed in the code in Util.pm following, still tried to send the customers message via sendmail thinking the path to sendmail was Net::SMTP or none instead of setting up a function to send it instead via SMTP. While the orders to seller code didn't. Bug? Can anyone offer any help? Christine From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Dec 9 04:31:02 2001 Subject: [ic] SQL Archives Search for: [ic] TIPS: Adding a new mysql table to IC > >Last night I found a document that explained the steps needed to create a > >NEW TABLE in SQL. I didn't add that page to favorites and can't for the > >life of me find it again. > > > >Can someone post the link to that helpful TIP? From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Dec 9 06:44:03 2001 Subject: [ic] Why Do Creditors Control Your Financial Freedom? Seven Things Creditors Don't Want You To Know 1. The credit card companies are saturating Americans with debts they have trouble repaying. Of the approximately 1.8 billion credit cards held by Americans, a staggering percentage of those are at their limit or past due! 2. You have rights under the Fair Debt Collection Practices Act that protect you from intimidation and harassment. (And those harassing calls can be stopped immediately!) 3. Many of the tactics used by bill collectors are illegal!! 4. You can control the terms of repayment. 5. There are ways to get out of debt WITHOUT filing bankruptcy 6. You can be debt-free in as little as 15 to 30 months, at the same time reducing your monthly payment! 7. Your debt can be repaid with pennies on the dollar Don't let the financial stress control you and your family. Take charge! Get your FREE telephone consultation! Find out how to stop the worry TODAY! http://www.debtreliefnow.org/DebtForm.pl?email=interchange-users@www.minivend.com_MSG7 --------- Removal Options: You have received this solicitation because you might benefit from the services of our organization. Your privacy is very important to us, and we will honor all requests to have names removed from our list. http://www.debtreliefnow.org/remove.pl?email=interchange-users@www.minivend.com From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Sun Dec 9 08:12:00 2001 Subject: [ic] Session ID keeps changing > When an item is added to the cart the basket comes up with the item in it. > This works fine. But the contents of the cart gets dropped as soon as I move > from this page, no matter what I do. Whether it's re-calculating the cart > (if I update quantities) or if I go to a different item the contents of the > cart is lost. I think that the session ID is changing because for some > reason IC thinks I'm a different person. I don't know why cookies don't > override the problem. I added 'Cookies Yes' and 'CookieDomain mydomain.com > www.mydomain.com' to my catalog.cfg file, but it didn't make the slightest > difference. > Your CookieDomain directive is invalid. Try setting 'Cookies Yes' along with 'CookieDomain .mydomain.com'. Notice the leading dot in the CookieDomain and the fact that only one directive argument should been specified. In fact, if your domain is the same (www.domain.com) with just the http/https protocol change, then the CookieDomain directive is not required at all, although the Cookie directive is still required. It doesn't hurt to have it declared though, as long as you have it set correctly. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Sun Dec 9 09:41:01 2001 Subject: [ic] Setting up SMTP, order e-mail sent to me but not to 'customer' BUG? Are your DNS records setup correctly? You might receive the "store" e-mail because it is the same server, but the "customer" e-mail might be misguided. Check your mail log. Anton -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Christine Chaney Sent: Sunday, December 09, 2001 3:20 AM To: interchange-users@interchange.redhat.com Subject: [ic] Setting up SMTP, order e-mail sent to me but not to 'customer' BUG? BTW, in response to previous posts (2 problems: e-mail log out etc..) I am not running on a red hat system...I am using a Solaris system hosted through viaverio (formerly iserver). As such the first e-mail problem I have tried everything to uncover why sendmail will not work, and rooted out every conceivable cause. None was found, so I'm thinking that it's just the virtual server environment. After the fact I have set up SMTP and am now recieving orders to my orders box. My customers box doesn't get any e-mails. After finding no documentation on how to deactivate sendmail. If you don't put anything it defaults. I looked into the Util.pm (interchange/lib/Vend) file and I understand enough about whats happening, but don't know how to fix it or workaround it. Search for SendMailProgram you'll find this line: my $using = $Vend::Cfg->{SendMailProgram}; Following this line you'll see a check to see if SendMailProgram=none or Net::SMTP Following this I set my Sendmailprogram variable in interchange.cfg to none , also tried Net::SMTP Doing this I got the orders to seller e-mails working. Why aren't the e-mails to customer working? I noticed in the code in Util.pm following, still tried to send the customers message via sendmail thinking the path to sendmail was Net::SMTP or none instead of setting up a function to send it instead via SMTP. While the orders to seller code didn't. Bug? Can anyone offer any help? Christine _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Alexander Schmitz) Date: Sun Dec 9 10:13:01 2001 Subject: [ic] [Tree] Tag and Scratch Variable for start Parameter. Hy all, I'm trying to use the Tree Tag with dynamic scratch Variables for the Start and Table Options of the Tree Tag. Code looks like: [tree interpolate=1 start=[scratch sparte] table=[scratch subsparte] master=parent subordinate=child autodetect=1 full=1 ] .... The Rest works perfect. [/tree] also ... start=[perl]$Scratch->{sparte}[/perl] ... does not work. any Ideas to get the tree Tag work with scratch Variables or any form of Variables for the Option Tags ? Thanks in advance, Alexander -- -------------------------------------------------- AXON-E Interaktive Medien Tel. +49941-5998545 Fax. +49941-5998541 -------------------------------------------------- http://www.gnupg.de Public Key: http://www.axon-e.de/gpg/a.schmitz.key From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Dec 9 10:14:31 2001 Subject: [ic] Setting up SMTP, order e-mail sent to me but not to 'customer' BUG? On Sun, Dec 09, 2001 at 09:36:46AM -0500, AddAction New Media wrote: > Are your DNS records setup correctly? You might receive the "store" e-mail > because it is the same server, but the "customer" e-mail might be misguided. > Check your mail log. > > Anton > ... > After finding no documentation on how to deactivate sendmail. If you don't > put anything it defaults. I looked into the Util.pm (interchange/lib/Vend) > file and I understand enough about whats happening, but don't know how to > fix it or workaround it. > > Search for SendMailProgram > you'll find this line: > > my $using = $Vend::Cfg->{SendMailProgram}; > > Following this line you'll see a check to see if SendMailProgram=none or > Net::SMTP > > Following this I set my Sendmailprogram variable in interchange.cfg to none > , also tried Net::SMTP > > Doing this I got the orders to seller e-mails working. > > Why aren't the e-mails to customer working? > > I noticed in the code in Util.pm following, still tried to send the > customers message via sendmail thinking the path to sendmail was Net::SMTP > or none instead of setting up a function to send it instead via SMTP. While > the orders to seller code didn't. It's not likely sendmail or ic bug. No matter, you need to learn how to debug your own installation. Break it down chunk by chunk. You've already looked around in Util.pm. Just add some logging to see if it really gets the customer email at all and then work upstream or down. ::logGlobal("whatever you want"); > > Bug? > > Can anyone offer any help? > > Christine > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Mike Clark) Date: Sun Dec 9 10:23:00 2001 Subject: [ic] Export search results > Just out of curiousity, why is the customer downloading the results of > the search? I'm just wondering what new/different function you may be > using IC for. My customer has long-standing, repeat customers and wants to be able to run searches/reports, with varying criteria, then download the results for use in snail-mailings. Thanks, Mike From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Sun Dec 9 10:33:01 2001 Subject: [ic] [Tree] Tag and Scratch Variable for start Parameter. Alexander Schmitz <a.schmitz@axon-e.de> writes: > Hy all, > > I'm trying to use the Tree Tag with dynamic scratch Variables > for the Start and Table Options of the Tree Tag. > > Code looks like: > > [tree > interpolate=1 > start=[scratch sparte] > table=[scratch subsparte] > master=parent > subordinate=child > autodetect=1 > full=1 > ] > .... The Rest works perfect. > [/tree] Probably you need to quote them like start="[scratch sparte]" Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Bill Carr) Date: Sun Dec 9 12:33:00 2001 Subject: [ic] remapping form variables > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Orko > Sines > Sent: Sunday, December 09, 2001 2:28 AM > To: interchange-users@interchange.redhat.com > Subject: [ic] remapping form variables > > > I'm trying to remap four seperate form fields into one on form > submission. > Namely, I'm trying to remap four input fields for the credit card number > (four blocks) into the mv_credit_card_number variable. > [set remap] &calc=$CGI->{mv_credit_card_number} = $CGI->{block1}.$CGI_>{block2}.$CGI->{block3}.$CGI->{block4} [/set] <form action=<SOME ACTION>> <input type=hidden name=mv_form_profile value=remap> <input name=block1> <input name=block2> <input name=block3> <input name=block4> THE REST OF YOUR FORM </form> From: interchange-users at interchange.redhat.com (Alexander Schmitz) Date: Sun Dec 9 13:21:01 2001 Subject: [ic] [Tree] Tag probably [Page] Tag and Interpolate Problem Hy All, Thanks to Racke, i'm one Step closer to success, but the next Problem has occured. I'm using a [Page] Tag in an [Tree] Tag to build my hrefs. I try to use the item-param parent and child Tags from the tree tags to do that, the Problem is that in the arg Option of the Page Tag the [item-param child] is not interpolatet. the Result is something like: http://interchange.axon-e.de/shop/shop_inter_sub.html?mv_arg=[item-param child] When i'm switching of the function hexify() in sub vendUrl in Util.pm it works! But i'm not sure if this a good solution (i think i'm sure :-)) any hints what i'm doing wrong ?? code sniplett: [tree interpolate=1 start="[scratch sparte]" table="[perl]return $Scratch->{sparte}._tree_shops[/perl]" master=parent subordinate=child autodetect=1 ] <font face="Arial, Helvetica, sans-serif" size="2" color="#000000"><b> [page href="shop_[item-param parent]_sub" arg="[item-param child]" ] [loc][item-param child][/loc] [/page] <img src="pfeil_braun.gif" width="5" height="7" border="0"><br></b></font> [/tree] bye Alex -- -------------------------------------------------- AXON-E Interaktive Medien Tel. +49941-5998545 Fax. +49941-5998541 -------------------------------------------------- http://www.gnupg.de Public Key: http://www.axon-e.de/gpg/a.schmitz.key From: interchange-users at interchange.redhat.com (David Berry) Date: Sun Dec 9 15:50:01 2001 Subject: [ic] passing session along with locale setting Thanks Racke http://__SERVER_NAME__/cgi-bin/store1/index.html?is=[data session id]&mv_locale=[scratch mv_locale] doesn't work. - it passes mv_lacale= Am I doing this wrong? And thank for the pc is page count info Dave From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Sun Dec 9 16:35:01 2001 Subject: [ic] passing session along with locale setting David Berry <djberry.ennis@eircom.net> writes: > Thanks Racke > > http://__SERVER_NAME__/cgi-bin/store1/index.html?is=[data session > id]&mv_locale=[scratch mv_locale] > > doesn't work. - it passes mv_lacale= > > Am I doing this wrong? Yes, please try: http://__SERVER_NAME__/cgi-bin/store1/process/locale/[scratch mv_locale]/page/index.html?is=[data session id] See: http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=ictemplates11%2e01 Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Sun Dec 9 16:40:00 2001 Subject: [ic] [Tree] Tag probably [Page] Tag and Interpolate Problem Alexander Schmitz <a.schmitz@axon-e.de> writes: > Hy All, > > Thanks to Racke, i'm one Step closer to success, but the next > Problem has occured. > > I'm using a [Page] Tag in an [Tree] Tag to build my hrefs. > I try to use the item-param parent and child Tags from the > tree tags to do that, the Problem is that in the arg Option > of the Page Tag the [item-param child] is not interpolatet. > > the Result is something like: > > http://interchange.axon-e.de/shop/shop_inter_sub.html?mv_arg=[item-param child] > > When i'm switching of the function hexify() in sub vendUrl in > Util.pm it works! But i'm not sure if this a good solution (i think > i'm sure :-)) > > any hints what i'm doing wrong ?? > > code sniplett: > > [tree > interpolate=1 > start="[scratch sparte]" > table="[perl]return $Scratch->{sparte}._tree_shops[/perl]" table="[scratch sparte]_tree_shops" is more straightforward. > master=parent > subordinate=child > autodetect=1 > ] > > <font face="Arial, Helvetica, sans-serif" size="2" color="#000000"><b> > > [page > href="shop_[item-param parent]_sub" > arg="[item-param child]" > ] > [loc][item-param child][/loc] Is [item-param child] interpolated within the [loc] ? Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Christine Chaney) Date: Sun Dec 9 17:50:00 2001 Subject: [ic] Setting up SMTP, order e-mail sent to me but not to 'customer' BUG? No. , its not DNS, the customer e-mail is the same e-mail address I'm using now...which is on the same server, and has the same IP, and is also the primary domain name for the server. The error.log reads the following: (Please notice the odd message). In Util.pm no matter what you set it to it still tries to load the function for sendmail. I'm not using sendmail because for some reason it's not working with the virtual server environment which is the following. For example my interchange is located at: /usr/home/gigabyte/usr/local/etc/httpd/vhosts/fashionfantasies.net/interchan ge /usr/home/gigabyte is my root directory for my virtual server. / is the viaverio root directory we both have copies of sendmail when I start sendmail from the command line I have to type virtual /usr/sbin/sendmail or /usr/lib/sendmail or /bin/sendmail (/bin/sendmail though is just a ln -s to /usr/lib/sendmail) I've tried all in the interchange.cfg I've also tried all the viaverio sendmails, I've also tried even putting the virtual tag in there, no luck. yet all these programs are located at /usr/home/gigabyte/ ... and the paths above if I don't type the virtual I get a sendmail error telling me it could not find the sendmail.cf file in the /etc directory. Which it is there and perfect condition. It results because its trying to find it on viaverios side. The viaverio sendmails will start from the command line without this, but they wont start from the cgi bin. Mine will start from the cgi-bin in programs like formmail and such but with Interchange its just not working. But that aside, in the Util.pm and Interpolate.pm files I noted how it sends mail. It does do a check to see what your sendmailprogram directive says. But it tries to send the customer e-mail via sendmail no matter what you specify in the sendmailprogram directive. See the below portion of the error.log file. If you look at the code in the perl files it will say if !ok{ code error.log etc.. but above that it SEND: Sendmail { still was trying to send it via sendmail not Net:SMTP... Christine 168.105.116.15 x8he8DV4:168.105.116.15 - [09/December/2001:12:32:33 +0000] ff2 /cgi-bin/ff2/process.html Unable to send mail using $none > To 'christine@secureservers.net' > From '"Fashion Fantasies Customer Service" <orders@fashionfantasies.net>' > With extra headers '' > With reply-to '' > With subject 'Thank you for your order #TEST0025!' > And body: > > Dear Fashion Fantasies customer, > > Thank you for your order #TEST0025. It is being electronically processed. > > Name: Christine Chaney > > Email address: chris@secureservers.net > > Address: Hale Aloha Ilima > 2575 Dole Street #339A > City, State, Zip: Honolulu, HI 96822 > Country: US > > Payment Method: Credit Card (visa) > Shipping Method: UPS Ground Commercial > > Daytime Phone: 957-1790 > Evening Phone: > > > > Quan Item No. Description Price Extension > ---- ----------- ------------------------------- -------------- ---------- ------ > 1 os28113 The Claw Hand Rake $14.99 $14.99 > > > SUBTOTAL $14.99 > SALES TAX $0.00 > SHIPPING $6.19 > > ORDER TOTAL $21.18 > > > > Should you have a question about your order, or about other Fashion Fantasies > products, please reply to this message and let us help. > > Always reference your order number when calling for a status. > Or you can check status via this URL: > > http://www.fashionfantasies.net/cgi-bin/ff2/process?mv_session_id=x8he8DV4&m v_pc=575&mv_username=U00010&mv_password=96822&mv_c$ > > Remember, you can always visit our site at: > > http://www.fashionfantasies.net/ff2 > > Regards and thanks for your business! > > Fashion Fantasies > 2575 Dole Street #339 > Anywhere, VA 20190 > > > FAX: > -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of AddAction New Media Sent: Sunday, December 09, 2001 4:37 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Setting up SMTP, order e-mail sent to me but not to 'customer' BUG? Are your DNS records setup correctly? You might receive the "store" e-mail because it is the same server, but the "customer" e-mail might be misguided. Check your mail log. Anton -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Christine Chaney Sent: Sunday, December 09, 2001 3:20 AM To: interchange-users@interchange.redhat.com Subject: [ic] Setting up SMTP, order e-mail sent to me but not to 'customer' BUG? BTW, in response to previous posts (2 problems: e-mail log out etc..) I am not running on a red hat system...I am using a Solaris system hosted through viaverio (formerly iserver). As such the first e-mail problem I have tried everything to uncover why sendmail will not work, and rooted out every conceivable cause. None was found, so I'm thinking that it's just the virtual server environment. After the fact I have set up SMTP and am now recieving orders to my orders box. My customers box doesn't get any e-mails. After finding no documentation on how to deactivate sendmail. If you don't put anything it defaults. I looked into the Util.pm (interchange/lib/Vend) file and I understand enough about whats happening, but don't know how to fix it or workaround it. Search for SendMailProgram you'll find this line: my $using = $Vend::Cfg->{SendMailProgram}; Following this line you'll see a check to see if SendMailProgram=none or Net::SMTP Following this I set my Sendmailprogram variable in interchange.cfg to none , also tried Net::SMTP Doing this I got the orders to seller e-mails working. Why aren't the e-mails to customer working? I noticed in the code in Util.pm following, still tried to send the customers message via sendmail thinking the path to sendmail was Net::SMTP or none instead of setting up a function to send it instead via SMTP. While the orders to seller code didn't. Bug? Can anyone offer any help? Christine _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Christine Chaney) Date: Sun Dec 9 18:01:01 2001 Subject: [ic] Setting up SMTP, order e-mail sent to me but not to 'customer' BUG? Just a note the error.log file does not have the $ next to none $none That was just the result of copying/pasting from a wraparound line in pico. -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Christine Chaney Sent: Sunday, December 09, 2001 1:00 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Setting up SMTP, order e-mail sent to me but not to 'customer' BUG? No. , its not DNS, the customer e-mail is the same e-mail address I'm using now...which is on the same server, and has the same IP, and is also the primary domain name for the server. The error.log reads the following: (Please notice the odd message). In Util.pm no matter what you set it to it still tries to load the function for sendmail. I'm not using sendmail because for some reason it's not working with the virtual server environment which is the following. For example my interchange is located at: /usr/home/gigabyte/usr/local/etc/httpd/vhosts/fashionfantasies.net/interchan ge /usr/home/gigabyte is my root directory for my virtual server. / is the viaverio root directory we both have copies of sendmail when I start sendmail from the command line I have to type virtual /usr/sbin/sendmail or /usr/lib/sendmail or /bin/sendmail (/bin/sendmail though is just a ln -s to /usr/lib/sendmail) I've tried all in the interchange.cfg I've also tried all the viaverio sendmails, I've also tried even putting the virtual tag in there, no luck. yet all these programs are located at /usr/home/gigabyte/ ... and the paths above if I don't type the virtual I get a sendmail error telling me it could not find the sendmail.cf file in the /etc directory. Which it is there and perfect condition. It results because its trying to find it on viaverios side. The viaverio sendmails will start from the command line without this, but they wont start from the cgi bin. Mine will start from the cgi-bin in programs like formmail and such but with Interchange its just not working. But that aside, in the Util.pm and Interpolate.pm files I noted how it sends mail. It does do a check to see what your sendmailprogram directive says. But it tries to send the customer e-mail via sendmail no matter what you specify in the sendmailprogram directive. See the below portion of the error.log file. If you look at the code in the perl files it will say if !ok{ code error.log etc.. but above that it SEND: Sendmail { still was trying to send it via sendmail not Net:SMTP... Christine 168.105.116.15 x8he8DV4:168.105.116.15 - [09/December/2001:12:32:33 +0000] ff2 /cgi-bin/ff2/process.html Unable to send mail using $none > To 'christine@secureservers.net' > From '"Fashion Fantasies Customer Service" <orders@fashionfantasies.net>' > With extra headers '' > With reply-to '' > With subject 'Thank you for your order #TEST0025!' > And body: > > Dear Fashion Fantasies customer, > > Thank you for your order #TEST0025. It is being electronically processed. > > Name: Christine Chaney > > Email address: chris@secureservers.net > > Address: Hale Aloha Ilima > 2575 Dole Street #339A > City, State, Zip: Honolulu, HI 96822 > Country: US > > Payment Method: Credit Card (visa) > Shipping Method: UPS Ground Commercial > > Daytime Phone: 957-1790 > Evening Phone: > > > > Quan Item No. Description Price Extension > ---- ----------- ------------------------------- -------------- ---------- ------ > 1 os28113 The Claw Hand Rake $14.99 $14.99 > > > SUBTOTAL $14.99 > SALES TAX $0.00 > SHIPPING $6.19 > > ORDER TOTAL $21.18 > > > > Should you have a question about your order, or about other Fashion Fantasies > products, please reply to this message and let us help. > > Always reference your order number when calling for a status. > Or you can check status via this URL: > > http://www.fashionfantasies.net/cgi-bin/ff2/process?mv_session_id=x8he8DV4&m v_pc=575&mv_username=U00010&mv_password=96822&mv_c$ > > Remember, you can always visit our site at: > > http://www.fashionfantasies.net/ff2 > > Regards and thanks for your business! > > Fashion Fantasies > 2575 Dole Street #339 > Anywhere, VA 20190 > > > FAX: > -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of AddAction New Media Sent: Sunday, December 09, 2001 4:37 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Setting up SMTP, order e-mail sent to me but not to 'customer' BUG? Are your DNS records setup correctly? You might receive the "store" e-mail because it is the same server, but the "customer" e-mail might be misguided. Check your mail log. Anton -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Christine Chaney Sent: Sunday, December 09, 2001 3:20 AM To: interchange-users@interchange.redhat.com Subject: [ic] Setting up SMTP, order e-mail sent to me but not to 'customer' BUG? BTW, in response to previous posts (2 problems: e-mail log out etc..) I am not running on a red hat system...I am using a Solaris system hosted through viaverio (formerly iserver). As such the first e-mail problem I have tried everything to uncover why sendmail will not work, and rooted out every conceivable cause. None was found, so I'm thinking that it's just the virtual server environment. After the fact I have set up SMTP and am now recieving orders to my orders box. My customers box doesn't get any e-mails. After finding no documentation on how to deactivate sendmail. If you don't put anything it defaults. I looked into the Util.pm (interchange/lib/Vend) file and I understand enough about whats happening, but don't know how to fix it or workaround it. Search for SendMailProgram you'll find this line: my $using = $Vend::Cfg->{SendMailProgram}; Following this line you'll see a check to see if SendMailProgram=none or Net::SMTP Following this I set my Sendmailprogram variable in interchange.cfg to none , also tried Net::SMTP Doing this I got the orders to seller e-mails working. Why aren't the e-mails to customer working? I noticed in the code in Util.pm following, still tried to send the customers message via sendmail thinking the path to sendmail was Net::SMTP or none instead of setting up a function to send it instead via SMTP. While the orders to seller code didn't. Bug? Can anyone offer any help? Christine _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sun Dec 9 18:26:00 2001 Subject: [ic] Setting up SMTP, order e-mail sent to me but not to 'customer' On Sun, 9 Dec 2001, Christine Chaney wrote: CC>>if I don't type the virtual I get a sendmail error telling me it could not CC>>find the sendmail.cf file in the /etc directory. Which it is there and CC>>perfect condition. >From this, possibly the way that you are hitting sendmail for the customers e-mail may be that it can't find the sendmail.cf file. If so, you may need to use the sendmail -C /config/file flag, and copy their sendmail.cf into your area, or set up a link for it. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, December 09, 2001 at 18:20 PM: Why can't we just spell it orderves? ---------------------------------------------------------------- This Linux System has been up 339 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Bob Dobalina) Date: Sun Dec 9 18:43:00 2001 Subject: [ic] Problems selecting area/category from left/vertical category menu Hi all, Im starting off by modifying an empty foundation store on my first attempt at learning IC. I've added areas/sections, with categories in them. They show up on the left when you enter via 'customer entrance' but when you click a category name in a specific area/group, it shows all products for _all categories_ on the results page. Now i've looked at an IC store that operates correctly in this manner and the hypertext links for their 'category names' seem to have a se=$category name feild in them. Where do i add this to my vertical category menu? I'd like only the products for the category the user clicks to show up. Hope this makes sense. -Bobd From: interchange-users at interchange.redhat.com (Gary Henderson) Date: Sun Dec 9 18:48:01 2001 Subject: [ic] Unrelated (DOS TO LINUX) Topic I am trying to find a white paper comparing dos to linux on a technical OS level. My boss is thinking of moving to linux but wants to read an article on it. I could do the research and write one but I was hoping someone had one that I could provide him with rather than write one myself. Gary Henderson From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sun Dec 9 19:05:00 2001 Subject: [ic] Unrelated (DOS TO LINUX) Topic On Sun, 9 Dec 2001, Gary Henderson wrote: GH>>I am trying to find a white paper comparing dos to linux on a technical OS GH>>level. My boss is thinking of moving to linux but wants to read an article GH>>on it. I could do the research and write one but I was hoping someone had GH>>one that I could provide him with rather than write one myself. Wrong forum. You are comparing a Vespa motor scooter with a Cadillac. You are comparing a Tonka Toy truck with a Euclid heavy earth mover. You are comparing a pup tent with a Beverly Hills Mansion. Checkout the slackware.com web page, the Red Hat web page, the web page at cdrom.com, and the web page at mandrake.com for excellent information about Linux. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, December 09, 2001 at 19:00 PM: SPECIMEN: An Italian astronaut. ---------------------------------------------------------------- This Linux System has been up 340 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Dec 9 19:57:00 2001 Subject: [ic] Setting up SMTP, order e-mail sent to me but not to 'customer' BUG? On Sun, Dec 09, 2001 at 01:10:34PM -1000, Christine Chaney wrote: > Just a note the error.log file does not have the $ next to none $none > That was just the result of copying/pasting from a wraparound line in pico. > > / is the viaverio root directory > we both have copies of sendmail > when I start sendmail from the command line I have to type > virtual /usr/sbin/sendmail or /usr/lib/sendmail or /bin/sendmail > (/bin/sendmail though is just a ln -s to /usr/lib/sendmail) I've tried all > in the interchange.cfg I've also tried all the viaverio sendmails, I've also > tried even putting the virtual tag in there, no luck. > yet all these programs are located at /usr/home/gigabyte/ ... and the paths > above > if I don't type the virtual I get a sendmail error telling me it could not > find the sendmail.cf file in the /etc directory. Which it is there and That 'virtual' is a wrapper changing the sendmail paths. It might even be doing a chroot. Are your sendmail logs fubar too? Or simply missing? Is virtual a script or a binary? SUID? Try strace virtual /usr/sbin/sendmail and see what it tells you. Run strings on virtual and see if you can figure it out. This sounds like something your service provider's sysadmin can answer for you much quicker than we can guess. > perfect condition. It results because its trying to find it on viaverios > side. The viaverio sendmails will start from the command line without this, > but they wont start from the cgi bin. Mine will start from the cgi-bin in > programs like formmail and such but with Interchange its just not working. > > But that aside, in the Util.pm and Interpolate.pm files I noted how it sends > mail. It does do a check to see what your sendmailprogram directive says. > But it tries to send the customer e-mail via sendmail no matter what you > specify in the sendmailprogram directive. See the below portion of the > error.log file. If you look at the code in the perl files it will say if > !ok{ code error.log etc.. but above that it SEND: Sendmail { still was > trying to send it via sendmail not Net:SMTP... > > Christine > > 168.105.116.15 x8he8DV4:168.105.116.15 - [09/December/2001:12:32:33 +0000] > ff2 /cgi-bin/ff2/process.html Unable to send mail using $none > > To 'christine@secureservers.net' > > From '"Fashion Fantasies Customer Service" <orders@fashionfantasies.net>' > > With extra headers '' > > With reply-to '' > > With subject 'Thank you for your order #TEST0025!' > > And body: > > > > Dear Fashion Fantasies customer, > > > > Thank you for your order #TEST0025. It is being electronically processed. > > > > Name: Christine Chaney > > > > Email address: chris@secureservers.net > > > > Address: Hale Aloha Ilima > > 2575 Dole Street #339A > > City, State, Zip: Honolulu, HI 96822 > > Country: US > > > > Payment Method: Credit Card (visa) > > Shipping Method: UPS Ground Commercial > > > > Daytime Phone: 957-1790 > > Evening Phone: > > > > > > > > Quan Item No. Description Price > Extension > > ---- ----------- ------------------------------- -------------- ---------- > ------ > > 1 os28113 The Claw Hand Rake $14.99 > $14.99 > > > > > > SUBTOTAL > $14.99 > > SALES TAX > $0.00 > > SHIPPING > $6.19 > > > > ORDER TOTAL > $21.18 > > > > > > > > Should you have a question about your order, or about other Fashion > Fantasies > > products, please reply to this message and let us help. > > > > Always reference your order number when calling for a status. > > Or you can check status via this URL: > > > > > http://www.fashionfantasies.net/cgi-bin/ff2/process?mv_session_id=x8he8DV4&m > v_pc=575&mv_username=U00010&mv_password=96822&mv_c$ > > > > Remember, you can always visit our site at: > > > > http://www.fashionfantasies.net/ff2 > > > > Regards and thanks for your business! > > > > Fashion Fantasies > > 2575 Dole Street #339 > > Anywhere, VA 20190 > > > > > > FAX: > > > > > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > AddAction New Media > Sent: Sunday, December 09, 2001 4:37 AM > To: interchange-users@interchange.redhat.com > Subject: RE: [ic] Setting up SMTP, order e-mail sent to me but not to > 'customer' BUG? > > > Are your DNS records setup correctly? You might receive the "store" e-mail > because it is the same server, but the "customer" e-mail might be misguided. > Check your mail log. > > Anton > > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Christine Chaney > Sent: Sunday, December 09, 2001 3:20 AM > To: interchange-users@interchange.redhat.com > Subject: [ic] Setting up SMTP, order e-mail sent to me but not to > 'customer' BUG? > > > > BTW, in response to previous posts (2 problems: e-mail log out etc..) I am > not running on a red hat system...I am using a Solaris system hosted through > viaverio (formerly iserver). As such the first e-mail problem I have tried > everything to uncover why sendmail will not work, and rooted out every > conceivable cause. None was found, so I'm thinking that it's just the > virtual server environment. > > After the fact I have set up SMTP and am now recieving orders to my orders > box. My customers box doesn't get any e-mails. > > After finding no documentation on how to deactivate sendmail. If you don't > put anything it defaults. I looked into the Util.pm (interchange/lib/Vend) > file and I understand enough about whats happening, but don't know how to > fix it or workaround it. > > Search for SendMailProgram > you'll find this line: > > my $using = $Vend::Cfg->{SendMailProgram}; > > Following this line you'll see a check to see if SendMailProgram=none or > Net::SMTP > > Following this I set my Sendmailprogram variable in interchange.cfg to none > , also tried Net::SMTP > > Doing this I got the orders to seller e-mails working. > > Why aren't the e-mails to customer working? > > I noticed in the code in Util.pm following, still tried to send the > customers message via sendmail thinking the path to sendmail was Net::SMTP > or none instead of setting up a function to send it instead via SMTP. While > the orders to seller code didn't. > > Bug? > > Can anyone offer any help? > > Christine > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Dec 9 20:11:00 2001 Subject: [ic] DBI::ProxyServer and DB2 AS400 (any experiences?) Re DBI::ProxyServer and DB2 AS400 Does anyone have any experience they can share with either of the above and ic or minivend? We are intending to connect catalog back end to corporate ERP system on an AS400 runing IBM's DB2 through a firewall running BSD. DBI::ProxyServer with DBD::DB2 or DBD::ODBC would proxy the database connection. allowing only precooked queries. A simple "yes, we have done that" would go a long way. :-) cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Sun Dec 9 21:17:01 2001 Subject: [ic] IC and Java App Servers > > One thing you haven't explained is what you need Java to do that > > can't be done in Perl. Perhaps you explained it in your 'more > > familiar' statement, which is fair enough. > > > java is much kooler, marketing-wise, than that legacy cgi perl stuff. > There is no arguing that. :-) > Don't forget that some people are converting their 'legacy' Java stuff to Perl. There's no arguing that either. :-) Most people reading glossy marketing brochures wouldn't know Java from a cup of tea anyway. I think customers are more cynical about whatever is the 'language of the week' these days and don't pay much attention to whatever is being hyped up. PHP came and went, Python was hyped for around ten minutes and Java stopped getting press attention long ago. Although Perl has never really captured the press' imagination, it has been there all along and can realistically be marketed as a proven and stable language, available on most OSs - it even works on one or two BSD systems around the world. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Sun Dec 9 21:39:00 2001 Subject: [ic] What an incredible resource. > Have to give thanks to "cursor" in the IRC chat room. Helped me with my 1st > MySQL/IC install (inside of 5 minutes). Did not even know that chat room > existed... Didn't even know IRC still existed (no hate mail please, haha). > You obviously haven't received the bill yet :-) -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Fred Pope) Date: Sun Dec 9 22:46:01 2001 Subject: [ic] IC and Java App Servers "PHP came and went"... Please elaborate. I would be interested to hear more on this. From: interchange-users at interchange.redhat.com (Nathan Olmscheid) Date: Sun Dec 9 23:19:00 2001 Subject: [ic] Re: IC and Java App Servers PHP gas not gone anywhere! Fred Pope writes: > "PHP came and went"... > > Please elaborate. I would be interested to hear more on this. > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- NAMI Solutions Nathan D. Olmscheid Co-Owner - Phone: 612-237-9646 e-mail: nathan@namisolutions.com From: interchange-users at interchange.redhat.com (David xxxxxxx) Date: Sun Dec 9 23:54:00 2001 Subject: [ic] Credit Card Info Hey Simon, Thanks for the info! I stumbled around today for a while working on this, however, it appears that everything is now set up like you have described below, however, I still get the following in the body of the order e-mail: ----------------------------------------------------------- Credit Card Info: NEED ENCRYPTION ENABLED. Payment Method: Credit Card (visa) Account Number: 41**1111 Expiration: 10/02 ----------------------------------------------------------- Do you have any idea what I might be able to do to track down the problem on this? I've never used gpg before so it's probably just a simple configuration error. I did have one question - In the Admin area under Preferences --> Encryption, what should the ENCRYPTOR value be set to? On my system it is currently set to /usr/local/bin/gpg which I've verified as the correct location. Are there any other --options or anything that I need to have in this field as well? Thanks for your help guys!! David -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of music@labyrinth.net.au Sent: Monday, December 03, 2001 9:45 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Credit Card Info > Okay, I've been trying to figure out how to get my credit card info > encrypted for a good part of the day now. I see the below workaround, but > read about two hours of debate later on in the thread. I would love to get > pgp installed and working on my machine but I've run into two problems. This is how I do it using GnuPG. Install GnuPG on the box that will be used to receive and decrypt the orders. Then create a key pair on this box. Export the public key as an ascii file. Import this public key on the interch users ring on the server using: gpg --import [filename.asc] (as the interchange user) (Obviously GnuPG must be installed on the server) Then edit catalog.cfg and add the encryptor key to the line: EncryptKey 67A8567A Also the e-mail address for orders in catalog.cfg should be the same as the keys e-mail. Re-start IC and it should do the rest. Simon _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Dec 10 03:15:01 2001 Subject: [ic] German currency / dezimal=zero problem Erik Kendel wrote: [....] > > I add it to : > > > > Locale de_DE PriceDivide .58 > > Locale de_DE mon_decimal_point . > > Locale de_DE mon_thousands_sep " " > > Locale de_DE currency_symbol " DM" > > Locale de_DE ps_cs_precedes 1 > > Locale de_DE frac_digits 2 > > > > without any success. Same as before. Do you have any other suggestions?! > > >Did you restart the Interchange server? > Ohyeah. I think I made it double with > /usr/sbin/interchange -r > /etc/rc.d/init.d/interchange restart > /usr/lib/interchange/bin/interchange --kill and serve and reconfig and > restart > >Did you set the locale to de_DE (for example [setlocale de_DE])? > I setup it in the catalog.cfg. I tried this: > LocaleDatabase locale > Locale de_DE > > and the other version above. > > but where is [setlocale de_DE] set?! In the result.html page? Yes for example! But in most common case, [setlocale xy_XY] is in your first IC pages (index.html). Add a line like TEST: Which locale is set? The locale is [scratch mv_locale]!<BR> to see what you get. Look into ...products/locale.txt too. Look into the docs of IC. Did you display the price with [item-price] or with another codes/IC (for example [loop-field mypricefield] etc.) Tag? Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Mon Dec 10 05:27:01 2001 Subject: [ic] install problem: Msql-Mysql-modules problem. Mysql needs to be on same machine? When i install Msql-Mysql-modules it ask for the location of my Mysql server. But i am installed on another machine. Do we have to run the Mysql with IC on the same machine? thanks. ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Mon Dec 10 05:33:02 2001 Subject: [ic] install problem: Digest-MD5-2.16, I am on Solairs 2.8 using Perl v5.6.1 and gcc 3.0.2 the error message: Testing alignment requirements for U32... ld: fatal: library -lgdbm: not found ld: fatal: library -ldb: not found ld: fatal: File processing errors. No output wrtten to u32align cllect2: ld returned 1 exit status Con't compile test program Writing Makefile for Digest::MD5 Any know what i am missing?? thanks. ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Mon Dec 10 05:41:03 2001 Subject: [ic] install problem: SQL-Statement-0.1021, error on compile time On solairs 2.8 using Perl 5.6.1 and gcc 3.0.2 /usr/ccs/bin/as: "/var/tmp/cc4fq2ij.s:, line 2110: error: unknown opcode ".subsection" /usr/ccs/bin/as: "/var/tmp/cc4fq2ij.s:, line 2110: error: statement syntax /usr/ccs/bin/as: "/var/tmp/cc4fq2ij.s:, line 2193: error: unknow opcode ".previous" /usr/ccs/bin/as: "/var/tmp/cc4fq2ij.s:, line 2193: error: statement syntax /usr/ccs/bin/as: "/var/tmp/cc4fq2ij.s:, line 4319: error: unknown opcode ".subsection" /usr/ccs/bin/as: "/var/tmp/cc4fq2ij.s:, line 4319: error: statement syntax .... ... actually i am getting this error on DBI-1.20, HTML-Parser-3.25, Storable-1.0.14 and more .... any know how to fix this? So far, i know it has to do with gcc and as. But don't know how to fix this. ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag From: interchange-users at interchange.redhat.com (Javier Martin) Date: Mon Dec 10 06:00:01 2001 Subject: [ic] EINTR on select Steffen, > > > > My question is: Is it possible that the interchange process > > > > receive any > > > > asynchronous signal that could break ongoing system calls such > > > > as select? > You should call select(2) in a > do {} while (ret == 1 && errno == EINTR); > BTW, since you cannot rely on select return value for tm on most > systems, you need to use gettimeofday() or something which makes > a correct time select code slightly more complex... Same of > course for reads and writes. Well, and since things like print Hmmm! I've noticed the 'do {} while EINTR' being a quite common practice in a lot of similar situations. I've wrapped the offending select in the libwww-perl code and it has been working happily for two days. Thank you very much! I have also submitted a bug report to the libwww-perl's bugtrack at sf.net, I don't know if they will include on new releases but I hope so... Javier From: interchange-users at interchange.redhat.com (Alexander Schmitz) Date: Mon Dec 10 06:50:00 2001 Subject: [ic] [Tree] Tag probably [Page] Tag and Interpolate Problem Thanks Racke, no works perfect, the Problem was interpolate=1 in the Tree Options ??. Strange. > table="[scratch sparte]_tree_shops" > > is more straightforward. right was to late yesterday. > > > [page > > href="shop_[item-param parent]_sub" > > arg="[item-param child]" > > ] > > [loc][item-param child][/loc] > > Is [item-param child] interpolated within the [loc] ? yes works fine. > -- -------------------------------------------------- AXON-E Interaktive Medien Tel. +49941-5998545 Fax. +49941-5998541 -------------------------------------------------- http://www.gnupg.de Public Key: http://www.axon-e.de/gpg/a.schmitz.key From: interchange-users at interchange.redhat.com (Erik Kendel) Date: Mon Dec 10 07:01:01 2001 Subject: [ic] Re: German currency / dezimal=zero problem Hello, I put the [setlocale de_DE] tag into the results.html. It doesn't work. I add this "Locale de_DE PriceCommas 1" too Locale de_DE PriceDivide .58 Locale de_DE mon_decimal_point . Locale de_DE mon_thousands_sep " " Locale de_DE currency_symbol " DM" Locale de_DE ps_cs_precedes 1 Locale de_DE frac_digits 2 I think that's all I can do?! Perhaps it's a mysql (it's dezimal 12,2 and the price price picture looks like this "100.80") or a perl problem ?! Who can help? Best Regards Erik Kendel From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Dec 10 07:26:00 2001 Subject: [ic] Re: German currency / dezimal=zero problem Erik Kendel wrote: > > Hello, > > I put the [setlocale de_DE] tag into the results.html. It doesn't > work. I add this > > "Locale de_DE PriceCommas 1" > too > > Locale de_DE PriceDivide .58 > Locale de_DE mon_decimal_point . > Locale de_DE mon_thousands_sep " " > Locale de_DE currency_symbol " DM" > Locale de_DE ps_cs_precedes 1 > Locale de_DE frac_digits 2 > > I think that's all I can do?! > Perhaps it's a mysql (it's dezimal 12,2 and the price price picture looks > like this "100.80") > or a perl problem ?! > Who can help? The value of any price in any field must be 123.45 and not 123,45! You can test it with perl like $a = 123,45; $b = 123.45; $c = $a * 100; $d = $b * 100; print "c = $c\n"; print "d = $d\n"; and you will get c = 12300 d = 12345 Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Dec 10 09:36:01 2001 Subject: [ic] install problem: Msql-Mysql-modules problem. Mysql needs to be on same machine? JOHN WRONG <java02@ureach.com> writes: > When i install Msql-Mysql-modules it ask for the location of my > Mysql server. But i am installed on another machine. > Do we have to run the Mysql with IC on the same machine? Definitely not. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Erik Kendel) Date: Mon Dec 10 09:58:00 2001 Subject: [ic] Re: German currency / dezimal=zero problem Hello, If I use the [item-field price] tag the prices are displayed correctly, but without curreny symbol. And IC calculates with the wrong prices from [item-price]. Why doesn`t the catalog use the same prices? Where can I setup the tags? Regards Erik Kendel From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Dec 10 10:08:01 2001 Subject: [ic] Re: German currency / dezimal=zero problem Erik Kendel wrote: > > Hello, > > If I use the [item-field price] tag the prices are displayed correctly, but > without curreny > symbol. And IC calculates with the wrong prices from [item-price]. Why > doesn`t the > catalog use the same prices? Where can I setup the tags? It seems to me, you have a price like "123,45" (WITH COMMA) in your price field. This is a wrong format. With [item-price], you will get a price like "123,00 DM" and not "123,45 DM". Replace all comma "," with dot "." solve it! Right? Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Mon Dec 10 10:11:01 2001 Subject: [ic] install problem: Msql-Mysql-modules problem. Mysql needs to be on same machine? can you give me more detail on that? the Msql-Mysql-modules ask where is mySql installed in local drive. ---- On 10 Dec 2001 15:35:35, racke@linuxia.de (racke@linuxia.de) wrote: > JOHN WRONG <java02@ureach.com> writes: > > > When i install Msql-Mysql-modules it ask for the location of my > > Mysql server. But i am installed on another machine. > > Do we have to run the Mysql with IC on the same machine? > > Definitely not. > > Ciao > Racke > > -- > Die Erde bleibt keine Scheibe. --- The earth remains no disk. > > For projects and other business stuff please refer to COBOLT NetServices > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: > 0041-1-3884400) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange- users > > ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Dec 10 10:28:00 2001 Subject: [ic] Re: German currency / dezimal=zero problem "Erik Kendel" <admin@web-vision.de> writes: > Hello, > > If I use the [item-field price] tag the prices are displayed correctly, but > without curreny > symbol. And IC calculates with the wrong prices from [item-price]. Why > doesn`t the > catalog use the same prices? Where can I setup the tags? [item-field price] reads the price from the database. [item-price] makes more calculation based on your configuration. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Mon Dec 10 10:46:01 2001 Subject: [ic] Which DBI/DBD module does IC need for Mysql? Anyone have the exact name of that module? this one: DBD TIMB DBI-1.20.tar.gz ?? ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Dec 10 10:50:01 2001 Subject: [ic] install problem: Msql-Mysql-modules problem. Mysql needs to be on same machine? JOHN WRONG <java02@ureach.com> writes: > can you give me more detail on that? > the Msql-Mysql-modules ask where is mySql installed in local > drive. Sorry, but I'm always using prepacked Perl modules. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Richard Cook) Date: Mon Dec 10 11:06:01 2001 Subject: [ic] IC and Java App Servers Thanks for the different strategies. I will try and explore all of these. You are correct in divining that I don't really know Perl all that well and wouldn't know how to design a a complete website using Perl. In addition, if I want to integrate with anything in the future, it would be easier for me to do it using Java as opposed to anything else. Thanks, Rich > I'm currently evaluating IC as an e-commerce solution. > I'm more familiar with Java/J2EE, so I'm wondering if > anyone has implemented IC alongside a Java App. > server. > > I would like to use IC as the basis for an e-commerce > website, so I don't have to write from scratch the > things IC handles. I would like the rest of the site > to run with JSP and an Java app. server such as > JBOSS/Resin/Tomcat. Any other data needed would be > stored alongside the tables required for IC in > PostgreSQL or other similar DB. > One thing you haven't explained is what you need Java to do that can't be done in Perl. Perhaps you explained it in your 'more familiar' statement, which is fair enough. If at all possible, I would suggest ditching the Java code and recreating the functionality you need using Perl. It'll cause less of a headache in the end, and you'll find support easier to ask for and get. Good luck. __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com From: interchange-users at interchange.redhat.com (Support) Date: Mon Dec 10 11:25:01 2001 Subject: [ic] Raq4i and Interchange Help .. . I want to install the Interchange Shopping Cart Program on my Raq4i (Linux OS) and it seems that I may be missing something. If you have installed Interchange on a Raq4i , please answer these questions. And any help off list would be great too! 1) Which file to download? I downloaded the "cross-platform tarball" and I can't seem to get it working. It doesn't seem to install correctly. The other platforms are Redhat Linux and Debian GNU/Linux. Did you download and install one of these? 2) Maybe I am trying to install it in the wrong place . . . I untarred it from telnet at /home/other and ran the configuration file which installed it at /var/local/interchange and rand the bin/makecat. Here I specified that it should be installed in a User Directory www.domain.com/~username. The Example shows that it works as such but it comes back and says "We're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand. Please try again soon. " I also assume that this is just a catch all error message. 3) Did you ever find a step by step configuration help file somewhere? John From: interchange-users at interchange.redhat.com (Bradley Caricofe) Date: Mon Dec 10 11:55:01 2001 Subject: [ic] Raq4i and Interchange Did you install the Interchange Bundle from CPAN? At the command line, try this: perl -MCPAN -e 'install Bundle::Interchange' (someone correct me if I'm wrong, it's been awhile) Monitor the installation of this bundle, you'll need to stop it before it tries to upgrade your Perl. I did use the cross-platform tarball for my installs and they seem to be working very well. I don't think the location of the install is all that important, I installed mine to /usr/local/interchange and then keep my catalog files in /home/sites/site?/catalogs. good luck, -Brad __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Dec 10 12:11:01 2001 Subject: How to Upgrade Re: [ic] Interchange Upgrade Documentation > On Sat, 8 Dec 2001, Michelle Wilant wrote: > > MW>>Although, the printed documentation is a great asset > (good job guys and > MW>>gals), its not going to directly answer questions > regarding upgrading > MW>>from 4.6 to 4.8. > MW>> > MW>>We did do an upgrade from 4.6 to 4.8. But we took a > different approach > MW>>to the issue. We installed 4.8 in a development area, > while 4.6 still > MW>>ran our live store. I'm not sure how you set up your > installation to > MW>>begin with, but if you are able to do this, I think it > may be the best > MW>>approach. This also means, creating another database (if > that is what > MW>>you are using). 4.8 comes with the foundation templates - very > MW>>different from the 4.6 construct. It also adds columns > to the database > MW>>-- several to the merchandising table. After you have a > 4.8 area set > MW>>up, you can move and use most of your 4.6 pages for use > within 4.8. > MW>>Again, that was something we did -- we didn't redesign > our site at the > MW>>upgrade just moved it over to 4.8. > > So, you are saying that if I install 4.8 and use the > construct demo out of > 4.6 in makecat, that once it is installed and set up, that I > should be able > to simply move my present 4.6 files to that area and bring it up? > > > -= Jim =- DiabeticSupplies.com (highly customized) moved over to 4.8 with nary a change. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Randy Clapp) Date: Mon Dec 10 12:13:01 2001 Subject: [ic] Hotmail....BAD Orko Sines wrote: > From the MailMan description of this mail list: > "Note also that you may not receive mail from the list if you use certain > free email providers who do not defend the use of their From line by > spammers." > Judging by the way I can see the messages coming into the list archives, but > don't see any rolling into my Inbox, I'm guessing that Hotmail is one of > those bad boy 'free email providers' they are talking about. Orko, If I remember correctly, HotMail will bounce any mail coming into its server that is sent to more than 10 or 15 hotmail accounts. This may be the reason you are not receiving list mail. -- Randy From: interchange-users at interchange.redhat.com (Support) Date: Mon Dec 10 12:16:00 2001 Subject: [ic] Raq4i and Interchange Brad, 1) Maybe, I stopped it too soon when I did the MCPAN . . . Does it pause and ask for a confirmation before the it wants to update perl? 2) I assume then that the location that you used for your server was at www.domainname.com and not www.domainname.com/~username ? John Bradley Caricofe wrote: > Did you install the Interchange Bundle from CPAN? At the command line, > try this: > > perl -MCPAN -e 'install Bundle::Interchange' > (someone correct me if I'm wrong, it's been awhile) > > Monitor the installation of this bundle, you'll need to stop it before it > tries to upgrade your Perl. I did use the cross-platform tarball for my > installs and they seem to be working very well. I don't think the > location of the install is all that important, I installed mine to > /usr/local/interchange and then keep my catalog files in > /home/sites/site?/catalogs. > > good luck, > -Brad > > __________________________________________________ > Do You Yahoo!? > Send your FREE holiday greetings online! > http://greetings.yahoo.com > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Dec 10 12:17:18 2001 Subject: [ic] Unrelated (DOS TO LINUX) Topic > On Sun, 9 Dec 2001, Gary Henderson wrote: > > GH>>I am trying to find a white paper comparing dos to linux > on a technical OS > GH>>level. My boss is thinking of moving to linux but wants > to read an article > GH>>on it. I could do the research and write one but I was > hoping someone had > GH>>one that I could provide him with rather than write one myself. > > Wrong forum. > > You are comparing a Vespa motor scooter with a Cadillac. > You are comparing a Tonka Toy truck with a Euclid heavy earth mover. > You are comparing a pup tent with a Beverly Hills Mansion. > > Checkout the slackware.com web page, the Red Hat web page, > the web page at > cdrom.com, and the web page at mandrake.com for excellent > information about > Linux. > > > -= Jim =- redhat-list@redhat.com is a good forum as well. A more general look at Linux / open source is here: http://www.dwheeler.com/oss_fs_why.html "Why Open Source Software / Free Software (OSS/FS)? Look at the Numbers!" David A. Wheeler dwheeler@dwheeler.com Revised as of December 3, 2001 It is one of my favorite sources when explaining Linux to customers. HTH, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Dec 10 12:23:01 2001 Subject: [ic] DBI::ProxyServer and DB2 AS400 (any experiences?) > Re DBI::ProxyServer and DB2 AS400 > > Does anyone have any experience they can share with either of the > above and ic or minivend? > > We are intending to connect catalog back end to corporate ERP > system on an AS400 runing IBM's DB2 through a firewall running BSD. > DBI::ProxyServer with DBD::DB2 or DBD::ODBC would proxy the > database connection. allowing only precooked queries. > > A simple "yes, we have done that" would go a long way. :-) > > cfm All I can say is that really sounds like a lot of fun. May I ask what ERP system it is? (Siebel, SAP, Oracle, Duns & Bradstreet, PeopleSoft, Clarify, Vantive, Pivotal, SAP-R3, SalesLogix, Epiphany, Baan, CODA, IBM, Software 2000, SNI, Marcam, J.D. Edwards, ...)? Just wondering. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Dec 10 12:28:01 2001 Subject: [ic] install problem: Digest-MD5-2.16, > I am on Solairs 2.8 using Perl v5.6.1 and gcc 3.0.2 > > the error message: > Testing alignment requirements for U32... > ld: fatal: library -lgdbm: not found > ld: fatal: library -ldb: not found > ld: fatal: File processing errors. No output wrtten to u32align > cllect2: ld returned 1 exit status > Con't compile test program > Writing Makefile for Digest::MD5 > > Any know what i am missing?? > > thanks. RTM: sdbm Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Dec 10 12:46:01 2001 Subject: [ic] IC and Java App Servers > On Sat, Dec 08, 2001 at 03:25:54PM -0700, John Beima wrote: > > G'Day Christopher, > > > > > > It may be "kooler" but you have many compatability issue > with Java that you > > don't have with pre-processed perl. You have to look at > what your objective is. > > That is to sell you clients products. Not to have the > coolest site on the web. > > Having 2 out of every 10 not be able to see the site looses > MANY sales. > > Server side that is not an issue. > > My job is to help clients with **my company's** services; if > they want > java, we lose that job. I've seen companies ditching what > works for a > java implementation and explaining it simply as a marketing > move. That > is just an observation. > > The bigger question is down the road. Will the next generation back > end integration - the "glue" - be written in java? How many java > servlet/server variations are there? How many in perl? > (Does ic count?) > If it's going to be .Net or java services, then what? That's > the hype, > but the hype sells projects. I second that. All I do now is tell people that Interchange is based on all the latest buzzwords: JAVA, JMX, EJB, J2EE, & ODBC. Little do they know what I actually mean: JAVA (Java aint very accelerated) JMX (Java Means Xpensive) EJB (Enterpise Java Bites) J2EE (Java 2x Extra Effort) ODBC (Only Dumb-Bells Connectivity) [Yes, these are original. Yes, I am kidding, I actually like Java] Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (SB) Date: Mon Dec 10 12:52:01 2001 Subject: [ic] install problem: Apache/suEXEC, makecat dies prematurely Hello: I'm using Interchange 4.8.3, Apache 1.3.22 w/MySQL 3.23.46 on RH 7.2. I'm attempting to select the suexec option when running makecat, but now it causes the program to exit early. The last message I get is: chown sampledata.xls: No such file or directory Any advice would be greatly appreciated. Seth Stone Springboard Communications From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Dec 10 12:57:00 2001 Subject: [ic] 2 Problems: Email does not work and log out button does not At 05:44 PM 12/07/2001 -1000, you wrote: >Hi, > >I'm having 2 problems: > >1) Interchange does not send e-mail > >Everything goes okay in the order process. It shows up in the database >after. However the mail is not set. My sendmail path is /usr/lib/sendmail >and have set this up in my interchange.cfg config file. Sendmail works >okay, verified using formmail (same path to sendmail). Interchange start up >without errors. > >Yet email doesn't send and I get this error, why? > >168.105.116.15 Y5LYeCJY:168.105.116.15 - [08/December/2001:03:10:26 +0000] >ff2 /cgi-bin/ff2/process.html Unable to send mail using /usr/lib/sendmail Check the manpage on sendmail for some simple commands, then try a send from the command lines and see if you get any errors/complaints back. Perhaps that is what is tripping things up. >Does anybody know how to fix this or set up to use SMTP instead? I did not >find any documentation on how to set up for SMTP. I have libnet installed >and have the perl modules to do this just don't know how to set up it up in >interchange. > >2) Log out button doesn't log out > >Click on it it goes to the confirmation page saying that they've been logged >out. But it hasn't logged out. It will only 'log out' a user when the >session has expired. Can anybody offer any suggestions? I can confirm this. Take a look at ff2/pages/logout.html and make sure this tag appears at the very top of the page: [userdb function=logout clear=1] >My URL is: http://www.fashionfantasies.net/cgi-bin/ff2 >I know the combination of lingerie/hardware is a little odd, deal with it :) I lived in San Francisco for 3 years in the 80's, so believe me, I've seen stranger things... ;-) - Ed L. >Thanks, > >Christine > > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Dec 10 13:00:00 2001 Subject: [ic] Bug ? 4.8.3 At 04:54 AM 12/08/2001 +0000, you wrote: >Hello, > >Still getting our IC 4.8.3 populated, and I notice if you click on >In-stock Notification on a product with no inventory that the >stock-alert.html page shows the folling tag around the tumbnail image: > >[if-item-field thumb] > >image > >[/if-item-field thumb] > >which is strange because the thumbnail image is shown. > >-Steve > It may be a typo causing the [if] to break. The closing tag should simply be [/if-item-field] - it doesn't take parameters like the opening [if-], AFAIK. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Orko) Date: Mon Dec 10 13:12:00 2001 Subject: [ic] Hotmail....BAD Thanks for the input, although this issue has already been handled. -- orko ----- Original Message ----- From: "Randy Clapp" <Randy@infomeld.com> To: <interchange-users@interchange.redhat.com> Sent: Monday, December 10, 2001 9:09 AM Subject: RE: [ic] Hotmail....BAD > Orko Sines wrote: > > > From the MailMan description of this mail list: > > > "Note also that you may not receive mail from the list if you use certain > > free email providers who do not defend the use of their From line by > > spammers." > > > Judging by the way I can see the messages coming into the list archives, > but > > don't see any rolling into my Inbox, I'm guessing that Hotmail is one of > > those bad boy 'free email providers' they are talking about. > > Orko, > > If I remember correctly, HotMail will bounce any mail coming into its server > that is sent to more than 10 or 15 hotmail accounts. This may be the reason > you are not receiving list mail. > > -- Randy > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Dec 10 13:17:01 2001 Subject: [ic] Secure server FAQs [monthly posting] These are the FAQs: Shopping cart is dropped when using SSL. This is a thorny question. It has many possible causes, and most often occurs when you try to use a different secure server domain than the regular catalog runs on. (See the next question for more info on that.) If your secure domain is the same as the non-secure domain, it is usually due to the user not having cookies enabled. It can be due to the HostnameLookups (Stronghold/Apache parameter) not matching for the two servers, secure and non-secure. It can also be caused by the user having different web proxy addresses for HTTP and HTTPS. If it still does not work, try changing some of the appropriate configuration parameters in interchange.cfg: DomainTail No IpHead Yes If you still are having problems, try this combination in catalog.cfg, the catalog configuration file: SessionExpire 10 minutes WideOpen Yes The above setting will typically make Interchange work when it is possible to work. Sometimes when you have multiple Interchange servers sharing the same secure server, you will have problems after accessing the second one. (The first one issues a session ID cookie, and that causes problems). I have a different secure server domain. Why does the shopping cart get dropped? First of all, it is questionable business practice to not certify your secure server. Besides violating the terms of use of many certificate issuers, customers notice the changed domain and it is proven by user surveys and long experience that you will receive fewer orders as a result. Certs can be obtained for $125 US per year, less than the typical cost of one hour of a top consultant's time. Do your business a favor -- spend the money to get a cert. If you insist on doing it anyway, probably driven by the fact that you need a dedicated IP address for a secure server, you can use the solutions in the previous FAQ question and get some relief. But by far the best way is to have all orders and shopping cart calls go only to the secure domain. Your users may get a different session when browsing the non-secure catalog pages, but it will matter little. To do this on the Foundation demo, place in catalog.cfg: AlwaysSecure order ord/basket ord/checkout A more complete list might be: AlwaysSecure <<EOF account change_password customerservice login logout new_account ord/basket ord/checkout order process query/check_orders query/order_detail query/order_return returns saved_carts ship_addresses EOF (Thanks to John Beima for the above list.) Add pages of your own that need to be sure of coherent session information. For all *forms* to be secure, make sure "process" is on that list. (Your search forms will still be non-secure if you use "[process-search]" to produce the form ACTION.) To make individual order links secure, use this instead of "[order]": <A HREF="[area href=order secure=1 form='mv_order_item=SKU_OF_ITEM' ]">Order it</A> To make a form-based order button secure, use "[process secure=1]" as the ACTION. My images aren't there on the secure server!!! You have a different document root, or the permissions are not such that you can access them. You can set a different base URL for images with: ImageDirSecure https://your.secure.server/somewhere/images Don't try to set it to an http:// URL -- images will be broken anyway. My secure pages fail when my browser is MSIE. MSIE has several SSL bugs, particularly in V5.01. See the C<Apache-SSL> or C<mod_ssl> FAQ. You can sometimes fix this with an httpd.conf change: SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. -- Dick Feynman From: interchange-users at interchange.redhat.com (Erik Kendel) Date: Mon Dec 10 13:28:01 2001 Subject: [ic] German currency / dezimal=zero problem Yes for example! But in most common case, [setlocale xy_XY] is in your first IC pages (index.html). Add a line like TEST: Which locale is set? The locale is [scratch mv_locale]!<BR> to see what you get. Look into ...products/locale.txt too. Look into the docs of IC. Did you display the price with [item-price] or with another codes/IC (for example [loop-field mypricefield] etc.) Tag? Joachim [scratch mv_locale] shows me nothing when I set LocaleDatabase locale and Locale de_DE in the catalog.cfg. The same result if I put [setlocale de_DE] into to index.html. I use [item-price]. [loop-field price] doesn't work. Erik Kendel From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Dec 10 13:38:00 2001 Subject: [ic] 2 Problems: Email does not work and log out button does not At 06:31 PM 12/08/2001 -0500, you wrote: >On Fri, 7 Dec 2001, Christine Chaney wrote: > >CC>>Everything goes okay in the order process. It shows up in the database >CC>>after. However the mail is not set. My sendmail path is >/usr/lib/sendmail >CC>>and have set this up in my interchange.cfg config file. Sendmail works >CC>>okay, verified using formmail (same path to sendmail). Interchange >start up >CC>>without errors. >CC>> >CC>>Yet email doesn't send and I get this error, why? > > From the command line type 'which sendmail' > >The path that you are using is unusual. Perhaps it is right. I'm hoping that >it isn't. (Mine is in /usr/sbin/sendmail) > >-= Jim =- I have the pleasure of working on multiple *nix servers and have seen it both ways (and beyond). Generally I think it is good posture for the server admin to create a link for /usr/lib/sendmail pointing to the actual program, if it is not located there, to avoid excessive script breakage. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Dec 10 13:40:01 2001 Subject: [ic] Export search results At 10:25 AM 12/09/2001 -0500, you wrote: > > Just out of curiousity, why is the customer downloading the results of > > the search? I'm just wondering what new/different function you may be > > using IC for. > >My customer has long-standing, repeat customers and wants to be able to run >searches/reports, with varying criteria, then download the results for use >in snail-mailings. > >Thanks, > >Mike Mike - take a look at the [log] tag. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Interchange server) Date: Mon Dec 10 13:50:00 2001 Subject: [ic] passing session along with locale setting You've done it again Racke! This is what I was looking for Thanks a lot Dave >Yes, please try: > >http://__SERVER_NAME__/cgi-bin/store1/process/locale/[scratch  >mv_locale]/page/index.html?is=[data session id] From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Mon Dec 10 14:07:00 2001 Subject: [ic] usps included shipping I am using USPS for all my shipping. All my products have USPS ground included in the price, when the checkout page comes up, the shipping is 0.00 like it should, but in the shipping box USPS Priority is selected, I guess because it is the next obvious choice availiable. How can I get a preselected USPS Ground Included or USPS $0.00 into that box. Then if they would like to change it, for faster shipping, they can do so. It seems I can't get a Free or $0.00 default to display in the shipping dropdown. Do you have to have a minimum dollar amount in order for it to display in the dropdown? If I set it with a $1 minimum it works. I am shipping by weight, and have tried all sorts of minimum and maximum combos. I am not doing any lookups. Thanks Paul Jordan From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Dec 10 14:20:00 2001 Subject: [ic] Hotmail....BAD Quoting Jeff Fearn (jeffrey_fearn@hotmail.com): > >JF>>Rather easy as hotmail supports getting mail from a pop3 account. You > >can > > > >And, that makes them unique??? > > > >What would make them unique is if they did NOT support pop3. > > > >Pop3 is as common as water. > > Of course that does not make them unique. I was simply explaining why I find > hotmail a useful tool when I am at a customers site. Which I believe was > extreemly obvious; bigotry always seems to make people ignore the obvious > and clutch at straws to validate their beliefs. I like Hotmail, despite them being owned by Microsoft. They are the absolute best at preventing spammers from using them for dropboxes. Spammers are so afraid of them that the big ones never use a hotmail.com "From " line. Now if only Yahoo! could come up to their standard. 8-( -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown From: interchange-users at interchange.redhat.com (Orko) Date: Mon Dec 10 14:29:00 2001 Subject: [ic] remapping form variables Thank you Bill! I'll try this out today. -- orko ----- Original Message ----- From: "Bill Carr" <bill@worldwideimpact.com> To: <interchange-users@interchange.redhat.com> Sent: Sunday, December 09, 2001 9:22 AM Subject: RE: [ic] remapping form variables > > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.com > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Orko > > Sines > > Sent: Sunday, December 09, 2001 2:28 AM > > To: interchange-users@interchange.redhat.com > > Subject: [ic] remapping form variables > > > > > > I'm trying to remap four seperate form fields into one on form > > submission. > > Namely, I'm trying to remap four input fields for the credit card number > > (four blocks) into the mv_credit_card_number variable. > > > [set remap] > &calc=$CGI->{mv_credit_card_number} = > $CGI->{block1}.$CGI_>{block2}.$CGI->{block3}.$CGI->{block4} > [/set] > > <form action=<SOME ACTION>> > <input type=hidden name=mv_form_profile value=remap> > <input name=block1> > <input name=block2> > <input name=block3> > <input name=block4> > THE REST OF YOUR FORM > </form> > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Dec 10 14:46:00 2001 Subject: [ic] German currency / dezimal=zero problem Erik Kendel wrote: > > Yes for example! But in most common case, [setlocale xy_XY] is in your > first IC pages (index.html). > Add a line like > TEST: Which locale is set? The locale is [scratch mv_locale]!<BR> > to see what you get. Look into ...products/locale.txt too. > Look into the docs of IC. > > Did you display the price with [item-price] or with another codes/IC > (for example [loop-field mypricefield] etc.) Tag? > > Joachim > > [scratch mv_locale] shows me nothing when I set LocaleDatabase locale and > Locale de_DE in the > catalog.cfg. The same result if I put [setlocale de_DE] into to index.html. > > I use [item-price]. > [loop-field price] doesn't work. It works! Believe me! See http://interchange.redhat.com/archive/interchange-users/2001/msg09920.html an try it! If the setting of locale is working, your catalog.cfg is right. If not, your catalog.cfg is not right. The next step is: 1. add a line like Test field: [data table="products" field="price" key="the-sku-number"]<BR> [seti testmyprice][data table="products" field="price" key="the-sku-number"][/seti] [currency][scratch testmyprice][/seti]<BR> and see what you get. If is not right, something is wrong in your products file or you have a wrong codes anywhere in your page. Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Mon Dec 10 14:48:01 2001 Subject: [ic] RE USPS- NEVRMIND!! I did it!!!! I figured it out so don't waste your time!! Unless you have a killer tip, than that is always helpful. I manually made an option tag to point to an existing "Included" method that I made in ADMIN. huh? maybe this was what I am supposed to do...:) Thanks all!! From: interchange-users at interchange.redhat.com (Nathan Olmscheid) Date: Mon Dec 10 15:18:01 2001 Subject: [ic] Select Mutiple Options Greetings List- I have a client that wants to be able to add multiple options to one item. I am having a difficulty with this. There are two sets of options: Color: Black, Brown, and Light Brown Accessories: Snowshoes, Fishing Reel, Skis, and Gift Bag. I was able to build the options and such using Matrix with separate widgets. But I am still having more problems. They are able to pick one Color choice, and then they MUST pick 2 of the accessories. I have it displaying correctly. The color is a drop down menu, and the accessories have check boxes and they are suppose to click two. I am very unsure how to set this up for the available options. If I hit create all available options I just get each Color, with one of each accessories. But then they ALL list in the drop down and there are no check boxes. There are obviously more options that that available, because each Item must select the color and TWO accessories. I would appreciate any help! I have tried the Interchange Archive and the documents, and I was unable to get any ideas how to achieve something like this. It seems so simple, and in many programs it is, but I can not figure it out in IC. Thanks for anyones help! Nathan -- NAMI Solutions Nathan D. Olmscheid Co-Owner - Phone: 612-237-9646 e-mail: nathan@namisolutions.com From: interchange-users at interchange.redhat.com (Rick Dickulous) Date: Mon Dec 10 15:22:00 2001 Subject: [ic] credit card integration My merchant account provider PsiGate has sent me their API package for Perl. Apparently I am supposed to write up an integration module for Interchange! Where do I find some documentation and examples of these credit card processing modules and how do I make my own? Find the best deals on the web at AltaVista Shopping! http://www.shopping.altavista.com From: interchange-users at interchange.redhat.com (newsletters at lineaux.com) Date: Mon Dec 10 15:24:17 2001 Subject: [ic] Raq4i and Interchange I gave up putting interchange on a RAQ. Perl 5.0x is not easy to upgrade on the RAQ4i - it broke my GUI when I tried. Since perl 5.6.1 is necessary for interchange (Data::Dumper, etc), I decided to try Interchange on a RedHat 7.1 box instead. Other problems you may have with the RAQ include TCP wrappers / suid issues. Interchange needs to run as its own user, whereas the RAQ's tcp_wrappers controls who runs scripts, etc. You may need to rename interchange.cgi to interchange.int and change your configuration in httpd.conf. I wish i could offer more positive input. I tried with both rpm and tarball, to no avail. jim From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Dec 10 15:29:00 2001 Subject: [ic] credit card integration > My merchant account provider PsiGate has sent me their API > package for Perl. Apparently I am supposed to write up an > integration module for Interchange! Where do I find some > documentation and examples of these credit card processing > modules and how do I make my own? Check the 'eg' directory. HTH, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Korksoft Support Services) Date: Mon Dec 10 15:41:00 2001 Subject: [ic] Raq4i and Interchange Why don't you upgrade perl to another location so it doesn't break the RAQ GUI? Ie. make the PERL installation path something like /home/ic/perl or something similar, then have Interchange use that Perl installation instead of the "default" installation. We've done that quite a few times in the past and its always worked fine. Best, Jason. "newsletters@lineaux.com" wrote: > > I gave up putting interchange on a RAQ. Perl 5.0x is not easy to upgrade > on the RAQ4i - it broke my GUI when I tried. Since perl 5.6.1 is > necessary for interchange (Data::Dumper, etc), I decided to try > Interchange on a RedHat 7.1 box instead. > > Other problems you may have with the RAQ include TCP wrappers / suid > issues. Interchange needs to run as its own user, whereas the RAQ's > tcp_wrappers controls who runs scripts, etc. You may need to rename > interchange.cgi to interchange.int and change your configuration in > httpd.conf. > > I wish i could offer more positive input. I tried with both rpm and > tarball, to no avail. > > jim > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- --------------------------------------------------------------- **** Virtual Hosting w/ Interchange, $20/month! **** --------------------------------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com Tel: (561) 642-7005 x 201 From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Mon Dec 10 15:44:00 2001 Subject: [ic] credit card integration > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Rick Dickulous > > My merchant account provider PsiGate has sent me their API package for > Perl. Apparently I am supposed to write up an integration module for > Interchange! Where do I find some documentation and examples of these > credit card processing modules and how do I make my own? Hello Rick, My advice would be to setup Interchange and look in VENDROOT/lib/Vend/Payment and view the .pm files in there. Signio.pm might be a good one since it uses an external binary to make the connection to Verisign. AuthorizeNet.pm is a good one if your gateway uses an HTTP post to receive authorization, but it sounds like you'll be using the binary method. There is not documentation as far as I know for building your own, but there quite a few example gateways you can try out. Make sure to use plenty of ::logGlobal lines so you can see what's going on at each stage while debugging. Take it easy, -Ron From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Dec 10 15:47:00 2001 Subject: [ic] credit card integration "Dan Browning" <danpb@mail.com> writes: > > My merchant account provider PsiGate has sent me their API > > package for Perl. Apparently I am supposed to write up an > > integration module for Interchange! Where do I find some > > documentation and examples of these credit card processing > > modules and how do I make my own? > > Check the 'eg' directory. HTH, Hm, AFAIK the current interface to CC processing are the Payment modules. Isn't the eg stuff deprecated ? Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Rick Dickulous) Date: Mon Dec 10 15:50:00 2001 Subject: [ic] credit card integration Thanks for the tip but it's a bit too brief there by. I looked in my foundation catalog and couldn't find any eg directory. Do I have to create one? On Mon, 10 December 2001, "Dan Browning" wrote: > > > My merchant account provider PsiGate has sent me their API > > package for Perl. Apparently I am supposed to write up an > > integration module for Interchange! Where do I find some > > documentation and examples of these credit card processing > > modules and how do I make my own? > > Check the 'eg' directory. HTH, > > Dan Browning > Kavod Technologies > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users Find the best deals on the web at AltaVista Shopping! http://www.shopping.altavista.com From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Mon Dec 10 16:58:00 2001 Subject: [ic] install problem: Digest-MD5-2.16, huh??? RTM: sdbm? can't find it on cpan. What is that? ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag ---- On Mon, 10 Dec 2001, Dan Browning (danpb@mail.com) wrote: > > I am on Solairs 2.8 using Perl v5.6.1 and gcc 3.0.2 > > > > the error message: > > Testing alignment requirements for U32... > > ld: fatal: library -lgdbm: not found > > ld: fatal: library -ldb: not found > > ld: fatal: File processing errors. No output wrtten to u32align > > cllect2: ld returned 1 exit status > > Con't compile test program > > Writing Makefile for Digest::MD5 > > > > Any know what i am missing?? > > > > thanks. > > RTM: sdbm > > Dan Browning > Kavod Technologies > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange- users > > From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Dec 10 17:18:01 2001 Subject: [ic] credit card integration > "Dan Browning" <danpb@mail.com> writes: > > > > My merchant account provider PsiGate has sent me their API > > > package for Perl. Apparently I am supposed to write up an > > > integration module for Interchange! Where do I find some > > > documentation and examples of these credit card processing > > > modules and how do I make my own? > > > > Check the 'eg' directory. HTH, > > Hm, AFAIK the current interface to CC processing are the > Payment modules. Isn't the eg stuff deprecated ? > > Ciao > Racke Ten-four. Copy that. Over and out. :-) Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 10 17:26:00 2001 Subject: [ic] install problem: Digest-MD5-2.16, On Mon, Dec 10, 2001 at 04:57:39PM -0500, JOHN WRONG wrote: > huh??? RTM: sdbm? can't find it on cpan. > What is that? > It's a DBM library for solaris, the interface is included with perl (SDBM_File), but you are much better off getting the GDBM source code and installing it, SDBM has some pretty restrictive limits that make it all but unusable for Interchange's needs. > ________________________________________________ > Get your own "800" number > Voicemail, fax, email, and a lot more > http://www.ureach.com/reg/tag > > > ---- On Mon, 10 Dec 2001, Dan Browning (danpb@mail.com) wrote: > > > > I am on Solairs 2.8 using Perl v5.6.1 and gcc 3.0.2 > > > > > > the error message: > > > Testing alignment requirements for U32... > > > ld: fatal: library -lgdbm: not found > > > ld: fatal: library -ldb: not found > > > ld: fatal: File processing errors. No output wrtten to > u32align > > > cllect2: ld returned 1 exit status > > > Con't compile test program > > > Writing Makefile for Digest::MD5 > > > > > > Any know what i am missing?? > > > > > > thanks. > > > > RTM: sdbm > > > > Dan Browning > > Kavod Technologies > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange- > users > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (interch) Date: Mon Dec 10 17:41:00 2001 Subject: [ic] =?iso-8859-1?Q?external_page?= Hi, i've got a little problem that gets me crazy ... I need to call, from the order page, an external page for credit card validation, and get back on interchange. Depending on the answer I have to either register it or not. I also must have more than one payment methods, all of them managed by interchange except the credit card one .... How can I manage this? Any ideas? I realy have no idea how to do it! Thanks. Tonio From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 10 18:29:00 2001 Subject: [ic] external page On Mon, Dec 10, 2001 at 11:40:59PM +0100, interch wrote: > Hi, i've got a little problem that gets me crazy ... > I need to call, from the order page, an external page for credit card > validation, and get back on interchange. Depending on the answer I have > to either register it or not. I also must have more than one payment > methods, all of them managed by interchange except the credit card > one .... > How can I manage this? Any ideas? LWP::UserAgent but not fun. Get a different credit card processor. > I realy have no idea how to do it! > > Thanks. > Tonio > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 10 18:33:00 2001 Subject: [ic] external page On Mon, Dec 10, 2001 at 11:40:59PM +0100, interch wrote: > Hi, i've got a little problem that gets me crazy ... > I need to call, from the order page, an external page for credit card > validation, and get back on interchange. Depending on the answer I have > to either register it or not. I also must have more than one payment > methods, all of them managed by interchange except the credit card > one .... > How can I manage this? Any ideas? > I realy have no idea how to do it! > If you find a graceful way to deal with it, let us know, as this is the same problem we tried to solve for paypal integration. I never did find an easy way to handle this... -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Mon Dec 10 18:35:01 2001 Subject: [ic] install problem: Digest-MD5-2.16, thanks for your respond i see GDBM_File GSAR perl-5.6.1.tar.gz 5.7M 09 Apr 2001 is this the right file? SO, i have to reinstall Perl to get GDBM? can you clear me on that, thanks! :) ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag ---- On Mon, 10 Dec 2001, Jason Kohles (jkohles@redhat.com) wrote: > On Mon, Dec 10, 2001 at 04:57:39PM -0500, JOHN WRONG wrote: > > huh??? RTM: sdbm? can't find it on cpan. > > What is that? > > > It's a DBM library for solaris, the interface is included with perl > (SDBM_File), but you are much better off getting the GDBM source code > and installing it, SDBM has some pretty restrictive limits that make it > all but unusable for Interchange's needs. > > > > ________________________________________________ > > Get your own "800" number > > Voicemail, fax, email, and a lot more > > http://www.ureach.com/reg/tag > > > > > > ---- On Mon, 10 Dec 2001, Dan Browning (danpb@mail.com) wrote: > > > > > > I am on Solairs 2.8 using Perl v5.6.1 and gcc 3.0.2 > > > > > > > > the error message: > > > > Testing alignment requirements for U32... > > > > ld: fatal: library -lgdbm: not found > > > > ld: fatal: library -ldb: not found > > > > ld: fatal: File processing errors. No output wrtten to > > u32align > > > > cllect2: ld returned 1 exit status > > > > Con't compile test program > > > > Writing Makefile for Digest::MD5 > > > > > > > > Any know what i am missing?? > > > > > > > > thanks. > > > > > > RTM: sdbm > > > > > > Dan Browning > > > Kavod Technologies > > > > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange- > > users > > > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange- users > > -- > Jason Kohles jkohles@redhat.com > Senior System Architect (703)786-8036 (cellular) > Red Hat Professional Consulting (703)456-2940 (office) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange- users > > From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 10 18:51:01 2001 Subject: [ic] install problem: Digest-MD5-2.16, On Mon, Dec 10, 2001 at 06:34:35PM -0500, JOHN WRONG wrote: > > thanks for your respond > > i see > GDBM_File GSAR perl-5.6.1.tar.gz 5.7M 09 Apr 2001 > is this the right file? > SO, i have to reinstall Perl to get GDBM? > can you clear me on that, thanks! :) > No, you already have GDBM_File, now you need to find the GDBM library source code itself (which is not related to perl), you can find it at http://www.gnu.org/software/gdbm/gdbm.html -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Tue Dec 11 01:30:01 2001 Subject: [ic] search engine argument I am trying to search my products.txt files and display results on results.html. This is working great. In my products.txt file I have many products, all for sale, and all usable in flypage.html. However- I don't want all the entries searched and displayed on results.html. I have made a column in products.txt named "searched", and on result.html I have something to the effect: [if-item-data products searched == 1]blah blah blah[else][/else][/if] This works great for filtering my products I want to be visible to the searcher. BUT as you can guess, the search "hits" number does not match the number shown to the searcher. The search is actually finding more products, but I am "hiding" some with the IF ELSE. How can I put some sort of search prerequisite or argument into my search form? So maybe it would tell the search form to only register a hit if it's "searched" field == 1. Thanks all Paul jordan P.S. Thanks IC King, Ed LaFrance for the previous tip, your the man! From: interchange-users at interchange.redhat.com (Steven Potter) Date: Tue Dec 11 02:19:01 2001 Subject: [ic] checkout.html I'm in the process of creating a multi-page checkout and I am slowly weeding my way through the checkout.html. There a a few lines that I don't understand in there. If anyone could point me in the right direction or explain them, it would be much appreciated. I have run into is these lines: <INPUT TYPE=hidden NAME=mv_order_route VALUE="[either]__ORDER_ROUTES__[or]log main copy_user[/either]"> <INPUT TYPE=HIDDEN NAME=mv_check VALUE="Save_database"> [if session logged_in] [set Save_database] [if cgi mv_todo ne submit] [calc] Log("Saving userdb in mv_check.")[/calc] [userdb save] [/if] [/set] [/if] I can't seem to find much information in the docs on order route and as for the rest of it, I'm just at a loss... Thanks Steven Potter From: interchange-users at interchange.redhat.com (Joachim Schubert) Date: Tue Dec 11 03:56:01 2001 Subject: [ic] German currency / dezimal=zero problem Erik Kendel wrote: > [scratch mv_locale] shows me nothing when I set LocaleDatabase locale and > Locale de_DE in the > catalog.cfg. The same result if I put [setlocale de_DE] into to index.html. > > I use [item-price]. > [loop-field price] doesn't work. > > Erik Kendel My settings for the locale in the tutorial-catalog: catalog.cfg: ------snip--------- # Und jetzt die Locale-Definition Database locale locale.txt TAB Locale de_DE LC_CTYPE C Locale en_US LC_CTYPE C LocaleDatabase locale ------snap---------- locale.txt: code en_US de_DE default 0 1 currency_symbol $ &euro; p_cs_precedes 1 0 mon_thousands_sep , . mon_decimal_point . , in index.html (near the top): <a href=[area href="process/locale/en_US/page/index.html"]>engl.</a>&nbsp; <a href=[area href="process/locale/de_DE/page/index.html"]>dt.</a> <p>Die Locale ist: [scratch mv_locale].</p> in the products.txt prices with dots (eg. 275.45) works for me. achim From: interchange-users at interchange.redhat.com (Erik Kendel) Date: Tue Dec 11 06:00:01 2001 Subject: [ic] Re: German currency / dezimal=zero problem Ok. I use this in my testlocales.html : ------------------------------------ The locale is [scratch mv_locale] and the price is <FONT COLOR="RED"><br> Test field: [data table="products" field="price" key="00687514"]<BR> [seti testmyprice][data table="products" field="price" key="00687514"][/seti]<br> [currency][scratch testmyprice][/currency]<BR> ----------------------------------- My catalog.cfg: Locale de_DE mon_decimal_point . Locale de_DE mon_thousands_sep " " Locale de_DE currency_symbol " DM" Locale de_DE ps_cs_precedes 1 Locale de_DE frac_digits 2 Locale de_DE PriceCommas 1 !No other locale is set! The result is: ------------------------------------ The locale is de_DE and the price is Test field: 58.85 58.00 DM That's my problem. I searched the whole catalog for other configurations without any results. The database (mysql) seems to be ok. Where's the error? Regards Erik Kendel From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Tue Dec 11 06:49:00 2001 Subject: [ic] Re: German currency / dezimal=zero problem Erik Kendel wrote: > > Ok. I use this in my testlocales.html : > ------------------------------------ > The locale is [scratch mv_locale] and the price is <FONT COLOR="RED"><br> > Test field: [data table="products" field="price" key="00687514"]<BR> > [seti testmyprice][data table="products" field="price" > key="00687514"][/seti]<br> > [currency][scratch testmyprice][/currency]<BR> > ----------------------------------- > > My catalog.cfg: > Locale de_DE mon_decimal_point . > Locale de_DE mon_thousands_sep " " > Locale de_DE currency_symbol " DM" > Locale de_DE ps_cs_precedes 1 > Locale de_DE frac_digits 2 > Locale de_DE PriceCommas 1 > > !No other locale is set! What is in your products/locale.txt ??? > The result is: > ------------------------------------ > The locale is de_DE and the price is > Test field: 58.85 Try it with Test field: ([data table="products" field="price" key="00687514"])<BR> to see, if there are a whitespace in the field. For example "58.85 " or so! > 58.00 DM > > That's my problem. I searched the whole catalog for other > configurations without any results. The database (mysql) > seems to be ok. Where's the error? Have you a working demo shop? If yes, can you change the locale in this demo shop to de_DE and try it? Don't forget to look into products/locale.txt! Hmmm...did you edit all your stuff with an editor under WIN? Are there any wrong line ending code from WIN in your file, if you edit your stuff with WIN? Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 11 10:13:01 2001 Subject: [ic] Performance of mysql versus postgressql Hello, Does anybody have experience with the perfomance of the postgressql database. Since Red hat sells his ecommerce solution package with postgress I thought this must be quite fast and efficient. But when I installed postgressql on my system with 3700 product items I found that mysql is much faster in uploading a page. Mysql needs 1.7 sec and Postgressql needs 2.7 sec for delivering the page. Did I set up the postgres databasesystem wrong? Can anybody share his knowledge about what king of computer hardware is neccessary to deliver the pages as a webserver. Is a Intel 866 Mhz Pentium processor with 255 MB RAM and an IDE harddrive enough to run a shop with around 3700 product items. I would like to place my server (serverhoming) dircetly at an company who has access to internet lines. Anbody has information about the monthly fees in Germany for serverhosting. Thanks Christian Willer -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From: interchange-users at interchange.redhat.com (Fred Pope) Date: Tue Dec 11 10:47:00 2001 Subject: [ic] Performance of mysql versus postgressql One of the reasons why we chose PostGreSQL over MySQL was its inherenet support for transactions, and what we thought was superior performance. You might want to run the Vaccum command on the database if you have just uploaded that many items. We are running the db on a seperate server and it works very well. -- Fred Pope Satcom Resources 970-748-3094 fred@satcomresources.com http://www.satcomresources.com Hello, Does anybody have experience with the perfomance of the postgressql database. Since Red hat sells his ecommerce solution package with postgress I thought this must be quite fast and efficient. But when I installed postgressql on my system with 3700 product items I found that mysql is much faster in uploading a page. Mysql needs 1.7 sec and Postgressql needs 2.7 sec for delivering the page. Did I set up the postgres databasesystem wrong? Can anybody share his knowledge about what king of computer hardware is neccessary to deliver the pages as a webserver. Is a Intel 866 Mhz Pentium processor with 255 MB RAM and an IDE harddrive enough to run a shop with around 3700 product items. I would like to place my server (serverhoming) dircetly at an company who has access to internet lines. Anbody has information about the monthly fees in Germany for serverhosting. Thanks Christian Willer -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Dec 11 11:43:01 2001 Subject: [ic] Performance of mysql versus postgressql > One of the reasons why we chose PostGreSQL over MySQL was its > inherenet > support for transactions, and what we thought was superior > performance. > > You might want to run the Vaccum command on the database if > you have just > uploaded that many items. We are running the db on a seperate > server and it > works very well. > > -- > Fred Pope > Satcom Resources > 970-748-3094 > fred@satcomresources.com > http://www.satcomresources.com > > Hello, > > Does anybody have experience with the perfomance of the postgressql > database. Since Red hat sells his ecommerce solution package > with postgress > I thought > this must be quite fast and efficient. But when I installed > postgressql on > my system with 3700 product items I found that mysql is much faster in > uploading a page. Mysql needs 1.7 sec and Postgressql needs > 2.7 sec for > delivering > the page. Did I set up the postgres databasesystem wrong? > > Can anybody share his knowledge about what king of computer > hardware is > neccessary to deliver the pages as a webserver. Is a Intel > 866 Mhz Pentium > processor with 255 MB RAM and an IDE harddrive enough to run > a shop with > around > 3700 product items. I would like to place my server > (serverhoming) dircetly > at > an company who has access to internet lines. Anbody has > information about > the > monthly fees in Germany for serverhosting. > > Thanks > > Christian Willer There are some things you can do for performance. * INDEX your tables and use EXPLAIN. * -F (disables sync() ) * Tune -B -N -S parameters for more memory, etc. But I think even then you may find that PostgreSQL handles a greater capacity at the same speed, whereas MySQL will handle a lower capacity at a greater speed. (Kind of a latency vs. throughput type thing). With 64MB DIMMS for $3, I don't know why you would stay with only 256MB RAM. SCSI disks are great too if you can afford them (the new 6th-gen cheetah screams). HTH, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Tue Dec 11 12:07:00 2001 Subject: [ic] Results.html and tables? I am new to xml and IC but have completely customized the IC foundation to a fully functional store. However I am still having problems getting over some hurdles. Mostly just trying to understand and figure out how this stuff works, but I am trying- OK, my problem. My partners think my results.html page is not utilizing space well. As you know it loops through a search and displays them one below the other. I agree with them though. Is there a way to display the results like maybe 2 or 3 across and 2 or 3 down. You know? Like lets say I am selling pictures and I would like to display results going 3 across (left to right) and 3 down, although I don't care how many down it goes. I can control that search amount, that is easy enough. I have no idea how to begin. Would I create 2 search lists? I just need a hint or, is it even possible with IC? Thanks, I appreciate it. Paul Jordan I am going to work on it until I get it but if I had a hint, because right know I can't even see how it would be possible. From: interchange-users at interchange.redhat.com (Marty Tennison) Date: Tue Dec 11 12:29:00 2001 Subject: [ic] Results.html and tables? Hi Paul, There are lots of way to do it. I'm sure someone knows the easier way to do it but I'm not qualified to explain it since I don't understand it myself 100%. However, a hack would be to set a counter variable and then increment it every time you go through the loop, then see if the counter is evenly divisible by 2,3 4 etc... and if it is then display a set of row or column tags to create the next row. I'm on my way out the door so I cant look it up, but there is a tag (item-change)? or something similar that is the right way to do it I am sure. maybe someone can explain how that tag works? > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Paul > Jordan > Sent: Tuesday, December 11, 2001 9:07 AM > To: Interchange list > Subject: [ic] Results.html and tables? > > > I am new to xml and IC but have completely customized the IC > foundation to a > fully functional store. However I am still having problems > getting over some > hurdles. Mostly just trying to understand and figure out how this stuff > works, but I am trying- > > OK, my problem. My partners think my results.html page is not utilizing > space well. As you know it loops through a search and displays them one > below the other. I agree with them though. Is there a way to display the > results like maybe 2 or 3 across and 2 or 3 down. You know? > > Like lets say I am selling pictures and I would like to display results > going 3 across (left to right) and 3 down, although I don't care how many > down it goes. I can control that search amount, that is easy > enough. I have > no idea how to begin. Would I create 2 search lists? > > I just need a hint or, is it even possible with IC? > > Thanks, I appreciate it. > > Paul Jordan > I am going to work on it until I get it but if I had a hint, because right > know I can't even see how it would be possible. > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Tue Dec 11 12:34:01 2001 Subject: [ic] Results.html and tables? On Tue, Dec 11, 2001 at 09:06:51AM -0800, Paul Jordan wrote: > OK, my problem. My partners think my results.html page is not utilizing > space well. As you know it loops through a search and displays them one > below the other. I agree with them though. Is there a way to display the > results like maybe 2 or 3 across and 2 or 3 down. You know? > > I just need a hint or, is it even possible with IC? > If you just need a hint, look at the table-organize tag. With it you can format your results just by surrounding them with <td> </td>, and the table-organize tag will arrange them into rows and columns for you... [table-organize columns=3] [loop ...] <td> [loop-tags] </td> [/loop] [/table-organize] -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 11 12:37:00 2001 Subject: [ic] Results.html and tables? -----Original Message----- From: Paul Jordan [mailto:jordan@gishnetwork.com] Sent: Tuesday, December 11, 2001 10:07 AM To: Interchange list Subject: [ic] Results.html and tables? [snip] >OK, my problem. My partners think my results.html page is not utilizing >space well. As you know it loops through a search and displays them one >below the other. I agree with them though. Is there a way to display the >results like maybe 2 or 3 across and 2 or 3 down. You know? Here is some code I use to create a 2 column display of people who work at the store I am designing. If you want 3 columns, you would have to change the logic a bit. Basically, if you are in column 0, you start a new row. If you are in the last column, you end the row and set column back to 0. You do end up with a blank last row, but that shouldn't be too much of a problem. Patrick [set column]0[/set] [query sql=| select first_name, last_name, bio from awt_person as p where person_role = 'E' and workflow_status = 'A' | list=1] [on_match] <tr><td colspan="2" class="awttitle">Our Employees</td></tr> <tr> [/on_match] [list] <td width="50%" valign="top"> <span class="awtsmalltitle">[sql-param first_name] [sql-param last_name]</span><p>[sql-param bio]</p> </td> [if scratch column == 1] [then] [set column]0[/set] </tr> <tr> [/then] [else] [set column]1[/set] [/else] [/if] [/list] [on_match] </tr> [/on_match] [/query] From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 11 12:39:00 2001 Subject: [ic] Results.html and tables? On Tue, Dec 11, 2001 at 09:06:51AM -0800, Paul Jordan wrote: > I am new to xml and IC but have completely customized the IC foundation to a > fully functional store. However I am still having problems getting over some > hurdles. Mostly just trying to understand and figure out how this stuff > works, but I am trying- > > OK, my problem. My partners think my results.html page is not utilizing > space well. As you know it loops through a search and displays them one > below the other. I agree with them though. Is there a way to display the > results like maybe 2 or 3 across and 2 or 3 down. You know? > > Like lets say I am selling pictures and I would like to display results > going 3 across (left to right) and 3 down, although I don't care how many > down it goes. I can control that search amount, that is easy enough. I have > no idea how to begin. Would I create 2 search lists? > > I just need a hint or, is it even possible with IC? Use perl and stuff the result set into an array, then depending on the size of the array, format it into <TABLE> <TD>record[1] record[2] record[n/2]</TD> <TD>record[n/2+1] etc... [recordn]</TD> </TABLE> Without perl, you can use a scratch variable and [loop] to format like this (but it's been a looooooooong time since I have done so) <TABLE> <TR><TD>record[1]</TD><TD>record[2]</TD></TR> ... <TR><TD>record[n-1]</TD><TD>record[n]</TD></TR> </TABLE> > I am going to work on it until I get it but if I had a hint, because right > know I can't even see how it would be possible. It's a hint, yes. :-) cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Tue Dec 11 12:40:04 2001 Subject: [ic] Results.html and tables? > OK, my problem. My partners think my results.html page is not utilizing > space well. As you know it loops through a search and displays them one > below the other. I agree with them though. Is there a way to display the > results like maybe 2 or 3 across and 2 or 3 down. You know? > > Like lets say I am selling pictures and I would like to display results > going 3 across (left to right) and 3 down, although I don't care how many > down it goes. I can control that search amount, that is easy > enough. I have > no idea how to begin. Would I create 2 search lists? you need loop-alternate. see http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=ictags03%2e02 Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Dec 11 12:42:02 2001 Subject: [ic] Results.html and tables? Quoting Paul Jordan (jordan@gishnetwork.com): > I am new to xml and IC but have completely customized the IC foundation to a > fully functional store. However I am still having problems getting over some > hurdles. Mostly just trying to understand and figure out how this stuff > works, but I am trying- > > OK, my problem. My partners think my results.html page is not utilizing > space well. As you know it loops through a search and displays them one > below the other. I agree with them though. Is there a way to display the > results like maybe 2 or 3 across and 2 or 3 down. You know? > > Like lets say I am selling pictures and I would like to display results > going 3 across (left to right) and 3 down, although I don't care how many > down it goes. I can control that search amount, that is easy enough. I have > no idea how to begin. Would I create 2 search lists? Look at [PREFIX-alternate N] in the docs. There is an example at: http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icfaq14%2e02 An excerpt: A common need when building tables is to conditionally close the table row or data containers. I see a lot of: [loop search="ra=yes"] [calc] return '<TR>' if [loop-increment] == 1; return[/calc] [calc] return '' if [loop-increment] % 3; return '</TR>' [/calc] [/loop] Much faster, by a few orders of magnitude, is: [loop search="ra=yes"] [loop-change 1][condition]1[/condition]<TR>[/loop-change 1] [loop-alternate 3]</TR>[/loop-alternate] [/loop] If you think you need to close the final row by checking the final count, look at this: [loop search="ra=yes"] [on-match] <TABLE> <TR> [/on-match] [list] <TD>[loop-code]</TD> [loop-alternate 3] </TR> <TR> [/loop-alternate] [/list] [on-match] </TR> </TABLE> [/on-match] [no-match] No match, sorry. [/no-match] [/loop] This is a hundred times faster than anything you can build with multiple [calc] tags. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> How far can you open your mind before your brains fall out? From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Tue Dec 11 12:43:05 2001 Subject: [ic] Results.html and tables? Quoting Paul Jordan > OK, my problem. My partners think my results.html page is not utilizing > space well. As you know it loops through a search and displays them one > below the other. I agree with them though. Is there a way to display the > results like maybe 2 or 3 across and 2 or 3 down. You know? > > Like lets say I am selling pictures and I would like to display results > going 3 across (left to right) and 3 down, although I don't care how many > down it goes. I can control that search amount, that is easy > enough. I have > no idea how to begin. Would I create 2 search lists? See the [table_organize] tag or check this out, thanks to David Bordas. It produces 5 items per row, based on this part of the code: if(($table_cell % 5) == 0) This is working code, however, I am using two distinct databases. It may not be the speediest, but it works great. YMMV Good luck! Curt Hauge <!-- BEGIN CONTENT --> [perl failure="Perl code error <BR>"] my $table_cell=0; return (""); [/perl] [search-region] [search-list] <table cellspacing="10" cellpadding="10"> <tr><td>&nbsp;</td> [loop search="fi=prog/sf=category/se=[item-data package cat]/ml=9999/tf=title"] [perl failure="Perl code error <BR>"] if(($table_cell % 5) == 0) { return("</tr><tr>\n"); } [/perl] <td>[if-loop-data prog image]<img src="prog/[loop-data prog image]"><br>[/if-loop-data]<font size=-1>[loop-data prog title]</font></td> [perl failure="Perl code error <BR>"] $table_cell++; return (""); [/perl] [/loop] [/search-list] <td>&nbsp;</td></tr> </table> [/search-region] <!-- END CONTENT --> From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Dec 11 12:53:00 2001 Subject: [ic] checkout.html At 01:21 AM 12/11/2001 -0600, you wrote: >I'm in the process of creating a multi-page checkout and I am slowly >weeding my way through the checkout.html. There a a few lines that I >don't understand in there. If anyone could point me in the right >direction or explain them, it would be much appreciated. > >I have run into is these lines: ><INPUT TYPE=hidden NAME=mv_order_route >VALUE="[either]__ORDER_ROUTES__[or]log main copy_user[/either]"> ><INPUT TYPE=HIDDEN NAME=mv_check VALUE="Save_database"> > > [if session logged_in] > [set Save_database] > [if cgi mv_todo ne submit] > [calc] Log("Saving userdb in mv_check.")[/calc] > [userdb save] > [/if] > [/set] > [/if] > >I can't seem to find much information in the docs on order route and as >for the rest of it, I'm just at a loss... > > >Thanks > >Steven Potter Steven - What IC version are you using? I recently culled the long-missing docs on Order Routing, CommonAdjust and other subjects, and put them in a new document (ic_ecommerce) in the IC document repository. Some day (I hope) they will update the online docs at the dev site with this, but my understanding is that you should find it in the doc directory in your copy of the 4.8.3 distribution. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Level 1 System Administrator) Date: Tue Dec 11 14:37:01 2001 Subject: [ic] 4.8.3 crashing - no one helps - will have to switch to Hi everyone, For some time, ever since we installed 4.8.2, we've been having problems with Interchange crashing. Seems like users did something on the admin interface that would cause Interchange to crash. It was related to vend.pm. Today, we installed 4.8.3, seeing that it fixed a problem with that module. However, just a few minutes ago, it crashed again reporting the following error: 66.169.86.239 - - [06/December/2001:10:31:23 -0500] - /cgi-bin/shopedu/admin/login CGI mapping error: Undefined catalog: /cgi-bin/shopedu at /usr/sbin/interchange/lib/Vend/Server.pm line 182. The catalog, of course, is there and works ok. A simple restart fixes everything again: Killing Interchange server 8431 with TERM. CyberCash module found (Version 3.x) Low traffic settings. "mode" is not defined in %Fcntl::EXPORT_TAGS at /usr/sbin/interchange/bin/interchange line 2753 Calling UI......UI is loaded... Interchange V4.8.3 Configuring catalog shopedu...Using default DBM database...done. Configuring catalog shoponline...Using default DBM database...done. Configuring catalog test1...Using default DBM database...done. Interchange server started in UNIX mode(s) (process id 24130) Any ideas? We have dozens of users using Interchange and almost all of them were able to crash Interchange previously. I was happy thinking 4.8.3. would be stable...:( I've talked to others that are having the same problem. They all report that applying changes on the admin UI in a certain way not yet discovered will crash the server. This is what our users have reported too. Any ideas? Theories? We would greatly appreciate them... if not, I'll have to send Interchange down the drain. We can't afford to provide bad applications to our clients. I told the tech people at RedHat ecommerce tech support that if they could solve it, I would buy a support contract. They say they provide only installation help, admin help and advice. sheesh. Peter From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 11 14:41:01 2001 Subject: [ic] Clearing Values Hope some one has seen this before, as I'm pulling my hair on this one.... I'm trying to clear out some of the values when an order is submitted. This code doesn't work correctly however: [value name="shipToPO" set="" hide="1"] is there something else I need to do? I just want to clear out a "value" The weird thing is that when I log the value to the error log, it appears to be cleared, it almost seems like it is getting re-set some how??? Thanks in advance: LA From: interchange-users at interchange.redhat.com (Mike Clark) Date: Tue Dec 11 14:55:01 2001 Subject: [ic] Performance of mysql versus postgressql Try starting postmaster like this instead of with standard defaults. /usr/local/pgsql/bin/postmaster -B 1000 -o "-S 2000" Bumping up shared buffer cache and sort blocks tends to help with Postgres performance. Also be aware that Postgres' strength lies in scalability as you load your server. MySQL is quite likely to be faster under single-user or light loads. Mike C. ----- Original Message ----- From: <c.willer@gmx.de> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, December 11, 2001 10:12 AM Subject: [ic] Performance of mysql versus postgressql > Hello, > > Does anybody have experience with the perfomance of the postgressql > database. Since Red hat sells his ecommerce solution package with postgress I thought > this must be quite fast and efficient. But when I installed postgressql on > my system with 3700 product items I found that mysql is much faster in > uploading a page. Mysql needs 1.7 sec and Postgressql needs 2.7 sec for delivering > the page. Did I set up the postgres databasesystem wrong? > > Can anybody share his knowledge about what king of computer hardware is > neccessary to deliver the pages as a webserver. Is a Intel 866 Mhz Pentium > processor with 255 MB RAM and an IDE harddrive enough to run a shop with around > 3700 product items. I would like to place my server (serverhoming) dircetly at > an company who has access to internet lines. Anbody has information about the > monthly fees in Germany for serverhosting. > > Thanks > > Christian Willer > > > -- > GMX - Die Kommunikationsplattform im Internet. > http://www.gmx.net > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Michel Matte) Date: Tue Dec 11 15:22:01 2001 Subject: [ic] CPAN install problems Whatever I try, the CPAN always fails in the test phase. I reformatted twice with Red Hat 7.1. I use defaults all the way to install CPAN. I notice that it tries to create Perl-5.6.1 in /root/.cpan/build but the current version on the server is Perl-5.6.0. When I try to start Interchange it's missing the usual modules: Safe::Hole, SQL::Statement, Bundle::LWP. This damn thing runs for half an hour asking everything in the system but doing nothing. Looks like Microsoft... From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Dec 11 15:43:01 2001 Subject: [ic] Clearing Values > Hope some one has seen this before, as I'm pulling my hair on > this one.... > > I'm trying to clear out some of the values when an order is > submitted. This > code doesn't work correctly however: > > [value name="shipToPO" set="" hide="1"] > > is there something else I need to do? I just want to clear > out a "value" > > The weird thing is that when I log the value to the error > log, it appears to > be cleared, it almost seems like it is getting re-set some how??? > > Thanks in advance: > > LA [calc]$Values->{shipToPO} = "";[/calc] Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Dec 11 15:59:01 2001 Subject: [ic] 4.8.3 crashing - no one helps - will have to switch to something with real support > Hi everyone, > > For some time, ever since we installed 4.8.2, we've > been having problems > with Interchange crashing. Seems like users did something on the > admin interface that would cause Interchange to crash. > It was related > to vend.pm. > > Today, we installed 4.8.3, seeing that it fixed a > problem with that module. > However, just a few minutes ago, it crashed again > reporting the following > error: > > 66.169.86.239 - - [06/December/2001:10:31:23 -0500] - > /cgi-bin/shopedu/admin/login CGI mapping error: Undefined catalog: > /cgi-bin/shopedu at /usr/sbin/interchange/lib/Vend/Server.pm line 182. > > The catalog, of course, is there and works ok. A simple > restart fixes > everything > again: > > Killing Interchange server 8431 with TERM. > CyberCash module found (Version 3.x) > Low traffic settings. > "mode" is not defined in %Fcntl::EXPORT_TAGS at > /usr/sbin/interchange/bin/interchange line 2753 > Calling UI......UI is loaded... > Interchange V4.8.3 > Configuring catalog shopedu...Using default DBM database...done. > Configuring catalog shoponline...Using default DBM database...done. > Configuring catalog test1...Using default DBM database...done. > Interchange server started in UNIX mode(s) (process id 24130) > > Any ideas? We have dozens of users using Interchange and almost > all of them were able to crash Interchange previously. > I was happy thinking > 4.8.3. would be stable...:( > > I've talked to others that are having the same problem. > They all report that > applying changes on the admin UI in a certain way not > yet discovered will > crash the server. This is what our users have reported too. > > Any ideas? Theories? We would greatly appreciate > them... if not, I'll have > to send Interchange down the drain. We can't afford to > provide bad > applications > to our clients. > > I told the tech people at RedHat ecommerce tech support > that if they could > solve it, I would buy a support contract. They say they > provide only > installation > help, admin help and advice. sheesh. > > Peter http://www.tuxedo.org/~esr/faqs/smart-questions.html Many rants do not a bug report make. The way of the Jedi is uname -a, perl -v, and gdb. Use the source, Luke. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 11 16:02:00 2001 Subject: [ic] CPAN install problems On Tue, Dec 11, 2001 at 03:33:12PM -0500, Michel Matte wrote: > Whatever I try, the CPAN always fails in the test phase. I reformatted > twice with Red Hat 7.1. I use defaults all the way to install CPAN. I > notice that it tries to create Perl-5.6.1 in /root/.cpan/build but the > current version on the server is Perl-5.6.0. When I try to start > Interchange it's missing the usual modules: Safe::Hole, SQL::Statement, > Bundle::LWP. > > This damn thing runs for half an hour asking everything in the system > but doing nothing. Looks like Microsoft... Well, you are trying to solve it as if it were microsoft! **reformatting** is not the answer. Reading the error messages IS important, unlink microsoft. It is trying to upgrade to perl5.6.1 from 5.6.0. If you are relatively new to linux, that's not worth the effort, get a current distribution. If you can't do that, upgrade your rpms from online. This is an rpm/distribution issue, not ic. > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Shane Keene) Date: Tue Dec 11 16:07:01 2001 Subject: [ic] CPAN install problems I found I had greater success downloading the individual modules from cpan and manually installing them using perl Makefile.pl, make, make test, and make install on each individual module. It was a pain but it was the only way I was able to get it to work. Shane Keene Webmaster Network Computing Devices, Inc. http://www.ncd.com -----Original Message----- From: Michel Matte [mailto:michel.matte@sympatico.ca] Sent: Tuesday, December 11, 2001 12:33 PM To: interchange-users@interchange.redhat.com Subject: [ic] CPAN install problems Whatever I try, the CPAN always fails in the test phase. I reformatted twice with Red Hat 7.1. I use defaults all the way to install CPAN. I notice that it tries to create Perl-5.6.1 in /root/.cpan/build but the current version on the server is Perl-5.6.0. When I try to start Interchange it's missing the usual modules: Safe::Hole, SQL::Statement, Bundle::LWP. This damn thing runs for half an hour asking everything in the system but doing nothing. Looks like Microsoft... _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (John Beima) Date: Tue Dec 11 16:08:58 2001 Subject: [ic] CPAN install problems G'Day Michel, Actually the problem is with the C libraries and compiler that comes with 7.1/7.2... You can download the DMA CD for 7.1 from RedHat's ftp server and you will find all the CPAN modules you need on it in RPM format. I was hoping the problem would be resolved by 7.2, but it hasn't been yet. It is something to do with the newer glibc libraries and the gcc compiler and how RedHat has them configured. John Beima Quoting Michel Matte <michel.matte@sympatico.ca>: > Whatever I try, the CPAN always fails in the test phase. I reformatted > twice with Red Hat 7.1. I use defaults all the way to install CPAN. I > notice that it tries to create Perl-5.6.1 in /root/.cpan/build but the > current version on the server is Perl-5.6.0. When I try to start > Interchange it's missing the usual modules: Safe::Hole, SQL::Statement, > Bundle::LWP. > > This damn thing runs for half an hour asking everything in the system > but doing nothing. Looks like Microsoft... > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (John Beima) Date: Tue Dec 11 16:11:00 2001 Subject: [ic] 4.8.3 crashing - no one helps - will have to switch to something with real support G'Day Peter, YOu did replace all the 4.8.2 vlink cgi scripts with the one included with 4.8.3??? Sometimes people over look this one... John Beima Quoting Level 1 System Administrator <sysadmin-level1@aplushosting.com>: > > Hi everyone, > > For some time, ever since we installed 4.8.2, we've been having > problems > with Interchange crashing. Seems like users did something on the > admin interface that would cause Interchange to crash. It was related > to vend.pm. > > Today, we installed 4.8.3, seeing that it fixed a problem with that > module. > However, just a few minutes ago, it crashed again reporting the > following > error: > > 66.169.86.239 - - [06/December/2001:10:31:23 -0500] - > /cgi-bin/shopedu/admin/login CGI mapping error: Undefined catalog: > /cgi-bin/shopedu at /usr/sbin/interchange/lib/Vend/Server.pm line 182. > > The catalog, of course, is there and works ok. A simple restart fixes > everything > again: > > Killing Interchange server 8431 with TERM. > CyberCash module found (Version 3.x) > Low traffic settings. > "mode" is not defined in %Fcntl::EXPORT_TAGS at > /usr/sbin/interchange/bin/interchange line 2753 > Calling UI......UI is loaded... > Interchange V4.8.3 > Configuring catalog shopedu...Using default DBM database...done. > Configuring catalog shoponline...Using default DBM database...done. > Configuring catalog test1...Using default DBM database...done. > Interchange server started in UNIX mode(s) (process id 24130) > > Any ideas? We have dozens of users using Interchange and almost > all of them were able to crash Interchange previously. I was happy > thinking > 4.8.3. would be stable...:( > > I've talked to others that are having the same problem. They all report > that > applying changes on the admin UI in a certain way not yet discovered > will > crash the server. This is what our users have reported too. > > Any ideas? Theories? We would greatly appreciate them... if not, I'll > have > to send Interchange down the drain. We can't afford to provide bad > applications > to our clients. > > I told the tech people at RedHat ecommerce tech support that if they > could > solve it, I would buy a support contract. They say they provide only > installation > help, admin help and advice. sheesh. > > Peter > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (John Beima) Date: Tue Dec 11 16:12:55 2001 Subject: [ic] 4.8.3 crashing - no one helps - will have to switch to something with real support Also Peter, Type your traffic setting to either high or rpc... For 3 catalogs, it should be on low... The UI would always crash the rpc mode with 4.8.2, I am under the assumption that this has been fixed with a patch put into 4.8.3... John Beima Quoting Level 1 System Administrator <sysadmin-level1@aplushosting.com>: > > Hi everyone, > > For some time, ever since we installed 4.8.2, we've been having > problems > with Interchange crashing. Seems like users did something on the > admin interface that would cause Interchange to crash. It was related > to vend.pm. > > Today, we installed 4.8.3, seeing that it fixed a problem with that > module. > However, just a few minutes ago, it crashed again reporting the > following > error: > > 66.169.86.239 - - [06/December/2001:10:31:23 -0500] - > /cgi-bin/shopedu/admin/login CGI mapping error: Undefined catalog: > /cgi-bin/shopedu at /usr/sbin/interchange/lib/Vend/Server.pm line 182. > > The catalog, of course, is there and works ok. A simple restart fixes > everything > again: > > Killing Interchange server 8431 with TERM. > CyberCash module found (Version 3.x) > Low traffic settings. > "mode" is not defined in %Fcntl::EXPORT_TAGS at > /usr/sbin/interchange/bin/interchange line 2753 > Calling UI......UI is loaded... > Interchange V4.8.3 > Configuring catalog shopedu...Using default DBM database...done. > Configuring catalog shoponline...Using default DBM database...done. > Configuring catalog test1...Using default DBM database...done. > Interchange server started in UNIX mode(s) (process id 24130) > > Any ideas? We have dozens of users using Interchange and almost > all of them were able to crash Interchange previously. I was happy > thinking > 4.8.3. would be stable...:( > > I've talked to others that are having the same problem. They all report > that > applying changes on the admin UI in a certain way not yet discovered > will > crash the server. This is what our users have reported too. > > Any ideas? Theories? We would greatly appreciate them... if not, I'll > have > to send Interchange down the drain. We can't afford to provide bad > applications > to our clients. > > I told the tech people at RedHat ecommerce tech support that if they > could > solve it, I would buy a support contract. They say they provide only > installation > help, admin help and advice. sheesh. > > Peter > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 11 16:14:49 2001 Subject: [ic] Clearing Values On Tue, Dec 11, 2001 at 12:44:16PM -0800, Dan Browning wrote: > > Hope some one has seen this before, as I'm pulling my hair on > > this one.... > > > > I'm trying to clear out some of the values when an order is > > submitted. This > > code doesn't work correctly however: > > > > [value name="shipToPO" set="" hide="1"] > > > > is there something else I need to do? I just want to clear > > out a "value" > > > > The weird thing is that when I log the value to the error > > log, it appears to > > be cleared, it almost seems like it is getting re-set some how??? > > > > Thanks in advance: > > > > LA > > [calc]$Values->{shipToPO} = "";[/calc] Gawd I hate that: "" is still defined - used to bite me all the time. I remember once hacking something so I could undef a value and Mike pointed out another way. [calc]delete($Values->{shipToPO});[/calc] doesn't work does it? cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Dec 11 16:17:01 2001 Subject: [ic] Clearing Values Quoting Dan Browning (danpb@mail.com): > > Hope some one has seen this before, as I'm pulling my hair on > > this one.... > > > > I'm trying to clear out some of the values when an order is > > submitted. This > > code doesn't work correctly however: > > > > [value name="shipToPO" set="" hide="1"] > > > > is there something else I need to do? I just want to clear > > out a "value" > > > > The weird thing is that when I log the value to the error > > log, it appears to > > be cleared, it almost seems like it is getting re-set some how??? > > > > Thanks in advance: > > > > LA > > [calc]$Values->{shipToPO} = "";[/calc] > Yes, but the cases where I see reset to a previous value include: 1. You are expecting this to persist after the user's next login without doing a [userdb save]. 2. You are performing the clear in a profile which occurs before the normal values update. In that case, if you don't also clear $CGI->{keyname} it will be re-set to what was submitted. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Be patient. God isn't finished with me yet. -- unknown From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Tue Dec 11 16:34:01 2001 Subject: [ic] Unknown charge type: authorizenet I really hate to start a new authorizenet thread, so let me apologize in advance for that. We're using IC 4.8.2, RH 6.2, Perl 5.6.1 with Crypt::SSLeay and LWP::UserAgent properly installed. interchange.cfg has the appropriate 'Require module Vend::Payment::AuthorizeNet' in it and interchange has been HUP'ed. Even so, our test authorizenet transactions are failing. The error log gives this error: "Unknown charge type: authorizenet" (We've adapted the Foundation demo for our uses and as such the order routes and such are the default for the foundation demo.) Here are the vars you are likely interested in: MV_PAYMENT_MODE authorizenet MV_DEMO_MODE 1 AUTHNET_ID <id> AUTHNET_REFERER <referer> AUTHNET_SECRET <pass> AUTHNET_SERVER secure.authorize.net ORDER_ROUTES log main copy_user PAYGATE authorize This is on a hosted machine, so I can't enable debugging in interchange.cfg. Does anyone know what the likely cause of this error might be? I have certainly walked through a ton of documentation and mailing list suggestions. But I haven't seen reference to this specific error, nor have I found a way around it yet. I'll report back to the list if I find something. Any tips would be greatly appreciated. PS - I'm not sure what PAYGATE is, but the wizard added it and I thought it best to leave it alone. From: interchange-users at interchange.redhat.com (Steve Graham) Date: Tue Dec 11 16:57:00 2001 Subject: [ic] User Defined Tag? Hello, Using IC 4.8.3 I need a macro or something, not sure what it is called, to replace the following code with a one or two line call. I can probably use the User Define Tag, but am not a Perl programmer (yet). Didn't know if I had another choice. Many of my custom pages will use this same code with the exception of the price.group match (eg. "CALWB"), which will be different on each page. Hope this makes sense. <table border="1" width="100%"> <tr> <td align=center>Example Image</td> <td align=center>Description</td> <td align=center> Single Unit Price </td> </tr> [query sql="select * from products,pricing where products.sku = pricing.sku AND pricing.price_group='CALWB' ORDER BY products.description" type=list] [list] <tr> <td align=center> [page [sql-code]]<IMG SRC="thumb/[sql-param thumb]" border=0><br>sku# [sql-code]<br><font size=1>Click for more Info</font></a></td> <td align=center>[sql-param description]</td> <td align=center>[sql-price]</td> </tr> [/list] [/query] </table> Thanks, Steve _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 11 17:05:01 2001 Subject: [ic] Current state of XLS import/export My client is pulling their hair out about the import export of XLS spreadsheets. They would like to keep all their data in a spreadsheet and be able to pull from Interchange and push to Interchange seamlessly. This doesn't appear to be happening. I am running 4.8.1 on a Redhat 7.1 server. My questions: Will moving to 4.8.3 help? Where does it put the files? (I type in c:\temp\products.xls and it doesn't end up there at all) Thanks, Patrick From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Tue Dec 11 17:12:01 2001 Subject: [ic] User Defined Tag? On Tue, Dec 11, 2001 at 09:45:17PM +0000, Steve Graham wrote: > > I need a macro or something, not sure what it is called, to replace the > following code with a one or two line call. I can probably use the User > Define Tag, but am not a Perl programmer (yet). Didn't know if I had another > choice. > > Many of my custom pages will use this same code with the exception of the > price.group match (eg. "CALWB"), which will be different on each page. Hope > this makes sense. > Try putting this in a file called thing.tag in your usertag directory, then restart interchange (if you want to call it something else other than thing, just change the references to 'thing'), then in your page, just put: [thing CALWB] for example... Check the UserTag documentation for more detail on how this works --------- cut here ----------- UserTag thing Order price_group UserTag thing Interpolate 1 UserTag thing addAttr UserTag thing Routine <<EOR sub { return <<"END"; <table border="1" width="100%"> <tr> <td align=center>Example Image</td> <td align=center>Description</td> <td align=center> Single Unit Price </td> </tr> [query sql="select * from products,pricing where products.sku = pricing.sku AND pricing.price_group='$opt->{price_group}' ORDER BY products.description" type=list] [list] <tr> <td align=center> [page [sql-code]]<IMG SRC="thumb/[sql-param thumb]" border=0><br>sku# [sql-code]<br><font size=1>Click for more Info</font></a></td> <td align=center>[sql-param description]</td> <td align=center>[sql-price]</td> </tr> [/list] [/query] </table> END } EOR --------- cut here ----------- -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Dec 11 17:17:00 2001 Subject: [ic] User Defined Tag? "Steve Graham" <dtlgc@hotmail.com> writes: > Hello, > > Using IC 4.8.3 > > I need a macro or something, not sure what it is called, to replace the > following code with a one or two line call. I can probably use the User > Define Tag, but am not a Perl programmer (yet). Didn't know if I had another > choice. > > > Many of my custom pages will use this same code with the exception of the > price.group match (eg. "CALWB"), which will be different on each page. Hope > this makes sense. Define a variable in your configuration, e.g. Variable WHATEVER <<EOV ... your code here ... EOV where you replace CALWB by [scratch pgmatch] and on your page: [set pgmatch]CALWB[/set] __WHATEVER__ Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Tue Dec 11 17:25:00 2001 Subject: [ic] User Defined Tag? On Tue, Dec 11, 2001 at 04:12:12PM -0600, Jason Kohles wrote: > Oops, my cut-and-past runs amok... > --------- cut here ----------- > UserTag thing Order price_group > UserTag thing Interpolate 1 > UserTag thing addAttr > UserTag thing Routine <<EOR > sub { Right after the sub should be the line: my($price_group,$opt) = @_; -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (John Beima) Date: Tue Dec 11 17:49:01 2001 Subject: [ic] Unknown charge type: authorizenet Two small errors acount... Well you are at the first and you would shortly discover the second... You forgot the variable: AUTHNET_MODE custom authorizenet Then you need to leave AUTHNET_REFERER blank and don't configure any URLs in your AuthorizeNet Tools Area... That should be it and you up and running... John Beima Quoting "Patrick J. Walsh" <pwalsh@dyna-q.com>: > I really hate to start a new authorizenet thread, so let me > apologize in > advance for that. > > We're using IC 4.8.2, RH 6.2, Perl 5.6.1 with Crypt::SSLeay and > LWP::UserAgent properly installed. interchange.cfg has the appropriate > 'Require module Vend::Payment::AuthorizeNet' in it and interchange has > been > HUP'ed. > > Even so, our test authorizenet transactions are failing. The error > log > gives this error: "Unknown charge type: authorizenet" > > (We've adapted the Foundation demo for our uses and as such the > order > routes and such are the default for the foundation demo.) > > Here are the vars you are likely interested in: > > MV_PAYMENT_MODE authorizenet > MV_DEMO_MODE 1 > AUTHNET_ID <id> > AUTHNET_REFERER <referer> > AUTHNET_SECRET <pass> > AUTHNET_SERVER secure.authorize.net > ORDER_ROUTES log main copy_user > PAYGATE authorize > > This is on a hosted machine, so I can't enable debugging in > interchange.cfg. Does anyone know what the likely cause of this error > might > be? I have certainly walked through a ton of documentation and mailing > list > suggestions. But I haven't seen reference to this specific error, nor > have > I found a way around it yet. > > I'll report back to the list if I find something. Any tips would be > greatly appreciated. > > PS - I'm not sure what PAYGATE is, but the wizard added it and I thought > it > best to leave it alone. > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Tue Dec 11 18:23:01 2001 Subject: [ic] How to calculate multiple Tax of any items? Hi list, I was not able to find a right answer in IC mail archiv! I've different kind of items with different value of tax. How can I calculate the salestax, if I've 1) products.txt with sku, title, description, price, tax, etc. 2) the price is gross and not net 3) some items has 16% tax and some has 7% 4) if the field "tax" is empty, 16% will be used as default for tax calculation 5) shipping cost is taxable too ? What i want is sku title price 1 beer 10,00 EUR (with 16% tax = 1,60 EUR) 2 water 10,00 EUR (with 7% tax = 0,70 EUR) subtotal = 20,00 EUR shipping = 5,00 EUR (with 16% tax = 0,80 EUR) total = 25,00 EUR total incl. salestax = 3,10 EUR Any ideas? Any helps, suggestions and tips are very welcome! Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (csc_seminar) Date: Tue Dec 11 19:28:01 2001 Subject: [ic] Invitation for seminar. Ïðèãëàøåíèå íà ñåìèíàð Ïðåäñòàâèòåëüñòâî Êîìïàíèè Capital Standard Corporation ïðèãëàøàåò Âàñ ïðèíÿòü ó÷àñòèå â îäíîäíåâíûõ êîíñóëüòàöèîííûõ ñåìèíàðàõ-ïðàêòèêóìàõ äëÿ ýôôåêòèâíîãî è áûñòðîãî ïîâûøåíèÿ êâàëèôèêàöèè ñîòðóäíèêîâ Âàøåé êîìïàíèè Îäíîäíåâíûé êîíñóëüòàöèîííûé ñåìèíàð-ïðàêòèêóì «Áèðæåâàÿ òîðãîâëÿ íà ìåæäóíàðîäíûõ ôèíàíñîâûõ ðûíêàõ. Ïðàêòè÷åñêèå àñïåêòû» Äàòà ïðîâåäåíèÿ: 19 äåêàáðÿ 2001 ãîäà Âðåìÿ ïðîâåäåíèÿ ñåìèíàðà: 9.30-17.30 Ìåñòî ïðîâåäåíèÿ: Èíñòèòóò ìåæäóíàðîäíûõ îòíîøåíèé  ïðîãðàììå ñåìèíàðà: 1. Ñïåêóëÿöèè - êàê ñïîñîá ïðèóìíîæåíèÿ êàïèòàëà: - ×àñòíûå èíâåñòîðû - Êîðïîðàòèâíûå è äðóãèå ó÷àñòíèêè ðûíêà - Ñóììà, äîñòàòî÷íàÿ äëÿ ðàáîòû 2. Èíñòðóìåíòû ìèðîâûõ òîâàðíûõ è ôèíàíñîâûõ ðûíêîâ: - FOREX - ìåæäóíàðîäíûé ðûíîê îáìåíà âàëþò - Ôüþ÷åðñíûå è îïöèîííûå êîíòðàêòû 3. Òåõíîëîãèÿ è ìåõàíèçì áèðæåâûõ è âíåáèðæåâûõ îïåðàöèé: - Çàêîíîäàòåëüíàÿ áàçà, ïðàâèëà è ïðàêòèêà àìåðèêàíñêîé ìîäåëè òîðãîâëè - Âàëþòíûé ðûíîê «spot» - Áèðæåâûå òîðãîâûå ñèñòåìû - Êîìïüþòåðíûå òîðãîâûå ñèñòåìû - Èíôîðìàöèîííûå ñèñòåìû è êîìïüþòåðíûå òåõíîëîãèè ïî îáåñïå÷åíèþ äèëèíãîâûõ îïåðàöèé 4. Êàê «äîòÿíóòüñÿ» äî ðûíêà: - Áðîêåðñêàÿ êîìïàíèÿ - Ïðèíöèïàë (ìàðêåò-ìåéêåð) - Òîðãîâûé ñ÷¸ò - Ìàðæà - Êðåäèòíîå ïëå÷î - Ñîâåðøåíèå ñäåëêè - Ïëþñû è ìèíóñû "èíòåðíåò-òîðãîâëè" - Ïðèáûëüíîñòü îïåðàöèé 5. Ïðîãíîçèðîâàíèå ðûíî÷íûõ òåíäåíöèé: - Òåõíè÷åñêèé àíàëèç - Ôóíäàìåíòàëüíûé àíàëèç - Ïðîôåññèîíàëüíûå êîìïüþòåðíûå ñèñòåìû è ïðîãðàììíîå îáåñïå÷åíèå, èñïîëüçóåìîå â ðàáîòå äèëåðîâ Ñòîèìîñòü ó÷àñòèÿ â ñåìèíàðå: 440 ãðèâåí Äëÿ âòîðîãî è òðåòüåãî ó÷àñòíèêà îò îäíîé êîìïàíèè ñêèäêà – 10%.  ñòîèìîñòü âêëþ÷åíû: îáó÷åíèå è êîíñóëüòàöèè íà ñåìèíàðå, îáåä, êîôå-áðåéêè. Ýêñêëþçèâíûé àëüáîì ìàòåðèàëîâ «Áèðæåâàÿ òîðãîâëÿ íà ìåæäóíàðîäíûõ ôèíàíñîâûõ ðûíêàõ. Ïðàêòè÷åñêèå àñïåêòû», ïîäãîòîâëåííîãî ýêñïåðòàìè ñïåöèàëüíî äëÿ ó÷àñòíèêîâ ñ ó÷¸òîì âñåõ ïîñëåäíèõ èçìåíåíèé è äîïîëíåíèé. Îäíîäíåâíûé êîíñóëüòàöèîííûé ñåìèíàð-ïðàêòèêóì: «Òàìîæåííîå ðåãóëèðîâàíèå âíåøíåýêîíîìè÷åñêîé äåÿòåëüíîñòè» Äàòà ïðîâåäåíèÿ: 21 äåêàáðÿ 2001 ãîäà Âðåìÿ ïðîâåäåíèÿ ñåìèíàðà: 9.30-17.30 Ìåñòî ïðîâåäåíèÿ: Êîíôåðåíö-çàë ãîñòèíèöû «Ñàíêò-Ïåòåðáóðã» Â ïðîãðàììå ñåìèíàðà: Îñîáåííîñòè òàìîæåííîãî çàêîíîäàòåëüñòâà â ñôåðå âíåøíåýêîíîìè÷åñêîé äåÿòåëüíîñòè. Çàêîí Óêðàèíû «Î Òàìîæåííîì òàðèôå Óêðàèíû» îò 5.04.2001 ¹ 2371-²²². Èçìåíåíèÿ è äîïîëíåíèÿ â Çàêîí Óêðàèíû ïî ñîñòîÿíèþ íà 1.12.01. Óêðàèíñêàÿ òîâàðíàÿ íîìåíêëàòóðà âíåøíåýêîíîìè÷åñêîé äåÿòåëüíîñòè. Îñîáåííîñòè òàìîæåííîãî îôîðìëåíèÿ â ðàìêàõ ñîãëàøåíèé î ñâîáîäíîé òîðãîâëå. Ïåðñïåêòèâà ðàçâèòèÿ çîíû ñâîáîäíîé òîðãîâëè. Íîâûå ïðàâèëà ñòðàíû ïðîèñõîæäåíèÿ òîâàðîâ. Ïîðÿäîê ïðèìåíåíèÿ ñåðòèôèêàòîâ CT-1, EUR 1,2. Âîïðîñû êëàññèôèêàöèè òîâàðîâ. Îáçîð íîðìàòèâíûõ äîêóìåíòîâ ÃÒÑÓ ïî âîïðîñàì òàðèôíîãî ðåãóëèðîâàíèÿ ïî ñîñòîÿíèþ íà 1.12.01. Îñîáåííîñòè çàïîëíåíèÿ ÃÒÄ ïðè ðàçëè÷íûõ òàìîæåííûõ ðåæèìàõ. Ëèçèíãîâûå êîíòðàêòû, âðåìåííûé ââîç òîâàðà. Îôîðìëåíèå ÃÒÄ ïî âíåøíåýêîíîìè÷åñêèì äîãîâîðàì ñ ó÷àñòèåì áîëåå äâóõ ñòîðîí. Êðèòåðèè îïðåäåëåíèÿ òàìîæåííûìè îðãàíàìè Óêðàèíû «ãðóïï ðèñêà» (âíåøíåýêîíîìè÷åñêèå îïåðàöèè, êîòîðûå òðåáóþò äåòàëüíîé ïðîâåðêè íà çàêîííîñòü ñäåëêè). Óñòàíîâëåíèå ôàêòîâ òàìîæåííûõ ïðàâîíàðóøåíèé, êëàññèôèêàöèÿ è ïðîöåññóàëüíîå îôîðìëåíèå ôàêòîâ ïðàâîíàðóøåíèé, ñàíêöèè, ïðåäóñìîòðåííûå çàêîíîäàòåëüñòâîì, ïîñëåäñòâèÿ âîçìîæíûå äëÿ ñóáúåêòîâ ÂÝÄ. Ïðàâîâûå îñíîâû äëÿ îñóùåñòâëåíèÿ ìåæäóíàðîäíîé àäìèíèñòðàòèâíîé ïîìîùè â òàìîæåííûõ çîíàõ (ó÷àñòèå Óêðàèíû â ìåæäóíàðîäíûõ êîíâåíöèÿõ ïî òàìîæåííûì âîïðîñàì, äâóõ- è ìíîãîñòîðîííèå ìåæãîñóäàðñòâåííûå äîãîâîðà). Ïîðÿäîê ðåàëèçàöèè êîíâåíöèé, ñîãëàøåíèé, î âçàèìíîé àäìèíèñòðàòèâíîé ïîìîùè â òàìîæåííûõ âîïðîñàõ. Ñòîèìîñòü ó÷àñòèÿ â ñåìèíàðå 570 ãðèâåí Äëÿ âòîðîãî è òðåòüåãî ó÷àñòíèêà îò îäíîé ôèðìû ñêèäêà – 10%.  ñòîèìîñòü âêëþ÷åíû: îáó÷åíèå è êîíñóëüòàöèè íà ñåìèíàðå, îáåä, êîôå-áðåéêè. Ýêñêëþçèâíûé àëüáîì ìàòåðèàëîâ «Òàìîæåííîå ðåãóëèðîâàíèå âíåøíåýêîíîìè÷åñêîé äåÿòåëüíîñòè», ïîäãîòîâëåííîãî ýêñïåðòàìè ñïåöèàëüíî äëÿ ó÷àñòíèêîâ ñ ó÷¸òîì âñåõ ïîñëåäíèõ èçìåíåíèé è äîïîëíåíèé Íàøà êîìïàíèÿ ïðåäëàãàåò òàêóþ óñëóãó êàê ïðîâåäåíèå èíäèâèäóàëüíûõ êîíñóëüòàöèîííûõ ñåìèíàðîâ ïî âûáðàííîé Âàìè òåìàòèêå ó Âàñ â îôèñå. Äëÿ ó÷àñòèÿ â ñåìèíàðå íåîáõîäèìî çàðåãèñòðèðîâàòüñÿ ïî íàøèì òåëåôîíàì è ïîäòâåðäèòü ñâîå ó÷àñòèå îïëàòîé (044) 494 46 58, E-mail: csc_seminar@cscorp.com.ua Ìû ïðèíîñèì ñâîè èçâèíåíèÿ, åñëè ïîäîáíàÿ ðàññûëêà Âàì íå èíòåðåñíà. Óäàëèòü ñâîé àäðåñ èç ñïèñêà ïîäïèñ÷èêîâ Âû ìîæåòå, îòîñëàâ ïèñüìî ïî àäðåñó unsubscribe_sem@cscorp.com.ua From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Tue Dec 11 20:37:00 2001 Subject: [ic] Unknown charge type: authorizenet > From: "John Beima" <jbeima@palb.com> > ... > Two small errors acount... Well you are at the first and you would shortly > discover the second... > > You forgot the variable: > > AUTHNET_MODE custom authorizenet > > Then you need to leave AUTHNET_REFERER blank and don't configure > any URLs in your AuthorizeNet Tools Area... John, Thank you for your response. I removed all of the URL's from our Authorize.Net account and adjusted the two variables you mentioned: AUTHNET_MODE custom authorizenet AUTHNET_REFERER <blank> but, alas, I still get the "Unknown charge type: authorizenet" error in the error log and the more generic "Charge operation 'authorizenet' failed." error on the checkout page. Any other ideas? ..Patrick > Quoting "Patrick J. Walsh" <pwalsh@dyna-q.com>: > > > I really hate to start a new authorizenet thread, so let me > > apologize in > > advance for that. > > > > We're using IC 4.8.2, RH 6.2, Perl 5.6.1 with Crypt::SSLeay and > > LWP::UserAgent properly installed. interchange.cfg has the appropriate > > 'Require module Vend::Payment::AuthorizeNet' in it and interchange has > > been > > HUP'ed. > > > > Even so, our test authorizenet transactions are failing. The error > > log > > gives this error: "Unknown charge type: authorizenet" > > > > (We've adapted the Foundation demo for our uses and as such the > > order > > routes and such are the default for the foundation demo.) > > > > Here are the vars you are likely interested in: > > > > MV_PAYMENT_MODE authorizenet > > MV_DEMO_MODE 1 > > AUTHNET_ID <id> > > AUTHNET_REFERER <referer> > > AUTHNET_SECRET <pass> > > AUTHNET_SERVER secure.authorize.net > > ORDER_ROUTES log main copy_user > > PAYGATE authorize > > > > This is on a hosted machine, so I can't enable debugging in > > interchange.cfg. Does anyone know what the likely cause of this error > > might > > be? I have certainly walked through a ton of documentation and mailing > > list > > suggestions. But I haven't seen reference to this specific error, nor > > have > > I found a way around it yet. > > > > I'll report back to the list if I find something. Any tips would be > > greatly appreciated. > > > > PS - I'm not sure what PAYGATE is, but the wizard added it and I thought > > it > > best to leave it alone. > > From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Dec 11 20:52:01 2001 Subject: [ic] How to calculate multiple Tax of any items? Quoting Joachim Leidinger (jojo@blackpoint.de): > Hi list, > > I was not able to find a right answer in IC mail archiv! > I've different kind of items with different value of tax. > How can I calculate the salestax, if I've > > 1) products.txt with sku, title, description, price, tax, etc. > 2) the price is gross and not net > 3) some items has 16% tax and some has 7% > 4) if the field "tax" is empty, 16% will be used as default for tax > calculation > 5) shipping cost is taxable too > > ? > What i want is > > sku title price > 1 beer 10,00 EUR (with 16% tax = 1,60 EUR) > 2 water 10,00 EUR (with 7% tax = 0,70 EUR) > subtotal = 20,00 EUR > shipping = 5,00 EUR (with 16% tax = 0,80 EUR) > total = 25,00 EUR > total incl. salestax = 3,10 EUR > > Any ideas? > Any helps, suggestions and tips are very welcome! > Search the mail archive for "tax_category" and my name. I posted something which is perfect for this. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Friends don't let friends use Outlook. -- Bob Blaylock From: interchange-users at interchange.redhat.com (Steven Potter) Date: Tue Dec 11 20:58:01 2001 Subject: [ic] checkout.html Ed LaFrance wrote: > At 01:21 AM 12/11/2001 -0600, you wrote: > >> I'm in the process of creating a multi-page checkout and I am slowly >> weeding my way through the checkout.html. There a a few lines that I >> don't understand in there. If anyone could point me in the right >> direction or explain them, it would be much appreciated. >> >> I have run into is these lines: >> <INPUT TYPE=hidden NAME=mv_order_route >> VALUE="[either]__ORDER_ROUTES__[or]log main copy_user[/either]"> >> <INPUT TYPE=HIDDEN NAME=mv_check VALUE="Save_database"> >> >> [if session logged_in] >> [set Save_database] >> [if cgi mv_todo ne submit] >> [calc] Log("Saving userdb in mv_check.")[/calc] >> [userdb save] >> [/if] >> [/set] >> [/if] >> >> I can't seem to find much information in the docs on order route and >> as for the rest of it, I'm just at a loss... >> >> >> Thanks >> >> Steven Potter > > > Steven - > > What IC version are you using? I recently culled the long-missing docs > on Order Routing, CommonAdjust and other subjects, and put them in a new > document (ic_ecommerce) in the IC document repository. Some day (I > hope) they will update the online docs at the dev site with this, but my > understanding is that you should find it in the doc directory in your > copy of the 4.8.3 distribution. > > - Ed L. > > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > Well, I read through that document, but I was unable to find much on these subjects.... Anywho... as I was reading through the ic_ecommerce I noticed that you had a reference to: Advanced Multi-level Order Pages. I have been unable to find that reference, could you please point me in the direction. Thanks Steven Potter From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 11 21:35:01 2001 Subject: [ic] checkout.html On Tue, Dec 11, 2001 at 08:00:35PM -0600, Steven Potter wrote: > >>I'm in the process of creating a multi-page checkout and I am slowly > >>weeding my way through the checkout.html. There a a few lines that I > >>don't understand in there. If anyone could point me in the right > >>direction or explain them, it would be much appreciated. ... > > Well, I read through that document, but I was unable to find much on > these subjects.... Anywho... as I was reading through the ic_ecommerce > I noticed that you had a reference to: Advanced Multi-level Order Pages. > I have been unable to find that reference, could you please point me > in the direction. /var/mvdocs-4.03/docindex/13.07.Advanced_Multi_level_Order_Pages.html ^^^^^^^^^^^ Have you looked yet at the other demo stores, particularly in older versions? They will probably work at basic level. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Steve Graham) Date: Tue Dec 11 23:46:01 2001 Subject: [ic] User Defined Tag? Thanks - that is exactly what I needed. -Steve >From: Jason Kohles <jkohles@redhat.com> >Reply-To: interchange-users@interchange.redhat.com >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] User Defined Tag? >Date: Tue, 11 Dec 2001 16:12:12 -0600 > >On Tue, Dec 11, 2001 at 09:45:17PM +0000, Steve Graham wrote: > > > > I need a macro or something, not sure what it is called, to replace the > > following code with a one or two line call. I can probably use the User > > Define Tag, but am not a Perl programmer (yet). Didn't know if I had >another > > choice. > > > > Many of my custom pages will use this same code with the exception of >the > > price.group match (eg. "CALWB"), which will be different on each page. >Hope > > this makes sense. > > >Try putting this in a file called thing.tag in your usertag directory, then >restart interchange (if you want to call it something else other than >thing, >just change the references to 'thing'), then in your page, just put: >[thing CALWB] for example... Check the UserTag documentation for more >detail >on how this works > >--------- cut here ----------- >UserTag thing Order price_group >UserTag thing Interpolate 1 >UserTag thing addAttr >UserTag thing Routine <<EOR >sub { >return <<"END"; > ><table border="1" width="100%"> ><tr> ><td align=center>Example Image</td> ><td align=center>Description</td> ><td align=center> Single Unit Price </td> ></tr> > >[query sql="select * from products,pricing where products.sku = pricing.sku >AND pricing.price_group='$opt->{price_group}' ORDER BY >products.description" >type=list] >[list] ><tr> ><td align=center> >[page [sql-code]]<IMG SRC="thumb/[sql-param thumb]" border=0><br>sku# >[sql-code]<br><font size=1>Click for more Info</font></a></td> ><td align=center>[sql-param description]</td> ><td align=center>[sql-price]</td> ></tr> >[/list] >[/query] ></table> >END >} >EOR >--------- cut here ----------- > >-- >Jason Kohles jkohles@redhat.com >Senior System Architect (703)786-8036 (cellular) >Red Hat Professional Consulting (703)456-2940 (office) >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com From: interchange-users at interchange.redhat.com (Steve Graham) Date: Tue Dec 11 23:49:14 2001 Subject: [ic] User Defined Tag? Thanks - I'll take a look at that. -Steve >From: racke@linuxia.de (Stefan Hornburg (Racke)) >Reply-To: interchange-users@interchange.redhat.com >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] User Defined Tag? >Date: 11 Dec 2001 23:16:17 +0100 > >"Steve Graham" <dtlgc@hotmail.com> writes: > > > Hello, > > > > Using IC 4.8.3 > > > > I need a macro or something, not sure what it is called, to replace the > > following code with a one or two line call. I can probably use the User > > Define Tag, but am not a Perl programmer (yet). Didn't know if I had >another > > choice. > > > > > > Many of my custom pages will use this same code with the exception of >the > > price.group match (eg. "CALWB"), which will be different on each page. >Hope > > this makes sense. > >Define a variable in your configuration, e.g. > >Variable WHATEVER <<EOV >... your code here ... >EOV > >where you replace CALWB by [scratch pgmatch] > >and on your page: > >[set pgmatch]CALWB[/set] >__WHATEVER__ > >Ciao > Racke > >-- >Die Erde bleibt keine Scheibe. --- The earth remains no disk. > >For projects and other business stuff please refer to COBOLT NetServices >(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From: interchange-users at interchange.redhat.com (Nathaniel Scott) Date: Tue Dec 11 23:59:01 2001 Subject: [ic] Problem with file/photo uploads in admin interface [this may be a duplicate post, if so, sorry] I'm having a problem with the admin photo/file uploads. I've searched the archives and found a couple people that have had this problem, but no solution was posted. Here's what happens: On any of the various sites we're hosting that use interchange, none of them permit us to upload files via the admin interface. Sometimes it looks like the file has been uploaded, but the file size is set to zero bytes. Other times interchange gives an error "permission denied -- are you sure you're logged in?" This happens no matter what directory I try to upload to. We started with Interchange 4.77 running on our Raq4i, with perl 5.005. We've been running very successfully for 4 months now, short of this problem -- as we've manage the sites ourselves, we just ftp the files and get over it. Obviously the first place I looked for a solution was the version of Perl that we're running. We cannot upgrade the base perl without breaking the Cobalt admin pages, so I did a parallel install into the /home/local-perl directory with perl 5.6.1. I then downloaded the bundle::interchange and ran that until it was up to date. I then recompiled interchange pointing to the new Perl. After ironing out a few bugs, interchange was up and running (and it even seemed a tad faster). I've tried a new catalog, changing the permissions on the various directories, all are owned to interch, etc. I also installed interchange onto our local development system, a Red Hat 7.2 linux box. It runs perfectly, with no errors uploading. I then compared perl modules that are installed on the Red Hat box and installed any that were "missing" on the Raq's new Perl. Short of a few modules that I couldn't find on CPAN (or didn't know the parent modules) they're identical. The interchange hosted sites have the cgi-wrapper disabled and is pointing to the normal cgi scripter via the httpd.conf file. I've been upgrading the Interchange with every release, and have been very, very impressed with it. I've been lurking on the list for a while now, and find it very informative. However, I'm banging my head on this one. As always happens, we now have two more clients that want a store front with the upload capability, and my boss said "sure -- no problem" ::sigh:: A week later and those numerous (and other) attempts later I'm turning to the list. Any pointers on what direction I might head with this? Any suggestions would be very welcome. Thanks, Nathaniel Scott The Cyber Image www.thecyberimage.com From: interchange-users at interchange.redhat.com (John Beima) Date: Wed Dec 12 00:35:00 2001 Subject: [ic] Unknown charge type: authorizenet Try setting Demo Mode to 0.... It maybe causing you some indirect grief as well... After that I woudl have to look closer at your setup... Now Interchange is at least talking to the module... Before it wasn't... John Quoting "Patrick J. Walsh" <pwalsh@dyna-q.com>: > > From: "John Beima" <jbeima@palb.com> > > ... > > Two small errors acount... Well you are at the first and you would > shortly > > discover the second... > > > > You forgot the variable: > > > > AUTHNET_MODE custom authorizenet > > > > Then you need to leave AUTHNET_REFERER blank and don't configure > > any URLs in your AuthorizeNet Tools Area... > > John, > > Thank you for your response. I removed all of the URL's from our > Authorize.Net account and adjusted the two variables you mentioned: > > AUTHNET_MODE custom authorizenet > AUTHNET_REFERER <blank> > > but, alas, I still get the "Unknown charge type: authorizenet" error > in > the error log and the more generic "Charge operation 'authorizenet' > failed." > error on the checkout page. > > Any other ideas? > > ..Patrick > > > > Quoting "Patrick J. Walsh" <pwalsh@dyna-q.com>: > > > > > I really hate to start a new authorizenet thread, so let me > > > apologize in > > > advance for that. > > > > > > We're using IC 4.8.2, RH 6.2, Perl 5.6.1 with Crypt::SSLeay and > > > LWP::UserAgent properly installed. interchange.cfg has the > appropriate > > > 'Require module Vend::Payment::AuthorizeNet' in it and interchange > has > > > been > > > HUP'ed. > > > > > > Even so, our test authorizenet transactions are failing. The > error > > > log > > > gives this error: "Unknown charge type: authorizenet" > > > > > > (We've adapted the Foundation demo for our uses and as such the > > > order > > > routes and such are the default for the foundation demo.) > > > > > > Here are the vars you are likely interested in: > > > > > > MV_PAYMENT_MODE authorizenet > > > MV_DEMO_MODE 1 > > > AUTHNET_ID <id> > > > AUTHNET_REFERER <referer> > > > AUTHNET_SECRET <pass> > > > AUTHNET_SERVER secure.authorize.net > > > ORDER_ROUTES log main copy_user > > > PAYGATE authorize > > > > > > This is on a hosted machine, so I can't enable debugging in > > > interchange.cfg. Does anyone know what the likely cause of this > error > > > might > > > be? I have certainly walked through a ton of documentation and > mailing > > > list > > > suggestions. But I haven't seen reference to this specific error, > nor > > > have > > > I found a way around it yet. > > > > > > I'll report back to the list if I find something. Any tips > would be > > > greatly appreciated. > > > > > > PS - I'm not sure what PAYGATE is, but the wizard added it and I > thought > > > it > > > best to leave it alone. > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (John Beima) Date: Wed Dec 12 00:38:00 2001 Subject: [ic] Unknown charge type: authorizenet G'Day Patrick, Also make sure the that the MV_PAYMENT variables are set like this: MV_PAYMENT_ID Payment MV_PAYMENT_MODE authorizenet Payment MV_PAYMENT_REFERER Payment MV_PAYMENT_SECRET Payment MV_PAYMENT_SERVER Payment If you have data in them, it will give you grief... Make sure the other ones are blank... John Quoting "Patrick J. Walsh" <pwalsh@dyna-q.com>: > > From: "John Beima" <jbeima@palb.com> > > ... > > Two small errors acount... Well you are at the first and you would > shortly > > discover the second... > > > > You forgot the variable: > > > > AUTHNET_MODE custom authorizenet > > > > Then you need to leave AUTHNET_REFERER blank and don't configure > > any URLs in your AuthorizeNet Tools Area... > > John, > > Thank you for your response. I removed all of the URL's from our > Authorize.Net account and adjusted the two variables you mentioned: > > AUTHNET_MODE custom authorizenet > AUTHNET_REFERER <blank> > > but, alas, I still get the "Unknown charge type: authorizenet" error > in > the error log and the more generic "Charge operation 'authorizenet' > failed." > error on the checkout page. > > Any other ideas? > > ..Patrick > > > > Quoting "Patrick J. Walsh" <pwalsh@dyna-q.com>: > > > > > I really hate to start a new authorizenet thread, so let me > > > apologize in > > > advance for that. > > > > > > We're using IC 4.8.2, RH 6.2, Perl 5.6.1 with Crypt::SSLeay and > > > LWP::UserAgent properly installed. interchange.cfg has the > appropriate > > > 'Require module Vend::Payment::AuthorizeNet' in it and interchange > has > > > been > > > HUP'ed. > > > > > > Even so, our test authorizenet transactions are failing. The > error > > > log > > > gives this error: "Unknown charge type: authorizenet" > > > > > > (We've adapted the Foundation demo for our uses and as such the > > > order > > > routes and such are the default for the foundation demo.) > > > > > > Here are the vars you are likely interested in: > > > > > > MV_PAYMENT_MODE authorizenet > > > MV_DEMO_MODE 1 > > > AUTHNET_ID <id> > > > AUTHNET_REFERER <referer> > > > AUTHNET_SECRET <pass> > > > AUTHNET_SERVER secure.authorize.net > > > ORDER_ROUTES log main copy_user > > > PAYGATE authorize > > > > > > This is on a hosted machine, so I can't enable debugging in > > > interchange.cfg. Does anyone know what the likely cause of this > error > > > might > > > be? I have certainly walked through a ton of documentation and > mailing > > > list > > > suggestions. But I haven't seen reference to this specific error, > nor > > > have > > > I found a way around it yet. > > > > > > I'll report back to the list if I find something. Any tips > would be > > > greatly appreciated. > > > > > > PS - I'm not sure what PAYGATE is, but the wizard added it and I > thought > > > it > > > best to leave it alone. > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (Erik Kendel) Date: Wed Dec 12 03:14:01 2001 Subject: [ic] Re: German currency / dezimal=zero problem Erik Kendel wrote: > > Ok. I use this in my testlocales.html : > ------------------------------------ > The locale is [scratch mv_locale] and the price is <FONT COLOR="RED"><br> > Test field: [data table="products" field="price" key="00687514"]<BR> > [seti testmyprice][data table="products" field="price" > key="00687514"][/seti]<br> > [currency][scratch testmyprice][/currency]<BR> > ----------------------------------- > > My catalog.cfg: > Locale de_DE mon_decimal_point . > Locale de_DE mon_thousands_sep " " > Locale de_DE currency_symbol " DM" > Locale de_DE ps_cs_precedes 1 > Locale de_DE frac_digits 2 > Locale de_DE PriceCommas 1 > > !No other locale is set! What is in your products/locale.txt ??? > The result is: > ------------------------------------ > The locale is de_DE and the price is > Test field: 58.85 >Try it with >Test field: ([data table="products" field="price" key="00687514"])<BR> There are no whitespaces It looks like this: >to see, if there are a whitespace in the field. For example "58.85 " or >so! > 58.00 DM > > That's my problem. I searched the whole catalog for other > configurations without any results. The database (mysql) > seems to be ok. Where's the error? Have you a working demo shop? If yes, can you change the locale in this demo shop to de_DE and try it? Don't forget to look into products/locale.txt! Hmmm...did you edit all your stuff with an editor under WIN? Are there any wrong line ending code from WIN in your file, if you edit your stuff with WIN? Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Erik Kendel) Date: Wed Dec 12 03:18:00 2001 Subject: [ic] Re: German currency / dezimal=zero problem Erik Kendel wrote: > > Ok. I use this in my testlocales.html : > ------------------------------------ > The locale is [scratch mv_locale] and the price is <FONT COLOR="RED"><br> > Test field: [data table="products" field="price" key="00687514"]<BR> > [seti testmyprice][data table="products" field="price" > key="00687514"][/seti]<br> > [currency][scratch testmyprice][/currency]<BR> > ----------------------------------- > > My catalog.cfg: > Locale de_DE mon_decimal_point . > Locale de_DE mon_thousands_sep " " > Locale de_DE currency_symbol " DM" > Locale de_DE ps_cs_precedes 1 > Locale de_DE frac_digits 2 > Locale de_DE PriceCommas 1 > > !No other locale is set! What is in your products/locale.txt ??? This: code en_US de_DE fr_FR frac_digits 2 2 2 April April Avril currency_symbol $ DM FF decimal_point . . . p_cs_precedes 1 0 1 mon_thousands_sep , . August August Aout February Februar F&eacute;vrier July Juli Juillet mon_decimal_point . . , mon_thousand_sep ProductFiles products December Dezember D&eacute;cembre May Mai Mai p_sep_by_space 1 1 October October Octobre products de_products produits default 0 1 0 PriceDivide 1 1 1 September September Septembre January Januar Janvier November November Novembre June Juni Juin March M&auml;rz Mars price_picture ### ### ###.## DM ~ But I don't use the LocaleDatabase tag! > The result is: > ------------------------------------ > The locale is de_DE and the price is > Test field: 58.85 >Try it with >Test field: ([data table="products" field="price" key="00687514"])<BR> There are no whitespaces It looks like this: The locale is and the price is Test field: (58.85) 58.00 DM >to see, if there are a whitespace in the field. For example "58.85 " or >so! > 58.00 DM > > That's my problem. I searched the whole catalog for other > configurations without any results. The database (mysql) > seems to be ok. Where's the error? Have you a working demo shop? If yes, can you change the locale in this demo shop to de_DE and try it? Don't forget to look into products/locale.txt! I've exactly three shops running with this problem! Hmmm...did you edit all your stuff with an editor under WIN? Are there any wrong line ending code from WIN in your file, if you edit your stuff with WIN? Sometimes I use ultraedit and do my uploads in ascii mode. But in most cases I use vi! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jim Webster) Date: Wed Dec 12 03:22:01 2001 Subject: [ic] Card Processing w/ a catch. Anyone know a card processing company that supports automatic re-billing per month that will work with IC? Need to charge customers $xx.xx per month until they cancel their account. Jim Webster From: interchange-users at interchange.redhat.com (info) Date: Wed Dec 12 03:50:01 2001 Subject: [ic] Upgrade to 4.8.3 problem Hi, I still have the following problem: When I tried to start the IC server I get the following output: [localhost:local/interchange/bin] gv% interchange -r The Interchange server was not running (/usr/local/interchange/etc/interchange.pid). Low traffic settings. Segmentation fault I searched the mailing list archive and tried the hints about segmentation fault but nothing helps. I think it is a perl problem. So before I format my harddisk an install OS X 10.1.1 again, I just want to know: Is there anybody out there using IC 4.8.3 on a Mac with OS X 10.1.1 and Perl 5.6.1 ? Thanks for any help. Goetz Verdieck From: interchange-users at interchange.redhat.com (Greg Reimche) Date: Wed Dec 12 05:57:00 2001 Subject: [ic] unsubscribe ? How do i unsubscribe ? From: interchange-users at interchange.redhat.com (Rick Dickulous) Date: Wed Dec 12 08:07:01 2001 Subject: [ic] Problem with file/photo uploads in admin interface Hey that happens to me too! When I create a new item there are a couple of file upload objects on the form for the image and thumbnail but they never work. I just FTP my images into the proper directories first and then enter their names only into the file upload fields. It works but it would be nice if I could upload the images directly using the form. On Tue, 11 December 2001, "Nathaniel Scott" wrote: > > [this may be a duplicate post, if so, sorry] > > I'm having a problem with the admin photo/file uploads. I've searched the > archives and found a couple people that have had this problem, but no > solution was posted. > > Here's what happens: > > On any of the various sites we're hosting that use interchange, none of them > permit us to upload files via the admin interface. Sometimes it looks like > the file has been uploaded, but the file size is set to zero bytes. Other > times interchange gives an error "permission denied -- are you sure you're > logged in?" This happens no matter what directory I try to upload to. > > We started with Interchange 4.77 running on our Raq4i, with perl 5.005. > We've been running very successfully for 4 months now, short of this > problem -- as we've manage the sites ourselves, we just ftp the files and > get over it. > > Obviously the first place I looked for a solution was the version of Perl > that we're running. We cannot upgrade the base perl without breaking the > Cobalt admin pages, so I did a parallel install into the /home/local-perl > directory with perl 5.6.1. I then downloaded the bundle::interchange and > ran that until it was up to date. I then recompiled interchange pointing to > the new Perl. After ironing out a few bugs, interchange was up and running > (and it even seemed a tad faster). > > I've tried a new catalog, changing the permissions on the various > directories, all are owned to interch, etc. I also installed interchange > onto our local development system, a Red Hat 7.2 linux box. It runs > perfectly, with no errors uploading. I then compared perl modules that are > installed on the Red Hat box and installed any that were "missing" on the > Raq's new Perl. Short of a few modules that I couldn't find on CPAN (or > didn't know the parent modules) they're identical. > > The interchange hosted sites have the cgi-wrapper disabled and is pointing > to the normal cgi scripter via the httpd.conf file. > > I've been upgrading the Interchange with every release, and have been very, > very impressed with it. I've been lurking on the list for a while now, and > find it very informative. However, I'm banging my head on this one. As > always happens, we now have two more clients that want a store front with > the upload capability, and my boss said "sure -- no problem" > > ::sigh:: > > A week later and those numerous (and other) attempts later I'm turning to > the list. Any pointers on what direction I might head with this? > > Any suggestions would be very welcome. > > Thanks, > > Nathaniel Scott > The Cyber Image > www.thecyberimage.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users Find the best deals on the web at AltaVista Shopping! http://www.shopping.altavista.com From: interchange-users at interchange.redhat.com (Nathan Olmscheid) Date: Wed Dec 12 08:22:01 2001 Subject: [ic] Re: unsubscribe ? request@interchange.redhat.com?subject=unsubscribe Greg Reimche writes: > > How do i unsubscribe ? > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- NAMI Solutions Nathan D. Olmscheid Co-Owner - Phone: 612-237-9646 e-mail: nathan@namisolutions.com From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Dec 12 08:44:01 2001 Subject: [ic] Card Processing w/ a catch. On Wed, 12 Dec 2001, Jim Webster wrote: JW>>Anyone know a card processing company that supports automatic re-billing per JW>>month that will work with IC? JW>> JW>>Need to charge customers $xx.xx per month until they cancel their account. The version of CyberCash (ICVerify) that I have supports this. You set them up in the installments section. But, each month you have to go in and tell it to run them all. It's just a matter of clicking a couple of buttons at that point. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, December 12, 2001 at 08:45 AM: Youthful figure: What you get when asking a woman's age. ---------------------------------------------------------------- This Linux System has been up 401 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Dec 12 09:05:00 2001 Subject: [ic] Card Processing w/ a catch. On Wed, Dec 12, 2001 at 12:23:36AM -0800, Jim Webster wrote: > Anyone know a card processing company that supports automatic re-billing per > month that will work with IC? > > Need to charge customers $xx.xx per month until they cancel their account. Cancel with you or with the cc company <yuck yuck> I'm not sure what you mean about the "work with ic" part. If ic is going to initiate the periodic charge, they need do nothing and vs. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Wed Dec 12 12:49:01 2001 Subject: [ic] User Defined Tag? In perl its called a subroutine. And that's essentially what the usertags and global subs are. Steve Graham wrote: > > Hello, > > Using IC 4.8.3 > > I need a macro or something, not sure what it is called, to replace > the following code with a one or two line call. I can probably use the > User Define Tag, but am not a Perl programmer (yet). Didn't know if I > had another choice. > > Many of my custom pages will use this same code with the exception of > the price.group match (eg. "CALWB"), which will be different on each > page. Hope this makes sense. > > > <table border="1" width="100%"> > <tr> > <td align=center>Example Image</td> > <td align=center>Description</td> > <td align=center> Single Unit Price </td> > </tr> > > [query sql="select * from products,pricing where products.sku = > pricing.sku AND pricing.price_group='CALWB' ORDER BY products.description" > type=list] > [list] > <tr> > <td align=center> > [page [sql-code]]<IMG SRC="thumb/[sql-param thumb]" border=0><br>sku# > [sql-code]<br><font size=1>Click for more Info</font></a></td> > <td align=center>[sql-param description]</td> > <td align=center>[sql-price]</td> > </tr> > [/list] > [/query] > </table> > > Thanks, > Steve > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > . > From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Wed Dec 12 13:45:00 2001 Subject: [ic] Unknown charge type: authorizenet John, Thank you for your generous responses. I again made all of your suggested changes and continued to hit the "unknown charge type" brick wall. So I downloaded the code and picked through it. That error comes up specifically when the "Require Vend::..." line in interchange.cfg has problems or is missing. As it turns out, when I asked my hosting provider to add that line and restart Interchange, they added it and restarted interchange by sending it a HUP signal. Somethink like: `kill -s HUP 01234` Apparently, however, the HUP signal does not cause Interchange to reread its configuration files (?). When I asked my provider to run the `.../bin/interchange -restart` command, the error disappeared. Once everything is working (hopefully gpg will go smoothly) I may come back and write a FAQ with all of your info combined with the other stuff I pulled together. Thanks again for the help. ..Patrick ----- Original Message ----- From: "John Beima" <jbeima@palb.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, December 11, 2001 9:37 PM Subject: Re: [ic] Unknown charge type: authorizenet > G'Day Patrick, > > Also make sure the that the MV_PAYMENT variables are set like this: > > MV_PAYMENT_ID Payment > MV_PAYMENT_MODE authorizenet Payment > MV_PAYMENT_REFERER Payment > MV_PAYMENT_SECRET Payment > MV_PAYMENT_SERVER Payment > > If you have data in them, it will give you grief... Make sure the other ones are > blank... > > John > > > Quoting "Patrick J. Walsh" <pwalsh@dyna-q.com>: > > > > From: "John Beima" <jbeima@palb.com> > > > ... > > > Two small errors acount... Well you are at the first and you would > > shortly > > > discover the second... > > > > > > You forgot the variable: > > > > > > AUTHNET_MODE custom authorizenet > > > > > > Then you need to leave AUTHNET_REFERER blank and don't configure > > > any URLs in your AuthorizeNet Tools Area... > > > > John, > > > > Thank you for your response. I removed all of the URL's from our > > Authorize.Net account and adjusted the two variables you mentioned: > > > > AUTHNET_MODE custom authorizenet > > AUTHNET_REFERER <blank> > > > > but, alas, I still get the "Unknown charge type: authorizenet" error > > in > > the error log and the more generic "Charge operation 'authorizenet' > > failed." > > error on the checkout page. > > > > Any other ideas? > > > > ..Patrick > > > > > > > Quoting "Patrick J. Walsh" <pwalsh@dyna-q.com>: > > > > > > > I really hate to start a new authorizenet thread, so let me > > > > apologize in > > > > advance for that. > > > > > > > > We're using IC 4.8.2, RH 6.2, Perl 5.6.1 with Crypt::SSLeay and > > > > LWP::UserAgent properly installed. interchange.cfg has the > > appropriate > > > > 'Require module Vend::Payment::AuthorizeNet' in it and interchange > > has > > > > been > > > > HUP'ed. > > > > > > > > Even so, our test authorizenet transactions are failing. The > > error > > > > log > > > > gives this error: "Unknown charge type: authorizenet" > > > > > > > > (We've adapted the Foundation demo for our uses and as such the > > > > order > > > > routes and such are the default for the foundation demo.) > > > > > > > > Here are the vars you are likely interested in: > > > > > > > > MV_PAYMENT_MODE authorizenet > > > > MV_DEMO_MODE 1 > > > > AUTHNET_ID <id> > > > > AUTHNET_REFERER <referer> > > > > AUTHNET_SECRET <pass> > > > > AUTHNET_SERVER secure.authorize.net > > > > ORDER_ROUTES log main copy_user > > > > PAYGATE authorize > > > > > > > > This is on a hosted machine, so I can't enable debugging in > > > > interchange.cfg. Does anyone know what the likely cause of this > > error > > > > might > > > > be? I have certainly walked through a ton of documentation and > > mailing > > > > list > > > > suggestions. But I haven't seen reference to this specific error, > > nor > > > > have > > > > I found a way around it yet. > > > > > > > > I'll report back to the list if I find something. Any tips > > would be > > > > greatly appreciated. > > > > > > > > PS - I'm not sure what PAYGATE is, but the wizard added it and I > > thought > > > > it > > > > best to leave it alone. > > > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > John Beima > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (John D. Gorena) Date: Wed Dec 12 13:48:01 2001 Subject: [ic] Raq4i and Interchange Help Needed HELP - PLEASE! Yes, I am begging. I have a Cobalt Raq4i and I want to install and use Interchange for many of my virtual domains. Each domain owner needs to control their own catalog. I have tried repeatedly to install and run it but I think that the instructions are not verbose enough for me. I need somebody who has Interchange working on their Raq4 for several of their domains to please help - HELP PLEASE! (yes, I am begging again). I would like to call you and get this help over the phone or by IRC Chat or something. I am sure that I am doing something wrong but I do not know what it is. If you are willing to help, please contact me so that I can get with you: via IRC chat or by phone Thanks, -- John D. Gorena Gorena@JMG-Enterprises.com PC and Internet Marketing Consultant http://www.JMG-Enterprises.com Office: 972-315-0496 Fax: 972-315-3104 From: interchange-users at interchange.redhat.com (Jay Flaherty) Date: Wed Dec 12 14:37:00 2001 Subject: [ic] Performance of mysql versus postgressql > Message: 12 > From: "Mike Clark" <mclark7@triad.rr.com> > To: <interchange-users@interchange.redhat.com> > Subject: Re: [ic] Performance of mysql versus postgressql > Date: Tue, 11 Dec 2001 14:54:33 -0500 > Reply-To: interchange-users@interchange.redhat.com > Also be aware that Postgres' strength lies in scalability as you load your > server. MySQL is quite likely to be faster under single-user or light loads. I beg to differ. mySQL is quite likely to be faster under all conditions. We run mySQL on a dozen databases anywhere from 1,000 records up to 2.5M records and anywhere from 10 to 100's of transactions per second. All on the same machine and daemon. Most of these run from various web servers with no effect on page loads. Postgres' strength lies in being a "Object-Relational DBMS, supporting almost all SQL constructs, including subselects, transactions, and user-defined types and functions.". Because of this it is not as lean and mean as mySQL is. Check out: http://www.mysql.com/information/benchmark-results/result-mysql,pg.html From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Dec 12 14:45:00 2001 Subject: [ic] Performance of mysql versus postgressql > > Message: 12 > > From: "Mike Clark" <mclark7@triad.rr.com> > > To: <interchange-users@interchange.redhat.com> > > Subject: Re: [ic] Performance of mysql versus postgressql > > Date: Tue, 11 Dec 2001 14:54:33 -0500 > > Reply-To: interchange-users@interchange.redhat.com > > > Also be aware that Postgres' strength lies in scalability > as you load > your > > server. MySQL is quite likely to be faster under > single-user or light > loads. > > I beg to differ. mySQL is quite likely to be faster under all > conditions. We run mySQL on a dozen databases anywhere from 1,000 > records up to 2.5M records and anywhere from 10 to 100's of > transactions > per second. All on the same machine and daemon. Most of these run from > various web servers with no effect on page loads. Postgres' strength > lies in being a "Object-Relational DBMS, supporting almost all SQL > constructs, including subselects, transactions, and user-defined types > and functions.". Because of this it is not as lean and mean > as mySQL is. > Check out: > http://www.mysql.com/information/benchmark-results/result-mysql,pg.html I'm sure it wont be long before we have Monty on the list again. If anyone really wants to get into the PgSQL vs. MySQL flamewar again, how about you just look it up in the archives and re-read it to satisfy your need. :-) Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Wed Dec 12 14:50:01 2001 Subject: [ic] Performance of mysql versus postgressql On Wed, Dec 12, 2001 at 02:31:58PM -0500, Jay Flaherty wrote: > I beg to differ. mySQL is quite likely to be faster under all > conditions. We run mySQL on a dozen databases anywhere from 1,000 > records up to 2.5M records and anywhere from 10 to 100's of transactions > per second. All on the same machine and daemon. Most of these run from > various web servers with no effect on page loads. Postgres' strength > lies in being a "Object-Relational DBMS, supporting almost all SQL > constructs, including subselects, transactions, and user-defined types > and functions.". Because of this it is not as lean and mean as mySQL is. > Check out: > http://www.mysql.com/information/benchmark-results/result-mysql,pg.html > I'd have to agree with that, I've done MySQL databases in excess of 200 million rows, and it outperformed everything else I tried it on. If you need things like subselects and transactions, postgres is the way to go, but I'd pick MySQL for sheer performance every time. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Wed Dec 12 15:36:01 2001 Subject: [ic] Upgrade to 4.8.3 problem I have OSX 10.1.1. I have IC, but just haven't installed it. But I'm curious about this. I'm going to install and see what I get. I'll let you know. info wrote: >Hi, > >I still have the following problem: > >When I tried to start the IC server I get the following output: > >[localhost:local/interchange/bin] gv% interchange -r >The Interchange server was not running >(/usr/local/interchange/etc/interchange.pid). >Low traffic settings. >Segmentation fault > > >I searched the mailing list archive and >tried the hints about segmentation fault but nothing helps. >I think it is a perl problem. > >So before I format my harddisk an install OS X 10.1.1 again, >I just want to know: >Is there anybody out there using IC 4.8.3 on a Mac with OS X 10.1.1 and Perl >5.6.1 ? > > > >Thanks for any help. > >Goetz Verdieck > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > >. > From: interchange-users at interchange.redhat.com (Mike Clark) Date: Wed Dec 12 16:19:01 2001 Subject: [ic] Performance of mysql versus postgressql Check out these links: http://www.phpbuilder.com/columns/tim20001112.php3 http://www.phpbuilder.com/columns/tim20000705.php3 They might be a little more unbiased since they aren't published by either of the product providers. The best part is that the author does a good job of pointing out the pros and cons of each db. Mike C. ----- Original Message ----- From: "Jay Flaherty" <fty@mediapulse.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, December 12, 2001 2:31 PM Subject: Re: [ic] Performance of mysql versus postgressql > > Message: 12 > > From: "Mike Clark" <mclark7@triad.rr.com> > > To: <interchange-users@interchange.redhat.com> > > Subject: Re: [ic] Performance of mysql versus postgressql > > Date: Tue, 11 Dec 2001 14:54:33 -0500 > > Reply-To: interchange-users@interchange.redhat.com > > > Also be aware that Postgres' strength lies in scalability as you load > your > > server. MySQL is quite likely to be faster under single-user or light > loads. > > I beg to differ. mySQL is quite likely to be faster under all > conditions. We run mySQL on a dozen databases anywhere from 1,000 > records up to 2.5M records and anywhere from 10 to 100's of transactions > per second. All on the same machine and daemon. Most of these run from > various web servers with no effect on page loads. Postgres' strength > lies in being a "Object-Relational DBMS, supporting almost all SQL > constructs, including subselects, transactions, and user-defined types > and functions.". Because of this it is not as lean and mean as mySQL is. > Check out: > http://www.mysql.com/information/benchmark-results/result-mysql,pg.html > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (JFearn) Date: Wed Dec 12 22:05:01 2001 Subject: [ic] Performance of mysql versus postgressql This link is also useful: http://www.phpbuilder.com/columns/smith20010821.php3 Jeff. > Check out these links: > > http://www.phpbuilder.com/columns/tim20001112.php3 > http://www.phpbuilder.com/columns/tim20000705.php3 > > They might be a little more unbiased since they aren't published by either > of the product providers. The best part is that the author does a good job > of pointing out the pros and cons of each db. > > > Mike C. > > > > Also be aware that Postgres' strength lies in scalability as you load > > your > > > server. MySQL is quite likely to be faster under single-user or light > > loads. > > > > I beg to differ. mySQL is quite likely to be faster under all > > conditions. We run mySQL on a dozen databases anywhere from 1,000 > > records up to 2.5M records and anywhere from 10 to 100's of transactions > > per second. All on the same machine and daemon. Most of these run from > > various web servers with no effect on page loads. Postgres' strength > > lies in being a "Object-Relational DBMS, supporting almost all SQL > > constructs, including subselects, transactions, and user-defined types > > and functions.". Because of this it is not as lean and mean as mySQL is. > > Check out: > > http://www.mysql.com/information/benchmark-results/result-mysql,pg.html > > From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Thu Dec 13 04:09:01 2001 Subject: [ic] 4.8.3 crashing - no one helps - will have to switch tosomething with real support > Hi everyone, > > For some time, ever since we installed 4.8.2, we've been having problems > with Interchange crashing. Seems like users did something on the > admin interface that would cause Interchange to crash. It was related > to vend.pm. > > Today, we installed 4.8.3, seeing that it fixed a problem with that module. > However, just a few minutes ago, it crashed again reporting the following > error: > > 66.169.86.239 - - [06/December/2001:10:31:23 -0500] - > /cgi-bin/shopedu/admin/login CGI mapping error: Undefined catalog: > /cgi-bin/shopedu at /usr/sbin/interchange/lib/Vend/Server.pm line 182. > > The catalog, of course, is there and works ok. A simple restart fixes > everything > Some more information would be useful at this point: 1) Which Perl version are you using? 2) Which OS and version of that OS? 3) Hardware information (memory size etc.) 4) Is there anything you can do to encourage it to crash? Perhaps it mostly happens when you reconfig the catalogue, or whatever. 5) Are you using the PreFork server mode or not (or don't know). 6) Actual error messages would be nice, rather than "it was related to the (non-existent) vend.pm, but I didn't think it was worth writing down", or words to that effect. I can't speak for others here, but my mindreading skills are not what they once were, so for a speedier recovery, or at least an outside chance of "real support", I think it would be best if you could point out any other information you think may be of some help in the diagnosis. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Thu Dec 13 05:12:01 2001 Subject: [ic] How to calculate multiple Tax of any items? Mike Heins wrote: ... > > How can I calculate the salestax, if I've > > > > 1) products.txt with sku, title, description, price, tax, etc. > > 2) the price is gross and not net > > 3) some items has 16% tax and some has 7% > > 4) if the field "tax" is empty, 16% will be used as default for tax > > calculation > > 5) shipping cost is taxable too > > > > ? > > What i want is > > > > sku title price > > 1 beer 10,00 EUR (with 16% tax = 1,60 EUR) > > 2 water 10,00 EUR (with 7% tax = 0,70 EUR) > > subtotal = 20,00 EUR > > shipping = 5,00 EUR (with 16% tax = 0,80 EUR) > > total = 25,00 EUR > > total incl. salestax = 3,10 EUR > > > > Any ideas? > > Any helps, suggestions and tips are very welcome! > > > > Search the mail archive for "tax_category" and my name. I posted > something which is perfect for this. Thank you! But it solves not all. I'm writing a new UserTag to calculate any kind of tax or vat for each items and shipping and I use a flag in my usertag for both kind of price (gross or net). I need some more tip. How can I set the salestax and shipping in my usertag like [assign shipping=123 salestax=456] ? Is this tag_assign(shipping=$mynewshipping, salestax=$mynewtax-or-vat); the right code? I use some Variables in my catalog.cfg to set - the price mode (gross or net) - the name of the taxfield - the shippingprice mode (gross or net) - the default taxrate for a fallback and use my own usertag with success. But it is not ready, because it is correct for only one products file. How can I use the Variable ProductFiles? Can I use for(@{$Vend::Cfg->{ProductFiles}}) { ...} in my UserTag? Thank you! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Michael Widenius) Date: Thu Dec 13 10:55:01 2001 Subject: [ic] Performance of mysql versus postgressql (fwd) Hi! >>>>> Mike Clark <mclark7@triad.rr.com> wrote: Mike> Check out these links: Mike> http://www.phpbuilder.com/columns/tim20001112.php3 Mike> http://www.phpbuilder.com/columns/tim20000705.php3 Mike> They might be a little more unbiased since they aren't published by either Mike> of the product providers. The best part is that the author does a good job Mike> of pointing out the pros and cons of each db. The above benchmark has been debated over and over again :( Sorry to say, but they author did a very bad job when conducting the benchmarks and one can't relay on the results of them, either for MySQL or for PostgreSQL. Tim Perdue also refused to give us enough information so that we could try to repeat the benchmarks. He also did not publish enough information about the system on which he conducted them. Everything indicates that Tim did run the benchmark on a Linux computer with a a broken thread library. Here is a paper I wrote about this topic a while ago. --------- Tim Perdue, a long time PostgreSQL fan and a reluctant MySQL user published a comparison on PHPbuilder http://www.phpbuilder.com/columns/tim20001112.php3) When we became aware of the comparison, we phoned Tim Perdue about this because there were a lot of strange things in his results. For example, he claimed that MySQL had a problem with five users in his tests, when we know that there are users with similar machines as his that are using MySQL with 2000 simultaneous connections doing 400 queries per second. (In this case the limit was the web bandwidth, not the database.) It sounded like he was using a Linux kernel that either had some problems with many threads, such as kernels before 2.4, which had a problem with many threads on multi-CPU machines. We have documented in this manual how to fix this and Tim should be aware of this problem. The other possible problem could have been an old glibc library and that Tim didn't use a MySQL binary from our site, which is linked with a corrected glibc library, but had compiled a version of his own with. In any of the above cases, the symptom would have been exactly what Tim had measured. We asked Tim if we could get access to his data so that we could repeat the benchmark and if he could check the MySQL version on the machine to find out what was wrong and he promised to come back to us about this. He has not done that yet. Because of this we can't put any trust in this benchmark either :( ------- Anyway, it's trivial to write a simple benchmark that just test one aspect of the database and prove that *ANY* database is the fastest. To put an end on this question we here at MySQL AB employed a team of 3 persons to work full time in creating an open source suite of single user and multi user benchmarks that anyone can use to benchmark any benchmark. We hope to have something to show within a few weeks... To ensure that no one can call these benchmark biased we are going to encourage database developers to add new extensions to the benchmark suite and suggest new things we should test. By testing *ALL* different aspects of the different database this will produce an accurate view of the strength and weaknesses of all tested databases. Regards, Monty From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Thu Dec 13 11:04:01 2001 Subject: [ic] nested if else (PS thanks Patrick) Hi guys, Thanks for all the help with the multiple columns on results.html. I used Patricks because some of the other used perl and I am not that familiar with it yet. After tinkering with Paricks though I was able to get 3 columns to display. Man I learned alot yeaterday, I even figured out how to filter my results using the NEGATE tag stacked. Soon, I am gonna be able to answer YOUR questions ! hehe, maybe not :) Yesterday, I ran into something that has been bothering me. In the docs it says you can't nest if-else statements. Is this true? I have done it, actually in several locations in IC. The fact that it works might just mean it works on my machine. you know? Basically I have somehting to the effect of: [if scratch column == 2] [then] [set column]0[/set] </tr> <tr> [/then] [else] [if scratch column == 1] [set column]2[/set] [else] [set column]1[/set] [/else] [/if] [/else] [/if] Should this work? or is this unreliable? (the "if-else" inside the else tag). I might give that table-organize tag a go. But as I said, I have done this elswhere. should I not? I am using IC 4.8.1 Thanks again guys Paul jordan From: interchange-users at interchange.redhat.com (none) Date: Thu Dec 13 11:24:00 2001 Subject: [ic] diacritical signs and search.. Hello all. I think I have a problem. I'm using IC 4.6.5, MySQL 3.23.4-alpha, perl 5.005_03. there are troubles when I search within database using diacritical signs in search query. For example for query 'z&#322;oty' the result will be like "Cannot find 'z\&#322;oty'" (&#322; means letter "l" with diacritical dash, but not a row of symbols &,#,3,... both in query and result). or simply: 'zloty' - 'z\loty'. Maybe anybody has solved this problem already? or this is a question for Interchange Internationalization group? and I cannot change IC to newest version cause some reasons. thanx. -- best regards, none mailto:none@wildgroup.com.by From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Dec 13 12:09:01 2001 Subject: [ic] diacritical signs and search.. none <none@wildgroup.com.by> writes: > Hello all. > > I think I have a problem. I'm using IC 4.6.5, MySQL 3.23.4-alpha, perl > 5.005_03. there are troubles when I search within database using > diacritical signs in search query. For example for query 'z&#322;oty' > the result will be like "Cannot find 'z\&#322;oty'" (&#322; means > letter "l" with diacritical dash, but not a row of symbols &,#,3,... > both in query and result). or simply: 'zloty' - 'z\loty'. Maybe > anybody has solved this problem already? or this is a question for > Interchange Internationalization group? Yes, it is. But: how are they stored in the database ? Cioa Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Tim Watts) Date: Thu Dec 13 12:18:01 2001 Subject: [ic] "Page Not Found" error (ic 4.6.5) Hi everyone! Using ic 4.6.5 on a shared server. Using default db. Constantly get a generic "Page Not Found" error when submitting any form. It is intermittent and seems to be most often if customer is using IE on a PC. I never get the errors using IE, AOL or NS on a Mac. One customer that is also a programmer, suggested that sql could cause the error, but we are using the default db. Has anyone else had this problem, and a solution? Willing to pay is someone can solve this!!! Please contact me off-list if willing to consult. Thanks, Tim tim@romans1013.net From: interchange-users at interchange.redhat.com (Rodney Wallin) Date: Thu Dec 13 12:32:00 2001 Subject: [ic] Setting Values and using Pay Pal BRIEF: Wanting to be able to set a variable depending on what is selected so that I can then show information based on that variable. DETAIL: On the results of the search I have the option if someone wants to use their credit card and proceed to add the item to the IC Cart or if they would perfer to use Pay Pal and place the item in the Pal Pal Cart. This was not a problem to set up. What i want to do now is limit the possibility for the end user to place an item in both carts. I want to be able to show both options initially then after they place an item in a cart it sets a variable that I can check to only show that cart option from that moment on. i.e. if they choose pay pal cart initially then from that point on that is all they can choose. of course I would want to clear this variable at the end of the session. CODE: Here's the current code I am using without setting variables. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <table border="0" width="100%"> <tr> <td width="37%"> <center><b><font face="Arial" size="1">USE CREDIT CARD</font></b><input type="submit" value="Buy it Now!"></center> </td> <td width="63%"> <center><b><font face="Arial" size="1">USE PAY PAL</font></b><br><a href="#" onclick="window.open('https://www.paypal.com/cart/add=1&business=paypal%40yo uraccounthere.com&item_name=[item-description]-[item-field title]&item_number=[item-code]&amount=[item-price]','cartwin','width=600,hei ght=400,scrollbars,location,resizable,status');"><img src="http://images.paypal.com/images/sc-but-01.gif" border="0" width="70" height="35"></a></center> </td> </tr> </table> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This actually works quite well to pass the info into the Pay Pal Cart. Any help would be appreciated or if there are other options out there using Pay Pal. Thanks in advance Rodney From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Dec 13 12:42:01 2001 Subject: [ic] "Page Not Found" error (ic 4.6.5) Tim Watts <interchange@Romans1013.net> writes: > Hi everyone! > > Using ic 4.6.5 on a shared server. > Using default db. > > Constantly get a generic "Page Not Found" error when submitting any form. > It is intermittent and seems to be most often if customer is using IE on a > PC. I never get the errors using IE, AOL or NS on a Mac. Are these pages on the secure server and IE < 6 ? Than you have to adapt your web server to cope with IE SSL breakages. See the FAQ. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Dec 13 12:56:00 2001 Subject: [ic] "Page Not Found" error (ic 4.6.5) On Thu, Dec 13, 2001 at 12:15:36PM -0500, Tim Watts wrote: > Hi everyone! > > Using ic 4.6.5 on a shared server. > Using default db. > > Constantly get a generic "Page Not Found" error when submitting any form. > It is intermittent and seems to be most often if customer is using IE on a > PC. I never get the errors using IE, AOL or NS on a Mac. > > One customer that is also a programmer, suggested that sql could cause the > error, but we are using the default db. Has anyone else had this problem, > and a solution? > > Willing to pay is someone can solve this!!! > > Please contact me off-list if willing to consult. What is the url when you get Page not found? I'll bet there are spaces or unencoded strings in the form somewhere. Are you good enough with perl to hack the tlink.pl code to log the entire request? cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Tim Watts) Date: Thu Dec 13 13:04:00 2001 Subject: [ic] "Page Not Found" error (ic 4.6.5) on 12/13/01 12:41 PM, Stefan Hornburg Racke at racke@linuxia.de wrote: >> Using ic 4.6.5 on a shared server. >> Using default db. >> >> Constantly get a generic "Page Not Found" error when submitting any form. >> It is intermittent and seems to be most often if customer is using IE on a >> PC. I never get the errors using IE, AOL or NS on a Mac. > > Are these pages on the secure server yes >and IE < 6 ? no, IE 5 I have implemented the IE 6 fixes. Tim From: interchange-users at interchange.redhat.com (Tim Watts) Date: Thu Dec 13 13:23:00 2001 Subject: [ic] "Page Not Found" error (ic 4.6.5) on 12/13/01 12:55 PM, cfm@maine.com at cfm@maine.com wrote: > What is the url when you get Page not found? I'll bet there > are spaces or unencoded strings in the form somewhere. URL of catalog is: http://coast2coastmusic.com/cgi-bin/cart/ and the errors occur intermitently on various pages > > Are you good enough with perl to hack the tlink.pl code to log the > entire request? no Tim From: interchange-users at interchange.redhat.com (texas pimp) Date: Thu Dec 13 13:45:01 2001 Subject: [ic] Secure Server Help Hi Everyone, Iam new to ic and would apreciate your help Please? Iam working with 4.81 and my checkout page wont load because i changed the SECURE_SERVER from https://delatorrecorp.com/ to https://servb.webbserv.net/delatorrecorp.com/ and SERVER from delatorrecorp.com/ To https://servb.webbserv.net/delatorrecorp.com/ what did i do wrong and how do i correct it? ThankYou very much for taking time to read this e-mail. Bye, Dave __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com From: interchange-users at interchange.redhat.com (texas pimp) Date: Thu Dec 13 13:48:00 2001 Subject: [ic] Secure Server Help Hi Everyone, Iam new to ic and would apreciate your help Please? Iam working with 4.81 and my checkout page wont load because i changed the SECURE_ENABLE 1 General SECURE_SERVER from https://delatorrecorp.com/ to https://servb.webbserv.net/delatorrecorp.com/ and SERVER from delatorrecorp.com/ To https://servb.webbserv.net/delatorrecorp.com/ what did i do wrong and how do i correct it? ThankYou very much for taking time to read this e-mail. Bye, Dave __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Dec 13 14:53:00 2001 Subject: [ic] MySQL to Oracle Hello everyone, We are in the process of upgrading our Interchange configuration to include Oracle instead of MySQL. I was looking at the dbconfig files in each directory and noticed some differences between the datatypes. We have several custom table that will need to be converted. It there any documentation on the dataType mapping between the two database? Any thing else that I should be loooking for when swithching databases?? Thanks in Advance, Lonny From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Thu Dec 13 14:59:00 2001 Subject: [ic] "Page Not Found" error (ic 4.6.5) > and the errors occur intermitently on various pages I'm testing with Win2k and IE6, and I can't get any "Page not found" faults... Rene From: interchange-users at interchange.redhat.com (Steve Graham) Date: Thu Dec 13 15:16:01 2001 Subject: [ic] Performance of mysql versus postgressql (fwd) Hello, Speaking for myself, am glad I chose MySql, simply because of the extensive documentation on the website, and the for the odbc hookup for our current backend Microsoft database - Excellent job! -Steve >From: Michael Widenius <monty@mysql.com> >Reply-To: interchange-users@interchange.redhat.com >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] Performance of mysql versus postgressql (fwd) >Date: Thu, 13 Dec 2001 19:42:46 +0200 (EET) > > >Hi! > > >>>>> Mike Clark <mclark7@triad.rr.com> wrote: > >Mike> Check out these links: > >Mike> http://www.phpbuilder.com/columns/tim20001112.php3 >Mike> http://www.phpbuilder.com/columns/tim20000705.php3 > >Mike> They might be a little more unbiased since they aren't published by >either >Mike> of the product providers. The best part is that the author does a >good job >Mike> of pointing out the pros and cons of each db. > >The above benchmark has been debated over and over again :( >Sorry to say, but they author did a very bad job when conducting the >benchmarks and one can't relay on the results of them, either for >MySQL or for PostgreSQL. > >Tim Perdue also refused to give us enough information so that we could >try to repeat the benchmarks. He also did not publish enough >information about the system on which he conducted them. Everything >indicates that Tim did run the benchmark on a Linux computer with a a >broken thread library. > >Here is a paper I wrote about this topic a while ago. > >--------- > >Tim Perdue, a long time PostgreSQL fan and a reluctant MySQL user >published a comparison on PHPbuilder >http://www.phpbuilder.com/columns/tim20001112.php3) > >When we became aware of the comparison, we phoned Tim Perdue about this >because there were a lot of strange things in his results. For example, >he claimed that MySQL had a problem with five users in his tests, when we >know that there are users with similar machines as his that are using >MySQL with 2000 simultaneous connections doing 400 queries per second. >(In this case the limit was the web bandwidth, not the database.) > >It sounded like he was using a Linux kernel that either had some >problems with many threads, such as kernels before 2.4, which had a problem >with many threads on multi-CPU machines. We have documented in this manual >how to fix this and Tim should be aware of this problem. > >The other possible problem could have been an old glibc library and >that Tim didn't use a MySQL binary from our site, which is linked with >a corrected glibc library, but had compiled a version of his own with. >In any of the above cases, the symptom would have been exactly what Tim >had measured. > >We asked Tim if we could get access to his data so that we could repeat >the benchmark and if he could check the MySQL version on the machine to >find out what was wrong and he promised to come back to us about this. >He has not done that yet. > >Because of this we can't put any trust in this benchmark either :( > >------- > >Anyway, it's trivial to write a simple benchmark that just test one >aspect of the database and prove that *ANY* database is the fastest. > >To put an end on this question we here at MySQL AB employed a team of >3 persons to work full time in creating an open source suite of single >user and multi user benchmarks that anyone can use to benchmark any >benchmark. We hope to have something to show within a few weeks... > >To ensure that no one can call these benchmark biased we are going to >encourage database developers to add new extensions to the benchmark >suite and suggest new things we should test. By testing *ALL* >different aspects of the different database this will produce an >accurate view of the strength and weaknesses of all tested databases. > >Regards, >Monty >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. From: interchange-users at interchange.redhat.com (Steve Graham) Date: Thu Dec 13 15:21:01 2001 Subject: [ic] Secure Server Help I think I did this a couple up times during setup - you changed the location and can't access the admin page? You will have to edit the setup file manually and restart Interchange. I think the file is called variable. -Steve >From: texas pimp <texasballer2k@yahoo.com> >Reply-To: interchange-users@interchange.redhat.com >To: interchange-users@interchange.redhat.com >Subject: [ic] Secure Server Help >Date: Thu, 13 Dec 2001 10:44:24 -0800 (PST) > >Hi Everyone, Iam new to ic and would apreciate your >help Please? Iam working with 4.81 and my checkout >page wont load because i changed the >SECURE_SERVER from > https://delatorrecorp.com/ > to > https://servb.webbserv.net/delatorrecorp.com/ >and >SERVER from > delatorrecorp.com/ > To > https://servb.webbserv.net/delatorrecorp.com/ >what did i do wrong and how do i correct it? ThankYou >very much for taking time to read this e-mail. >Bye, >Dave > >__________________________________________________ >Do You Yahoo!? >Check out Yahoo! Shopping and Yahoo! Auctions for all of >your unique holiday gifts! Buy at http://shopping.yahoo.com >or bid at http://auctions.yahoo.com >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. From: interchange-users at interchange.redhat.com (Elmar Meusel) Date: Thu Dec 13 15:25:01 2001 Subject: [ic] truncate 'option selects' when using combo select with Hello, here's my problem: I have a products table with a column named "composers". The entries in this column are often comma-seperated names like "Mozart, W.A." or "Bach, J.S." (without the quotes). In the new-item form I want to use a combo select with a lookup on this column, but all presented entries of the "option selects" are truncated after the comma (value and display), so you can only select "Mozart" or "Bach". Is it possible to display the whole names including the commas within the option selcects? I've tried to set the database entries in quotes, but that didn't help. I looked in the mailling lists and the docs, but did not found any help... (maybe I'm too blind... :-)) I'm using Interchange 4.8.3 with MySQL 3.22.32 on Linux 2.2.14. Thanks a lot for your help... Elmar From: interchange-users at interchange.redhat.com (Brian Smedley) Date: Thu Dec 13 15:48:01 2001 Subject: [ic] Multiple results.html files Hi Everyone, I am trying to tweak my IC to provide maximum flexibility on how search results are being displayed. My goal right now is to create a couple different "results.html" that can be called up by the user. The user searches for something and then clicks on one of the alternative display buttons there and will get an entire different layout of results. I do hope that there is an easy way to do this, as of right now my knowledge of the deep workings of the search function is a little lacking. Thanks in advance, Cheers, </brian> --- Brian Smedley Website Manager Street Light Productions brian@street-light.com From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Thu Dec 13 16:01:00 2001 Subject: [ic] Raq4i and Interchange I have setup IC on many raq3/4/XTR's It's really not all that hard. the main thing to remember is in httpd.conf, add a line to the site entry that looks like this: (The reason you have to do this is that you can still control the operations of normal cgi's and .pl scripts through the admin interface (Using CGIWrap) ) AddType cgi-script .ic restart/reload the httpd server. Install the interchange-4.8.x.rpm Install the interchange-foundation-4.8.x.rpm Do NOT install the foundation demo rpm. The directories and paths are all wrong for the raq's You just have to create the initial demo manually, and since you installed the foundation rpm all you have to do is /usr/lib/interchange/bin/makecat Remember that when you create your foundation demo to name the cgi's with the .ic convention that you specified in httpd.conf For perl, specify a difference path for the install, and point interchange to that location. At 01:27 PM 12/10/01 -0700, you wrote: >I gave up putting interchange on a RAQ. Perl 5.0x is not easy to upgrade >on the RAQ4i - it broke my GUI when I tried. Since perl 5.6.1 is >necessary for interchange (Data::Dumper, etc), I decided to try >Interchange on a RedHat 7.1 box instead. > >Other problems you may have with the RAQ include TCP wrappers / suid >issues. Interchange needs to run as its own user, whereas the RAQ's >tcp_wrappers controls who runs scripts, etc. You may need to rename >interchange.cgi to interchange.int and change your configuration in >httpd.conf. > >I wish i could offer more positive input. I tried with both rpm and >tarball, to no avail. > >jim >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Dec 13 16:14:01 2001 Subject: [ic] Multiple results.html files Brian Smedley <brian@street-light.com> writes: > Hi Everyone, > > I am trying to tweak my IC to provide maximum flexibility on how search results are being displayed. My goal right now is to create a couple different "results.html" that can be called up by the user. The user searches for something and then clicks on one of the alternative display buttons there and will get an entire different layout of results. > > I do hope that there is an easy way to do this, as of right now my knowledge of the deep workings of the search function is a little lacking. Add sp=yourpage to your search or hidden field to your form: <input type=hidden name=mv_search_page value=yourpage> Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Thu Dec 13 16:23:01 2001 Subject: [ic] Multiple results.html files Brian Smedley wrote: > > Hi Everyone, > > I am trying to tweak my IC to provide maximum flexibility on how search results are being displayed. My goal right now is to create a couple different "results.html" that can be called up by the user. The user searches for something and then clicks on one of the alternative display buttons there and will get an entire different layout of results. > > I do hope that there is an easy way to do this, as of right now my knowledge of the deep workings of the search function is a little lacking. > > Thanks in advance, > > Cheers, Tell IC the name of the alternative display page with sp=myotherresults! Joachim Leidinger -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (chad townsend) Date: Thu Dec 13 16:34:00 2001 Subject: [ic] simple shipping question i have tried several ways to do this without any luck. i configure interchange shipping for weight and it seem to be working off quantity. in a nutshell: i have 20 products. for 19 product shipping is 2.00 flat for 1 it's 5.00 flat - no matter where it's shipped. i tried to fake it out with weight saying everything 1 pound is 2.00 and everything 100 pounds is 5.00 and set the items to the appropriate weight, it didn't work as expected. what is the correct way to do this? thanks for your time and help. ./chad& From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Dec 13 17:04:01 2001 Subject: [ic] truncate 'option selects' when using combo select with database lookup Quoting Elmar Meusel (elmar@schaf.de): > > Hello, > > here's my problem: I have a products table with a column named > "composers". The entries in this column are often comma-seperated > names like "Mozart, W.A." or "Bach, J.S." (without the quotes). In the > new-item form I want to use a combo select with a lookup on this > column, but all presented entries of the "option selects" are > truncated after the comma (value and display), so you can only select > "Mozart" or "Bach". > > Is it possible to display the whole names including the commas within > the option selcects? I've tried to set the database entries in quotes, > but that didn't help. I looked in the mailling lists and the docs, but > did not found any help... (maybe I'm too blind... :-)) > > I'm using Interchange 4.8.3 with MySQL 3.22.32 on Linux 2.2.14. > You would have to give an example of your option selects. If you are doing something like: [accessories type=select passed="[item-data products composers]"] then you are going to have a problem with something like Mozart, W.A., Bach, J.S. for there is nothing to differentiate things. But if you do: Mozart, W.A.;Bach, J.S. and [accessories type=select passed="[item-data products composers]" delimiter=";" ] that should work. Alternatively, but not as elegantly in my opinion, you could use the current setup and change the data to: Mozart&#44 W.A., Bach&#44 J.S. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> I don't want to get to the end of my life and find I have just lived the length of it. I want to have lived the width of it as well. -- Diane Ackerman From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Thu Dec 13 17:22:01 2001 Subject: [ic] How to calculate multiple Tax of any items? Joachim Leidinger wrote: > > > What i want is > > > > > > sku title price > > > 1 beer 10,00 EUR (with 16% tax = 1,60 EUR) > > > 2 water 10,00 EUR (with 7% tax = 0,70 EUR) > > > subtotal = 20,00 EUR > > > shipping = 5,00 EUR (with 16% tax = 0,80 EUR) > > > total = 25,00 EUR > > > total incl. salestax = 3,10 EUR > > > > > > Any ideas? > > > Any helps, suggestions and tips are very welcome! > > > > > > > Search the mail archive for "tax_category" and my name. I posted > > something which is perfect for this. Dear Mike, I apologize for my bad mental capability of perl to understand your usertag with tax_category. But I was able to write my own usertag. Please look at the codes below. It is not big. Did you see any possible problems with my usertag? If no, I will share the usertag compute_vat with you. You can use it and fit it for other german IC users like me, if you wish! Thanks! Joachim I've in my catalog.cfg --------- snip --------- ### # # for the UserTag compute_vat # ### # the name of the tax field in your products file Variable COMPUTE_VAT_VATFIELD tax # is you price net or gross? # or Net or net or Netto or netto, otherwise gross Variable COMPUTE_VAT_PRICEMODE gross # the name of your price field in your products file Variable COMPUTE_VAT_PRICEFIELD price # is your shipping net or gross? # or Net or net or Netto or netto, otherwise gross Variable COMPUTE_VAT_SHIPMODE gross # the default amount of your tax or vat for a fallback call, # if there are no any tax or vat in your tax field Variable COMPUTE_VAT_DEFAULT 16 --------- snip --------- and an UserTag --------- compute_vat.tag ---------- UserTag compute_vat Order debug UserTag compute_vat PosNumber 1 UserTag compute_vat Routine <<EOF sub { my ($debug) = @_; my $compute_shipping = 0; my $vatfield = $::Variable->{COMPUTE_VAT_VATFIELD}; my $pricemode = $::Variable->{COMPUTE_VAT_PRICEMODE}; my $pricefield = $::Variable->{COMPUTE_VAT_PRICEFIELD}; my $shipmode = $::Variable->{COMPUTE_VAT_SHIPMODE}; my $vat_default = $::Variable->{COMPUTE_VAT_DEFAULT}; # only for debug with [compute_vat 1] ! Without debug mode use [compute_vat] my $out = "vatfield = $vatfield <BR> pricemode = $pricemode <BR> pricefield = $pricefield <BR> shipmode = $shipmode <BR> vatdefault = $vat_default <BR>"; my $vat = 0; my $shippingvat = 0; my $vatdivide = 0; my $vatrate = 0; my $outprice = 0; my $subtotal = 0; my $compute_summvat = 0; my $compute_total_cost = 0; $::Values->{mv_handling} = ''; # get the value of the shipping $compute_shipping += shipping($::Values->{mv_shipmode}); foreach my $item (@$Vend::Items) { for(@{$Vend::Cfg->{ProductFiles}}) { unless ($Vend::Database{$_}) { die "$_ not a database, cannot use as products file\n"; } # only for debug $out .= "database = $_ <BR>"; $vatrate = tag_data($_, $vatfield, $item->{code}); $outprice = tag_data($_, $pricefield, $item->{code}); last if($outprice); } if (!$vatrate){$vatrate = ($vat_default || 16);} if ($pricemode =~ /N/ || $pricemode =~ /n/){ $vatdivide = $vatrate / 100; } else { $vatdivide = 1 / (100 + $vatrate) * $vatrate; } $vat += ($outprice * $item->{quantity}) * $vatdivide; $subtotal += $outprice * $item->{quantity}; } # you can use [scratch compute_vat_vat] for special case in your page # it is a sum of tax/vat of each items $Scratch->{'compute_vat_vat'} = $vat; if ($shipmode =~ /N/ || $shipmode =~ /n/){ # you can use [scratch compute_vat_shippin] for special case in your page # it is a tax/vat of the shipping $Scratch->{'compute__vat_shipping'} = $compute_shipping * $vat_default / 100; } else { $Scratch->{'compute_vat_shipping'} = $compute_shipping / (100 + $vat_default) * $vat_default; } # for some special case, you can use [scratch compute_vat_summvat] in your page # it is a sum of "tax/vat of shippin" and "tax/vat of items" $Scratch->{'compute_vat_summvat'} = $Scratch->{'compute_vat_shipping'} + $vat; if ($pricemode =~ /N/ || $pricemode =~ /n/){ # the price is net $::Values->{mv_handling} = 1; $Vend::Session->{assigned}{shipping} = $compute_shipping; $Vend::Session->{assigned}{salestax} = $Scratch->{'compute_vat_summvat'}; $compute_total_cost = $subtotal + $compute_shipping + $Scratch->{'compute_vat_summvat'}; } else { # the price is gross $::Values->{mv_handling} = 1; $Vend::Session->{assigned}{shipping} = $compute_shipping; $Vend::Session->{assigned}{salestax} = $Scratch->{'compute_vat_summvat'}; $compute_total_cost = $subtotal + $compute_shipping; } if($debug){ return "test( $debug ):<BR> $out <BR> subtotal = $subtotal <BR> shipping = $compute_shipping <BR> compute_vat_vat = $Scratch->{'compute_vat_vat'} <BR> compute_vat_shipping = $Scratch->{'compute_vat_shipping'} <BR> compute_vat_summvat = $Scratch->{'compute_vat_summvat'}<BR><BR>$compute_total_cost"; } else { return Vend::Util::currency($compute_total_cost);} } EOF --------- compute_vat.tag ---------- In my checkout, I've replaced the [total-cost] tag with [compute_vat] and I'm able to get the right tax/vat (sum of different tax of each items plus tax/vat of the shipping), shipping and salestax. I'm able to use it with prices, who are net or gross. -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Dec 13 18:03:01 2001 Subject: [ic] 4.8.3 crashing - no one helps - will have to switch How To Ask Questions The Smart Way Copyright © 2001 by Eric S. Raymond (with thanks to Dan Browning) -------------------------------------------------------------------------------- Table of Contents Introduction Before You Ask When You Ask How To Interpret Answers On Not Reacting Like A Loser Questions Not To Ask Good and Bad Questions If You Can't Get An Answer -------------------------------------------------------------------------------- Introduction In the world of hackers, the kind of answers you get to your technical questions depends as much on the way you ask the questions as on the difficulty of developing the answer. This guide will teach you how to ask questions in a way that is likely to get you a satisfactory answer. The first thing to understand is that hackers actually like hard problems and good, thought-provoking questions about them. If we didn't, we wouldn't be here. If you give us an interesting question to chew on we'll be grateful to you; good questions are a stimulus and a gift. Good questions help us develop our understanding, and often reveal problems we might not have noticed or thought about otherwise. Among hackers, "Good question!" is a strong and sincere compliment. Despite this, hackers have a reputation for meeting simple questions with what looks like hostility or arrogance. It sometimes looks like we're hostile to newbies and the ignorant. But this isn't really true. What we are, unapologetically, is hostile to people who seem to be unwilling to to think or do their own homework before asking questions. People like that are time sinks -- they take without giving back, they waste time we could have spent on another question more interesting and another person more worthy of an answer. We call people like this "losers" (and for historical reasons we sometimes spell it "lusers"). We're (largely) volunteers. We take time out of busy lives to answer questions, and at times we're overwhelmed with them. So we filter ruthlessly. In particular, we throw away questions from people who appear to be losers in order to spend our question-answering time more efficiently, on winners. You don't want to be one of the losers. You don't want to seem like one, either. The best way to get a rapid and responsive answer is to ask it like a winner ^× to ask it like a person with smarts, confidence, and clues who just happens to need help on one particular problem. (Improvements to this guide are welcome. You can mail suggestions to esr@thyrsus.com.) -------------------------------------------------------------------------------- Before You Ask Before asking a technical question by email, or in a newsgroup, or on a website chat board, do the following: Try to find an answer by reading the manual. Try to find an answer by reading a FAQ. Try to find an answer by searching the Web. Try to find an answer by asking a skilled friend. When you ask your question, display the fact that you have done these things first; this will help establish that you're not being a lazy sponge and wasting peoples' time. Better yet, display what you have learned from doing these things. We like answering questions for people who have demonstrated that they can learn from the answers. Prepare your question. Think it through. Hasty-sounding questions get hasty answers, or none at all. The more you do to demonstrate that you have put thought and effort into solving your problem before asking for help, the more likely you are to actually get help. Beware of asking the wrong question. If you ask one that is based on faulty assumptions, J. Random Hacker is quite likely to reply with a uselessly literal answer while thinking "Stupid question...", and hoping that the experience of getting what you asked for rather than what you needed will teach you a lesson. Never assume you are entitled to an answer. You are not. You will earn an answer, if you earn it, by asking a question that is substantial, interesting, and thought-provoking ^× one that implicitly contributes to the experience of the community rather than merely passively demanding knowledge from others. On the other hand, making it clear that you are able and willing to help in the process of developing the solution is a very good start. "Can someone provide a pointer?", "What is my example missing?" and "Is there a site I should have checked?" are more likely to get answered than "Please post the exact procedure I should use." because you're making it clear that you're truly willing to complete the process if someone can simply point you in the right direction. -------------------------------------------------------------------------------- When You Ask Choose your forum carefully Be sensitive in choosing where you ask your question. You are likely to be ignored, or written off as a loser, if you: post your question to a forum where it is off topic post a very elementary question to a forum where advanced technical questions are expected, or vice-versa cross-post to too many different newsgroups Hackers blow off questions that are inappropriately targeted in order to try to protect their communications channels from being drowned in irrelevance. You don't want this to happen to you. -------------------------------------------------------------------------------- Write in clear, grammatical, correctly-spelled language We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy thinkers (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere. So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ^× in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention. Spell correctly. Don't confuse "its" with "it's" or "loose" with "lose". Don't TYPE IN ALL CAPS, this is read as shouting and considered rude. If you write like a semi-literate boob, you will probably be ignored. Writing like a l33t script kiddie hax0r is the absolute kiss of death and guarantees you will receive nothing but stony silence (or, at best, a heaping helping of scorn and sarcasm) in return. If you are asking questions in a forum that does not use your native language, you will get a limited amount of slack for spelling and grammar errors ^× but no extra slack at all for sloppy thinking (and yes, we can usually spot that difference). Also, unless you know what your respondent's languages are, write in English. Busy hackers tend to simply flush questions in languages they don't understand, and English is the working language of the net. By writing in English you minimize your chances that your question will be discarded unread. -------------------------------------------------------------------------------- Send questions in formats that are easy to understand If you make your question artificially hard to read, it is more likely to be passed over in favor of one that isn't. So: Send plain text mail, not HTML. Don't send mail in which entire paragraphs are single multiply-wrapped lines. (This makes it too difficult to reply to just part of the message.) Don't send MIME Quoted-Printable encoding either; all those =20 glyphs scattered through the text are ugly and distracting. Never, ever expect hackers to be able to read closed proprietary document formats like Microsoft Word. Most hackers react to these about as well as you would to having a pile of steaming pig manure dumped on your doorstep. If you're sending mail from a Windows machine, turn off Microsoft's stupid "Smart Quotes" feature. This is so you avoid sprinkling garbage characters through your mail. -------------------------------------------------------------------------------- Use meaningful, specific subject headers On mailing lists or newsgroups, the subject header is your golden opportunity to attract qualified experts' attention in around 50 characters or fewer. Don't waste it on babble like "Please help me" (let alone "PLEASE HELP ME!!!!"). Don't try to impress us with the depth of your anguish; use the space for a super-concise problem description instead. Stupid: HELP! Video doesn't work properly on my laptop! Smart: XFree86 4.1 misshapen mouse cursor, Fooware MV1005 vid. chipset -------------------------------------------------------------------------------- Be precise and informative about your problem Describe the symptoms of your problem or bug carefully and clearly. Describe the environment in which it occurs (machine, OS, application, whatever). Describe the research you did to try and understand the problem before you asked the question. Describe the diagnostic steps you took to try and pin down the problem yourself before you asked the question. Describe any recent changes in your computer or software configuration that might be relevant. Do the best you can to anticipate the questions a hacker will ask, and to answer them in advance in your request for help. Simon Tatham has written an excellent essay entitled How to Report Bugs Effectively. I strongly recommend that you read it. -------------------------------------------------------------------------------- Describe the problem's symptoms, not your guesses It's not useful to tell hackers what you think is causing your problem. (If your diagnostic theories were such hot stuff, would you be consulting others for help?) So, make sure you're telling them the raw symptoms of what goes wrong, rather than your interpretations and theories. Let them do the interpretation and diagnosis. Stupid: I'm getting back-to-back SIG11 errors on kernel compiles, and suspect a hairline crack on one of the motherboard traces. What's the best way to check for those? Smart: My home-built K6/233 on an FIC-PA2007 motherboard (VIA Apollo VP2 chipset) with 256MB Corsair PC133 SDRAM starts getting frequent SIG11 errors about 20 minutes after power-on during the course of kernel compiles, but never in the first 20 minutes. Rebooting doesn't restart the clock, but powering down overnight does. Swapping out all RAM didn't help. The relevant part of a typical compile session log follows. -------------------------------------------------------------------------------- Describe your problem's symptoms in chronological order The most useful clues in figuring out something that went wrong often lie in the events immediately prior. So, your account should describe precisely what you did, and what the machine did, leading up to the blowup. In the case of command-line processes, having a session log (e.g., using the script utility) and quoting the relevant twenty or so lines is very useful. If the program that blew up on you has diagnostic options (such as -v for verbose), try to think carefully about selecting options that will add useful debugging information to the transcript. If your account ends up being long (more than about four paragraphs), it might be useful to succinctly state the problem up top, then follow with the chronological tale. That way, hackers will know what to watch for in reading your account. -------------------------------------------------------------------------------- Don't ask people to reply by private email Hackers believe solving problems should be a public, transparent process during which a first try at an answer can and should be corrected if someone more knowledgeable notices that it is incomplete or incorrect. Also, they get some of their reward for being respondents from being seen to be competent and knowledgeable by their peers. When you ask for a private reply, you are disrupting both the process and the reward. Don't do this. It's the respondent's choice whether to reply privately ^× and if he does, it's usually because he thinks the question is too obvious or ill-formed to be interesting to others. There is one limited exception to to this rule. If you think the question is such that you are likely to get a lot of answers that are all pretty similar, then the magic words are "email me and I'll summarize the answers for the group". It is courteous to try and save the mailing list or newsgroup a flood of substantially identical postings ^× but you have to keep the promise to summarize. -------------------------------------------------------------------------------- Prune pointless queries Resist the temptation to close your request for help with semantically-null questions like "Can anyone help me?" or "Is there an answer?" First: if you've written your problem description halfway competently, such tacked-on questions are at best superfluous. Second: because they are superfluous, hackers find them annoying ^× and are likely to return logically impeccable but dismissive answers like "Yes, you can be helped" and "No, there is no help for you." -------------------------------------------------------------------------------- Courtesy never hurts, and sometimes helps Be courteous. Use "Please" and "Thanks in advance". Make it clear that you appreciate the time people spend helping you for free. To be honest, this isn't as important as (and cannot substitute for) being grammatical, clear, precise and descriptive, avoiding proprietary formats etc.; hackers in general would rather get somewhat brusque but technically sharp bug reports than polite vagueness. (If this puzzles you, remember that we value a question by what it teaches us.) However, if you've got your technical ducks in a row, politeness does increase you chances of getting a useful answer. -------------------------------------------------------------------------------- Follow up with a brief note on the solution Send a note after the problem has been solved to all who helped you; let them know how it came out and thank them again for their help. If the problem attracted general interest in a mailing list or newsgroup, it's appropriate to post the followup there. Your followup doesn't have to be long and involved; a simple "Howdy - it was a failed network cable! Thanks, everyone. - Bill" would be better than nothing. In fact, a short and sweet summary is better than a long dissertation unless the solution has real technical depth. Besides being courteous and informative, this sort of followup helps everybody who assisted feel a satisfying sense of closure about the problem. If you are not a techie or hacker yourself, trust us that this feeling is very important to the gurus and experts you tapped for help. Problem narratives that trail off into unresolved nothingness are frustrating things; hackers itch to see them resolved. The good karma that scratching that itch earns you will be very, very helpful to you next time you need to pose a question. -------------------------------------------------------------------------------- How To Interpret Answers RTFM and STFW: How To Tell You've Seriously Screwed Up There is an ancient and hallowed tradition: if you get a reply that reads "RTFM", the person who sent it thinks you should have Read The Fucking Manual. He is almost certainly right. Go read it. RTFM has a younger relative. If you get a reply that reads "STFW", the person who sent it thinks you should have Searched The Fucking Web. He is almost certainly right. Go search it. Often, the person sending either of these replies has the manual or the web page with the information you need open, and is looking at it as he types. These replies mean that he thinks (a) the information you read is easy to find, and (b) you will learn more if you seek out the information than if you have it spoon-fed to you. You shouldn't be offended by this; by hacker standards, he is showing you a rough kind of respect simply by not ignoring you. You should instead thank him for his grandmotherly kindness. -------------------------------------------------------------------------------- If you don't understand... If you don't understand the answer, do not immediately bounce back a demand for clarification. Use the same tools that you used to try and answer your original question (manuals, FAQs, the Web, skilled friends) to understand the answer. If you need to ask for clarification, exhibit what you have learned. For example, suppose I tell you: "It sounds like you've got a stuck zentry; you'll need to clear it." Then: Here's a bad followup question: "What's a zentry?" Here's a good followup question: "OK, I read the man page and zentries are only mentioned under the -z and -p switches. Neither of them says anything about clearing zentries. Is it one of these or am I missing something here?" -------------------------------------------------------------------------------- On Not Reacting Like A Loser Odds are, you'll screw up a few times, on hacker community forums -- in ways detailed in this article, or similar. And you'll be told exactly how you screwed up, possibly with colourful asides. In public. When this happens, the worst thing you can do is whine about the experience, claim to have been verbally assaulted, demand apologies, scream, hold your breath, threaten lawsuits, complain to people's employers, leave the toilet seat up, etc. Instead, here's what you do: Get over it. It's normal. In fact, it's healthy and appropriate. Community standards do not maintain themselves: They're maintained by people actively applying them, visibly, in public. Don't whine that all criticism should have been conveyed via private mail: That's not how it works. Nor is it useful to insist you've been personally insulted when someone comments that one of your claims was wrong, or that his views differ. Those are loser attitudes. There have been hacker forums where, out of some misguided sense of hyper-courtesy, participants are banned from posting any fault-finding with another's posts, and told "Don't say anything if you're unwilling to help the user." The resulting departure of clueful participants to elsewhere causes them to descend into meaningless babble and become useless as technical forums. Exaggeratedly "friendly" (in that fashion) or useful: Pick one. Remember: When that hacker tells you that you've screwed up, and (no matter how gruffly) tells you not to do it again, he's acting out of concern for (1) you and (2) his community. It would be much easier for him to ignore you and filter you out of his life. If you can't manage to be grateful, at least have a little dignity, don't whine, and don't expect to be treated like a fragile doll just because you're a newcomer with a theatrically hypersensitive soul and delusions of entitlement. -------------------------------------------------------------------------------- Questions Not To Ask Here are some classic stupid questions, and what hackers are thinking when they don't answer them. Q: Where can I find program X? Q: I'm having problems with my Windows machine. Can you help? Q: I'm having problems installing Linux or X. Can you help? Q: How can I crack root/steal channel-ops privileges/read someone's email? Q: Where can I find program X? A: The same place I'd find it, fool -- at the other end of a web search. Ghod, doesn't everybody know how to use Google yet? Q: I'm having problems with my Windows machine. Can you help? A: Yes. Throw out that Microsoft trash and install Linux. Q: I'm having problems installing Linux or X. Can you help? A: No. I'd need hands-on access to your machine to troubleshoot this. Go ask your local Linux user group for hands-on help. Q: How can I crack root/steal channel-ops privileges/read someone's email? A: You're a lowlife for wanting to do such things and a moron for asking a hacker to help you. -------------------------------------------------------------------------------- Good and Bad Questions Finally, I'm going to illustrate how to ask questions in a smart way by example; pairs of questions about the same problem, one asked in a stupid way and one in a smart way. Stupid: Where can I find out stuff about the Foonly Flurbamatic? This question just begs for "STFW" as a reply. Smart: I used Google to try to find "Foonly Flurbamatic 2600" on the Web, but I got no useful hits. Does anyone know where I can find programming information on this device? This one has already SFTWed, and sounds like he might have a real problem. Stupid: I can't get the code from project foo to compile. Why is it broken? He assumes that somebody else screwed up. Arrogant of him. Smart: The code from project foo doesn't compile under Nulix version 6.2. I've read the FAQ, but it doesn't have anything in it about Nulix-related problems. Here's a transcript of my compilation attempt; is it something I did? He's specified the environment, he's read the FAQ, he's showing the error, and and he's not assuming his problems are someone else's fault. This guy might be worth some attention. Stupid: I'm having problems with my motherboard. Can anybody help? J. Random Hacker's response to this is likely to be "Right. Do you need burping and diapering, too?" followed by a punch of the delete key. Smart: I tried X, Y, and Z on the S2464 motherboard. When that didn't work, I tried A, B, and C. Note the curious symptom when I tried C. Obviously the florbish is grommicking, but the results aren't what one might expect. What are the usual causes of grommicking on MP motherboards? Anybody got ideas for more tests I can run to pin down the problem? This person, on the other hand, seems worthy of an answer. He has exhibited problem-solving intelligence rather than waiting for an answer to drop from on high. In the last question, notice the subtle but important difference between demanding "Give me an answer" and "Please help me figure out what additional diagnostics I can run to achieve enlightenment." In fact, the form of that last question is closely based on a real incident that happened in August 2001 on the linux-kernel mailing list. I (Eric) was the one asking the question that time. I was seeing mysterious lockups on a Tyan S2464 motherboard. The listmembers supplied the critical information I needed to solve them. By asking the question in the way I did, I gave people something to chew on; I made it easy and attractive for them to get involved. I demonstrated respect for my peers' ability and invited them to consult with me as a peer. I also demonstrated respect for the value of their time by telling them the blind alleys I had already run down. Afterwards, when I thanked everyone and remarked how well the process had worked, an lkml member observed that he thought it had worked not because I'm a "name" on that list, but because I asked the question in the proper form. We hackers are in some ways a very ruthless meritocracy; I'm certain he was right, and that if I had behaved like a sponge I would have been flamed or ignored no matter who I was. His suggestion that I write up the whole incident as an instruction to others led directly to the composition of this guide. -------------------------------------------------------------------------------- If You Can't Get An Answer We realize that there are many people who just want to use the software we write, and have no interest in learning technical details. For most people, a computer is merely a tool, a means to an end. We acknowledge that, and don't expect everyone to take an interest in technical matters. Nevertheless, our style of answering questions is tuned for people who do take such an interest. Thus, if you can't get an answer, please don't take it personally that we don't feel we can help you. There are other sources of help you can go to, often sources better adapted to a novice's needs. There are many online and local user groups who are enthusiasts about the software, even though they may never have written any software themselves. These groups often form so that people can help each other and help new users. There are also plenty of commercial companies you can contract with for help, both large and small. Don't be dismayed at the idea of having to pay for a bit of help! After all, if your car engine blows a head gasket, chances are, you will take it to a repair shop and pay to get it fixed. Even if the software didn't cost you anything, you can't expect that support will always come for free. For popular software like Linux, there are are at least 10000 users per developer. It's just not possible for one person to handle the support calls from over 10000 users. Remember that even if you have to pay for support, you are still paying much less than if you had to buy the software as well (and support for closed-source software is usually more expensive and less competent than support for open-source software). -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, December 13, 2001 at 18:00 PM: Meow... SPLAT... Ruff... SPLAT... (Raining cats & dogs) ---------------------------------------------------------------- This Linux System has been up 435 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (John Beima) Date: Thu Dec 13 22:16:01 2001 Subject: [ic] 4.8.3 crashing - no one helps - will have to switch tosomething with real support Personally I LOVE this post, it gives me that warm and fuzzy feeling inside each and every time I see it... Especially this part! Never assume you are entitled to an answer. You are not. You will earn an answer, if you earn it, by asking a question that is substantial, interesting, and thought-provoking ^× one that implicitly contributes to the experience of the community rather than merely passively demanding knowledge from others. John Beima Quoting Jim Balcom <jim@idk-enterprises.com>: > > How To Ask Questions The Smart Way > Copyright © 2001 by Eric S. Raymond > > (with thanks to Dan Browning) > > -------------------------------------------------------------------------------- > > Table of Contents > Introduction > Before You Ask > When You Ask > How To Interpret Answers > On Not Reacting Like A Loser > Questions Not To Ask > Good and Bad Questions > If You Can't Get An Answer > > -------------------------------------------------------------------------------- > > Introduction > In the world of hackers, the kind of answers you get to your technical > questions depends as much on the way you ask the questions as on the > difficulty of developing the answer. This guide will teach you how to > ask > questions in a way that is likely to get you a satisfactory answer. > > The first thing to understand is that hackers actually like hard > problems > and good, thought-provoking questions about them. If we didn't, we > wouldn't > be here. If you give us an interesting question to chew on we'll be > grateful to you; good questions are a stimulus and a gift. Good > questions > help us develop our understanding, and often reveal problems we might > not > have noticed or thought about otherwise. Among hackers, "Good question!" > is > a strong and sincere compliment. > > Despite this, hackers have a reputation for meeting simple questions > with > what looks like hostility or arrogance. It sometimes looks like we're > hostile to newbies and the ignorant. But this isn't really true. > > What we are, unapologetically, is hostile to people who seem to be > unwilling to to think or do their own homework before asking questions. > People like that are time sinks -- they take without giving back, they > waste time we could have spent on another question more interesting and > another person more worthy of an answer. We call people like this > "losers" > (and for historical reasons we sometimes spell it "lusers"). > > We're (largely) volunteers. We take time out of busy lives to answer > questions, and at times we're overwhelmed with them. So we filter > ruthlessly. In particular, we throw away questions from people who > appear > to be losers in order to spend our question-answering time more > efficiently, on winners. > > You don't want to be one of the losers. You don't want to seem like one, > either. The best way to get a rapid and responsive answer is to ask it > like > a winner ^× to ask it like a person with smarts, confidence, and clues > who > just happens to need help on one particular problem. > > (Improvements to this guide are welcome. You can mail suggestions to > esr@thyrsus.com.) > > > -------------------------------------------------------------------------------- > > Before You Ask > Before asking a technical question by email, or in a newsgroup, or on a > website chat board, do the following: > > Try to find an answer by reading the manual. > > Try to find an answer by reading a FAQ. > > Try to find an answer by searching the Web. > > Try to find an answer by asking a skilled friend. > > When you ask your question, display the fact that you have done these > things first; this will help establish that you're not being a lazy > sponge > and wasting peoples' time. Better yet, display what you have learned > from > doing these things. We like answering questions for people who have > demonstrated that they can learn from the answers. > > Prepare your question. Think it through. Hasty-sounding questions get > hasty > answers, or none at all. The more you do to demonstrate that you have > put > thought and effort into solving your problem before asking for help, the > more likely you are to actually get help. > > Beware of asking the wrong question. If you ask one that is based on > faulty > assumptions, J. Random Hacker is quite likely to reply with a uselessly > literal answer while thinking "Stupid question...", and hoping that the > experience of getting what you asked for rather than what you needed > will > teach you a lesson. > > Never assume you are entitled to an answer. You are not. You will earn > an > answer, if you earn it, by asking a question that is substantial, > interesting, and thought-provoking ^× one that implicitly contributes to > the > experience of the community rather than merely passively demanding > knowledge from others. > > On the other hand, making it clear that you are able and willing to help > in > the process of developing the solution is a very good start. "Can > someone > provide a pointer?", "What is my example missing?" and "Is there a site > I > should have checked?" are more likely to get answered than "Please post > the > exact procedure I should use." because you're making it clear that > you're > truly willing to complete the process if someone can simply point you in > the right direction. > > > -------------------------------------------------------------------------------- > > When You Ask > Choose your forum carefully > Be sensitive in choosing where you ask your question. You are likely to > be > ignored, or written off as a loser, if you: > > > post your question to a forum where it is off topic > > post a very elementary question to a forum where advanced technical > questions are expected, or vice-versa > > cross-post to too many different newsgroups > > Hackers blow off questions that are inappropriately targeted in order to > try to protect their communications channels from being drowned in > irrelevance. You don't want this to happen to you. > > > -------------------------------------------------------------------------------- > > Write in clear, grammatical, correctly-spelled language > We've found by experience that people who are careless and sloppy > writers > are usually also careless and sloppy thinkers (often enough to bet on, > anyway). Answering questions for careless and sloppy thinkers is not > rewarding; we'd rather spend our time elsewhere. > > So expressing your question clearly and well is important. If you can't > be > bothered to do that, we can't be bothered to pay attention. Spend the > extra > effort to polish your language. It doesn't have to be stiff or formal ^× > in > fact, hacker culture values informal, slangy and humorous language used > with precision. But it has to be precise; there has to be some > indication > that you're thinking and paying attention. > > Spell correctly. Don't confuse "its" with "it's" or "loose" with "lose". > Don't TYPE IN ALL CAPS, this is read as shouting and considered rude. If > you write like a semi-literate boob, you will probably be ignored. > Writing > like a l33t script kiddie hax0r is the absolute kiss of death and > guarantees you will receive nothing but stony silence (or, at best, a > heaping helping of scorn and sarcasm) in return. > > If you are asking questions in a forum that does not use your native > language, you will get a limited amount of slack for spelling and > grammar > errors ^× but no extra slack at all for sloppy thinking (and yes, we can > usually spot that difference). Also, unless you know what your > respondent's > languages are, write in English. Busy hackers tend to simply flush > questions in languages they don't understand, and English is the working > language of the net. By writing in English you minimize your chances > that > your question will be discarded unread. > > > -------------------------------------------------------------------------------- > > Send questions in formats that are easy to understand > If you make your question artificially hard to read, it is more likely > to > be passed over in favor of one that isn't. So: > > > Send plain text mail, not HTML. > > Don't send mail in which entire paragraphs are single multiply-wrapped > lines. (This makes it too difficult to reply to just part of the > message.) > > Don't send MIME Quoted-Printable encoding either; all those =20 glyphs > scattered through the text are ugly and distracting. > > Never, ever expect hackers to be able to read closed proprietary > document > formats like Microsoft Word. Most hackers react to these about as well > as > you would to having a pile of steaming pig manure dumped on your > doorstep. > > If you're sending mail from a Windows machine, turn off Microsoft's > stupid > "Smart Quotes" feature. This is so you avoid sprinkling garbage > characters > through your mail. > > > -------------------------------------------------------------------------------- > > Use meaningful, specific subject headers > On mailing lists or newsgroups, the subject header is your golden > opportunity to attract qualified experts' attention in around 50 > characters > or fewer. Don't waste it on babble like "Please help me" (let alone > "PLEASE > HELP ME!!!!"). Don't try to impress us with the depth of your anguish; > use > the space for a super-concise problem description instead. > > > Stupid: > HELP! Video doesn't work properly on my laptop! > > Smart: > XFree86 4.1 misshapen mouse cursor, Fooware MV1005 vid. chipset > > > -------------------------------------------------------------------------------- > > Be precise and informative about your problem > > Describe the symptoms of your problem or bug carefully and clearly. > > Describe the environment in which it occurs (machine, OS, application, > whatever). > > Describe the research you did to try and understand the problem before > you > asked the question. > > Describe the diagnostic steps you took to try and pin down the problem > yourself before you asked the question. > > Describe any recent changes in your computer or software configuration > that > might be relevant. > > Do the best you can to anticipate the questions a hacker will ask, and > to > answer them in advance in your request for help. > > Simon Tatham has written an excellent essay entitled How to Report Bugs > Effectively. I strongly recommend that you read it. > > > -------------------------------------------------------------------------------- > > Describe the problem's symptoms, not your guesses > It's not useful to tell hackers what you think is causing your problem. > (If > your diagnostic theories were such hot stuff, would you be consulting > others for help?) So, make sure you're telling them the raw symptoms of > what goes wrong, rather than your interpretations and theories. Let them > do > the interpretation and diagnosis. > > > Stupid: > I'm getting back-to-back SIG11 errors on kernel compiles, and suspect a > hairline crack on one of the motherboard traces. What's the best way to > check for those? > > Smart: > My home-built K6/233 on an FIC-PA2007 motherboard (VIA Apollo VP2 > chipset) > with 256MB Corsair PC133 SDRAM starts getting frequent SIG11 errors > about > 20 minutes after power-on during the course of kernel compiles, but > never > in the first 20 minutes. Rebooting doesn't restart the clock, but > powering > down overnight does. Swapping out all RAM didn't help. The relevant part > of > a typical compile session log follows. > > > -------------------------------------------------------------------------------- > > Describe your problem's symptoms in chronological order > The most useful clues in figuring out something that went wrong often > lie > in the events immediately prior. So, your account should describe > precisely > what you did, and what the machine did, leading up to the blowup. In the > case of command-line processes, having a session log (e.g., using the > script utility) and quoting the relevant twenty or so lines is very > useful. > > If the program that blew up on you has diagnostic options (such as -v > for > verbose), try to think carefully about selecting options that will add > useful debugging information to the transcript. > > If your account ends up being long (more than about four paragraphs), it > might be useful to succinctly state the problem up top, then follow with > the chronological tale. That way, hackers will know what to watch for in > reading your account. > > > -------------------------------------------------------------------------------- > > Don't ask people to reply by private email > Hackers believe solving problems should be a public, transparent process > during which a first try at an answer can and should be corrected if > someone more knowledgeable notices that it is incomplete or incorrect. > Also, they get some of their reward for being respondents from being > seen > to be competent and knowledgeable by their peers. > > When you ask for a private reply, you are disrupting both the process > and > the reward. Don't do this. It's the respondent's choice whether to reply > privately ^× and if he does, it's usually because he thinks the question > is > too obvious or ill-formed to be interesting to others. > > There is one limited exception to to this rule. If you think the > question > is such that you are likely to get a lot of answers that are all pretty > similar, then the magic words are "email me and I'll summarize the > answers > for the group". It is courteous to try and save the mailing list or > newsgroup a flood of substantially identical postings ^× but you have to > keep the promise to summarize. > > > -------------------------------------------------------------------------------- > > Prune pointless queries > Resist the temptation to close your request for help with > semantically-null > questions like "Can anyone help me?" or "Is there an answer?" First: if > you've written your problem description halfway competently, such > tacked-on > questions are at best superfluous. Second: because they are superfluous, > hackers find them annoying ^× and are likely to return logically > impeccable > but dismissive answers like "Yes, you can be helped" and "No, there is > no > help for you." > > > -------------------------------------------------------------------------------- > > Courtesy never hurts, and sometimes helps > Be courteous. Use "Please" and "Thanks in advance". Make it clear that > you > appreciate the time people spend helping you for free. > > To be honest, this isn't as important as (and cannot substitute for) > being > grammatical, clear, precise and descriptive, avoiding proprietary > formats > etc.; hackers in general would rather get somewhat brusque but > technically > sharp bug reports than polite vagueness. (If this puzzles you, remember > that we value a question by what it teaches us.) > > However, if you've got your technical ducks in a row, politeness does > increase you chances of getting a useful answer. > > > -------------------------------------------------------------------------------- > > Follow up with a brief note on the solution > Send a note after the problem has been solved to all who helped you; let > them know how it came out and thank them again for their help. If the > problem attracted general interest in a mailing list or newsgroup, it's > appropriate to post the followup there. > > Your followup doesn't have to be long and involved; a simple "Howdy - it > was a failed network cable! Thanks, everyone. - Bill" would be better > than > nothing. In fact, a short and sweet summary is better than a long > dissertation unless the solution has real technical depth. > > Besides being courteous and informative, this sort of followup helps > everybody who assisted feel a satisfying sense of closure about the > problem. If you are not a techie or hacker yourself, trust us that this > feeling is very important to the gurus and experts you tapped for help. > Problem narratives that trail off into unresolved nothingness are > frustrating things; hackers itch to see them resolved. The good karma > that > scratching that itch earns you will be very, very helpful to you next > time > you need to pose a question. > > > -------------------------------------------------------------------------------- > > How To Interpret Answers > RTFM and STFW: How To Tell You've Seriously Screwed Up > There is an ancient and hallowed tradition: if you get a reply that > reads > "RTFM", the person who sent it thinks you should have Read The Fucking > Manual. He is almost certainly right. Go read it. > > RTFM has a younger relative. If you get a reply that reads "STFW", the > person who sent it thinks you should have Searched The Fucking Web. He > is > almost certainly right. Go search it. > > Often, the person sending either of these replies has the manual or the > web > page with the information you need open, and is looking at it as he > types. > These replies mean that he thinks (a) the information you read is easy > to > find, and (b) you will learn more if you seek out the information than > if > you have it spoon-fed to you. > > You shouldn't be offended by this; by hacker standards, he is showing > you a > rough kind of respect simply by not ignoring you. You should instead > thank > him for his grandmotherly kindness. > > > -------------------------------------------------------------------------------- > > If you don't understand... > If you don't understand the answer, do not immediately bounce back a > demand > for clarification. Use the same tools that you used to try and answer > your > original question (manuals, FAQs, the Web, skilled friends) to > understand > the answer. If you need to ask for clarification, exhibit what you have > learned. > > For example, suppose I tell you: "It sounds like you've got a stuck > zentry; > you'll need to clear it." Then: > > Here's a bad followup question: "What's a zentry?" > > Here's a good followup question: "OK, I read the man page and zentries > are > only mentioned under the -z and -p switches. Neither of them says > anything > about clearing zentries. Is it one of these or am I missing something > here?" > > > -------------------------------------------------------------------------------- > > On Not Reacting Like A Loser > Odds are, you'll screw up a few times, on hacker community forums -- in > ways detailed in this article, or similar. And you'll be told exactly > how > you screwed up, possibly with colourful asides. In public. > > When this happens, the worst thing you can do is whine about the > experience, claim to have been verbally assaulted, demand apologies, > scream, hold your breath, threaten lawsuits, complain to people's > employers, leave the toilet seat up, etc. Instead, here's what you do: > > Get over it. It's normal. In fact, it's healthy and appropriate. > > Community standards do not maintain themselves: They're maintained by > people actively applying them, visibly, in public. Don't whine that all > criticism should have been conveyed via private mail: That's not how it > works. Nor is it useful to insist you've been personally insulted when > someone comments that one of your claims was wrong, or that his views > differ. Those are loser attitudes. > > There have been hacker forums where, out of some misguided sense of > hyper-courtesy, participants are banned from posting any fault-finding > with > another's posts, and told "Don't say anything if you're unwilling to > help > the user." The resulting departure of clueful participants to elsewhere > causes them to descend into meaningless babble and become useless as > technical forums. > > Exaggeratedly "friendly" (in that fashion) or useful: Pick one. > > Remember: When that hacker tells you that you've screwed up, and (no > matter > how gruffly) tells you not to do it again, he's acting out of concern > for > (1) you and (2) his community. It would be much easier for him to ignore > you and filter you out of his life. If you can't manage to be grateful, > at > least have a little dignity, don't whine, and don't expect to be treated > like a fragile doll just because you're a newcomer with a theatrically > hypersensitive soul and delusions of entitlement. > > > -------------------------------------------------------------------------------- > > Questions Not To Ask > Here are some classic stupid questions, and what hackers are thinking > when > they don't answer them. > > Q: Where can I find program X? > Q: I'm having problems with my Windows machine. Can you help? > Q: I'm having problems installing Linux or X. Can you help? > Q: How can I crack root/steal channel-ops privileges/read someone's > email? > Q: Where can I find program X? > > A: The same place I'd find it, fool -- at the other end of a web search. > Ghod, doesn't everybody know how to use Google yet? > > Q: I'm having problems with my Windows machine. Can you help? > > A: Yes. Throw out that Microsoft trash and install Linux. > > Q: I'm having problems installing Linux or X. Can you help? > > A: No. I'd need hands-on access to your machine to troubleshoot this. Go > ask your local Linux user group for hands-on help. > > Q: How can I crack root/steal channel-ops privileges/read someone's > email? > > A: You're a lowlife for wanting to do such things and a moron for asking > a > hacker to help you. > > > -------------------------------------------------------------------------------- > > Good and Bad Questions > Finally, I'm going to illustrate how to ask questions in a smart way by > example; pairs of questions about the same problem, one asked in a > stupid > way and one in a smart way. > > > Stupid: Where can I find out stuff about the Foonly Flurbamatic? > This question just begs for "STFW" as a reply. > > Smart: I used Google to try to find "Foonly Flurbamatic 2600" on the > Web, > but I got no useful hits. Does anyone know where I can find programming > information on this device? > This one has already SFTWed, and sounds like he might have a real > problem. > > > Stupid: I can't get the code from project foo to compile. Why is it > broken? > He assumes that somebody else screwed up. Arrogant of him. > > Smart: The code from project foo doesn't compile under Nulix version > 6.2. > I've read the FAQ, but it doesn't have anything in it about > Nulix-related > problems. Here's a transcript of my compilation attempt; is it something > I did? > He's specified the environment, he's read the FAQ, he's showing the > error, > and and he's not assuming his problems are someone else's fault. This > guy > might be worth some attention. > > > Stupid: I'm having problems with my motherboard. Can anybody help? > J. Random Hacker's response to this is likely to be "Right. Do you need > burping and diapering, too?" followed by a punch of the delete key. > > Smart: I tried X, Y, and Z on the S2464 motherboard. When that didn't > work, > I tried A, B, and C. Note the curious symptom when I tried C. Obviously > the > florbish is grommicking, but the results aren't what one might expect. > What > are the usual causes of grommicking on MP motherboards? Anybody got > ideas > for more tests I can run to pin down the problem? > This person, on the other hand, seems worthy of an answer. He has > exhibited > problem-solving intelligence rather than waiting for an answer to drop > from > on high. > > In the last question, notice the subtle but important difference between > demanding "Give me an answer" and "Please help me figure out what > additional diagnostics I can run to achieve enlightenment." > > In fact, the form of that last question is closely based on a real > incident > that happened in August 2001 on the linux-kernel mailing list. I (Eric) > was > the one asking the question that time. I was seeing mysterious lockups > on a > Tyan S2464 motherboard. The listmembers supplied the critical > information I > needed to solve them. > > By asking the question in the way I did, I gave people something to chew > on; I made it easy and attractive for them to get involved. I > demonstrated > respect for my peers' ability and invited them to consult with me as a > peer. I also demonstrated respect for the value of their time by telling > them the blind alleys I had already run down. > > Afterwards, when I thanked everyone and remarked how well the process > had > worked, an lkml member observed that he thought it had worked not > because > I'm a "name" on that list, but because I asked the question in the > proper form. > > We hackers are in some ways a very ruthless meritocracy; I'm certain he > was > right, and that if I had behaved like a sponge I would have been flamed > or > ignored no matter who I was. His suggestion that I write up the whole > incident as an instruction to others led directly to the composition of > this guide. > > > -------------------------------------------------------------------------------- > > If You Can't Get An Answer > We realize that there are many people who just want to use the software > we > write, and have no interest in learning technical details. For most > people, > a computer is merely a tool, a means to an end. We acknowledge that, and > don't expect everyone to take an interest in technical matters. > Nevertheless, our style of answering questions is tuned for people who > do > take such an interest. > > Thus, if you can't get an answer, please don't take it personally that > we > don't feel we can help you. There are other sources of help you can go > to, > often sources better adapted to a novice's needs. > > There are many online and local user groups who are enthusiasts about > the > software, even though they may never have written any software > themselves. > These groups often form so that people can help each other and help new > users. > > There are also plenty of commercial companies you can contract with for > help, both large and small. Don't be dismayed at the idea of having to > pay > for a bit of help! After all, if your car engine blows a head gasket, > chances are, you will take it to a repair shop and pay to get it fixed. > Even if the software didn't cost you anything, you can't expect that > support will always come for free. > > For popular software like Linux, there are are at least 10000 users per > developer. It's just not possible for one person to handle the support > calls from over 10000 users. Remember that even if you have to pay for > support, you are still paying much less than if you had to buy the > software > as well (and support for closed-source software is usually more > expensive > and less competent than support for open-source software). > > > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Thursday, December 13, 2001 at 18:00 PM: > Meow... SPLAT... Ruff... SPLAT... (Raining cats & dogs) > > ---------------------------------------------------------------- > This Linux System has been up 435 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (Todd Hight) Date: Fri Dec 14 02:35:00 2001 Subject: [ic] Problem with DB Permissions I have added a couple of databases to my Interchange 4.8.3 installation. However I am unclear on how to set permissions to update them. I have set mv_data_enable to 1 in the form . Once the form is submitted I get the following error in the log file: Attempted database update without permission, table=aprofile key=thight. I does not appear to make any difference which user I login as. I have scoured the docs and archive and haven't found the solution yet. I'm sure it will be simple! As I said I'm running Interchange 4.8.3 and the databases are PostgreSQL 7.1.3 if that makes a difference. Thanks for the assistance in advance. <>< Todd From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Dec 14 04:04:03 2001 Subject: [ic] How to get the right price with my own usertag, if a dealer Hi List, I'm able to get the salestax right, if I've a multiple tax/vat of each items. But I've one problem. I've in my catalog.cfg Variable COMPUTE_VAT_PRICEFIELD price and Autoload <<EOR [perl arg="scratch config"] if($Scratch->{dealer}) { $Config->{PriceField} = 'price'; } else { $Config->{PriceField} = 'price2'; } [/perl] EOR in my catalog.cfg and my usertag use my $pricefield = $::Variable->{COMPUTE_VAT_PRICEFIELD}; foreach my $item (@$Vend::Items) { for(@{$Vend::Cfg->{ProductFiles}}) { unless ($Vend::Database{$_}) { die "$_ not a database, cannot use as products file\n"; } $vatrate = tag_data($_, $vatfield, $item->{code}); $outprice = tag_data($_, $pricefield, $item->{code}); ^^^^^^^^^^ last if($outprice); } if (!$vatrate){$vatrate = ($vat_default || 16);} if ($pricemode =~ /N/ || $pricemode =~ /n/){ $vatdivide = $vatrate / 100; } else { $vatdivide = 1 / (100 + $vatrate) * $vatrate; } $vat += ($outprice * $item->{quantity}) * $vatdivide; $subtotal += $outprice * $item->{quantity}; } I want to rewrite the line $outprice = tag_data($_, $pricefield, $item->{code}); to get the right price field. Should I use my $pricefield = $::Variable->{PriceField}; instead of my $pricefield = $::Variable->{COMPUTE_VAT_PRICEFIELD}; ? Or did someone have a better solution? Any helps, tips and suggestions are very welcome! Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Fri Dec 14 05:10:01 2001 Subject: [ic] Problem with DB Permissions > I have added a couple of databases to my Interchange 4.8.3 > installation. However I am unclear on how to set permissions to > update them. I have set mv_data_enable to 1 in the form . This must be set as a scratch variable: [set mv_data_enable]1[/set] > Once > the form is submitted I get the following error in the log file: > > Attempted database update without permission, table=aprofile key=thight. > One other thing... if you don't properly set your key field/value in your submission you can get this error. Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Dec 14 09:10:00 2001 Subject: [ic] Interchange-users guidelines [semi-monthly posting] interchange-users@lists.akopia.com is a list for users who have questions about configuring, setting up, and fine tuning Interchange catalogs. Other topics will include: - announcements of Interchange releases and fixes - notification and submission of Interchange bugs - distributing pages which implement Interchange functions - discussing the future development of Interchange - any other topic relating *directly* to Interchange The list started January 5, 1997 as minivend-users. For an archive of past articles, see: http://developer.akopia.com/archive/interchange-users/ Also, because the list has high volume for one of its type, before posting to the list it is recommended that you use the search feature at: http://developer.akopia.com/ Many questions can be answered by trying some keywords at this facility. Try more than one combination. It is common courtesy when posting to a forum such as this to: 1. Include the version of software you are using, i.e. Interchange 4.6.1. Bugs are fixed and deficiencies corrected in each release of Interchange, as with almost any software. 2. Include relevant information where appropriate. The operating system in question is often relevant, as is the Perl version and database type in use. 3. When talking about tag problems, include a snippet of ITL tags which illustrates the problem. 4. When posting about PGP, Glimpse, or anything else that uses an external command, you need to state what happens when you run the same thing from the command line. 5. Include error log entries or a statement that there are none. If a post to this list doesn't include the relevant information, not only are you unlikely to get a reasonable answer, you will add to the volume of the list and make it less likely that reasonable questions are answered. All entries are archived and available via a web gateway. The "X-No-Archive: Yes" header is honored if you choose to use it. List etiquette issues: -- No HTML mail is allowed. Besides being improper email netiquette, it destroys the digest. -- Please try to keep your line size less than 80 characters. -- No PGP signatures should be used. This is not a legal record. -- No flame wars are tolerated. -- No "courtesy copies" unless specifically requested. It can be annoying to some people to receive two copies of the same message. -- If you must munge, make sure you mention this in the BODY of the message and not buried incomprehensibly in the header or in a cluttered signature attachment. -- The list changes the Reply-To: header to point to the list. While this is by popular demand, it is recognized that it is not always the best mode of operation. You should reply by email directly to the sender if the post will not be of general use. -- Contextual quoting is preferred, i.e. Quoting user1 (<user1@somedomain.redhat.com>): > Some limited text that will give context. > Your reply. versus Your reply, lazily put at the top. Quoting user1 (<user1@somedomain.redhat.com>): > The whole big blob of the previous posts, including > signatures and all In fact, the author of the program stops following a thread the moment this lazy quoting method is used. He figures that if you can't take half a minute of your time to save multiple minutes of the readers time, the heck with ya. For more information see the Netiquette RFC: http://www.faqs.org/rfcs/rfc1855.html Thanks for your cooperation. We believe we have one of the best user lists going, and we would like to keep it useful and pleasant to use. From: interchange-users at interchange.redhat.com (Donal H.) Date: Fri Dec 14 10:38:00 2001 Subject: [ic] Search spec in search_box_small Hi, We're using IC 4.8.1 with Postgres. The search specification in components/search_box_small is: <INPUT TYPE=hidden NAME=mv_coordinate VALUE=1> <INPUT TYPE=hidden NAME=mv_searchtype VALUE=db> <INPUT TYPE=hidden NAME=mv_matchlimit VALUE=[control matches 10]> <INPUT TYPE=hidden NAME=mv_sort_field VALUE=category> <INPUT TYPE=hidden NAME=mv_search_field VALUE="*"> <INPUT TYPE=hidden name=mv_substring_match value=1> <INPUT TYPE=hidden NAME=mv_column_op VALUE=ne> <INPUT TYPE=hidden NAME=mv_column_op VALUE=rm> <INPUT TYPE=hidden NAME=mv_searchspec VALUE=1> <INPUT MAXLENGTH=30 NAME=mv_searchspec type=text size=8> Can someone let me know what column the following lines refer to? <INPUT TYPE=hidden NAME=mv_column_op VALUE=ne> <INPUT TYPE=hidden NAME=mv_searchspec VALUE=1> Thanks, -Donal From: interchange-users at interchange.redhat.com (chad townsend) Date: Fri Dec 14 12:09:00 2001 Subject: [ic] simple shipping question (please help) chad townsend wrote: > > i have tried several ways to do this without any luck. i configure interchange shipping for weight > and it seem to be working off quantity. > > in a nutshell: > > i have 20 products. for 19 product shipping is 2.00 flat for 1 it's 5.00 flat - no matter where > it's shipped. > > i tried to fake it out with weight saying everything 1 pound is 2.00 and everything 100 pounds is > 5.00 and set the items to the appropriate weight, it didn't work as expected. > > what is the correct way to do this? thanks for your time and help. > > ./chad& > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Fri Dec 14 12:34:01 2001 Subject: [ic] simple shipping question (please help) > > chad townsend wrote: > > > > i have tried several ways to do this without any luck. i > configure interchange shipping for weight > > and it seem to be working off quantity. > > > > in a nutshell: > > > > i have 20 products. for 19 product shipping is 2.00 flat for 1 > it's 5.00 flat - no matter where > > it's shipped. > > > > i tried to fake it out with weight saying everything 1 pound is > 2.00 and everything 100 pounds is > > 5.00 and set the items to the appropriate weight, it didn't > work as expected. > > > > what is the correct way to do this? thanks for your time and help. > > > > ./chad& > > _______________________________________________ Submit more info so we might be able to help. (logs,shipping.asc, etc) Saying "it didn't work as expected." does not give us any idea what is going on. With more information many of us are willing and able to help. rick From: interchange-users at interchange.redhat.com (Jerry) Date: Fri Dec 14 12:39:00 2001 Subject: [ic] Matrix options Using IC 4.8.3 inventory control works great. Using matrix options w/inventory is also no problem. Removing the buy button on items without options is simple enough. Does anyone have a method of excluding an option from the drop down when that particular option is out of stock? Currently we are using [item-options td=1 label=1 bold=1 price=1] to build the drop down when the item is in the options database. We could, of course, just build this with a little perl instead of the item-options tag, but thought maybe there was a simple way to accomplish this and still utilize the item-options tag. Jerry Uphoff From: interchange-users at interchange.redhat.com (chad townsend) Date: Fri Dec 14 13:24:00 2001 Subject: [ic] simple shipping question (please help) let me rephrase my question... i have 20 products total. all products expect 1 the shipping is 2.00 the other product's shipping is 5.00 what is the correct technique in setting this up. thanks, ./chad& Rick Eicher II wrote: > > > > > chad townsend wrote: > > > > > > i have tried several ways to do this without any luck. i > > configure interchange shipping for weight > > > and it seem to be working off quantity. > > > > > > in a nutshell: > > > > > > i have 20 products. for 19 product shipping is 2.00 flat for 1 > > it's 5.00 flat - no matter where > > > it's shipped. > > > > > > i tried to fake it out with weight saying everything 1 pound is > > 2.00 and everything 100 pounds is > > > 5.00 and set the items to the appropriate weight, it didn't > > work as expected. > > > > > > what is the correct way to do this? thanks for your time and help. > > > > > > ./chad& > > > _______________________________________________ > > Submit more info so we might be able to help. (logs,shipping.asc, etc) > Saying "it didn't > work as expected." does not give us any idea what is going on. > > With more information many of us are willing and able to help. > > rick > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Dec 14 14:01:01 2001 Subject: [ic] simple shipping question (please help) On Fri, Dec 14, 2001 at 01:13:47PM -0500, chad townsend wrote: > > let me rephrase my question... > > i have 20 products total. > all products expect 1 the shipping is 2.00 > the other product's shipping is 5.00 > > what is the correct technique in setting this up. > Although you've posted this question half a dozen times now, you still haven't answered any of the people who asked you 'what did you try, and what didn't work about it?' > thanks, > > ./chad& > > > Rick Eicher II wrote: > > > > > > > > chad townsend wrote: > > > > > > > > i have tried several ways to do this without any luck. i > > > configure interchange shipping for weight > > > > and it seem to be working off quantity. > > > > > > > > in a nutshell: > > > > > > > > i have 20 products. for 19 product shipping is 2.00 flat for 1 > > > it's 5.00 flat - no matter where > > > > it's shipped. > > > > > > > > i tried to fake it out with weight saying everything 1 pound is > > > 2.00 and everything 100 pounds is > > > > 5.00 and set the items to the appropriate weight, it didn't > > > work as expected. > > > > > > > > what is the correct way to do this? thanks for your time and help. > > > > > > > > ./chad& > > > > _______________________________________________ > > > > Submit more info so we might be able to help. (logs,shipping.asc, etc) > > Saying "it didn't > > work as expected." does not give us any idea what is going on. > > > > With more information many of us are willing and able to help. > > > > rick > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Dec 14 14:09:01 2001 Subject: [ic] Holidays / Debian Packages Hello, all ! I'm leaving for a weekend in the keys in Florida tomorrow morning and shortly thereafter I'll spent my holidays in Bahamas - without network access. I'll be back on 2. January. If you have unresolvable problems with the Debian packages that cannot wait until my return, it might be worth the try dropping an email to my coworker Dennis, dennis@cobolt.net. Thanks Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Mike DeTuncq) Date: Fri Dec 14 14:14:00 2001 Subject: [ic] 4.8.3 crashing - no one helps - will have to switch Jim, Thanks for posting "How to Ask Questions The Smart Way" and thanks to Eric Raymond, et al for creating it. I'm an IC newbie and have been monitoring this list for about a week. This is one of the most helpful nontechnical postings I've seen on any forum in quite some time. It was a useful reminder for me, and I've forwarded this to my teen girls and a friend's teen son who's a Hacker in development. Good work! Mike DeTuncq http://hitrunscore.com mdetuncq@hitrunscore.com From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Fri Dec 14 14:27:01 2001 Subject: [ic] Change text color in category listing I have been searching and trying all kinds of things to try to figure this out. I am trying to change the font color of the listing of categories on the leftside of the construct demo. I found the loop that produces the list and put a <font color="#000000"> in front of the loop. Nothing. It appears that when bar_link is called to build the link that it is setting the color with its own font tag. I looked in bar_link and found nothing there to help. Here is the code from /templates/regions/LEFTRIGHT_TOP (which is called for the particular page that I am working with): <tr> <td width="119" valign="top" bgcolor="#660099"> <p><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000000"> [set found_cat][/set] [loop prefix=cat search=" fi=cat st=db tf=sort tf=name rf=code,name sf=sel se=[box-code] " ] [cat-exec bar_link]cat[/cat-exec]<BR> [/loop] <br> </font></p> </td> </tr> >From what I see, the font should be black (#000000), but it still shows up white. I tried changing the color with the body tag (<body link=#000000...>). Still nothing. Here is the source of the page with one of the links: <A HREF="http://chad.its-is.uni.edu/cgi-bin/chclassics/scan/fi=products/sp=swap _results/st=db/co=yes/sf=category/se=Gift%20Certificate/va=link_image%3d/va= link_banner%3d.html?mv_pc=235" CLASS="barlink"><FONT COLOR="#FFFFFF">Gift Certificate</FONT></A><BR> Where is the <FONT COLOR="#FFFFFF"> coming from? I can't figure that out. I don't see it in bar_link, I don't see it in the actual code of LEFTRIGHT_TOP. I don't know where it is coming from? I am running IC 4.6 with the default database on RH 7.1. Any help is greatly appreciated. Thanks Chad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Therapy is expensive. Poppin' bubble wrap is cheap. The choice is yours!" ____ | | |\ | || Chad M. Wittrock (Chad.Wittrock@uni.edu) \__/ | \| _||_ University of Northern Iowa From: interchange-users at interchange.redhat.com (Elmar Meusel) Date: Fri Dec 14 14:32:39 2001 Subject: [ic] truncated (divided) 'option selects' when using combo select Hi Mike, Thanks a lot for your answer. Unfortunately my problem does not occur while using the products data within the shop (that works fine), but while using the item edit page of the Admin-area. In this page for entering a new or editing an existing item (Items -> create new item), I have created an entry field for the composer with the following meta settings: Table::Column products::composer Widget type Combo Select Width 30 Height 1 Label Composer Lookup Table products Lookup select composer Filter(s) nullselect pre_filter nullselect The data in the correlating db-field 'composer' look like Bach, C.Ph.E. Cadet, Chédeville Charlwood, David Ehlen, Margit (Each line represents another record.) The names are displayed correctly (Name,Surname) in every result.html or flypage.html within the shop, but not in the admin-area. When the form for a new item is created (based on the meta-data above), a database-lookup is made which presents the existing composers as a "option select" list, but every combination of name and surname is divided into seperate options like this <OPTION VALUE="Bach">Bach <OPTION VALUE="C.Ph.E.">C.Ph.E. <OPTION VALUE="Cadet">Cadet <OPTION VALUE="Chédeville">Chédeville <OPTION VALUE="Charlwood">Charlwood <OPTION VALUE="David">David <OPTION VALUE="Ehlen">Ehlen <OPTION VALUE="Margit">Margit instead of <OPTION VALUE="Bach, C.Ph.E.">Bach, C.Ph.E. <OPTION VALUE="Cadet, Chédeville">Cadet, Chédeville <OPTION VALUE="Charlwood, David">Charlwood, David <OPTION VALUE="Ehlen, Margit">Ehlen, Margit I've tried the 2nd version (like '<OPTION VALUE="Ehlen, Margit">Ehlen, Margit') in pure HTML and it worked fine, so it should in interchange. I've also tried to set the Database entries in quotes ("Charlwood, David"), but that didn't help. Thanks in advance for your help. BTW, Interchange is a real amazing product and much better than what we had before (vshop). :-) Regards Elmar >Quoting Elmar Meusel (elmar@schaf.de): > > > > Hello, > > > > here's my problem: I have a products table with a column named > > "composers". The entries in this column are often comma-seperated > > names like "Mozart, W.A." or "Bach, J.S." (without the quotes). In the > > new-item form I want to use a combo select with a lookup on this > > column, but all presented entries of the "option selects" are > > truncated after the comma (value and display), so you can only select > > "Mozart" or "Bach". > > > > Is it possible to display the whole names including the commas within > > the option selcects? I've tried to set the database entries in quotes, > > but that didn't help. I looked in the mailling lists and the docs, but > > did not found any help... (maybe I'm too blind... :-)) > > > > I'm using Interchange 4.8.3 with MySQL 3.22.32 on Linux 2.2.14. > > > >You would have to give an example of your option selects. If you are >doing something like: > >[accessories type=select passed="[item-data products composers]"] > >then you are going to have a problem with something like > > Mozart, W.A., Bach, J.S. > >for there is nothing to differentiate things. But if you do: > > Mozart, W.A.;Bach, J.S. > >and > >[accessories > type=select > passed="[item-data products composers]" > delimiter=";" > ] > >that should work. > >Alternatively, but not as elegantly in my opinion, you could use the current >setup and change the data to: > > Mozart&#44 W.A., Bach&#44 J.S. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 14 14:44:01 2001 Subject: [ic] hardware recommendations List: I'm looking for any hardware recommendations that this group may have for a RH Linux server, with Apache and Interchange. Only 1 or 2 vhosts; no other services. Also are there any "formal" system requirements for Interchange. Seth Stone springboardgroup.com From: interchange-users at interchange.redhat.com (Peter Jakl) Date: Fri Dec 14 14:49:10 2001 Subject: [ic] SQL performance I've implemented fairly heavy use of [query sql='...'] tags. I find for each [query] I add, the page slows down by a significant amount. Can anyone confirm that a client/server connection is being established for each [query]? Or is interchange smart enough to have one connection while processing a page? I'm using mysql, btw. Thanks, Peter From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Dec 14 14:55:01 2001 Subject: [ic] Matrix options Quoting Jerry (jerry@digitalfm.com): > Using IC 4.8.3 inventory control works great. > Using matrix options w/inventory is also no > problem. Removing the buy button on items > without options is simple enough. > > Does anyone have a method of excluding an option > from the drop down when that particular option > is out of stock? Currently we are using > [item-options td=1 label=1 bold=1 price=1] > to build the drop down when the item is in > the options database. > > We could, of course, just build this with a little > perl instead of the item-options tag, but thought > maybe there was a simple way to accomplish this and > still utilize the item-options tag. Hmm. I don't think there is a way right now. I will think about this and see if it makes sense to add an option to exclude based on a field, something like: [item-options inventory="inventory:quantity"] In fact, I thought I would take a couple of minutes and try it. This patch seems to work (if you don't use separate widgets): --- /r/Interpolate.pm Wed Nov 21 14:33:10 2001 +++ /rt/Interpolate.pm Fri Dec 14 14:41:42 2001 @@ -2017,6 +2019,14 @@ my $remap; my %map; + my $inv_func; + if($opt->{inventory}) { + my ($t, $c) = split /[.:]+/, $opt->{inventory}; + if($db = database_exists_ref($t)) { + $inv_func = $db->field_accessor($c); + } + } + if($::Variable->{MV_OPTION_TABLE_MAP}) { $remap = $::Variable->{MV_OPTION_TABLE_MAP}; $remap =~ s/^\s+//; @@ -2079,6 +2089,10 @@ next unless $ref->[3]; $i++; + if($inv_func) { + next if $inv_func->($ref->[0]) <= 0; + } + # skip unless o_value $phony->{mv_sku} = $def[$i]; @@ -2146,6 +2160,13 @@ next unless $ref->[1]; # skip unless description next unless $ref->[3]; + + if($inv_func) { + my $oh = $inv_func->($ref->[0]); +::logDebug("on hand for sku=$ref->[0] qty=$oh"); + next if $oh <= 0; + } + $ref->[3] =~ s/,/&#44;/g; $ref->[3] =~ s/=/&#61;/g; $price->{$ref->[0]} = $ref->[4]; -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown From: interchange-users at interchange.redhat.com (chad townsend) Date: Fri Dec 14 14:59:58 2001 Subject: [ic] simple shipping question (please help) #1 i have only posted it twice. #2 i have only seen your 2 responses that offered no help my mail must be screwed up cause i haven't see anything else. and like i stated below i tried: > > > > configure interchange shipping for weight > > > > > and it seem to be working off quantity. > > > > > i tried to fake it out with weight saying everything 1 pound is > > > > 2.00 and everything 100 pounds is > > > > > 5.00 and set the items to the appropriate weight, it didn't > > > > work as expected. because: > > > > > and it seem to be working off quantity. even though i set it up for: > > > > configure interchange shipping for weight i didn't realize my question was a difficult one. ./chad& Jason Kohles wrote: > > On Fri, Dec 14, 2001 at 01:13:47PM -0500, chad townsend wrote: > > > > let me rephrase my question... > > > > i have 20 products total. > > all products expect 1 the shipping is 2.00 > > the other product's shipping is 5.00 > > > > what is the correct technique in setting this up. > > > Although you've posted this question half a dozen times now, you still haven't > answered any of the people who asked you 'what did you try, and what didn't > work about it?' > > > thanks, > > > > ./chad& > > > > > > Rick Eicher II wrote: > > > > > > > > > > > chad townsend wrote: > > > > > > > > > > i have tried several ways to do this without any luck. i > > > > configure interchange shipping for weight > > > > > and it seem to be working off quantity. > > > > > > > > > > in a nutshell: > > > > > > > > > > i have 20 products. for 19 product shipping is 2.00 flat for 1 > > > > it's 5.00 flat - no matter where > > > > > it's shipped. > > > > > > > > > > i tried to fake it out with weight saying everything 1 pound is > > > > 2.00 and everything 100 pounds is > > > > > 5.00 and set the items to the appropriate weight, it didn't > > > > work as expected. > > > > > > > > > > what is the correct way to do this? thanks for your time and help. > > > > > > > > > > ./chad& > > > > > _______________________________________________ > > > > > > Submit more info so we might be able to help. (logs,shipping.asc, etc) > > > Saying "it didn't > > > work as expected." does not give us any idea what is going on. > > > > > > With more information many of us are willing and able to help. > > > > > > rick > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > -- > Jason Kohles jkohles@redhat.com > Senior System Architect (703)786-8036 (cellular) > Red Hat Professional Consulting (703)456-2940 (office) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Dec 14 15:04:53 2001 Subject: [ic] Change text color in category listing On Fri, Dec 14, 2001 at 01:26:04PM -0600, Chad Wittrock wrote: > I have been searching and trying all kinds of things to try to figure this > out. I am trying to change the font color of the listing of categories on > the leftside of the construct demo. I found the loop that produces the list > and put a <font color="#000000"> in front of the loop. Nothing. It appears > that when bar_link is called to build the link that it is setting the color > with its own font tag. I looked in bar_link and found nothing there to help. > Here is the code from /templates/regions/LEFTRIGHT_TOP (which is called for > the particular page that I am working with): This color comes from the barlink class, and is set in the bar_link function, you can change this either by changing the color in your .css for the barlink class, or by passing a new template to bar_link to give it a different color, something like this: [cat-exec bar_link template=|<A HREF="$URL$"><FONT COLOR="#000000">$ANCHOR$</FONT></A>|]cat[/cat-exec]<BR> or [cat-exec bar_link template=|<A HREF="$URL$" CLASS=newclass>$ANCHOR$</A>|]cat[/cat-exec]<BR> -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Dec 14 15:10:01 2001 Subject: [ic] hardware recommendations > List: > > I'm looking for any hardware recommendations that this group > may have for a RH Linux server, with Apache and Interchange. > Only 1 or 2 vhosts; no other services. > > Also are there any "formal" system requirements for Interchange. > > Seth Stone > springboardgroup.com SCSI disks are recommended (low latency, high throughput) as well as lots of RAM. But, as always, your hardware needs depend on your load and catalog. For low-end sites, even a duron 700 with 512mb RAM and a SCSI hdd can really serve up the pages fast. HTH, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Dec 14 15:14:59 2001 Subject: [ic] SQL performance On Fri, Dec 14, 2001 at 11:41:54AM -0800, Peter Jakl wrote: > I've implemented fairly heavy use of [query sql='...'] tags. I find for > each [query] I add, the page slows down by a significant amount. Can > anyone confirm that a client/server connection is being established for > each [query]? Or is interchange smart enough to have one connection > while processing a page? I'm using mysql, btw. > DBI connections are cached, if the mysql server and Interchange are running on the same machine, make sure you don't specify a hostname in your DSN, so that it will use the faster unix sockets, rather than connecting by tcp... -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Fri Dec 14 15:34:01 2001 Subject: [ic] Change text color in category listing Quoting Chad Wittrock: > I have been searching and trying all kinds of things to try to figure this > out. I am trying to change the font color of the listing of categories on > the leftside of the construct demo. I found the loop that > produces the list > and put a <font color="#000000"> in front of the loop. Nothing. It appears > that when bar_link is called to build the link that it is setting > the color > with its own font tag. I looked in bar_link and found nothing > there to help. If you are using the foundation template I think you should check /CATROOT/templates/foundation/theme.cfg. I believe you should look for CATEGORYBAR_TEXT #FFFFFF Good luck! Curt Hauge From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Fri Dec 14 15:59:00 2001 Subject: [ic] Change text color in category listing > -----Original Message----- > From: interchange-users-admin@interchange.redhat.COM > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of > Jason Kohles > Sent: Friday, December 14, 2001 1:51 PM > To: interchange-users@interchange.redhat.COM > Subject: Re: [ic] Change text color in category listing > > > On Fri, Dec 14, 2001 at 01:26:04PM -0600, Chad Wittrock wrote: > > I have been searching and trying all kinds of things to try to > figure this > > out. I am trying to change the font color of the listing of > categories on > > the leftside of the construct demo. I found the loop that > produces the list > > and put a <font color="#000000"> in front of the loop. Nothing. > It appears > > that when bar_link is called to build the link that it is > setting the color > > with its own font tag. I looked in bar_link and found nothing > there to help. > > Here is the code from /templates/regions/LEFTRIGHT_TOP (which > is called for > > the particular page that I am working with): > > This color comes from the barlink class, and is set in the > bar_link function, > you can change this either by changing the color in your .css for > the barlink > class, or by passing a new template to bar_link to give it a > different color, > something like this: > > [cat-exec bar_link template=|<A HREF="$URL$"><FONT > COLOR="#000000">$ANCHOR$</FONT></A>|]cat[/cat-exec]<BR> > I copied this line into my region file and removed the old line. When I view the page, the text is black!!! But. . . my links all read [cat-exec bar_link template=|$ANCHOR$|] Its like it is not interpretting the template correctly. Is it typed correctly? I don't have much experience with this so I don't know if it looks right or not. Also, I did a search of my whole machine and the only .css that I found that appeared to have something to do with interchange was: /usr/lib/interchange/share/akopia/ui/help Where would I find this .css that you are talking about? Either fix is great if I can just get one working. Thanks Chad > or > > [cat-exec bar_link template=|<A HREF="$URL$" > CLASS=newclass>$ANCHOR$</A>|]cat[/cat-exec]<BR> > > -- > Jason Kohles jkohles@redhat.com > Senior System Architect (703)786-8036 (cellular) > Red Hat Professional Consulting (703)456-2940 (office) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Todd Hight) Date: Fri Dec 14 16:09:01 2001 Subject: [ic] Change text color in category listing > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Chad > Wittrock > Sent: Friday, December 14, 2001 2:59 PM > To: interchange-users@interchange.redhat.com > Subject: RE: [ic] Change text color in category listing > > > > > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.COM > > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of > > Jason Kohles > > Sent: Friday, December 14, 2001 1:51 PM > > To: interchange-users@interchange.redhat.COM > > Subject: Re: [ic] Change text color in category listing > > > > > > On Fri, Dec 14, 2001 at 01:26:04PM -0600, Chad Wittrock wrote: > > > I have been searching and trying all kinds of things to try to > > figure this > > > out. I am trying to change the font color of the listing of > > categories on > > > the leftside of the construct demo. I found the loop that > > produces the list > > > and put a <font color="#000000"> in front of the loop. Nothing. > > It appears > > > that when bar_link is called to build the link that it is > > setting the color > > > with its own font tag. I looked in bar_link and found nothing > > there to help. > > > Here is the code from /templates/regions/LEFTRIGHT_TOP (which > > is called for > > > the particular page that I am working with): > > > > This color comes from the barlink class, and is set in the > > bar_link function, > > you can change this either by changing the color in your .css for > > the barlink > > class, or by passing a new template to bar_link to give it a > > different color, > > something like this: > > > > [cat-exec bar_link template=|<A HREF="$URL$"><FONT > > COLOR="#000000">$ANCHOR$</FONT></A>|]cat[/cat-exec]<BR> > > > > I copied this line into my region file and removed the old line. > When I view > the page, the text is black!!! But. . . my links all read > > [cat-exec bar_link template=|$ANCHOR$|] > > Its like it is not interpretting the template correctly. Is it typed > correctly? I don't have much experience with this so I don't know if it > looks right or not. > > Also, I did a search of my whole machine and the only .css that I > found that > appeared to have something to do with interchange was: > > /usr/lib/interchange/share/akopia/ui/help > > Where would I find this .css that you are talking about? I'm not sure about using the template above. However I found that modifing the CSS work well for me. By default it is in the template/foundation/theme.cfg file. Good luck. <>< Todd > > Either fix is great if I can just get one working. > > Thanks > Chad > > or > > > > [cat-exec bar_link template=|<A HREF="$URL$" > > CLASS=newclass>$ANCHOR$</A>|]cat[/cat-exec]<BR> > > > > -- > > Jason Kohles jkohles@redhat.com > > Senior System Architect (703)786-8036 (cellular) > > Red Hat Professional Consulting (703)456-2940 (office) > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Fri Dec 14 16:15:01 2001 Subject: [ic] ht://dig Mike, Mail list searches seem to retrieve posts no later than 11/18/01. Perhaps this is expected behavior, but I'm guessing it isn't. ..Patrick From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Fri Dec 14 16:19:00 2001 Subject: [ic] simple shipping question (please help) Chad, > even though i set it up for: > > > > > > configure interchange shipping for weight You obviously did this wrong. *Show* us what you did, *specifically* as there are many ways in which you could have messed this up. If you want a detailed tutorial on the many ways to do this, see the documentation. Your mistake is likely something very simple. Frankly, your attitude is obnoxious. I recommend you read the posting guidelines: http://interchange.redhat.com/archive/interchange-users/2001/msg10876.html and try again, this time including your version of Interchange, OS, appropriate lines from shipping.asc, etc. ..Patrick From: interchange-users at interchange.redhat.com (Jonathan Smith) Date: Fri Dec 14 16:28:01 2001 Subject: [ic] Running Interchange w/ a seperate secure server We've got a somewhat unusual configuration that I'm not sure interchange will support. Our primary webserver is linux based, running Apache. However our secure server is a Mac running MacOS (either 8.6 or 9.x) running WebTen (WebTen is based on Apache). The problem I'm having is setting up Interchange (running on our primary server) with the secure ordering pages being handled by WebTen. Can I just move some of the scripts and pages to the WebTen server? Is this going to be an impossible setup? Due to circumstances beyond my control the secure server wasn't migrated to a Linux platform - it will probably be next fall before that happens. Has anybody setup anything similar to this? Is it possible? From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Fri Dec 14 16:38:00 2001 Subject: [ic] Change text color in category listing > > > > > > On Fri, Dec 14, 2001 at 01:26:04PM -0600, Chad Wittrock wrote: > > > > I have been searching and trying all kinds of things to try to > > > figure this > > > > out. I am trying to change the font color of the listing of > > > categories on > > > > the leftside of the construct demo. I found the loop that > > > produces the list > > > > and put a <font color="#000000"> in front of the loop. Nothing. > > > It appears > > > > that when bar_link is called to build the link that it is > > > setting the color > > > > with its own font tag. I looked in bar_link and found nothing > > > there to help. > > > > Here is the code from /templates/regions/LEFTRIGHT_TOP (which > > > is called for > > > > the particular page that I am working with): > > > > > > This color comes from the barlink class, and is set in the > > > bar_link function, > > > you can change this either by changing the color in your .css for > > > the barlink > > > class, or by passing a new template to bar_link to give it a > > > different color, > > > something like this: > > > > > > [cat-exec bar_link template=|<A HREF="$URL$"><FONT > > > COLOR="#000000">$ANCHOR$</FONT></A>|]cat[/cat-exec]<BR> > > > > > > > I copied this line into my region file and removed the old line. > > When I view > > the page, the text is black!!! But. . . my links all read > > > > [cat-exec bar_link template=|$ANCHOR$|] > > > > Its like it is not interpretting the template correctly. Is it typed > > correctly? I don't have much experience with this so I don't know if it > > looks right or not. > > > > Also, I did a search of my whole machine and the only .css that I > > found that > > appeared to have something to do with interchange was: > > > > /usr/lib/interchange/share/akopia/ui/help > > > > Where would I find this .css that you are talking about? > > I'm not sure about using the template above. However I found > that modifing the CSS work well for me. By default it is in the > template/foundation/theme.cfg file. > > Good luck. > > <>< Todd I am running IC 4.6 and it doesn't have the foundation catalog. is there anyway to do this without the theme.cfg file or is there some other file that was used in 4.6 that will do this? Chad > > > > > Either fix is great if I can just get one working. > > > > Thanks > > Chad > > > or > > > > > > [cat-exec bar_link template=|<A HREF="$URL$" > > > CLASS=newclass>$ANCHOR$</A>|]cat[/cat-exec]<BR> From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 14 16:44:01 2001 Subject: [ic] RE: Parse error on Excel upload "File not found" -----Original Message----- From: Gavin Harper [mailto:gavin@steelblue.co.uk] Sent: Thursday, October 11, 2001 6:51 AM To: interchange-users@interchange.redhat.com >>Subject: [ic] RE: Parse error on Excel upload "File not found" >>I am also experiencing this problem. >>Using IC 4.8.2 and only get the problem when using the upload XLS file from >>the wizard section. This only occurs if you choose Yes from the "Insert >>Products Data" drop down on the next screen. >>Please can anyone help with this asap as I need to put this live in a few >>days time!! >>Thanks >>Gavin >Message: 29 >From: patrick.bennett@ccgenesis.com >To: interchange-users@interchange.redhat.com >Date: Fri, 5 Oct 2001 16:23:28 -0600 >Subject: [ic] Parse error on Excel upload "File not found" >Reply-To: interchange-users@interchange.redhat.com >When I try to upload my excel spreadsheet of >products using the Wizard, I get this error: >FATAL error >Failed to parse XLS file >upload/Q:\AWT\products.xls: No such file or directory For a temporary workaround for this problem, you can edit the file: <INTERCHANGE_HOME>/lib/UI/pages/admin/wizard/do_save.html Just above the call to [import-fields] (inside the enclosing if statement) put this code in: [seti good][perl] $Values->{products} =~ s:.*/::; $Values->{products} =~ s:.*\\::; [/perl][/seti] This will strip the file name down to just the file with extension, which will allow the import to get the right file name. What happens during the wizard is that the file is uploaded to <CATALOG_ROOT>/uploads. The "uploads/" is supposed to be appended to the file name, but the code to strip out the source machine's path doesn't seem to be working. The code above will deal with that problem. Patrick --__--__-- _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 14 16:54:01 2001 Subject: [ic] Running Interchange w/ a seperate secure server On Fri, Dec 14, 2001 at 03:28:08PM -0600, Jonathan Smith wrote: > We've got a somewhat unusual configuration that I'm not sure > interchange will support. Our primary webserver is linux based, > running Apache. However our secure server is a Mac running MacOS > (either 8.6 or 9.x) running WebTen (WebTen is based on Apache). > The problem I'm having is setting up > Interchange (running on our primary server) with the secure ordering > pages being handled by WebTen. Can I just move some of the scripts > and pages to the WebTen server? Is this going to be an impossible > setup? Due to circumstances beyond my control the secure server > wasn't migrated to a Linux platform - it will probably be next fall > before that happens. Has anybody setup anything similar to this? Is > it possible? Sure, we use different servers for catalogs (WN) and secure (Roxen). There **might** be some issues with spaces, encoding and EOL. We ran into that and had to tweak tlink. > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (chad townsend) Date: Fri Dec 14 17:03:00 2001 Subject: [ic] simple shipping question (please help) i apologize if i seem to be obnoxious. but i am frustrated because i have changed my problem to a question. i am simply asking someone to please tell me the correct technique i should use for my particular situation that i stated and you have taken the time to email me back 4 times without offering any advise other than to 'read the documentation'. i read the documentation and i still have the same question. if i have 19 products that have a flat shipping rate of 2.00 and 1 product that has a flat shipping rate of 5.00 what is the best advisable shipping technique i should use. this question i believe requires no other additional information. ./chad& > > Chad, > > > even though i set it up for: > > > > > > > > configure interchange shipping for weight > > You obviously did this wrong. *Show* us what you did, *specifically* as > there are many ways in which you could have messed this up. If you want a > detailed tutorial on the many ways to do this, see the documentation. Your > mistake is likely something very simple. Frankly, your attitude is > obnoxious. I recommend you read the posting guidelines: > > http://interchange.redhat.com/archive/interchange-users/2001/msg10876.html > > and try again, this time including your version of Interchange, OS, > appropriate lines from shipping.asc, etc. > > ..Patrick > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (chad townsend) Date: Fri Dec 14 17:07:00 2001 Subject: [ic] simple shipping question (please help) by shipping technique i'm referring to the Shipping section in the Administration GUI. ./chad& chad townsend wrote: > > i apologize if i seem to be obnoxious. but i am frustrated because i have changed my problem to a > question. i am simply asking someone to please tell me the correct technique i should use for my > particular situation that i stated and you have taken the time to email me back 4 times without > offering any advise other than to 'read the documentation'. i read the documentation and i still > have the same question. > > if i have 19 products that have a flat shipping rate of 2.00 > and 1 product that has a flat shipping rate of 5.00 > > what is the best advisable shipping technique i should use. this question i believe requires no > other additional information. > > ./chad& > > > > > Chad, > > > > > even though i set it up for: > > > > > > > > > > configure interchange shipping for weight > > > > You obviously did this wrong. *Show* us what you did, *specifically* as > > there are many ways in which you could have messed this up. If you want a > > detailed tutorial on the many ways to do this, see the documentation. Your > > mistake is likely something very simple. Frankly, your attitude is > > obnoxious. I recommend you read the posting guidelines: > > > > http://interchange.redhat.com/archive/interchange-users/2001/msg10876.html > > > > and try again, this time including your version of Interchange, OS, > > appropriate lines from shipping.asc, etc. > > > > ..Patrick > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Dec 14 17:11:02 2001 Subject: [ic] Change text color in category listing On Fri, Dec 14, 2001 at 02:58:55PM -0600, Chad Wittrock wrote: > > > > [cat-exec bar_link template=|<A HREF="$URL$"><FONT > > COLOR="#000000">$ANCHOR$</FONT></A>|]cat[/cat-exec]<BR> > > > > I copied this line into my region file and removed the old line. When I view > the page, the text is black!!! But. . . my links all read > > [cat-exec bar_link template=|$ANCHOR$|] > > Its like it is not interpretting the template correctly. Is it typed > correctly? I don't have much experience with this so I don't know if it > looks right or not. > Hmm, do the links also point to $URL$, or is it just the anchor that is not getting interpolated? Does the link contain the cat-exec tag too, or just the $ANCHOR$ part? Do you have a test url that shows this behavior? > Also, I did a search of my whole machine and the only .css that I found that > appeared to have something to do with interchange was: > > /usr/lib/interchange/share/akopia/ui/help > > Where would I find this .css that you are talking about? > I misspoke, it isn't actually in a separate file in the standard distribution, it's in the THEME_CSS variable in your theme.cfg. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Dec 14 17:15:01 2001 Subject: [ic] Running Interchange w/ a seperate secure server On Fri, Dec 14, 2001 at 03:28:08PM -0600, Jonathan Smith wrote: > We've got a somewhat unusual configuration that I'm not sure > interchange will support. Our primary webserver is linux based, > running Apache. However our secure server is a Mac running MacOS > (either 8.6 or 9.x) running WebTen (WebTen is based on Apache). > The problem I'm having is setting up > Interchange (running on our primary server) with the secure ordering > pages being handled by WebTen. Can I just move some of the scripts > and pages to the WebTen server? Is this going to be an impossible > setup? Due to circumstances beyond my control the secure server > wasn't migrated to a Linux platform - it will probably be next fall > before that happens. Has anybody setup anything similar to this? Is > it possible? > The short answer is 'no', but both of these questions are covered in the documentation... http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icfaq03%2e09 Can I run Interchange on the Macintosh or Windows? http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icfaq04%2e01 Shopping cart is dropped when using SSL. (deals with separate secure/non-secure web servers) -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Dec 14 17:19:00 2001 Subject: [ic] Running Interchange w/ a seperate secure server On Fri, Dec 14, 2001 at 04:53:33PM -0500, cfm@maine.com wrote: > On Fri, Dec 14, 2001 at 03:28:08PM -0600, Jonathan Smith wrote: > > We've got a somewhat unusual configuration that I'm not sure > > interchange will support. Our primary webserver is linux based, > > running Apache. However our secure server is a Mac running MacOS > > (either 8.6 or 9.x) running WebTen (WebTen is based on Apache). > > Sure, we use different servers for catalogs (WN) and secure (Roxen). > > There **might** be some issues with spaces, encoding and EOL. We ran > into that and had to tweak tlink. > Using two different _supported_ servers isn't a problem, but the fact that one of his servers is a Macintosh that can't run Interchange will be a bit troublesome. =) -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 14 17:38:01 2001 Subject: [ic] simple shipping question (please help) On Fri, Dec 14, 2001 at 04:53:32PM -0500, chad townsend wrote: > > i apologize if i seem to be obnoxious. but i am frustrated because i have changed my problem to a > question. i am simply asking someone to please tell me the correct technique i should use for my > particular situation that i stated and you have taken the time to email me back 4 times without > offering any advise other than to 'read the documentation'. i read the documentation and i still > have the same question. > > if i have 19 products that have a flat shipping rate of 2.00 > and 1 product that has a flat shipping rate of 5.00 > > what is the best advisable shipping technique i should use. this question i believe requires no > other additional information. You're not using your head. Suppose someone orders 2 of each. What happens? Specify it fully. > > ./chad& > > > > > Chad, > > > > > even though i set it up for: > > > > > > > > > > configure interchange shipping for weight > > > > You obviously did this wrong. *Show* us what you did, *specifically* as > > there are many ways in which you could have messed this up. If you want a > > detailed tutorial on the many ways to do this, see the documentation. Your > > mistake is likely something very simple. Frankly, your attitude is > > obnoxious. I recommend you read the posting guidelines: > > > > http://interchange.redhat.com/archive/interchange-users/2001/msg10876.html > > > > and try again, this time including your version of Interchange, OS, > > appropriate lines from shipping.asc, etc. > > > > ..Patrick > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 14 17:42:01 2001 Subject: [ic] Running Interchange w/ a seperate secure server On Fri, Dec 14, 2001 at 04:18:24PM -0600, Jason Kohles wrote: > On Fri, Dec 14, 2001 at 04:53:33PM -0500, cfm@maine.com wrote: > > On Fri, Dec 14, 2001 at 03:28:08PM -0600, Jonathan Smith wrote: > > > We've got a somewhat unusual configuration that I'm not sure > > > interchange will support. Our primary webserver is linux based, > > > running Apache. However our secure server is a Mac running MacOS > > > (either 8.6 or 9.x) running WebTen (WebTen is based on Apache). > > > > Sure, we use different servers for catalogs (WN) and secure (Roxen). > > > > There **might** be some issues with spaces, encoding and EOL. We ran > > into that and had to tweak tlink. > > > Using two different _supported_ servers isn't a problem, but the fact that > one of his servers is a Macintosh that can't run Interchange will be a bit > troublesome. =) It can't run tlink.pl? Ouch. I guess those Macs really are more secure. :-) > > -- > Jason Kohles jkohles@redhat.com > Senior System Architect (703)786-8036 (cellular) > Red Hat Professional Consulting (703)456-2940 (office) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jonathan Smith) Date: Fri Dec 14 18:01:01 2001 Subject: [ic] Running Interchange w/ a seperate secure server What is tlink.pl? I'm pretty sure WebTen supports Perl. > > Using two different _supported_ servers isn't a problem, but the fact that >> one of his servers is a Macintosh that can't run Interchange will be a bit >> troublesome. =) > >It can't run tlink.pl? Ouch. I guess those Macs really are more secure. :-) > From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Dec 14 18:16:01 2001 Subject: [ic] simple shipping question (please help) At 04:53 PM 12/14/2001 -0500, you wrote: >i apologize if i seem to be obnoxious. but i am frustrated because i have >changed my problem to a >question. i am simply asking someone to please tell me the correct >technique i should use for my >particular situation that i stated and you have taken the time to email me >back 4 times without >offering any advise other than to 'read the documentation'. i read the >documentation and i still >have the same question. > >if i have 19 products that have a flat shipping rate of 2.00 >and 1 product that has a flat shipping rate of 5.00 > >what is the best advisable shipping technique i should use. this question >i believe requires no >other additional information. Sure it does - is that shipping price per piece, or per type regardless of quantity? Do you ship anywhere in the world for that price? I'm sure with a few moments thought I can come up with more... You're never going to get an answer unless you are willing to put forth the effort to provide basic details like this. I think that is what others have been trying to indicate. - Ed L. >./chad& > > > > > Chad, > > > > > even though i set it up for: > > > > > > > > > > configure interchange shipping for weight > > > > You obviously did this wrong. *Show* us what you did, > *specifically* as > > there are many ways in which you could have messed this up. If you want a > > detailed tutorial on the many ways to do this, see the documentation. Your > > mistake is likely something very simple. Frankly, your attitude is > > obnoxious. I recommend you read the posting guidelines: > > > > http://interchange.redhat.com/archive/interchange-users/2001/msg10876.html > > > > and try again, this time including your version of Interchange, OS, > > appropriate lines from shipping.asc, etc. > > > > ..Patrick > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Jonathan Smith) Date: Fri Dec 14 18:51:01 2001 Subject: [ic] Running Interchange w/ a seperate secure server Well, I'll reply to my own message. :> tlink.pl seems to be a method to allow HTTP redirection/proxy from a secure server to an Interchange server (am I right)? WebTen supports this directly - I need to know something though - Does Interchange dynamically generate page where a customer enters CC# or is it a static page that is referenced? If it's a static page where in the catalog is it located? Basically - I can have webten proxy for the Interchange server. That way everything going out to the internet is going to be secure. However I need to find out: If the page(s) that would need to be encrypted (anything with the CC# on it) are static pages. Can I modify Interchange so instead of generating links like http://interchange.isp.com/cc-order.html it will generate http://secure.isp.com/cc-order.html? I've read bits of the FAQ (http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icfaq04%2e02) but it doesn't seem to exactly answer the question. Thanks for the help so far. >What is tlink.pl? I'm pretty sure WebTen supports Perl. > >> > Using two different _supported_ servers isn't a problem, but the fact that >>> one of his servers is a Macintosh that can't run Interchange will be a bit >>> troublesome. =) >> >>It can't run tlink.pl? Ouch. I guess those Macs really are more >>secure. :-) >> >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 14 18:55:01 2001 Subject: [ic] Price breaks by quantity List: Is there a quick way (or a long way) to change the pricing breaks. My client has pricing breaks that line up on boundaries of 6; e.g., 6, 12, 144, etc... However the defaults in IC are 5, 10, 25, and so forth. Is this doable? Thanks, Seth Stone Springboard Communications, Inc. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 14 18:59:01 2001 Subject: [ic] hardware recommendations On Fri, Dec 14, 2001 at 11:59:11AM -0800, Dan Browning wrote: > > List: > > > > I'm looking for any hardware recommendations that this group > > may have for a RH Linux server, with Apache and Interchange. > > Only 1 or 2 vhosts; no other services. > > > > Also are there any "formal" system requirements for Interchange. > > > > Seth Stone > > springboardgroup.com > > SCSI disks are recommended (low latency, high throughput) as well as > lots of RAM. But, as always, your hardware needs depend on your load > and catalog. For low-end sites, even a duron 700 with 512mb RAM and a > SCSI hdd can really serve up the pages fast. HTH, > > Dan Browning > Kavod Technologies Thanks for the info. My system is grinding with a simple catalog on IC 4.8.3, with Apache 1.3.22 and MySQL; it's a Celeron 900MHz and 128MB of RAM. It's purely a testing system, but performance is very low. Thanks again. Seth Stone springboardgroup.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 14 19:02:12 2001 Subject: [ic] Running Interchange w/ a seperate secure server On Fri, Dec 14, 2001 at 05:00:59PM -0600, Jonathan Smith wrote: > What is tlink.pl? I'm pretty sure WebTen supports Perl. In your src directory there are several scripts in perl and c. They are used to connect on local machine or over the network. I only mentioned the perl version because it's easier to troubleshoot than the c version. If you are only **pretty sure** WebTen supports perl, then you are probably over your head. -- YMMV, I'm the mean BOH that thinks people without sysadmin experience should not be running ic. It's way too easy to get up and running with the demo stores. $.02 cfm > > > > > Using two different _supported_ servers isn't a problem, but the fact > > that > >> one of his servers is a Macintosh that can't run Interchange will be a > >> bit > >> troublesome. =) > > > >It can't run tlink.pl? Ouch. I guess those Macs really are more secure. > >:-) > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (John Beima) Date: Fri Dec 14 19:39:00 2001 Subject: [ic] Running Interchange w/ a seperate secure server You can't run it on a Mac... You are wasting your time... The tlink file, like the vlink file is only the gateway to the Interchange daemon, which MUST be running on the SSL server in order for teh connection to actually be protected... What shoudl of been told to you right off the bat, is Interchange is NOT a series of scripts... It is a full fledge server/daemon and it currently doesn't support any of the Mac OSes. It won't work... Sorry man... John Quoting Jonathan Smith <jsmith@greendragon.com>: > Well, I'll reply to my own message. :> tlink.pl seems to be a method > to allow HTTP redirection/proxy > from a secure server to an Interchange server (am I right)? WebTen > supports this directly - I need to know something though - > > Does Interchange dynamically generate page where a customer enters > CC# or is it a static page that is referenced? If it's a static page > where in the catalog is it located? > > Basically - I can have webten proxy for the Interchange server. That > way everything going out to the internet is going to be secure. > However I need to find out: > > If the page(s) that would need to be encrypted (anything with the CC# > on it) are static pages. > Can I modify Interchange so instead of generating links like > http://interchange.isp.com/cc-order.html it will generate > http://secure.isp.com/cc-order.html? > > I've read bits of the FAQ > (http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icfaq04%2e02) > > but it doesn't seem to exactly answer the question. > > Thanks for the help so far. > > >What is tlink.pl? I'm pretty sure WebTen supports Perl. > > > >> > Using two different _supported_ servers isn't a problem, but the > fact that > >>> one of his servers is a Macintosh that can't run Interchange will > be a bit > >>> troublesome. =) > >> > >>It can't run tlink.pl? Ouch. I guess those Macs really are more > >>secure. :-) > >> > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (John Beima) Date: Fri Dec 14 19:47:01 2001 Subject: [ic] hardware recommendations YOu NEED a lot more RAM... I wont roll out an Interchange server without at LEAST 1G and 2G of swap.... The last 3 Interchange servers that have been put into production all have 1.5Gigs of RAM and 2Gigs of swap.... 128Megs will cause Interchange to run VERY slow... John Beima Quoting hhh@springboardgroup.com: > On Fri, Dec 14, 2001 at 11:59:11AM -0800, Dan Browning wrote: > > > List: > > > > > > I'm looking for any hardware recommendations that this group > > > may have for a RH Linux server, with Apache and Interchange. > > > Only 1 or 2 vhosts; no other services. > > > > > > Also are there any "formal" system requirements for Interchange. > > > > > > Seth Stone > > > springboardgroup.com > > > > SCSI disks are recommended (low latency, high throughput) as well as > > lots of RAM. But, as always, your hardware needs depend on your load > > and catalog. For low-end sites, even a duron 700 with 512mb RAM and a > > SCSI hdd can really serve up the pages fast. HTH, > > > > Dan Browning > > Kavod Technologies > > Thanks for the info. My system is grinding with a simple catalog on > IC 4.8.3, with Apache 1.3.22 and MySQL; it's a Celeron 900MHz and 128MB > of RAM. It's purely a testing system, but performance is very low. > > Thanks again. > > Seth Stone > springboardgroup.com > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 14 20:23:00 2001 Subject: [ic] Running Interchange w/ a seperate secure server On Fri, Dec 14, 2001 at 05:38:31PM -0700, John Beima wrote: > You can't run it on a Mac... You are wasting your time... The tlink file, like > the vlink file is only the gateway to the Interchange daemon, which MUST be > running on the SSL server in order for teh connection to actually be > protected... > > What shoudl of been told to you right off the bat, is Interchange is NOT a > series of scripts... It is a full fledge server/daemon and it currently doesn't > support any of the Mac OSes. It won't work... Sorry man... Maybe I misunderstood. I read that his catalog was on a linux apache box and his ssl was on a mac. If that is incorrect, shoot me! Otherwise, IC doesn't have to be on the web server at all. The mac (ssl) only needs to run the link program to connect to wherever the ic server might be. It's run that way here for years. :-) There **may** be some mismatch between what the mac tlink passes to IC on the linux box and what apache might generate directly. > > Quoting Jonathan Smith <jsmith@greendragon.com>: > > > Well, I'll reply to my own message. :> tlink.pl seems to be a method > > to allow HTTP redirection/proxy > > from a secure server to an Interchange server (am I right)? WebTen > > supports this directly - I need to know something though - > > > > Does Interchange dynamically generate page where a customer enters > > CC# or is it a static page that is referenced? If it's a static page > > where in the catalog is it located? I'm guessing you are trying to figure out what to put on the mac. You only need the tlink executable and whatever images your ssl will serve. > > > > Basically - I can have webten proxy for the Interchange server. That > > way everything going out to the internet is going to be secure. That's something I've never tried, just using an ssl to proxy. I'm not crazy enough to help you if you go that route on a mac. :-) -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Admin) Date: Fri Dec 14 20:38:00 2001 Subject: [ic] hardware recommendations I agree, I ran low RAM on old Minivend with low hits and we were fine... now it runs on dual pent 3 - w/ 1GB RAM and 2GB SWAP to keep the admins happy. I should have started with this as migration was a pain... -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of John Beima Sent: Friday, December 14, 2001 6:46 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] hardware recommendations YOu NEED a lot more RAM... I wont roll out an Interchange server without at LEAST 1G and 2G of swap.... The last 3 Interchange servers that have been put into production all have 1.5Gigs of RAM and 2Gigs of swap.... 128Megs will cause Interchange to run VERY slow... John Beima Quoting hhh@springboardgroup.com: > On Fri, Dec 14, 2001 at 11:59:11AM -0800, Dan Browning wrote: > > > List: > > > > > > I'm looking for any hardware recommendations that this group > > > may have for a RH Linux server, with Apache and Interchange. > > > Only 1 or 2 vhosts; no other services. > > > > > > Also are there any "formal" system requirements for Interchange. > > > > > > Seth Stone > > > springboardgroup.com > > > > SCSI disks are recommended (low latency, high throughput) as well as > > lots of RAM. But, as always, your hardware needs depend on your load > > and catalog. For low-end sites, even a duron 700 with 512mb RAM and a > > SCSI hdd can really serve up the pages fast. HTH, > > > > Dan Browning > > Kavod Technologies > > Thanks for the info. My system is grinding with a simple catalog on > IC 4.8.3, with Apache 1.3.22 and MySQL; it's a Celeron 900MHz and 128MB > of RAM. It's purely a testing system, but performance is very low. > > Thanks again. > > Seth Stone > springboardgroup.com > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Chad Leigh -- Shire.Net LLC) Date: Fri Dec 14 20:55:00 2001 Subject: [ic] Running Interchange w/ a seperate secure server >>> Well, I'll reply to my own message. :> tlink.pl seems to be a method >>> to allow HTTP redirection/proxy >>> from a secure server to an Interchange server (am I right)? WebTen >>> supports this directly - I need to know something though - >>> >>> I don't know who is quoting whom here, and I did not read the earlier postings, but for the info of the people saying the Mac won't work etc. WebTen is a unix system running as a virtual machine under MacOS so it should work from that point of view. It ain't really the Mac. In addition, for whoever said it won'r run under any Mac OSes. Mac OS X is a full fledged unix based system. best Chad From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Dec 14 20:57:31 2001 Subject: [ic] Running Interchange w/ a seperate secure server On Fri, Dec 14, 2001 at 06:58:57PM -0500, cfm@maine.com wrote: > On Fri, Dec 14, 2001 at 05:00:59PM -0600, Jonathan Smith wrote: > > What is tlink.pl? I'm pretty sure WebTen supports Perl. > > In your src directory there are several scripts in perl > and c. They are used to connect on local machine or over > the network. I only mentioned the perl version because it's > easier to troubleshoot than the c version. > > If you are only **pretty sure** WebTen supports perl, then you > are probably over your head. > Having been a Mac programmer in a previous life I can safely say that just getting perl running on a Mac is an exercise in frustration, once you do figure out which port you need and get it installed it lacks some very basic functions (the biggest problem for interchange is a really odd implementation of the Socket module), and the fact that the last release of MacPerl was in 1998 doesn't help much either... The Mac is a fun platform, but I have to say that I am extremely glad I outgrew it and moved on to unix, otherwise I'd probably be bald by now =) -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Dec 14 21:00:01 2001 Subject: [ic] Running Interchange w/ a seperate secure server On Fri, Dec 14, 2001 at 05:38:31PM -0700, John Beima wrote: > You can't run it on a Mac... You are wasting your time... The tlink file, like > the vlink file is only the gateway to the Interchange daemon, which MUST be > running on the SSL server in order for teh connection to actually be > protected... > Actually, there are ways around this, in theory you could proxy from the SSL server to an interchange machine somewhere else as long as you are very careful about security (I'd suggest a second nic card in each machine, connected together with a crossover cable) > What shoudl of been told to you right off the bat, is Interchange is NOT a > series of scripts... It is a full fledge server/daemon and it currently doesn't > support any of the Mac OSes. It won't work... Sorry man... > It actually does run under OS X, but that isn't really MacOS anymore =) -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Dec 14 21:04:00 2001 Subject: [ic] Running Interchange w/ a seperate secure server On Fri, Dec 14, 2001 at 05:51:31PM -0600, Jonathan Smith wrote: > Well, I'll reply to my own message. :> tlink.pl seems to be a method > to allow HTTP redirection/proxy > from a secure server to an Interchange server (am I right)? WebTen > supports this directly - I need to know something though - > This isn't exactly what tlink does, but the proxy idea is an interesting one, which you may actually be able to get to work. > Does Interchange dynamically generate page where a customer enters > CC# or is it a static page that is referenced? If it's a static page > where in the catalog is it located? > The page that deals with this is in pages/ord/checkout.html, but if you are using WebTen as a real reverse proxy, you should configure it to proxy any requests for the secure server to the same page on the non-secure server (just make sure the servers are connected in a way that the traffic between them cannot be intercepted, ideally with a second nic card in each machine connected with a crossover cable). By proxying any request, you can simply let interchange worry about which pages need to get redirected to the secure server, rather than trying to keep a list up to date (this way you can also secure your admin interface). > Basically - I can have webten proxy for the Interchange server. That > way everything going out to the internet is going to be secure. > However I need to find out: > > If the page(s) that would need to be encrypted (anything with the CC# > on it) are static pages. > Can I modify Interchange so instead of generating links like > http://interchange.isp.com/cc-order.html it will generate > http://secure.isp.com/cc-order.html? Yes, this is what the VendURL and SecureURL variables are for. > > I've read bits of the FAQ > (http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icfaq04%2e02) > but it doesn't seem to exactly answer the question. > I think thats because nobody has ever tried this before =) -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Dec 14 21:44:01 2001 Subject: [ic] hardware recommendations On Fri, Dec 14, 2001 at 07:28:05PM -0600, Admin wrote: > I agree, I ran low RAM on old Minivend with low hits and we were fine... now > it runs on dual pent 3 - w/ 1GB RAM and 2GB SWAP to keep the admins happy. I > should have started with this as migration was a pain... > It's nice to see there are catalogs getting enough traffic to need this kind of RAM to keep up. For comparison with an 'interesting' configuration, interchange.redhat.com is a dual-PIII, but with only 256M ram and 256M swap. =) -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Dec 14 22:00:00 2001 Subject: [ic] Price breaks by quantity On Fri, Dec 14, 2001 at 06:28:18PM -0500, hhh@springboardgroup.com wrote: > > Is there a quick way (or a long way) to change the pricing > breaks. My client has pricing breaks that line up on > boundaries of 6; e.g., 6, 12, 144, etc... However the defaults > in IC are 5, 10, 25, and so forth. Is this doable? > Yes, modify the pricing database to have fields with the right names, for example if you are using the default_db, change it from: sku price_group q2 q5 q10 q25 q100 to: sku price_group q6 q12 q144 Then put those fields in your CommonAdjust variable, for example, the default (in foundation) looks like: CommonAdjust :sale_price, ;:price, ;$, ==:options Change this to: CommonAdjust pricing:q6,q12,q144:, :sale_price ;:price, ;$, ==:options -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Dec 14 23:00:01 2001 Subject: [ic] 4.8.3 crashing - no one helps - will have to switch On Fri, 14 Dec 2001, Mike DeTuncq wrote: MD>>Thanks for posting "How to Ask Questions The Smart Way" and thanks to Eric MD>>Raymond, et al for creating it. I'm an IC newbie and have been monitoring MD>>this list for about a week. This is one of the most helpful nontechnical MD>>postings I've seen on any forum in quite some time. It was a useful MD>>reminder for me, and I've forwarded this to my teen girls and a friend's MD>>teen son who's a Hacker in development. It's very frustrating to me to see people in the position that I was in a year ago - trying to get help. In some cases I know that I could help if only I could understand what they are asking, or if I didn't have to wade through 30 pages of trivial baloney to get to the meat of the problem. We've got some very experienced guru's on this list. People that can offer some very expert help, if only they could understand the problem. I can't take any credit for what I posted. It was Dan Browning that found it. I can only take credit for keeping it on my hard drive and posting it when I see stupid questions. The bright spot of this is that all too often once a person works through the situation and finally has all of his ducks in a row to meet the criteria in that posting, he will have quite often discovered the solution to his problem by himself and no longer needs to post his question! He feels good, and we keep the bandwidth down! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, December 14, 2001 at 22:55 PM: One good turn gets most of the blanket. ---------------------------------------------------------------- This Linux System has been up 464 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Dec 14 23:06:01 2001 Subject: [ic] hardware recommendations On Fri, 14 Dec 2001 hhh@springboardgroup.com wrote: >>I'm looking for any hardware recommendations that this group >>may have for a RH Linux server, with Apache and Interchange. >>Only 1 or 2 vhosts; no other services. Buy the highest speed CPU that you can find. The faster the better. Install the maximum amount of RAM that your new motherboard will support. RAM is cheap. It's MUCH faster to swap in and out of RAM than to and from a Hard drive. >>Also are there any "formal" system requirements for Interchange. The latest and greatest Perl. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, December 14, 2001 at 23:00 PM: I'm not confused. I'm just well mixed. ---------------------------------------------------------------- This Linux System has been up 464 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Dec 14 23:11:00 2001 Subject: [ic] simple shipping question (please help) On Fri, 14 Dec 2001, chad townsend wrote: ct>>#1 i have only posted it twice. ct>>#2 i have only seen your 2 responses that offered no help ct>> ct>>my mail must be screwed up cause i haven't see anything else. and like i stated below i tried: ct>> ct>>> > > > configure interchange shipping for weight ct>>> > > > > and it seem to be working off quantity. ct>> ct>>> > > > > i tried to fake it out with weight saying everything 1 pound is ct>>> > > > 2.00 and everything 100 pounds is ct>>> > > > > 5.00 and set the items to the appropriate weight, it didn't ct>>> > > > work as expected. ct>> ct>>because: ct>> ct>>> > > > > and it seem to be working off quantity. ct>> ct>>even though i set it up for: ct>> ct>>> > > > configure interchange shipping for weight ct>> ct>>i didn't realize my question was a difficult one. While your question (and solution) may not be difficult, the way that you have presented it is difficult to wade through and to understand. The first boring part is the excessive quoting. (For me, anything that starts with a '>' is a quote and the more '>' I see is more quoting depths.) But, I am wierd and a ding-bat. Please re-think your problem, and find a totally different way to ask your question. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, December 14, 2001 at 23:10 PM: This tagline is slithy and gyres and gimbels in the wabe. ---------------------------------------------------------------- This Linux System has been up 464 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Dec 14 23:25:00 2001 Subject: [ic] Price breaks by quantity On Fri, 14 Dec 2001 hhh@springboardgroup.com wrote: >>Is there a quick way (or a long way) to change the pricing >>breaks. My client has pricing breaks that line up on >>boundaries of 6; e.g., 6, 12, 144, etc... However the defaults >>in IC are 5, 10, 25, and so forth. Is this doable? It's quite simple. Just add them in to pricing.txt. Keep them tab delimited. You can put in whatever breaks you want. If you haven't populated your inventory it's a piece of cake. I added price breaks to a working store by using Joe at the command line and turning on the column mode and copying over the previous column and renaming it. I've got about 75 different price breaks Just remember that once you put in a price, it has to be propagated through all of the columns. If the base price is $10, and wen they buy 10, or more the price goes to $5, then every column after the 10 as got to have 5.00 in it, or they will be charged 10.00 -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, December 14, 2001 at 23:20 PM: Famous last words - Lion at the Circus of Rome: Burp.. ---------------------------------------------------------------- This Linux System has been up 464 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Dec 14 23:28:01 2001 Subject: [ic] Running Interchange w/ a seperate secure server On Fri, 14 Dec 2001 cfm@maine.com wrote: >>YMMV, I'm the mean BOH that thinks people without sysadmin >>experience should not be running ic. It's way too easy to get >>up and running with the demo stores. >> >>$.02 >>cfm Damn! You are pissing me off! I thought that I had the sole rights to this line of thinking! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, December 14, 2001 at 23:30 PM: Keep London tidy... Shoot a pigeon. ---------------------------------------------------------------- This Linux System has been up 464 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (John Beima) Date: Sat Dec 15 00:28:01 2001 Subject: [ic] Running Interchange w/ a seperate secure server Nobody has ever tried what before? Running the SSL on a different server or under different domains? This is nothing new. As a matter of fact if the people in charge of MiniVend/Interchange wern't so close minded about it, the ability would have been built in a LONG time ago. Since both MiniVend & Interchange can handle it, it has just been configured by default to not work. There is also several code on several of the pages in the templates that purposely screw up when two domains are being used. Knowing this you can configure a server to use two seperate servers or domains VERY easily... We have been doing it for 3 years. > > I've read bits of the FAQ > > > (http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icfaq04%2e02) > > > but it doesn't seem to exactly answer the question. > > > I think thats because nobody has ever tried this before =) > > -- > Jason Kohles jkohles@redhat.com > Senior System Architect (703)786-8036 (cellular) > Red Hat Professional Consulting (703)456-2940 (office) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (John Beima) Date: Sat Dec 15 00:34:01 2001 Subject: [ic] Running Interchange w/ a seperate secure server I am along this line as well... If you don't know what a pod file is, you may not know how to use/access it, but if you don't know what it is... You don't know what CPAN stands for... You don't know the difference between scripts and a daemon.... You think you are two smart to read the documentaion... You charge people for your time to work on Interchange, but you are not willing to pay people to help you... Then you don't deserve the right to bother us.... You know Jim, when I first read some of your posts... Welll.... You know... But now I have a heathly level of respect for you, and actually look forward to some of the quick witted posts... John Quoting Jim Balcom <jim@idk-enterprises.com>: > On Fri, 14 Dec 2001 cfm@maine.com wrote: > > >>YMMV, I'm the mean BOH that thinks people without sysadmin > >>experience should not be running ic. It's way too easy to get > >>up and running with the demo stores. > >> > >>$.02 > >>cfm > > Damn! > You are pissing me off! > I thought that I had the sole rights to this line of thinking! > > > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Friday, December 14, 2001 at 23:30 PM: > Keep London tidy... Shoot a pigeon. > > ---------------------------------------------------------------- > This Linux System has been up 464 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (chad townsend) Date: Sat Dec 15 00:56:00 2001 Subject: [ic] understanding shipping->custom i'm running interchange-4.8.2 on linux using the foundation template. can someone please point me in the right direction on how to use the custom shipping located in the admin gui. here's how my custom formula would look: 2.00 x # of items ordered from product group #1 + 5.00 x # of items ordered from product group #2 ------ $nn.nn = total shipping cost i've look for documentation on this but can't find any, i'm sure it's under my nose. any help is greatly appreciated. ./chad& From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Sat Dec 15 01:34:01 2001 Subject: [ic] Running Interchange w/ a seperate secure server On Fri, Dec 14, 2001 at 10:27:59PM -0700, John Beima wrote: > Nobody has ever tried what before? Running the SSL on a different server or > under different domains? This is nothing new. As a matter of fact if the people > in charge of MiniVend/Interchange wern't so close minded about it, the ability > would have been built in a LONG time ago. Since both MiniVend & Interchange can > handle it, it has just been configured by default to not work. There is also > several code on several of the pages in the templates that purposely screw up > when two domains are being used. Knowing this you can configure a server to use > two seperate servers or domains VERY easily... We have been doing it for 3 > years. > No, nobody has ever tried using an ssl proxy server pretending to be a regular ssl web server rather than just install tlink on the ssl server. And I'm sorry if you feel that its closed-minded to choose the security of the majority over the convenience of the minority. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (David xxxxxxx) Date: Sat Dec 15 10:18:01 2001 Subject: [ic] Credit Card Info Hey guys, I sent this a week ago but haven't heard from anybody. Do any of you know if the ENCRYPTOR value in the admin interface needs any command line options? I'm trying to use gpg and am currently using the following value in the ENCRYPTOR field: /usr/local/bin/gpg Please let me know if you're familiar with this. Thanks!! Regards, David xxxxxxx dxxxxxxx@cyber3dnet.com -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of David xxxxxxx Sent: Sunday, December 09, 2001 10:53 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Credit Card Info Hey Simon, Thanks for the info! I stumbled around today for a while working on this, however, it appears that everything is now set up like you have described below, however, I still get the following in the body of the order e-mail: ----------------------------------------------------------- Credit Card Info: NEED ENCRYPTION ENABLED. Payment Method: Credit Card (visa) Account Number: 41**1111 Expiration: 10/02 ----------------------------------------------------------- Do you have any idea what I might be able to do to track down the problem on this? I've never used gpg before so it's probably just a simple configuration error. I did have one question - In the Admin area under Preferences --> Encryption, what should the ENCRYPTOR value be set to? On my system it is currently set to /usr/local/bin/gpg which I've verified as the correct location. Are there any other --options or anything that I need to have in this field as well? Thanks for your help guys!! David -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of music@labyrinth.net.au Sent: Monday, December 03, 2001 9:45 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Credit Card Info > Okay, I've been trying to figure out how to get my credit card info > encrypted for a good part of the day now. I see the below workaround, but > read about two hours of debate later on in the thread. I would love to get > pgp installed and working on my machine but I've run into two problems. This is how I do it using GnuPG. Install GnuPG on the box that will be used to receive and decrypt the orders. Then create a key pair on this box. Export the public key as an ascii file. Import this public key on the interch users ring on the server using: gpg --import [filename.asc] (as the interchange user) (Obviously GnuPG must be installed on the server) Then edit catalog.cfg and add the encryptor key to the line: EncryptKey 67A8567A Also the e-mail address for orders in catalog.cfg should be the same as the keys e-mail. Re-start IC and it should do the rest. Simon _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Peter Jakl) Date: Sat Dec 15 11:27:00 2001 Subject: [ic] Email order Is there a way to have the email version of the order that goes to the merchant include a version of the order as a file attachment? Basically, be able to add to the email header to setup the multi-part mime format. The rest could be handled in the "etc/report" file itself. Peter From: interchange-users at interchange.redhat.com (Peter Jakl) Date: Sat Dec 15 12:17:01 2001 Subject: [ic] Email attachment revisited I've done more research and found the [tag mime ...] tag, but I don't see how to create a file attachment version of the order in etc/report. I would really appreciate a specific example on how to do this. Thanks, Peter From: interchange-users at interchange.redhat.com (Jonathan Melhuish) Date: Sat Dec 15 13:02:00 2001 Subject: [ic] Storing additional checkout fields in the database An easy question from a completely clueless newbie:- I want to store the contents of a text box on the checkout in the database, and subequently show it in the 'orders' section of the admin interface. So far I have: > Inserted <INPUT TYPE=text NAME=my_field SIZE=22> into the checkout > Inserted my_field into transactions.txt > Inserted my_field [value my_field] into log_transaction The data entered into the box appears on the receipt if I add [value my_field] to receipt.html and the field appears in the "Table edit" view in the admin interface, but the data does not appear. The data does appear if I use the name of an existing field for the name of the text box. I am using Interchange 4.8.1 (will upgrade soon) on Linux Mandrake and using the built-in DBM database. My store is an adapted version of the 'foundation' store. What am I doing wrong? TIA, Jon From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Dec 15 13:18:01 2001 Subject: [ic] Re: Newbie Installation Question A bit of warning regarding the CPAN install routines.... I once did as suggested below, and allowed CPAN to auto install some needed modules. It promptly decided that I was running an outdated version of perl (I was up to date w/rt RH rpms), and proceeded to upgrade my perl to the latest version, without giving me a chance to say no. The upgrade continued for quite some time, (I was on a T1) and when it was done, several of my previously running perl scripts were now broken. It took several more hours to remove all of the perl from my machine and reinstall from the RH rpms. I had several clients on the machine who were inconvenienced by this rogue action. I would recommend hunting down the needed CPAN modules one by one, and installing them by hand. It took me almost an hour to get the CPAN modules I needed for IC, but it was better than the many hours spent the last time. Here are the modules (and dependent modules) I needed to install: Funny, it would seem to be fairly simple and very helpful if the installation documentation for IC would provide this list.... Bundle-libnet-1.00.tar.gz MIME-Base64-2.12.tar.gz URI-1.17.tar.gz HTML-Parser-3.25.tar.gz SQL-Statement-0.1021.tar.gz libnet-1.0901.tar.gz HTML-Tagset-3.03.tar.gz Safe-Hole-0.08.tar.gz libwww-perl-5.62.tar.gz Michelle Wilant wrote: > Yea! Nice to hear a Miva person move to Interchange. Now if you > could just convince some of my co-workers to do that.... :) > > Dan Browning wrote: > >>>Hello all, >>> >>> Just considering a move from Miva Merchant to >>>Interchange and am getting ready to do an rpm installation >>>of Interchange. I have downloaded all the rpms with the >>>exception of the CPAN modules. How do I know which ones I >>>need or do I need all of them? >>> >>>I apologize in advance for the newbie question and hope to >>>learn a lot very quickly :) >>> >>>Thanks >>> >>>Bob >>> >> >>Even if you do install the RPM modules (some of which are out of date >>for Red Hat 7.2), I recommend running >> >>perl -MCPAN -e 'install Bundle::Interchange' >> >>Or perhaps this first to get a faster mirror: >> >>perl -MCPAN -e 'shell' >>o conf urllist push ftp://mirrors.kernel.org/pub/CPAN/ >> >>HTH, >> >>Dan Browning >>Kavod Technologies >> >> >>_______________________________________________ >>interchange-users mailing list >>interchange-users@interchange.redhat.com >>http://interchange.redhat.com/mailman/listinfo/interchange-users >> >>. >> > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Dec 15 13:34:01 2001 Subject: [ic] makecat fails to create usable catalog 4.8.3-1 noarch I filed this bug report, and then I noticed that only 4 of forty odd bugs reported in the last 5 months have even been acknowledged... :-( If someone can shed some light on this, or point to an area I might concentrate my efforts, I would appreciate it.... Here is the situation/report: Installed CPAN perl modules and Interchange on a Redhat 7.0 system that currently has Apache (not stronghold) and a working SSL. Used these rpms: /usr/src/apps/interchange-4.8.3-1.noarch.rpm /usr/src/apps/interchange-foundation-4.8.3-1.noarch.rpm /usr/src/apps/interchange-doc-4.8.3-1.noarch.rpm /usr/src/apps/interchange-foundation-demo-4.8.3-1.i386.rpm I am able to access the foundation demo, both customer and admin interfaces. When I run /usr/lib/interchange/bin/makecat, and take the default for all of the options, it appears to create the catalog OK. Restarting interchange with /etc/init.d/interchange restart gives positive OK results. I can access the intial index.html page for the new store, but clicking on either the customer entrance link or the admin interface link results in a "404 - file not found error" If I use the restart command as specified at the end of the makecat script: su -c "/usr/lib/interchange/bin/interchange -r" interch I get an error message: Interchange V4.8.3 Configuring catalog foundation...Using default DBM database...done. Configuring catalog sam...sam config error: Please specify the MailOrderTo directive in the configuration file '' I have searched the config files, and compared the foundation demo to the new catalog (sam), and I cannot find a missing file or error. One interesting note is that the executable placed in my cgi-bin is different for foundation and sam. However, copying the working (foundation) over the new (sam) executable does not change the result. As it is, I am unable to create a working store. ---------------------------- Anyone got any ideas? This is a clean and stable and very vanilla installation of RH 7.0. I really try to avoid changing defaults 'cause I know how it can impact other installs. I will be happy to post my results to the list to help others. BTW, I have been a UNIX admin/programmer since about 1985. I kinda know my way around the OS.. I can hold my own with Perl, but it is not my most favorite programming language. I spent the better part of the day trying to get this to work, and I feel sorry for any Newbies who may take the initiative. -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (Fred Pope) Date: Sat Dec 15 14:48:01 2001 Subject: [ic] makecat fails to create usable catalog 4.8.3-1 noarch "I filed this bug report, and then I noticed that only 4 of forty odd bugs reported in the last 5 months have even been acknowledged... :-(" - Perhaps it is not a bug, but rather just your configuration. I think that you will find, that when you present a real situation to this list, that the good ol' boys at RH come running to the cause. Mike Heins has saved me once before. I also have a support contract with RH and I never really use it, just thought I would sign up to help support the cause since IC cost me nothing and the alternatives are expensive in both price and config /setup time. Maybe you should pursue a support contract. You can buy them for only a few hours at a time, and the guys are really nice, and very professional. "If someone can shed some light on this, or point to an area I might concentrate my efforts, I would appreciate it.... Here is the situation/report: Installed CPAN perl modules and Interchange on a Redhat 7.0 system that currently has Apache (not stronghold) and a working SSL. Used these rpms: /usr/src/apps/interchange-4.8.3-1.noarch.rpm /usr/src/apps/interchange-foundation-4.8.3-1.noarch.rpm /usr/src/apps/interchange-doc-4.8.3-1.noarch.rpm /usr/src/apps/interchange-foundation-demo-4.8.3-1.i386.rpm I am able to access the foundation demo, both customer and admin interfaces." Hmmm....I personally like installing from the tarball better. Just a way that has worked for me. May want to tear the system down and reinstall it from the tarball, but the RPM should work. "When I run /usr/lib/interchange/bin/makecat, and take the default for all of the options, it appears to create the catalog OK. Restarting interchange with /etc/init.d/interchange restart gives positive OK results. I can access the intial index.html page for the new store, but clicking on either the customer entrance link or the admin interface link results in a "404 - file not found error" " Check your variables.txt file. ....delete the variables.gdbm, and restart the deamon. You have something messed up in the path. You should check where the URL is pointing. "Please specify the MailOrderTo directive in the configuration file ''" Sounds like this is not being configured correctly. This is a good place to start digging. Fred Pope Satcom Resources. http://www.satcomresources.com From: interchange-users at interchange.redhat.com (Fred Pope) Date: Sat Dec 15 14:56:01 2001 Subject: [ic] hardware recommendations ">>I'm looking for any hardware recommendations that this group may have >>for a RH Linux server, with Apache and Interchange. Only 1 or 2 >>vhosts; no other services." I would start with some old junk PC and run it on that, analyze your traffic loads, and then improve on the platform from there. It is not an overly intensive process. 300 MHz should be fine for starters. From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Sat Dec 15 16:00:00 2001 Subject: [ic] Re: Newbie Installation Question On Sat, Dec 15, 2001 at 10:18:04AM -0800, tburt@timburt.com wrote: > > A bit of warning regarding the CPAN install routines.... > > I once did as suggested below, and allowed CPAN to auto install some > needed modules. It promptly decided that I was running an outdated > version of perl (I was up to date w/rt RH rpms), and proceeded to upgrade > my perl to the latest version, without giving me a chance to say no. The > upgrade continued for quite some time, (I was on a T1) and when it was > done, several of my previously running perl scripts were now broken. It > took several more hours to remove all of the perl from my machine and > reinstall from the RH rpms. I had several clients on the machine who were > inconvenienced by this rogue action. > You can avoid this merely by upgrading the CPAN module first, as this broken behavior has been corrected for some time. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Dec 15 16:30:00 2001 Subject: [ic] hardware recommendations I agree with Fred... I am running on a 500 MHZ clone with an old clunky ATA66 disk drive and 64 MB ram. MYSQL and Apache and IC, and the load is under a 1. No users yet though... If you are expecting heavy traffic, it is more likely that your crunch will come from the SSL encryption than from the application... On Sat, 15 Dec 2001, Fred Pope wrote: > ">>I'm looking for any hardware recommendations that this group may have > > >>for a RH Linux server, with Apache and Interchange. Only 1 or 2 > >>vhosts; no other services." > > I would start with some old junk PC and run it on that, analyze your > traffic loads, and then improve on the platform from there. It is not an > overly intensive process. 300 MHz should be fine for starters. > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Dec 15 16:38:00 2001 Subject: [ic] makecat fails to create usable catalog 4.8.3-1 noarch On Sat, 15 Dec 2001, Fred Pope wrote: > - Perhaps it is not a bug, but rather just your configuration. I think > that you will find, that when you present a real situation to this list, > that the good ol' boys at RH come running to the cause. Mike Heins has > saved me once before. I also have a support contract with RH and I never > really use it, just thought I would sign up to help support the cause > since IC cost me nothing and the alternatives are expensive in both > price and config /setup time. Maybe you should pursue a support > contract. You can buy them for only a few hours at a time, and the guys > are really nice, and very professional. This sounds encouraging... Thanks! > > Check your variables.txt file. ....delete the variables.gdbm, and > restart the deamon. You have something messed up in the path. You should > check where the URL is pointing. Hmmm variables.txt. I don't seem to have a file by that name anywhere on my filesystem. Perhaps a leftover from a prior release? Note that the foundation demo works without that file being present.... I notice from reading the list archives that most people arrive at 4.8.3 by upgrading from an old release... Has anyone tried installing 4.8.3 from scratch? W/RT tarball vs. RPM. On redhat system I try to use rpm's. It is a Redhat OS, and a Redhat app (IC) and RPM is the preferred Redhat distribution media... Thanks again for your response! Any help is greatly appreciated! > > Sounds like this is not being configured correctly. This is a good place > to start digging. > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (Jonathan Melhuish) Date: Sat Dec 15 18:07:00 2001 Subject: [ic] hardware recommendations On Saturday 15 December 2001 16:28, you wrote: > I agree with Fred... > > I am running on a 500 MHZ clone with an old clunky ATA66 disk drive and 64 > MB ram. MYSQL and Apache and IC, and the load is under a 1. No users yet > though... Just my two pence worth... I ran a recursive wget on my store on my Cobalt Raq3 (AMD K6 300MHz, 256Mb RAM) and got an average throughput of 1.62 pages per second (0.6 secs per page), in "Low traffic" mode using the built-in database. Any idea how big an increase in performance might I see from switching to high-traffic mode and running MySQL? Jon From: interchange-users at interchange.redhat.com (Jason Ballou) Date: Sat Dec 15 18:18:00 2001 Subject: [ic] "Page has Expired" error in AOL I am continually getting e-mails from customers who get a page has expired error page when clicking on the checkout button and sometimes I get similar questions from customers who get the same error when adding items to their cart. What can be done to fix this? Jason __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Dec 15 18:27:00 2001 Subject: [ic] Running Interchange w/ a seperate secure server On Fri, 14 Dec 2001, John Beima wrote: JB>>You know Jim, when I first read some of your posts... Welll.... You know... But JB>>now I have a heathly level of respect for you, and actually look forward to some JB>>of the quick witted posts... And, yea, as I walk through the valley of the shadow of death, I will fear no evil, for I am the meanest mother around! :-) JB>> JB>>Quoting Jim Balcom <jim@idk-enterprises.com>: JB>> JB>>> On Fri, 14 Dec 2001 cfm@maine.com wrote: JB>>> JB>>> >>YMMV, I'm the mean BOH that thinks people without sysadmin JB>>> >>experience should not be running ic. It's way too easy to get JB>>> >>up and running with the demo stores. JB>>> >> JB>>> >>$.02 JB>>> >>cfm JB>>> JB>>> Damn! JB>>> You are pissing me off! JB>>> I thought that I had the sole rights to this line of thinking! JB>>> JB>>> JB>>> JB>>> -= Jim =- JB>>> JB>>> ---------------------------------------------------------------- JB>>> Jim's Linux-Operated Underground Bomb Shelter JB>>> JB>>> Tagline for Friday, December 14, 2001 at 23:30 PM: JB>>> Keep London tidy... Shoot a pigeon. JB>>> JB>>> ---------------------------------------------------------------- JB>>> This Linux System has been up 464 hours JB>>> JB>>> My web page: http://www.idk-enterprises.com JB>>> ---------------------------------------------------------------- JB>>> JB>>> _______________________________________________ JB>>> interchange-users mailing list JB>>> interchange-users@interchange.redhat.com JB>>> http://interchange.redhat.com/mailman/listinfo/interchange-users JB>>> JB>> JB>> JB>> JB>>John Beima JB>>jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com JB>> JB>>P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 JB>>11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 JB>> JB>>Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 JB>>2713B Spring Place SW, Decatur, Alabama, United States, 35603 JB>>_______________________________________________ JB>>interchange-users mailing list JB>>interchange-users@interchange.redhat.com JB>>http://interchange.redhat.com/mailman/listinfo/interchange-users JB>> -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, December 15, 2001 at 18:25 PM: There is something to be said about me: "Wow!!" ---------------------------------------------------------------- This Linux System has been up 483 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Dec 15 18:37:00 2001 Subject: [ic] understanding shipping->custom On Sat, 15 Dec 2001, chad townsend wrote: ct>>i'm running interchange-4.8.2 on linux using the foundation template. can someone please point me ct>>in the right direction on how to use the custom shipping located in the admin gui. here's how my ct>>custom formula would look: ct>> ct>> 2.00 x # of items ordered from product group #1 ct>>+ 5.00 x # of items ordered from product group #2 ct>>------ ct>>$nn.nn = total shipping cost ct>> Please humor me for a moment. Zone-based shipping is one of the strong points of IC. It works right out of the box, you only need to change a couple of things here and there - like the originating zip code and getting a new zone table for your area. Making it work with the 'out-of-the-box' data and configuration is simple. FedEx, UPS and Priority Mail all charge by the weight of the package times the distance that it has to go. Your cost to ship is going to vary on each order. I recognize that there might be some unique situations where zone based shipping is not practical, but I've not heard of them. Would you please explain the situation to me? Once I learn your particular goals, I may be able to suggest some easier ways to meet your needs. And, from what I am reading up above, just increase the prices in group 1 by $2.00 and the price for each item in group 2 by $5.00 and brag about giving them free shipping! But, being an old man I get confoozled easily. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, December 15, 2001 at 18:30 PM: I am not an animal! I am ... well, not an animal. ---------------------------------------------------------------- This Linux System has been up 483 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Dec 15 18:41:00 2001 Subject: [ic] Credit Card Info On Sat, 15 Dec 2001, David xxxxxxx wrote: DS>>Date: Sat, 15 Dec 2001 09:08:25 -0600 DS>>From: David xxxxxxx <dxxxxxxx@cyber3dnet.com> DS>>Reply-To: interchange-users@interchange.redhat.com DS>>To: interchange-users@interchange.redhat.com DS>>Cc: music@labyrinth.net.au DS>>Subject: RE: [ic] Credit Card Info DS>> DS>>Hey guys, DS>> DS>>I sent this a week ago but haven't heard from anybody. Do any of you know From: http://www.tuxedo.org/~esr/faqs/smart-questions.html How To Ask Questions The Smart Way Copyright © 2001 by Eric S. Raymond -------------------------------------------------------------------------------- Table of Contents Introduction Before You Ask When You Ask How To Interpret Answers On Not Reacting Like A Loser Questions Not To Ask Good and Bad Questions If You Can't Get An Answer -------------------------------------------------------------------------------- Introduction In the world of hackers, the kind of answers you get to your technical questions depends as much on the way you ask the questions as on the difficulty of developing the answer. This guide will teach you how to ask questions in a way that is likely to get you a satisfactory answer. The first thing to understand is that hackers actually like hard problems and good, thought-provoking questions about them. If we didn't, we wouldn't be here. If you give us an interesting question to chew on we'll be grateful to you; good questions are a stimulus and a gift. Good questions help us develop our understanding, and often reveal problems we might not have noticed or thought about otherwise. Among hackers, "Good question!" is a strong and sincere compliment. Despite this, hackers have a reputation for meeting simple questions with what looks like hostility or arrogance. It sometimes looks like we're hostile to newbies and the ignorant. But this isn't really true. What we are, unapologetically, is hostile to people who seem to be unwilling to to think or do their own homework before asking questions. People like that are time sinks -- they take without giving back, they waste time we could have spent on another question more interesting and another person more worthy of an answer. We call people like this "losers" (and for historical reasons we sometimes spell it "lusers"). We're (largely) volunteers. We take time out of busy lives to answer questions, and at times we're overwhelmed with them. So we filter ruthlessly. In particular, we throw away questions from people who appear to be losers in order to spend our question-answering time more efficiently, on winners. You don't want to be one of the losers. You don't want to seem like one, either. The best way to get a rapid and responsive answer is to ask it like a winner ^× to ask it like a person with smarts, confidence, and clues who just happens to need help on one particular problem. (Improvements to this guide are welcome. You can mail suggestions to esr@thyrsus.com.) -------------------------------------------------------------------------------- Before You Ask Before asking a technical question by email, or in a newsgroup, or on a website chat board, do the following: Try to find an answer by reading the manual. Try to find an answer by reading a FAQ. Try to find an answer by searching the Web. Try to find an answer by asking a skilled friend. When you ask your question, display the fact that you have done these things first; this will help establish that you're not being a lazy sponge and wasting peoples' time. Better yet, display what you have learned from doing these things. We like answering questions for people who have demonstrated that they can learn from the answers. Prepare your question. Think it through. Hasty-sounding questions get hasty answers, or none at all. The more you do to demonstrate that you have put thought and effort into solving your problem before asking for help, the more likely you are to actually get help. Beware of asking the wrong question. If you ask one that is based on faulty assumptions, J. Random Hacker is quite likely to reply with a uselessly literal answer while thinking "Stupid question...", and hoping that the experience of getting what you asked for rather than what you needed will teach you a lesson. Never assume you are entitled to an answer. You are not. You will earn an answer, if you earn it, by asking a question that is substantial, interesting, and thought-provoking ^× one that implicitly contributes to the experience of the community rather than merely passively demanding knowledge from others. On the other hand, making it clear that you are able and willing to help in the process of developing the solution is a very good start. "Can someone provide a pointer?", "What is my example missing?" and "Is there a site I should have checked?" are more likely to get answered than "Please post the exact procedure I should use." because you're making it clear that you're truly willing to complete the process if someone can simply point you in the right direction. -------------------------------------------------------------------------------- When You Ask Choose your forum carefully Be sensitive in choosing where you ask your question. You are likely to be ignored, or written off as a loser, if you: post your question to a forum where it is off topic post a very elementary question to a forum where advanced technical questions are expected, or vice-versa cross-post to too many different newsgroups Hackers blow off questions that are inappropriately targeted in order to try to protect their communications channels from being drowned in irrelevance. You don't want this to happen to you. -------------------------------------------------------------------------------- Write in clear, grammatical, correctly-spelled language We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy thinkers (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere. So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ^× in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention. Spell correctly. Don't confuse "its" with "it's" or "loose" with "lose". Don't TYPE IN ALL CAPS, this is read as shouting and considered rude. If you write like a semi-literate boob, you will probably be ignored. Writing like a l33t script kiddie hax0r is the absolute kiss of death and guarantees you will receive nothing but stony silence (or, at best, a heaping helping of scorn and sarcasm) in return. If you are asking questions in a forum that does not use your native language, you will get a limited amount of slack for spelling and grammar errors ^× but no extra slack at all for sloppy thinking (and yes, we can usually spot that difference). Also, unless you know what your respondent's languages are, write in English. Busy hackers tend to simply flush questions in languages they don't understand, and English is the working language of the net. By writing in English you minimize your chances that your question will be discarded unread. -------------------------------------------------------------------------------- Send questions in formats that are easy to understand If you make your question artificially hard to read, it is more likely to be passed over in favor of one that isn't. So: Send plain text mail, not HTML. Don't send mail in which entire paragraphs are single multiply-wrapped lines. (This makes it too difficult to reply to just part of the message.) Don't send MIME Quoted-Printable encoding either; all those =20 glyphs scattered through the text are ugly and distracting. Never, ever expect hackers to be able to read closed proprietary document formats like Microsoft Word. Most hackers react to these about as well as you would to having a pile of steaming pig manure dumped on your doorstep. If you're sending mail from a Windows machine, turn off Microsoft's stupid "Smart Quotes" feature. This is so you avoid sprinkling garbage characters through your mail. -------------------------------------------------------------------------------- Use meaningful, specific subject headers On mailing lists or newsgroups, the subject header is your golden opportunity to attract qualified experts' attention in around 50 characters or fewer. Don't waste it on babble like "Please help me" (let alone "PLEASE HELP ME!!!!"). Don't try to impress us with the depth of your anguish; use the space for a super-concise problem description instead. Stupid: HELP! Video doesn't work properly on my laptop! Smart: XFree86 4.1 misshapen mouse cursor, Fooware MV1005 vid. chipset -------------------------------------------------------------------------------- Be precise and informative about your problem Describe the symptoms of your problem or bug carefully and clearly. Describe the environment in which it occurs (machine, OS, application, whatever). Describe the research you did to try and understand the problem before you asked the question. Describe the diagnostic steps you took to try and pin down the problem yourself before you asked the question. Describe any recent changes in your computer or software configuration that might be relevant. Do the best you can to anticipate the questions a hacker will ask, and to answer them in advance in your request for help. Simon Tatham has written an excellent essay entitled How to Report Bugs Effectively. I strongly recommend that you read it. -------------------------------------------------------------------------------- Describe the problem's symptoms, not your guesses It's not useful to tell hackers what you think is causing your problem. (If your diagnostic theories were such hot stuff, would you be consulting others for help?) So, make sure you're telling them the raw symptoms of what goes wrong, rather than your interpretations and theories. Let them do the interpretation and diagnosis. Stupid: I'm getting back-to-back SIG11 errors on kernel compiles, and suspect a hairline crack on one of the motherboard traces. What's the best way to check for those? Smart: My home-built K6/233 on an FIC-PA2007 motherboard (VIA Apollo VP2 chipset) with 256MB Corsair PC133 SDRAM starts getting frequent SIG11 errors about 20 minutes after power-on during the course of kernel compiles, but never in the first 20 minutes. Rebooting doesn't restart the clock, but powering down overnight does. Swapping out all RAM didn't help. The relevant part of a typical compile session log follows. -------------------------------------------------------------------------------- Describe your problem's symptoms in chronological order The most useful clues in figuring out something that went wrong often lie in the events immediately prior. So, your account should describe precisely what you did, and what the machine did, leading up to the blowup. In the case of command-line processes, having a session log (e.g., using the script utility) and quoting the relevant twenty or so lines is very useful. If the program that blew up on you has diagnostic options (such as -v for verbose), try to think carefully about selecting options that will add useful debugging information to the transcript. If your account ends up being long (more than about four paragraphs), it might be useful to succinctly state the problem up top, then follow with the chronological tale. That way, hackers will know what to watch for in reading your account. -------------------------------------------------------------------------------- Don't ask people to reply by private email Hackers believe solving problems should be a public, transparent process during which a first try at an answer can and should be corrected if someone more knowledgeable notices that it is incomplete or incorrect. Also, they get some of their reward for being respondents from being seen to be competent and knowledgeable by their peers. When you ask for a private reply, you are disrupting both the process and the reward. Don't do this. It's the respondent's choice whether to reply privately ^× and if he does, it's usually because he thinks the question is too obvious or ill-formed to be interesting to others. There is one limited exception to to this rule. If you think the question is such that you are likely to get a lot of answers that are all pretty similar, then the magic words are "email me and I'll summarize the answers for the group". It is courteous to try and save the mailing list or newsgroup a flood of substantially identical postings ^× but you have to keep the promise to summarize. -------------------------------------------------------------------------------- Prune pointless queries Resist the temptation to close your request for help with semantically-null questions like "Can anyone help me?" or "Is there an answer?" First: if you've written your problem description halfway competently, such tacked-on questions are at best superfluous. Second: because they are superfluous, hackers find them annoying ^× and are likely to return logically impeccable but dismissive answers like "Yes, you can be helped" and "No, there is no help for you." -------------------------------------------------------------------------------- Courtesy never hurts, and sometimes helps Be courteous. Use "Please" and "Thanks in advance". Make it clear that you appreciate the time people spend helping you for free. To be honest, this isn't as important as (and cannot substitute for) being grammatical, clear, precise and descriptive, avoiding proprietary formats etc.; hackers in general would rather get somewhat brusque but technically sharp bug reports than polite vagueness. (If this puzzles you, remember that we value a question by what it teaches us.) However, if you've got your technical ducks in a row, politeness does increase you chances of getting a useful answer. -------------------------------------------------------------------------------- Follow up with a brief note on the solution Send a note after the problem has been solved to all who helped you; let them know how it came out and thank them again for their help. If the problem attracted general interest in a mailing list or newsgroup, it's appropriate to post the followup there. Your followup doesn't have to be long and involved; a simple "Howdy - it was a failed network cable! Thanks, everyone. - Bill" would be better than nothing. In fact, a short and sweet summary is better than a long dissertation unless the solution has real technical depth. Besides being courteous and informative, this sort of followup helps everybody who assisted feel a satisfying sense of closure about the problem. If you are not a techie or hacker yourself, trust us that this feeling is very important to the gurus and experts you tapped for help. Problem narratives that trail off into unresolved nothingness are frustrating things; hackers itch to see them resolved. The good karma that scratching that itch earns you will be very, very helpful to you next time you need to pose a question. -------------------------------------------------------------------------------- How To Interpret Answers RTFM and STFW: How To Tell You've Seriously Screwed Up There is an ancient and hallowed tradition: if you get a reply that reads "RTFM", the person who sent it thinks you should have Read The Fucking Manual. He is almost certainly right. Go read it. RTFM has a younger relative. If you get a reply that reads "STFW", the person who sent it thinks you should have Searched The Fucking Web. He is almost certainly right. Go search it. Often, the person sending either of these replies has the manual or the web page with the information you need open, and is looking at it as he types. These replies mean that he thinks (a) the information you read is easy to find, and (b) you will learn more if you seek out the information than if you have it spoon-fed to you. You shouldn't be offended by this; by hacker standards, he is showing you a rough kind of respect simply by not ignoring you. You should instead thank him for his grandmotherly kindness. -------------------------------------------------------------------------------- If you don't understand... If you don't understand the answer, do not immediately bounce back a demand for clarification. Use the same tools that you used to try and answer your original question (manuals, FAQs, the Web, skilled friends) to understand the answer. If you need to ask for clarification, exhibit what you have learned. For example, suppose I tell you: "It sounds like you've got a stuck zentry; you'll need to clear it." Then: Here's a bad followup question: "What's a zentry?" Here's a good followup question: "OK, I read the man page and zentries are only mentioned under the -z and -p switches. Neither of them says anything about clearing zentries. Is it one of these or am I missing something here?" -------------------------------------------------------------------------------- On Not Reacting Like A Loser Odds are, you'll screw up a few times, on hacker community forums -- in ways detailed in this article, or similar. And you'll be told exactly how you screwed up, possibly with colourful asides. In public. When this happens, the worst thing you can do is whine about the experience, claim to have been verbally assaulted, demand apologies, scream, hold your breath, threaten lawsuits, complain to people's employers, leave the toilet seat up, etc. Instead, here's what you do: Get over it. It's normal. In fact, it's healthy and appropriate. Community standards do not maintain themselves: They're maintained by people actively applying them, visibly, in public. Don't whine that all criticism should have been conveyed via private mail: That's not how it works. Nor is it useful to insist you've been personally insulted when someone comments that one of your claims was wrong, or that his views differ. Those are loser attitudes. There have been hacker forums where, out of some misguided sense of hyper-courtesy, participants are banned from posting any fault-finding with another's posts, and told "Don't say anything if you're unwilling to help the user." The resulting departure of clueful participants to elsewhere causes them to descend into meaningless babble and become useless as technical forums. Exaggeratedly "friendly" (in that fashion) or useful: Pick one. Remember: When that hacker tells you that you've screwed up, and (no matter how gruffly) tells you not to do it again, he's acting out of concern for (1) you and (2) his community. It would be much easier for him to ignore you and filter you out of his life. If you can't manage to be grateful, at least have a little dignity, don't whine, and don't expect to be treated like a fragile doll just because you're a newcomer with a theatrically hypersensitive soul and delusions of entitlement. -------------------------------------------------------------------------------- Questions Not To Ask Here are some classic stupid questions, and what hackers are thinking when they don't answer them. Q: Where can I find program X? Q: I'm having problems with my Windows machine. Can you help? Q: I'm having problems installing Linux or X. Can you help? Q: How can I crack root/steal channel-ops privileges/read someone's email? Q: Where can I find program X? A: The same place I'd find it, fool -- at the other end of a web search. Ghod, doesn't everybody know how to use Google yet? Q: I'm having problems with my Windows machine. Can you help? A: Yes. Throw out that Microsoft trash and install Linux. Q: I'm having problems installing Linux or X. Can you help? A: No. I'd need hands-on access to your machine to troubleshoot this. Go ask your local Linux user group for hands-on help. Q: How can I crack root/steal channel-ops privileges/read someone's email? A: You're a lowlife for wanting to do such things and a moron for asking a hacker to help you. -------------------------------------------------------------------------------- Good and Bad Questions Finally, I'm going to illustrate how to ask questions in a smart way by example; pairs of questions about the same problem, one asked in a stupid way and one in a smart way. Stupid: Where can I find out stuff about the Foonly Flurbamatic? This question just begs for "STFW" as a reply. Smart: I used Google to try to find "Foonly Flurbamatic 2600" on the Web, but I got no useful hits. Does anyone know where I can find programming information on this device? This one has already SFTWed, and sounds like he might have a real problem. Stupid: I can't get the code from project foo to compile. Why is it broken? He assumes that somebody else screwed up. Arrogant of him. Smart: The code from project foo doesn't compile under Nulix version 6.2. I've read the FAQ, but it doesn't have anything in it about Nulix-related problems. Here's a transcript of my compilation attempt; is it something I did? He's specified the environment, he's read the FAQ, he's showing the error, and and he's not assuming his problems are someone else's fault. This guy might be worth some attention. Stupid: I'm having problems with my motherboard. Can anybody help? J. Random Hacker's response to this is likely to be "Right. Do you need burping and diapering, too?" followed by a punch of the delete key. Smart: I tried X, Y, and Z on the S2464 motherboard. When that didn't work, I tried A, B, and C. Note the curious symptom when I tried C. Obviously the florbish is grommicking, but the results aren't what one might expect. What are the usual causes of grommicking on MP motherboards? Anybody got ideas for more tests I can run to pin down the problem? This person, on the other hand, seems worthy of an answer. He has exhibited problem-solving intelligence rather than waiting for an answer to drop from on high. In the last question, notice the subtle but important difference between demanding "Give me an answer" and "Please help me figure out what additional diagnostics I can run to achieve enlightenment." In fact, the form of that last question is closely based on a real incident that happened in August 2001 on the linux-kernel mailing list. I (Eric) was the one asking the question that time. I was seeing mysterious lockups on a Tyan S2464 motherboard. The listmembers supplied the critical information I needed to solve them. By asking the question in the way I did, I gave people something to chew on; I made it easy and attractive for them to get involved. I demonstrated respect for my peers' ability and invited them to consult with me as a peer. I also demonstrated respect for the value of their time by telling them the blind alleys I had already run down. Afterwards, when I thanked everyone and remarked how well the process had worked, an lkml member observed that he thought it had worked not because I'm a "name" on that list, but because I asked the question in the proper form. We hackers are in some ways a very ruthless meritocracy; I'm certain he was right, and that if I had behaved like a sponge I would have been flamed or ignored no matter who I was. His suggestion that I write up the whole incident as an instruction to others led directly to the composition of this guide. -------------------------------------------------------------------------------- If You Can't Get An Answer We realize that there are many people who just want to use the software we write, and have no interest in learning technical details. For most people, a computer is merely a tool, a means to an end. We acknowledge that, and don't expect everyone to take an interest in technical matters. Nevertheless, our style of answering questions is tuned for people who do take such an interest. Thus, if you can't get an answer, please don't take it personally that we don't feel we can help you. There are other sources of help you can go to, often sources better adapted to a novice's needs. There are many online and local user groups who are enthusiasts about the software, even though they may never have written any software themselves. These groups often form so that people can help each other and help new users. There are also plenty of commercial companies you can contract with for help, both large and small. Don't be dismayed at the idea of having to pay for a bit of help! After all, if your car engine blows a head gasket, chances are, you will take it to a repair shop and pay to get it fixed. Even if the software didn't cost you anything, you can't expect that support will always come for free. For popular software like Linux, there are are at least 10000 users per developer. It's just not possible for one person to handle the support calls from over 10000 users. Remember that even if you have to pay for support, you are still paying much less than if you had to buy the software as well (and support for closed-source software is usually more expensive and less competent than support for open-source software). Compliments of Dan Browning <danpb@mail.com> -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, December 15, 2001 at 18:40 PM: Puns are bad, but poetry is verse. ---------------------------------------------------------------- This Linux System has been up 483 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Dec 15 18:44:11 2001 Subject: [ic] Email order On Sat, 15 Dec 2001, Peter Jakl wrote: PJ>>Is there a way to have the email version of the order that goes to the PJ>>merchant include a version of the order as a file attachment? Basically, be PJ>>able to add to the email header to setup the multi-part mime format. The PJ>>rest could be handled in the "etc/report" file itself. Please rephrase the question and ask again. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, December 15, 2001 at 18:40 PM: Puns are bad, but poetry is verse. ---------------------------------------------------------------- This Linux System has been up 483 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Dec 15 18:48:00 2001 Subject: [ic] Storing additional checkout fields in the database On Sat, 15 Dec 2001, Jonathan Melhuish wrote: JM>>An easy question from a completely clueless newbie:- JM>> JM>>I want to store the contents of a text box on the checkout in the database, JM>>and subequently show it in the 'orders' section of the admin interface. JM>> JM>>So far I have: JM>> JM>> > Inserted <INPUT TYPE=text NAME=my_field SIZE=22> into the checkout JM>> > Inserted my_field into transactions.txt JM>> > Inserted my_field [value my_field] into log_transaction JM>> JM>>The data entered into the box appears on the receipt if I add [value JM>>my_field] to receipt.html and the field appears in the "Table edit" view in JM>>the admin interface, but the data does not appear. The data does appear if I JM>>use the name of an existing field for the name of the text box. In checkout.html, there are quite a few elements that are being gathered from the customer and are getting written to the database. Just follow those examples. Make sure that you have added a similar column in the appropriate database. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, December 15, 2001 at 18:40 PM: Puns are bad, but poetry is verse. ---------------------------------------------------------------- This Linux System has been up 483 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Fred Pope) Date: Sat Dec 15 18:51:09 2001 Subject: [ic] makecat fails to create usable catalog 4.8.3-1 noarch " Hmmm variables.txt. I don't seem to have a file by that name anywhere on my filesystem. Perhaps a leftover from a prior release?" How about variables.gdbm? I am currently working on a system for someone else that is running IC 4.8.3 and the file variables.txt is there and we are using it. When you restart the server, the variables.txt is read into the variables.gdbm. This should be in your $catalogroot/products directory. -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of tburt@timburt.com Sent: Saturday, December 15, 2001 2:37 PM To: Fred Pope Cc: interchange-users@interchange.redhat.com Subject: RE: [ic] makecat fails to create usable catalog 4.8.3-1 noarch On Sat, 15 Dec 2001, Fred Pope wrote: > - Perhaps it is not a bug, but rather just your configuration. I think > that you will find, that when you present a real situation to this > list, that the good ol' boys at RH come running to the cause. Mike > Heins has saved me once before. I also have a support contract with RH > and I never really use it, just thought I would sign up to help > support the cause since IC cost me nothing and the alternatives are > expensive in both price and config /setup time. Maybe you should > pursue a support contract. You can buy them for only a few hours at a > time, and the guys are really nice, and very professional. This sounds encouraging... Thanks! > > Check your variables.txt file. ....delete the variables.gdbm, and > restart the deamon. You have something messed up in the path. You > should check where the URL is pointing. Hmmm variables.txt. I don't seem to have a file by that name anywhere on my filesystem. Perhaps a leftover from a prior release? Note that the foundation demo works without that file being present.... I notice from reading the list archives that most people arrive at 4.8.3 by upgrading from an old release... Has anyone tried installing 4.8.3 from scratch? W/RT tarball vs. RPM. On redhat system I try to use rpm's. It is a Redhat OS, and a Redhat app (IC) and RPM is the preferred Redhat distribution media... Thanks again for your response! Any help is greatly appreciated! > > Sounds like this is not being configured correctly. This is a good > place to start digging. > -- -------------------- Timothy Burt Internet Specialist _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Dec 15 18:55:01 2001 Subject: [ic] Re: Newbie Installation Question On Sat, 15 Dec 2001 tburt@timburt.com wrote: >>A bit of warning regarding the CPAN install routines.... >> >>I once did as suggested below, and allowed CPAN to auto install some >>needed modules. It promptly decided that I was running an outdated >>version of perl (I was up to date w/rt RH rpms), and proceeded to upgrade >>my perl to the latest version, without giving me a chance to say no. The >>upgrade continued for quite some time, (I was on a T1) and when it was >>done, several of my previously running perl scripts were now broken. It >>took several more hours to remove all of the perl from my machine and >>reinstall from the RH rpms. I had several clients on the machine who were >>inconvenienced by this rogue action. It has been shown to me that different distributions of Linux install Perl in different places. You can usually correct this by simply putting in some symlinks. Normally, by looking at the first line of the script you can see where the script is looking for Perl and you can put a symlink in that location. That's much easier than trying to have a fight with the computer about it. >>Timothy Burt >>Internet Specialist Oh? Very interesting! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, December 15, 2001 at 18:45 PM: Drawing on my fine command of language, I said nothing ---------------------------------------------------------------- This Linux System has been up 483 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Dec 15 18:58:10 2001 Subject: [ic] makecat fails to create usable catalog 4.8.3-1 noarch On Sat, 15 Dec 2001 tburt@timburt.com wrote: >>I filed this bug report, and then I noticed that only 4 of forty odd bugs >>reported in the last 5 months have even been acknowledged... :-( >>Interchange V4.8.3 >>Configuring catalog foundation...Using default DBM database...done. >>Configuring catalog sam...sam config error: Please specify the MailOrderTo >>directive in the configuration file '' It's been covered many times. Check the mail archives. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, December 15, 2001 at 18:55 PM: Insert New Disk for Drive C: Press ENTER when ready. ---------------------------------------------------------------- This Linux System has been up 484 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Fred Pope) Date: Sat Dec 15 19:02:00 2001 Subject: [ic] makecat fails to create usable catalog 4.8.3-1 noarch " Hmmm variables.txt. I don't seem to have a file by that name anywhere on my filesystem. Perhaps a leftover from a prior release?" Nope....it is in there but I think you just may have not found it. Do an 'updatedb' and then a 'locate variables.txt'. I am assuming that you are at the command line. I am currently working on a system for someone else that is running IC 4.8.3 and the file variables.txt is there and I am using it. When you restart the server, the variables.txt is read into the variables.gdbm. You will need to modify variables.txt, delete variables.gdbm and restart the server and that will create a new variables.gdbm. This is a tab delimited file and you use it to set a lot of things like credit card processing information, and where the orders are sent to, as well as the domain of your page. You need to find this file prior to getting anything done. To have the new values take effect, you will have to restart the IC server and have removed that .gdbm file. I am assuming that you are not using the admin interface. I think that you will not beable to find it in there although you might. I have not really used that admin that much, except to build a couple template pages and add products. I use vi to edit all these files. This file should be in your $catalogroot/products directory (e.g /home/interch/catalogs/nameofcatalog/products/ ).As far as I know, this is still in the 4.8.3 distribution since I am using it to configure a store on that platform form someone else. I run 4.8.2 but we have updated several of the pieces. Many of the changes in 4.8.3 are not necessary if you are not using those features i.e. BOA card processing. From: interchange-users at interchange.redhat.com (Fred Pope) Date: Sat Dec 15 19:06:00 2001 Subject: [ic] hardware recommendations "Any idea how big an increase in performance might I see from switching to high-traffic mode and running MySQL?" I noticed a measurable improvement by moving the database to its own server. From: interchange-users at interchange.redhat.com (David xxxxxxx) Date: Sat Dec 15 19:09:07 2001 Subject: [ic] Credit Card Info heh, I guess I was just begging for that wasn't I? :o) -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jim Balcom Sent: Saturday, December 15, 2001 5:42 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Credit Card Info On Sat, 15 Dec 2001, David xxxxxxx wrote: DS>>Date: Sat, 15 Dec 2001 09:08:25 -0600 DS>>From: David xxxxxxx <dxxxxxxx@cyber3dnet.com> DS>>Reply-To: interchange-users@interchange.redhat.com DS>>To: interchange-users@interchange.redhat.com DS>>Cc: music@labyrinth.net.au DS>>Subject: RE: [ic] Credit Card Info DS>> DS>>Hey guys, DS>> DS>>I sent this a week ago but haven't heard from anybody. Do any of you know From: http://www.tuxedo.org/~esr/faqs/smart-questions.html How To Ask Questions The Smart Way Copyright © 2001 by Eric S. Raymond ---------------------------------------------------------------------------- ---- Table of Contents Introduction Before You Ask When You Ask How To Interpret Answers On Not Reacting Like A Loser Questions Not To Ask Good and Bad Questions If You Can't Get An Answer ---------------------------------------------------------------------------- ---- Introduction In the world of hackers, the kind of answers you get to your technical questions depends as much on the way you ask the questions as on the difficulty of developing the answer. This guide will teach you how to ask questions in a way that is likely to get you a satisfactory answer. The first thing to understand is that hackers actually like hard problems and good, thought-provoking questions about them. If we didn't, we wouldn't be here. If you give us an interesting question to chew on we'll be grateful to you; good questions are a stimulus and a gift. Good questions help us develop our understanding, and often reveal problems we might not have noticed or thought about otherwise. Among hackers, "Good question!" is a strong and sincere compliment. Despite this, hackers have a reputation for meeting simple questions with what looks like hostility or arrogance. It sometimes looks like we're hostile to newbies and the ignorant. But this isn't really true. What we are, unapologetically, is hostile to people who seem to be unwilling to to think or do their own homework before asking questions. People like that are time sinks -- they take without giving back, they waste time we could have spent on another question more interesting and another person more worthy of an answer. We call people like this "losers" (and for historical reasons we sometimes spell it "lusers"). We're (largely) volunteers. We take time out of busy lives to answer questions, and at times we're overwhelmed with them. So we filter ruthlessly. In particular, we throw away questions from people who appear to be losers in order to spend our question-answering time more efficiently, on winners. You don't want to be one of the losers. You don't want to seem like one, either. The best way to get a rapid and responsive answer is to ask it like a winner ^× to ask it like a person with smarts, confidence, and clues who just happens to need help on one particular problem. (Improvements to this guide are welcome. You can mail suggestions to esr@thyrsus.com.) ---------------------------------------------------------------------------- ---- Before You Ask Before asking a technical question by email, or in a newsgroup, or on a website chat board, do the following: Try to find an answer by reading the manual. Try to find an answer by reading a FAQ. Try to find an answer by searching the Web. Try to find an answer by asking a skilled friend. When you ask your question, display the fact that you have done these things first; this will help establish that you're not being a lazy sponge and wasting peoples' time. Better yet, display what you have learned from doing these things. We like answering questions for people who have demonstrated that they can learn from the answers. Prepare your question. Think it through. Hasty-sounding questions get hasty answers, or none at all. The more you do to demonstrate that you have put thought and effort into solving your problem before asking for help, the more likely you are to actually get help. Beware of asking the wrong question. If you ask one that is based on faulty assumptions, J. Random Hacker is quite likely to reply with a uselessly literal answer while thinking "Stupid question...", and hoping that the experience of getting what you asked for rather than what you needed will teach you a lesson. Never assume you are entitled to an answer. You are not. You will earn an answer, if you earn it, by asking a question that is substantial, interesting, and thought-provoking ^× one that implicitly contributes to the experience of the community rather than merely passively demanding knowledge from others. On the other hand, making it clear that you are able and willing to help in the process of developing the solution is a very good start. "Can someone provide a pointer?", "What is my example missing?" and "Is there a site I should have checked?" are more likely to get answered than "Please post the exact procedure I should use." because you're making it clear that you're truly willing to complete the process if someone can simply point you in the right direction. ---------------------------------------------------------------------------- ---- When You Ask Choose your forum carefully Be sensitive in choosing where you ask your question. You are likely to be ignored, or written off as a loser, if you: post your question to a forum where it is off topic post a very elementary question to a forum where advanced technical questions are expected, or vice-versa cross-post to too many different newsgroups Hackers blow off questions that are inappropriately targeted in order to try to protect their communications channels from being drowned in irrelevance. You don't want this to happen to you. ---------------------------------------------------------------------------- ---- Write in clear, grammatical, correctly-spelled language We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy thinkers (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere. So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ^× in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention. Spell correctly. Don't confuse "its" with "it's" or "loose" with "lose". Don't TYPE IN ALL CAPS, this is read as shouting and considered rude. If you write like a semi-literate boob, you will probably be ignored. Writing like a l33t script kiddie hax0r is the absolute kiss of death and guarantees you will receive nothing but stony silence (or, at best, a heaping helping of scorn and sarcasm) in return. If you are asking questions in a forum that does not use your native language, you will get a limited amount of slack for spelling and grammar errors ^× but no extra slack at all for sloppy thinking (and yes, we can usually spot that difference). Also, unless you know what your respondent's languages are, write in English. Busy hackers tend to simply flush questions in languages they don't understand, and English is the working language of the net. By writing in English you minimize your chances that your question will be discarded unread. ---------------------------------------------------------------------------- ---- Send questions in formats that are easy to understand If you make your question artificially hard to read, it is more likely to be passed over in favor of one that isn't. So: Send plain text mail, not HTML. Don't send mail in which entire paragraphs are single multiply-wrapped lines. (This makes it too difficult to reply to just part of the message.) Don't send MIME Quoted-Printable encoding either; all those =20 glyphs scattered through the text are ugly and distracting. Never, ever expect hackers to be able to read closed proprietary document formats like Microsoft Word. Most hackers react to these about as well as you would to having a pile of steaming pig manure dumped on your doorstep. If you're sending mail from a Windows machine, turn off Microsoft's stupid "Smart Quotes" feature. This is so you avoid sprinkling garbage characters through your mail. ---------------------------------------------------------------------------- ---- Use meaningful, specific subject headers On mailing lists or newsgroups, the subject header is your golden opportunity to attract qualified experts' attention in around 50 characters or fewer. Don't waste it on babble like "Please help me" (let alone "PLEASE HELP ME!!!!"). Don't try to impress us with the depth of your anguish; use the space for a super-concise problem description instead. Stupid: HELP! Video doesn't work properly on my laptop! Smart: XFree86 4.1 misshapen mouse cursor, Fooware MV1005 vid. chipset ---------------------------------------------------------------------------- ---- Be precise and informative about your problem Describe the symptoms of your problem or bug carefully and clearly. Describe the environment in which it occurs (machine, OS, application, whatever). Describe the research you did to try and understand the problem before you asked the question. Describe the diagnostic steps you took to try and pin down the problem yourself before you asked the question. Describe any recent changes in your computer or software configuration that might be relevant. Do the best you can to anticipate the questions a hacker will ask, and to answer them in advance in your request for help. Simon Tatham has written an excellent essay entitled How to Report Bugs Effectively. I strongly recommend that you read it. ---------------------------------------------------------------------------- ---- Describe the problem's symptoms, not your guesses It's not useful to tell hackers what you think is causing your problem. (If your diagnostic theories were such hot stuff, would you be consulting others for help?) So, make sure you're telling them the raw symptoms of what goes wrong, rather than your interpretations and theories. Let them do the interpretation and diagnosis. Stupid: I'm getting back-to-back SIG11 errors on kernel compiles, and suspect a hairline crack on one of the motherboard traces. What's the best way to check for those? Smart: My home-built K6/233 on an FIC-PA2007 motherboard (VIA Apollo VP2 chipset) with 256MB Corsair PC133 SDRAM starts getting frequent SIG11 errors about 20 minutes after power-on during the course of kernel compiles, but never in the first 20 minutes. Rebooting doesn't restart the clock, but powering down overnight does. Swapping out all RAM didn't help. The relevant part of a typical compile session log follows. ---------------------------------------------------------------------------- ---- Describe your problem's symptoms in chronological order The most useful clues in figuring out something that went wrong often lie in the events immediately prior. So, your account should describe precisely what you did, and what the machine did, leading up to the blowup. In the case of command-line processes, having a session log (e.g., using the script utility) and quoting the relevant twenty or so lines is very useful. If the program that blew up on you has diagnostic options (such as -v for verbose), try to think carefully about selecting options that will add useful debugging information to the transcript. If your account ends up being long (more than about four paragraphs), it might be useful to succinctly state the problem up top, then follow with the chronological tale. That way, hackers will know what to watch for in reading your account. ---------------------------------------------------------------------------- ---- Don't ask people to reply by private email Hackers believe solving problems should be a public, transparent process during which a first try at an answer can and should be corrected if someone more knowledgeable notices that it is incomplete or incorrect. Also, they get some of their reward for being respondents from being seen to be competent and knowledgeable by their peers. When you ask for a private reply, you are disrupting both the process and the reward. Don't do this. It's the respondent's choice whether to reply privately ^× and if he does, it's usually because he thinks the question is too obvious or ill-formed to be interesting to others. There is one limited exception to to this rule. If you think the question is such that you are likely to get a lot of answers that are all pretty similar, then the magic words are "email me and I'll summarize the answers for the group". It is courteous to try and save the mailing list or newsgroup a flood of substantially identical postings ^× but you have to keep the promise to summarize. ---------------------------------------------------------------------------- ---- Prune pointless queries Resist the temptation to close your request for help with semantically-null questions like "Can anyone help me?" or "Is there an answer?" First: if you've written your problem description halfway competently, such tacked-on questions are at best superfluous. Second: because they are superfluous, hackers find them annoying ^× and are likely to return logically impeccable but dismissive answers like "Yes, you can be helped" and "No, there is no help for you." ---------------------------------------------------------------------------- ---- Courtesy never hurts, and sometimes helps Be courteous. Use "Please" and "Thanks in advance". Make it clear that you appreciate the time people spend helping you for free. To be honest, this isn't as important as (and cannot substitute for) being grammatical, clear, precise and descriptive, avoiding proprietary formats etc.; hackers in general would rather get somewhat brusque but technically sharp bug reports than polite vagueness. (If this puzzles you, remember that we value a question by what it teaches us.) However, if you've got your technical ducks in a row, politeness does increase you chances of getting a useful answer. ---------------------------------------------------------------------------- ---- Follow up with a brief note on the solution Send a note after the problem has been solved to all who helped you; let them know how it came out and thank them again for their help. If the problem attracted general interest in a mailing list or newsgroup, it's appropriate to post the followup there. Your followup doesn't have to be long and involved; a simple "Howdy - it was a failed network cable! Thanks, everyone. - Bill" would be better than nothing. In fact, a short and sweet summary is better than a long dissertation unless the solution has real technical depth. Besides being courteous and informative, this sort of followup helps everybody who assisted feel a satisfying sense of closure about the problem. If you are not a techie or hacker yourself, trust us that this feeling is very important to the gurus and experts you tapped for help. Problem narratives that trail off into unresolved nothingness are frustrating things; hackers itch to see them resolved. The good karma that scratching that itch earns you will be very, very helpful to you next time you need to pose a question. ---------------------------------------------------------------------------- ---- How To Interpret Answers RTFM and STFW: How To Tell You've Seriously Screwed Up There is an ancient and hallowed tradition: if you get a reply that reads "RTFM", the person who sent it thinks you should have Read The Fucking Manual. He is almost certainly right. Go read it. RTFM has a younger relative. If you get a reply that reads "STFW", the person who sent it thinks you should have Searched The Fucking Web. He is almost certainly right. Go search it. Often, the person sending either of these replies has the manual or the web page with the information you need open, and is looking at it as he types. These replies mean that he thinks (a) the information you read is easy to find, and (b) you will learn more if you seek out the information than if you have it spoon-fed to you. You shouldn't be offended by this; by hacker standards, he is showing you a rough kind of respect simply by not ignoring you. You should instead thank him for his grandmotherly kindness. ---------------------------------------------------------------------------- ---- If you don't understand... If you don't understand the answer, do not immediately bounce back a demand for clarification. Use the same tools that you used to try and answer your original question (manuals, FAQs, the Web, skilled friends) to understand the answer. If you need to ask for clarification, exhibit what you have learned. For example, suppose I tell you: "It sounds like you've got a stuck zentry; you'll need to clear it." Then: Here's a bad followup question: "What's a zentry?" Here's a good followup question: "OK, I read the man page and zentries are only mentioned under the -z and -p switches. Neither of them says anything about clearing zentries. Is it one of these or am I missing something here?" ---------------------------------------------------------------------------- ---- On Not Reacting Like A Loser Odds are, you'll screw up a few times, on hacker community forums -- in ways detailed in this article, or similar. And you'll be told exactly how you screwed up, possibly with colourful asides. In public. When this happens, the worst thing you can do is whine about the experience, claim to have been verbally assaulted, demand apologies, scream, hold your breath, threaten lawsuits, complain to people's employers, leave the toilet seat up, etc. Instead, here's what you do: Get over it. It's normal. In fact, it's healthy and appropriate. Community standards do not maintain themselves: They're maintained by people actively applying them, visibly, in public. Don't whine that all criticism should have been conveyed via private mail: That's not how it works. Nor is it useful to insist you've been personally insulted when someone comments that one of your claims was wrong, or that his views differ. Those are loser attitudes. There have been hacker forums where, out of some misguided sense of hyper-courtesy, participants are banned from posting any fault-finding with another's posts, and told "Don't say anything if you're unwilling to help the user." The resulting departure of clueful participants to elsewhere causes them to descend into meaningless babble and become useless as technical forums. Exaggeratedly "friendly" (in that fashion) or useful: Pick one. Remember: When that hacker tells you that you've screwed up, and (no matter how gruffly) tells you not to do it again, he's acting out of concern for (1) you and (2) his community. It would be much easier for him to ignore you and filter you out of his life. If you can't manage to be grateful, at least have a little dignity, don't whine, and don't expect to be treated like a fragile doll just because you're a newcomer with a theatrically hypersensitive soul and delusions of entitlement. ---------------------------------------------------------------------------- ---- Questions Not To Ask Here are some classic stupid questions, and what hackers are thinking when they don't answer them. Q: Where can I find program X? Q: I'm having problems with my Windows machine. Can you help? Q: I'm having problems installing Linux or X. Can you help? Q: How can I crack root/steal channel-ops privileges/read someone's email? Q: Where can I find program X? A: The same place I'd find it, fool -- at the other end of a web search. Ghod, doesn't everybody know how to use Google yet? Q: I'm having problems with my Windows machine. Can you help? A: Yes. Throw out that Microsoft trash and install Linux. Q: I'm having problems installing Linux or X. Can you help? A: No. I'd need hands-on access to your machine to troubleshoot this. Go ask your local Linux user group for hands-on help. Q: How can I crack root/steal channel-ops privileges/read someone's email? A: You're a lowlife for wanting to do such things and a moron for asking a hacker to help you. ---------------------------------------------------------------------------- ---- Good and Bad Questions Finally, I'm going to illustrate how to ask questions in a smart way by example; pairs of questions about the same problem, one asked in a stupid way and one in a smart way. Stupid: Where can I find out stuff about the Foonly Flurbamatic? This question just begs for "STFW" as a reply. Smart: I used Google to try to find "Foonly Flurbamatic 2600" on the Web, but I got no useful hits. Does anyone know where I can find programming information on this device? This one has already SFTWed, and sounds like he might have a real problem. Stupid: I can't get the code from project foo to compile. Why is it broken? He assumes that somebody else screwed up. Arrogant of him. Smart: The code from project foo doesn't compile under Nulix version 6.2. I've read the FAQ, but it doesn't have anything in it about Nulix-related problems. Here's a transcript of my compilation attempt; is it something I did? He's specified the environment, he's read the FAQ, he's showing the error, and and he's not assuming his problems are someone else's fault. This guy might be worth some attention. Stupid: I'm having problems with my motherboard. Can anybody help? J. Random Hacker's response to this is likely to be "Right. Do you need burping and diapering, too?" followed by a punch of the delete key. Smart: I tried X, Y, and Z on the S2464 motherboard. When that didn't work, I tried A, B, and C. Note the curious symptom when I tried C. Obviously the florbish is grommicking, but the results aren't what one might expect. What are the usual causes of grommicking on MP motherboards? Anybody got ideas for more tests I can run to pin down the problem? This person, on the other hand, seems worthy of an answer. He has exhibited problem-solving intelligence rather than waiting for an answer to drop from on high. In the last question, notice the subtle but important difference between demanding "Give me an answer" and "Please help me figure out what additional diagnostics I can run to achieve enlightenment." In fact, the form of that last question is closely based on a real incident that happened in August 2001 on the linux-kernel mailing list. I (Eric) was the one asking the question that time. I was seeing mysterious lockups on a Tyan S2464 motherboard. The listmembers supplied the critical information I needed to solve them. By asking the question in the way I did, I gave people something to chew on; I made it easy and attractive for them to get involved. I demonstrated respect for my peers' ability and invited them to consult with me as a peer. I also demonstrated respect for the value of their time by telling them the blind alleys I had already run down. Afterwards, when I thanked everyone and remarked how well the process had worked, an lkml member observed that he thought it had worked not because I'm a "name" on that list, but because I asked the question in the proper form. We hackers are in some ways a very ruthless meritocracy; I'm certain he was right, and that if I had behaved like a sponge I would have been flamed or ignored no matter who I was. His suggestion that I write up the whole incident as an instruction to others led directly to the composition of this guide. ---------------------------------------------------------------------------- ---- If You Can't Get An Answer We realize that there are many people who just want to use the software we write, and have no interest in learning technical details. For most people, a computer is merely a tool, a means to an end. We acknowledge that, and don't expect everyone to take an interest in technical matters. Nevertheless, our style of answering questions is tuned for people who do take such an interest. Thus, if you can't get an answer, please don't take it personally that we don't feel we can help you. There are other sources of help you can go to, often sources better adapted to a novice's needs. There are many online and local user groups who are enthusiasts about the software, even though they may never have written any software themselves. These groups often form so that people can help each other and help new users. There are also plenty of commercial companies you can contract with for help, both large and small. Don't be dismayed at the idea of having to pay for a bit of help! After all, if your car engine blows a head gasket, chances are, you will take it to a repair shop and pay to get it fixed. Even if the software didn't cost you anything, you can't expect that support will always come for free. For popular software like Linux, there are are at least 10000 users per developer. It's just not possible for one person to handle the support calls from over 10000 users. Remember that even if you have to pay for support, you are still paying much less than if you had to buy the software as well (and support for closed-source software is usually more expensive and less competent than support for open-source software). Compliments of Dan Browning <danpb@mail.com> -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, December 15, 2001 at 18:40 PM: Puns are bad, but poetry is verse. ---------------------------------------------------------------- This Linux System has been up 483 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Dec 15 20:08:01 2001 Subject: [ic] "Page has Expired" error in AOL On Sat, Dec 15, 2001 at 03:17:50PM -0800, Jason Ballou wrote: > I am continually getting e-mails from customers who > get a page has expired error page when clicking on the > checkout button and sometimes I get similar questions > from customers who get the same error when adding > items to their cart. > > What can be done to fix this? What have you tried? Have you read the secure server FAQ and the part about AOL? One needs to say WHAT THEY HAVE TRIED when asking question. > > Jason > > __________________________________________________ > Do You Yahoo!? > Check out Yahoo! Shopping and Yahoo! Auctions for all of > your unique holiday gifts! Buy at http://shopping.yahoo.com > or bid at http://auctions.yahoo.com > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Mike Heins) Date: Sat Dec 15 20:28:00 2001 Subject: [ic] hardware recommendations Quoting Fred Pope (fred@satcomresources.com): > "Any idea how big an increase in performance might I see from switching > to > high-traffic mode and running MySQL?" > > I noticed a measurable improvement by moving the database to its own > server. > The default setup in low-traffic mode is not optimized at all. Quite frankly, your biggest performance wins will be: 1. Put left-hand category list in timed-build mode. 2. Move to PreFork mode. That should give you a 5-15x improvement in pages per second, i.e. 8-20 per second. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Few blame themselves until they have exhausted all other possibilities. -- anonymous From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Sat Dec 15 21:44:00 2001 Subject: [ic] Credit Card Info On Sat, Dec 15, 2001 at 05:55:18PM -0600, David xxxxxxx wrote: > heh, I guess I was just begging for that wasn't I? :o) > Probably =), but the short answer is 'yes, you need command line arguments', and the long answer is that which arguments you need are spelled out quite clearly in the documentation. > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jim > Balcom > Sent: Saturday, December 15, 2001 5:42 PM > To: interchange-users@interchange.redhat.com > Subject: RE: [ic] Credit Card Info > > > On Sat, 15 Dec 2001, David xxxxxxx wrote: > > DS>>Date: Sat, 15 Dec 2001 09:08:25 -0600 > DS>>From: David xxxxxxx <dxxxxxxx@cyber3dnet.com> > DS>>Reply-To: interchange-users@interchange.redhat.com > DS>>To: interchange-users@interchange.redhat.com > DS>>Cc: music@labyrinth.net.au > DS>>Subject: RE: [ic] Credit Card Info > DS>> > DS>>Hey guys, > DS>> > DS>>I sent this a week ago but haven't heard from anybody. Do any of you > know > > From: http://www.tuxedo.org/~esr/faqs/smart-questions.html > > How To Ask Questions The Smart Way > Copyright © 2001 by Eric S. Raymond > > > ---------------------------------------------------------------------------- > ---- > > Table of Contents > Introduction > Before You Ask > When You Ask > How To Interpret Answers > On Not Reacting Like A Loser > Questions Not To Ask > Good and Bad Questions > If You Can't Get An Answer > > ---------------------------------------------------------------------------- > ---- > > Introduction > In the world of hackers, the kind of answers you get to your technical > questions depends as much on the way you ask the questions as on the > difficulty of developing the answer. This guide will teach you how to ask > questions in a way that is likely to get you a satisfactory answer. > > The first thing to understand is that hackers actually like hard problems > and good, thought-provoking questions about them. If we didn't, we wouldn't > be here. If you give us an interesting question to chew on we'll be > grateful to you; good questions are a stimulus and a gift. Good questions > help us develop our understanding, and often reveal problems we might not > have noticed or thought about otherwise. Among hackers, "Good question!" is > a strong and sincere compliment. > > Despite this, hackers have a reputation for meeting simple questions with > what looks like hostility or arrogance. It sometimes looks like we're > hostile to newbies and the ignorant. But this isn't really true. > > What we are, unapologetically, is hostile to people who seem to be > unwilling to to think or do their own homework before asking questions. > People like that are time sinks -- they take without giving back, they > waste time we could have spent on another question more interesting and > another person more worthy of an answer. We call people like this "losers" > (and for historical reasons we sometimes spell it "lusers"). > > We're (largely) volunteers. We take time out of busy lives to answer > questions, and at times we're overwhelmed with them. So we filter > ruthlessly. In particular, we throw away questions from people who appear > to be losers in order to spend our question-answering time more > efficiently, on winners. > > You don't want to be one of the losers. You don't want to seem like one, > either. The best way to get a rapid and responsive answer is to ask it like > a winner ^× to ask it like a person with smarts, confidence, and clues who > just happens to need help on one particular problem. > > (Improvements to this guide are welcome. You can mail suggestions to > esr@thyrsus.com.) > > > ---------------------------------------------------------------------------- > ---- > > Before You Ask > Before asking a technical question by email, or in a newsgroup, or on a > website chat board, do the following: > > Try to find an answer by reading the manual. > > Try to find an answer by reading a FAQ. > > Try to find an answer by searching the Web. > > Try to find an answer by asking a skilled friend. > > When you ask your question, display the fact that you have done these > things first; this will help establish that you're not being a lazy sponge > and wasting peoples' time. Better yet, display what you have learned from > doing these things. We like answering questions for people who have > demonstrated that they can learn from the answers. > > Prepare your question. Think it through. Hasty-sounding questions get hasty > answers, or none at all. The more you do to demonstrate that you have put > thought and effort into solving your problem before asking for help, the > more likely you are to actually get help. > > Beware of asking the wrong question. If you ask one that is based on faulty > assumptions, J. Random Hacker is quite likely to reply with a uselessly > literal answer while thinking "Stupid question...", and hoping that the > experience of getting what you asked for rather than what you needed will > teach you a lesson. > > Never assume you are entitled to an answer. You are not. You will earn an > answer, if you earn it, by asking a question that is substantial, > interesting, and thought-provoking ^× one that implicitly contributes to the > experience of the community rather than merely passively demanding > knowledge from others. > > On the other hand, making it clear that you are able and willing to help in > the process of developing the solution is a very good start. "Can someone > provide a pointer?", "What is my example missing?" and "Is there a site I > should have checked?" are more likely to get answered than "Please post the > exact procedure I should use." because you're making it clear that you're > truly willing to complete the process if someone can simply point you in > the right direction. > > > ---------------------------------------------------------------------------- > ---- > > When You Ask > Choose your forum carefully > Be sensitive in choosing where you ask your question. You are likely to be > ignored, or written off as a loser, if you: > > > post your question to a forum where it is off topic > > post a very elementary question to a forum where advanced technical > questions are expected, or vice-versa > > cross-post to too many different newsgroups > > Hackers blow off questions that are inappropriately targeted in order to > try to protect their communications channels from being drowned in > irrelevance. You don't want this to happen to you. > > > ---------------------------------------------------------------------------- > ---- > > Write in clear, grammatical, correctly-spelled language > We've found by experience that people who are careless and sloppy writers > are usually also careless and sloppy thinkers (often enough to bet on, > anyway). Answering questions for careless and sloppy thinkers is not > rewarding; we'd rather spend our time elsewhere. > > So expressing your question clearly and well is important. If you can't be > bothered to do that, we can't be bothered to pay attention. Spend the extra > effort to polish your language. It doesn't have to be stiff or formal ^× in > fact, hacker culture values informal, slangy and humorous language used > with precision. But it has to be precise; there has to be some indication > that you're thinking and paying attention. > > Spell correctly. Don't confuse "its" with "it's" or "loose" with "lose". > Don't TYPE IN ALL CAPS, this is read as shouting and considered rude. If > you write like a semi-literate boob, you will probably be ignored. Writing > like a l33t script kiddie hax0r is the absolute kiss of death and > guarantees you will receive nothing but stony silence (or, at best, a > heaping helping of scorn and sarcasm) in return. > > If you are asking questions in a forum that does not use your native > language, you will get a limited amount of slack for spelling and grammar > errors ^× but no extra slack at all for sloppy thinking (and yes, we can > usually spot that difference). Also, unless you know what your respondent's > languages are, write in English. Busy hackers tend to simply flush > questions in languages they don't understand, and English is the working > language of the net. By writing in English you minimize your chances that > your question will be discarded unread. > > > ---------------------------------------------------------------------------- > ---- > > Send questions in formats that are easy to understand > If you make your question artificially hard to read, it is more likely to > be passed over in favor of one that isn't. So: > > > Send plain text mail, not HTML. > > Don't send mail in which entire paragraphs are single multiply-wrapped > lines. (This makes it too difficult to reply to just part of the message.) > > Don't send MIME Quoted-Printable encoding either; all those =20 glyphs > scattered through the text are ugly and distracting. > > Never, ever expect hackers to be able to read closed proprietary document > formats like Microsoft Word. Most hackers react to these about as well as > you would to having a pile of steaming pig manure dumped on your doorstep. > > If you're sending mail from a Windows machine, turn off Microsoft's stupid > "Smart Quotes" feature. This is so you avoid sprinkling garbage characters > through your mail. > > > ---------------------------------------------------------------------------- > ---- > > Use meaningful, specific subject headers > On mailing lists or newsgroups, the subject header is your golden > opportunity to attract qualified experts' attention in around 50 characters > or fewer. Don't waste it on babble like "Please help me" (let alone "PLEASE > HELP ME!!!!"). Don't try to impress us with the depth of your anguish; use > the space for a super-concise problem description instead. > > > Stupid: > HELP! Video doesn't work properly on my laptop! > > Smart: > XFree86 4.1 misshapen mouse cursor, Fooware MV1005 vid. chipset > > > ---------------------------------------------------------------------------- > ---- > > Be precise and informative about your problem > > Describe the symptoms of your problem or bug carefully and clearly. > > Describe the environment in which it occurs (machine, OS, application, > whatever). > > Describe the research you did to try and understand the problem before you > asked the question. > > Describe the diagnostic steps you took to try and pin down the problem > yourself before you asked the question. > > Describe any recent changes in your computer or software configuration that > might be relevant. > > Do the best you can to anticipate the questions a hacker will ask, and to > answer them in advance in your request for help. > > Simon Tatham has written an excellent essay entitled How to Report Bugs > Effectively. I strongly recommend that you read it. > > > ---------------------------------------------------------------------------- > ---- > > Describe the problem's symptoms, not your guesses > It's not useful to tell hackers what you think is causing your problem. (If > your diagnostic theories were such hot stuff, would you be consulting > others for help?) So, make sure you're telling them the raw symptoms of > what goes wrong, rather than your interpretations and theories. Let them do > the interpretation and diagnosis. > > > Stupid: > I'm getting back-to-back SIG11 errors on kernel compiles, and suspect a > hairline crack on one of the motherboard traces. What's the best way to > check for those? > > Smart: > My home-built K6/233 on an FIC-PA2007 motherboard (VIA Apollo VP2 chipset) > with 256MB Corsair PC133 SDRAM starts getting frequent SIG11 errors about > 20 minutes after power-on during the course of kernel compiles, but never > in the first 20 minutes. Rebooting doesn't restart the clock, but powering > down overnight does. Swapping out all RAM didn't help. The relevant part of > a typical compile session log follows. > > > ---------------------------------------------------------------------------- > ---- > > Describe your problem's symptoms in chronological order > The most useful clues in figuring out something that went wrong often lie > in the events immediately prior. So, your account should describe precisely > what you did, and what the machine did, leading up to the blowup. In the > case of command-line processes, having a session log (e.g., using the > script utility) and quoting the relevant twenty or so lines is very useful. > > If the program that blew up on you has diagnostic options (such as -v for > verbose), try to think carefully about selecting options that will add > useful debugging information to the transcript. > > If your account ends up being long (more than about four paragraphs), it > might be useful to succinctly state the problem up top, then follow with > the chronological tale. That way, hackers will know what to watch for in > reading your account. > > > ---------------------------------------------------------------------------- > ---- > > Don't ask people to reply by private email > Hackers believe solving problems should be a public, transparent process > during which a first try at an answer can and should be corrected if > someone more knowledgeable notices that it is incomplete or incorrect. > Also, they get some of their reward for being respondents from being seen > to be competent and knowledgeable by their peers. > > When you ask for a private reply, you are disrupting both the process and > the reward. Don't do this. It's the respondent's choice whether to reply > privately ^× and if he does, it's usually because he thinks the question is > too obvious or ill-formed to be interesting to others. > > There is one limited exception to to this rule. If you think the question > is such that you are likely to get a lot of answers that are all pretty > similar, then the magic words are "email me and I'll summarize the answers > for the group". It is courteous to try and save the mailing list or > newsgroup a flood of substantially identical postings ^× but you have to > keep the promise to summarize. > > > ---------------------------------------------------------------------------- > ---- > > Prune pointless queries > Resist the temptation to close your request for help with semantically-null > questions like "Can anyone help me?" or "Is there an answer?" First: if > you've written your problem description halfway competently, such tacked-on > questions are at best superfluous. Second: because they are superfluous, > hackers find them annoying ^× and are likely to return logically impeccable > but dismissive answers like "Yes, you can be helped" and "No, there is no > help for you." > > > ---------------------------------------------------------------------------- > ---- > > Courtesy never hurts, and sometimes helps > Be courteous. Use "Please" and "Thanks in advance". Make it clear that you > appreciate the time people spend helping you for free. > > To be honest, this isn't as important as (and cannot substitute for) being > grammatical, clear, precise and descriptive, avoiding proprietary formats > etc.; hackers in general would rather get somewhat brusque but technically > sharp bug reports than polite vagueness. (If this puzzles you, remember > that we value a question by what it teaches us.) > > However, if you've got your technical ducks in a row, politeness does > increase you chances of getting a useful answer. > > > ---------------------------------------------------------------------------- > ---- > > Follow up with a brief note on the solution > Send a note after the problem has been solved to all who helped you; let > them know how it came out and thank them again for their help. If the > problem attracted general interest in a mailing list or newsgroup, it's > appropriate to post the followup there. > > Your followup doesn't have to be long and involved; a simple "Howdy - it > was a failed network cable! Thanks, everyone. - Bill" would be better than > nothing. In fact, a short and sweet summary is better than a long > dissertation unless the solution has real technical depth. > > Besides being courteous and informative, this sort of followup helps > everybody who assisted feel a satisfying sense of closure about the > problem. If you are not a techie or hacker yourself, trust us that this > feeling is very important to the gurus and experts you tapped for help. > Problem narratives that trail off into unresolved nothingness are > frustrating things; hackers itch to see them resolved. The good karma that > scratching that itch earns you will be very, very helpful to you next time > you need to pose a question. > > > ---------------------------------------------------------------------------- > ---- > > How To Interpret Answers > RTFM and STFW: How To Tell You've Seriously Screwed Up > There is an ancient and hallowed tradition: if you get a reply that reads > "RTFM", the person who sent it thinks you should have Read The Fucking > Manual. He is almost certainly right. Go read it. > > RTFM has a younger relative. If you get a reply that reads "STFW", the > person who sent it thinks you should have Searched The Fucking Web. He is > almost certainly right. Go search it. > > Often, the person sending either of these replies has the manual or the web > page with the information you need open, and is looking at it as he types. > These replies mean that he thinks (a) the information you read is easy to > find, and (b) you will learn more if you seek out the information than if > you have it spoon-fed to you. > > You shouldn't be offended by this; by hacker standards, he is showing you a > rough kind of respect simply by not ignoring you. You should instead thank > him for his grandmotherly kindness. > > > ---------------------------------------------------------------------------- > ---- > > If you don't understand... > If you don't understand the answer, do not immediately bounce back a demand > for clarification. Use the same tools that you used to try and answer your > original question (manuals, FAQs, the Web, skilled friends) to understand > the answer. If you need to ask for clarification, exhibit what you have > learned. > > For example, suppose I tell you: "It sounds like you've got a stuck zentry; > you'll need to clear it." Then: > > Here's a bad followup question: "What's a zentry?" > > Here's a good followup question: "OK, I read the man page and zentries are > only mentioned under the -z and -p switches. Neither of them says anything > about clearing zentries. Is it one of these or am I missing something here?" > > > ---------------------------------------------------------------------------- > ---- > > On Not Reacting Like A Loser > Odds are, you'll screw up a few times, on hacker community forums -- in > ways detailed in this article, or similar. And you'll be told exactly how > you screwed up, possibly with colourful asides. In public. > > When this happens, the worst thing you can do is whine about the > experience, claim to have been verbally assaulted, demand apologies, > scream, hold your breath, threaten lawsuits, complain to people's > employers, leave the toilet seat up, etc. Instead, here's what you do: > > Get over it. It's normal. In fact, it's healthy and appropriate. > > Community standards do not maintain themselves: They're maintained by > people actively applying them, visibly, in public. Don't whine that all > criticism should have been conveyed via private mail: That's not how it > works. Nor is it useful to insist you've been personally insulted when > someone comments that one of your claims was wrong, or that his views > differ. Those are loser attitudes. > > There have been hacker forums where, out of some misguided sense of > hyper-courtesy, participants are banned from posting any fault-finding with > another's posts, and told "Don't say anything if you're unwilling to help > the user." The resulting departure of clueful participants to elsewhere > causes them to descend into meaningless babble and become useless as > technical forums. > > Exaggeratedly "friendly" (in that fashion) or useful: Pick one. > > Remember: When that hacker tells you that you've screwed up, and (no matter > how gruffly) tells you not to do it again, he's acting out of concern for > (1) you and (2) his community. It would be much easier for him to ignore > you and filter you out of his life. If you can't manage to be grateful, at > least have a little dignity, don't whine, and don't expect to be treated > like a fragile doll just because you're a newcomer with a theatrically > hypersensitive soul and delusions of entitlement. > > > ---------------------------------------------------------------------------- > ---- > > Questions Not To Ask > Here are some classic stupid questions, and what hackers are thinking when > they don't answer them. > > Q: Where can I find program X? > Q: I'm having problems with my Windows machine. Can you help? > Q: I'm having problems installing Linux or X. Can you help? > Q: How can I crack root/steal channel-ops privileges/read someone's email? > Q: Where can I find program X? > > A: The same place I'd find it, fool -- at the other end of a web search. > Ghod, doesn't everybody know how to use Google yet? > > Q: I'm having problems with my Windows machine. Can you help? > > A: Yes. Throw out that Microsoft trash and install Linux. > > Q: I'm having problems installing Linux or X. Can you help? > > A: No. I'd need hands-on access to your machine to troubleshoot this. Go > ask your local Linux user group for hands-on help. > > Q: How can I crack root/steal channel-ops privileges/read someone's email? > > A: You're a lowlife for wanting to do such things and a moron for asking a > hacker to help you. > > > ---------------------------------------------------------------------------- > ---- > > Good and Bad Questions > Finally, I'm going to illustrate how to ask questions in a smart way by > example; pairs of questions about the same problem, one asked in a stupid > way and one in a smart way. > > > Stupid: Where can I find out stuff about the Foonly Flurbamatic? > This question just begs for "STFW" as a reply. > > Smart: I used Google to try to find "Foonly Flurbamatic 2600" on the Web, > but I got no useful hits. Does anyone know where I can find programming > information on this device? > This one has already SFTWed, and sounds like he might have a real problem. > > > Stupid: I can't get the code from project foo to compile. Why is it broken? > He assumes that somebody else screwed up. Arrogant of him. > > Smart: The code from project foo doesn't compile under Nulix version 6.2. > I've read the FAQ, but it doesn't have anything in it about Nulix-related > problems. Here's a transcript of my compilation attempt; is it something I > did? > He's specified the environment, he's read the FAQ, he's showing the error, > and and he's not assuming his problems are someone else's fault. This guy > might be worth some attention. > > > Stupid: I'm having problems with my motherboard. Can anybody help? > J. Random Hacker's response to this is likely to be "Right. Do you need > burping and diapering, too?" followed by a punch of the delete key. > > Smart: I tried X, Y, and Z on the S2464 motherboard. When that didn't work, > I tried A, B, and C. Note the curious symptom when I tried C. Obviously the > florbish is grommicking, but the results aren't what one might expect. What > are the usual causes of grommicking on MP motherboards? Anybody got ideas > for more tests I can run to pin down the problem? > This person, on the other hand, seems worthy of an answer. He has exhibited > problem-solving intelligence rather than waiting for an answer to drop from > on high. > > In the last question, notice the subtle but important difference between > demanding "Give me an answer" and "Please help me figure out what > additional diagnostics I can run to achieve enlightenment." > > In fact, the form of that last question is closely based on a real incident > that happened in August 2001 on the linux-kernel mailing list. I (Eric) was > the one asking the question that time. I was seeing mysterious lockups on a > Tyan S2464 motherboard. The listmembers supplied the critical information I > needed to solve them. > > By asking the question in the way I did, I gave people something to chew > on; I made it easy and attractive for them to get involved. I demonstrated > respect for my peers' ability and invited them to consult with me as a > peer. I also demonstrated respect for the value of their time by telling > them the blind alleys I had already run down. > > Afterwards, when I thanked everyone and remarked how well the process had > worked, an lkml member observed that he thought it had worked not because > I'm a "name" on that list, but because I asked the question in the proper > form. > > We hackers are in some ways a very ruthless meritocracy; I'm certain he was > right, and that if I had behaved like a sponge I would have been flamed or > ignored no matter who I was. His suggestion that I write up the whole > incident as an instruction to others led directly to the composition of > this guide. > > > ---------------------------------------------------------------------------- > ---- > > If You Can't Get An Answer > We realize that there are many people who just want to use the software we > write, and have no interest in learning technical details. For most people, > a computer is merely a tool, a means to an end. We acknowledge that, and > don't expect everyone to take an interest in technical matters. > Nevertheless, our style of answering questions is tuned for people who do > take such an interest. > > Thus, if you can't get an answer, please don't take it personally that we > don't feel we can help you. There are other sources of help you can go to, > often sources better adapted to a novice's needs. > > There are many online and local user groups who are enthusiasts about the > software, even though they may never have written any software themselves. > These groups often form so that people can help each other and help new > users. > > There are also plenty of commercial companies you can contract with for > help, both large and small. Don't be dismayed at the idea of having to pay > for a bit of help! After all, if your car engine blows a head gasket, > chances are, you will take it to a repair shop and pay to get it fixed. > Even if the software didn't cost you anything, you can't expect that > support will always come for free. > > For popular software like Linux, there are are at least 10000 users per > developer. It's just not possible for one person to handle the support > calls from over 10000 users. Remember that even if you have to pay for > support, you are still paying much less than if you had to buy the software > as well (and support for closed-source software is usually more expensive > and less competent than support for open-source software). > > > Compliments of > Dan Browning <danpb@mail.com> > > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Saturday, December 15, 2001 at 18:40 PM: > Puns are bad, but poetry is verse. > > ---------------------------------------------------------------- > This Linux System has been up 483 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Dec 15 21:55:01 2001 Subject: [ic] "Page has Expired" error in AOL On Sat, 15 Dec 2001 cfm@maine.com wrote: >>> What can be done to fix this? >> >>What have you tried? >> >>Have you read the secure server FAQ and the part about AOL? >> >>One needs to say WHAT THEY HAVE TRIED when asking question. >> Oh! Damn! Now you want people to try to fix the problem themselves instead of you spoon-feeding the answers to them! What kind of support is that? I've got a support system nearly perfected. I down load all of the IC documents in binary form. I select a spot in the users head - the best location is 2 inches above the center of the right ear, and 3/8 of an inch toward the front of that axis, I drill a 1/8 inch hole that is 5 mm deep. I insert a stainless steel probe into that hole. I also fasten a contact to the users right index finger. These two contacts are connected to the audio out of the computer and the IC documentation is played through the audio card into those two contacts. It has worked well, so far, but my subjects had latent epileptic tendencies and went into fatal seizures. Before they lapsed into their fatal coma they were able to recite the docs and when questioned they seemed to have comprehended them. I've not divulged this before before because I was afraid that Bill Gates would steal it from me. But, now I think that I can sell it to him. It would certainly cut down on his CS expenses. In the true spirit of Linux, I plan to release a free version of the software for Slackware, and the probes will be available at a nominal cost. I just need to get past this pesky bug of people dying! Once I do that, then everyone can be an Interchange expert. Until then, people are just going to have to put forth some effort and experiment and learn for themselves! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, December 15, 2001 at 21:40 PM: URA Redneck if you think cow tipping should be an Olympic sport ---------------------------------------------------------------- This Linux System has been up 486 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Peter Moutsatsos) Date: Sat Dec 15 23:14:00 2001 Subject: [ic] Don't know the password to Foundation Admin Hi, I'm relatively new at this and have just set up a catalog based on the foundation skeleton. I want to now log in to the admin screen and start changing the text, images, etc. but I don't know what the username and password is to log in to the admin screen. This is my first log in attempt, so I am assuming there is a default username and password associated with creating a new catalog. Can anyone please supply me with the necessary username and password to login to my first catalog's admin screen? Thanks, Peter Moutsatsos From: interchange-users at interchange.redhat.com (Steve Thomas) Date: Sat Dec 15 23:29:01 2001 Subject: [ic] Don't know the password to Foundation Admin try user: interch pass: pass heres a few other possibilities. user: interchange pass: pass user: STORENAME pass: pass ----- Original Message ----- From: "Peter Moutsatsos" <moutsatsos@ozemail.com.au> To: <interchange-users@interchange.redhat.com> Sent: Saturday, December 15, 2001 11:14 PM Subject: [ic] Don't know the password to Foundation Admin > Hi, > > I'm relatively new at this and have just set up a catalog based on the > foundation skeleton. I want to now log in to the admin screen and start > changing the text, images, etc. but I don't know what the username and > password is to log in to the admin screen. This is my first log in > attempt, so I am assuming there is a default username and password > associated with creating a new catalog. > > Can anyone please supply me with the necessary username and password to > login to my first catalog's admin screen? > > Thanks, > Peter Moutsatsos > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Scott Andreas) Date: Sat Dec 15 23:34:00 2001 Subject: [ic] "Page has Expired" error in AOL This is a multi-part message in MIME format. ----------1008481562 Content-Type: text/plain Content-Transfer-Encoding: 7bit Have your tried expiring your sessions. try su "/dir/to/interchange/bin/expireall -r" user_who_interchange_is_ran_by Jason Ballou <jasonballou1@yahoo.com> wrote .. > I am continually getting e-mails from customers who > get a page has expired error page when clicking on the > checkout button and sometimes I get similar questions > from customers who get the same error when adding > items to their cart. > > What can be done to fix this? > > Jason > > __________________________________________________ > Do You Yahoo!? > Check out Yahoo! Shopping and Yahoo! Auctions for all of > your unique holiday gifts! Buy at http://shopping.yahoo.com > or bid at http://auctions.yahoo.com > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users ----------1008481562-- From: interchange-users at interchange.redhat.com (Peter Moutsatsos) Date: Sat Dec 15 23:54:00 2001 Subject: [ic] Don't know the password to Foundation Admin Hi Steve, Sorry, none of those worked. Peter Steve Thomas wrote: > try > user: interch > pass: pass > > heres a few other possibilities. > user: interchange > pass: pass > user: STORENAME > pass: pass > ----- Original Message ----- > From: "Peter Moutsatsos" <moutsatsos@ozemail.com.au> > To: <interchange-users@interchange.redhat.com> > Sent: Saturday, December 15, 2001 11:14 PM > Subject: [ic] Don't know the password to Foundation Admin > > > Hi, > > > > I'm relatively new at this and have just set up a catalog based on the > > foundation skeleton. I want to now log in to the admin screen and start > > changing the text, images, etc. but I don't know what the username and > > password is to log in to the admin screen. This is my first log in > > attempt, so I am assuming there is a default username and password > > associated with creating a new catalog. > > > > Can anyone please supply me with the necessary username and password to > > login to my first catalog's admin screen? > > > > Thanks, > > Peter Moutsatsos > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (chad townsend) Date: Sun Dec 16 00:32:01 2001 Subject: [ic] understanding shipping->custom it's one of those situations where the 'product' is free and the shipping is only 2.00 for each product shipped. i know i'm probably making this harder than it is but the below formula pretty much sums it up. i'm sure i'll bang my head against a wall when i see how simple this is. > ct>> 2.00 x # of items ordered from product group #1 anywhere in the usa > ct>>+ 5.00 x # of items ordered from product group #2 anywhere in the usa > ct>>------ > ct>>$nn.nn = total shipping cost i can't just add 2.00 to the cost of the product, since the cost is free - i was just trying to use the provided shipping tool to accomplish this - and from fooling with it, it seems i could easily accomplish this with the custom method, but i'm not quite sure how it works. ./chad& Jim Balcom wrote: > > On Sat, 15 Dec 2001, chad townsend wrote: > > ct>>i'm running interchange-4.8.2 on linux using the foundation template. can someone please point me > ct>>in the right direction on how to use the custom shipping located in the admin gui. here's how my > ct>>custom formula would look: > ct>> > ct>> 2.00 x # of items ordered from product group #1 > ct>>+ 5.00 x # of items ordered from product group #2 > ct>>------ > ct>>$nn.nn = total shipping cost > ct>> > > Please humor me for a moment. > > Zone-based shipping is one of the strong points of IC. It works right out of > the box, you only need to change a couple of things here and there - like > the originating zip code and getting a new zone table for your area. Making > it work with the 'out-of-the-box' data and configuration is simple. > > FedEx, UPS and Priority Mail all charge by the weight of the package times > the distance that it has to go. Your cost to ship is going to vary on each > order. > > I recognize that there might be some unique situations where zone based > shipping is not practical, but I've not heard of them. Would you please > explain the situation to me? > > Once I learn your particular goals, I may be able to suggest some easier > ways to meet your needs. > > And, from what I am reading up above, just increase the prices in group 1 by > $2.00 and the price for each item in group 2 by $5.00 and brag about giving > them free shipping! > > But, being an old man I get confoozled easily. > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Saturday, December 15, 2001 at 18:30 PM: > I am not an animal! I am ... well, not an animal. > > ---------------------------------------------------------------- > This Linux System has been up 483 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (chad townsend) Date: Sun Dec 16 00:36:00 2001 Subject: [ic] understanding shipping->custom it's actually more complicated than that, but if someone could explain to me how to use the custom shipping located in the admin gui under shipping - i'm sure i'll be set. thanks, ./chad& chad townsend wrote: > > it's one of those situations where the 'product' is free and the shipping is only 2.00 for each > product shipped. i know i'm probably making this harder than it is but the below formula pretty > much sums it up. i'm sure i'll bang my head against a wall when i see how simple this is. > > > ct>> 2.00 x # of items ordered from product group #1 anywhere in the usa > > ct>>+ 5.00 x # of items ordered from product group #2 anywhere in the usa > > ct>>------ > > ct>>$nn.nn = total shipping cost > > i can't just add 2.00 to the cost of the product, since the cost is free - i was just trying to use > the provided shipping tool to accomplish this - and from fooling with it, it seems i could easily > accomplish this with the custom method, but i'm not quite sure how it works. > > ./chad& > > Jim Balcom wrote: > > > > On Sat, 15 Dec 2001, chad townsend wrote: > > > > ct>>i'm running interchange-4.8.2 on linux using the foundation template. can someone please point me > > ct>>in the right direction on how to use the custom shipping located in the admin gui. here's how my > > ct>>custom formula would look: > > ct>> > > ct>> 2.00 x # of items ordered from product group #1 > > ct>>+ 5.00 x # of items ordered from product group #2 > > ct>>------ > > ct>>$nn.nn = total shipping cost > > ct>> > > > > Please humor me for a moment. > > > > Zone-based shipping is one of the strong points of IC. It works right out of > > the box, you only need to change a couple of things here and there - like > > the originating zip code and getting a new zone table for your area. Making > > it work with the 'out-of-the-box' data and configuration is simple. > > > > FedEx, UPS and Priority Mail all charge by the weight of the package times > > the distance that it has to go. Your cost to ship is going to vary on each > > order. > > > > I recognize that there might be some unique situations where zone based > > shipping is not practical, but I've not heard of them. Would you please > > explain the situation to me? > > > > Once I learn your particular goals, I may be able to suggest some easier > > ways to meet your needs. > > > > And, from what I am reading up above, just increase the prices in group 1 by > > $2.00 and the price for each item in group 2 by $5.00 and brag about giving > > them free shipping! > > > > But, being an old man I get confoozled easily. > > > > -= Jim =- > > > > ---------------------------------------------------------------- > > Jim's Linux-Operated Underground Bomb Shelter > > > > Tagline for Saturday, December 15, 2001 at 18:30 PM: > > I am not an animal! I am ... well, not an animal. > > > > ---------------------------------------------------------------- > > This Linux System has been up 483 hours > > > > My web page: http://www.idk-enterprises.com > > ---------------------------------------------------------------- > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Sun Dec 16 02:00:01 2001 Subject: [ic] Don't know the password to Foundation Admin i think this is a bug or something.. when you create Foundation using ./makecat it askes you the set username and passwd. Don't set the passwd!! if you set u will never get in!!! Use the default pass! Change it on the UI. Maybe i am wrong.. but try to create another demo. ---- On Sun, 16 Dec 2001, Peter Moutsatsos (moutsatsos@ozemail.com.au) wrote: > Hi Steve, > > Sorry, none of those worked. > > Peter > > Steve Thomas wrote: > > > try > > user: interch > > pass: pass > > > > heres a few other possibilities. > > user: interchange > > pass: pass > > user: STORENAME > > pass: pass > > ----- Original Message ----- > > From: "Peter Moutsatsos" <moutsatsos@ozemail.com.au> > > To: <interchange-users@interchange.redhat.com> > > Sent: Saturday, December 15, 2001 11:14 PM > > Subject: [ic] Don't know the password to Foundation Admin > > > > > Hi, > > > > > > I'm relatively new at this and have just set up a catalog based on > the > > > foundation skeleton. I want to now log in to the admin screen and > start > > > changing the text, images, etc. but I don't know what the username > and > > > password is to log in to the admin screen. This is my first log in > > > attempt, so I am assuming there is a default username and password > > > associated with creating a new catalog. > > > > > > Can anyone please supply me with the necessary username and password > to > > > login to my first catalog's admin screen? > > > > > > Thanks, > > > Peter Moutsatsos > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange- users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange- users > > ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag From: interchange-users at interchange.redhat.com (John Beima) Date: Sun Dec 16 04:26:00 2001 Subject: [ic] understanding shipping->custom The custom shipping screne is totally self explanitory. If can't do what you want... Becuase is it based on cart totals... Either total number of items, total weight, or order sub-total... Also it assigns shipping methods to counties... However you could define the weight of each item to be either 2 or 5... Then define the shipping to be based on weight... Then for the shipping definition use the total weight x 1 to = the shipping your cost. John Quoting chad townsend <chad@hq.mycity.com>: > > it's actually more complicated than that, but if someone could explain > to me how to use the custom > shipping located in the admin gui under shipping - i'm sure i'll be set. > > thanks, > > ./chad& > > chad townsend wrote: > > > > it's one of those situations where the 'product' is free and the > shipping is only 2.00 for each > > product shipped. i know i'm probably making this harder than it is > but the below formula pretty > > much sums it up. i'm sure i'll bang my head against a wall when i see > how simple this is. > > > > > ct>> 2.00 x # of items ordered from product group #1 anywhere in > the usa > > > ct>>+ 5.00 x # of items ordered from product group #2 anywhere in > the usa > > > ct>>------ > > > ct>>$nn.nn = total shipping cost > > > > i can't just add 2.00 to the cost of the product, since the cost is > free - i was just trying to use > > the provided shipping tool to accomplish this - and from fooling with > it, it seems i could easily > > accomplish this with the custom method, but i'm not quite sure how it > works. > > > > ./chad& > > > > Jim Balcom wrote: > > > > > > On Sat, 15 Dec 2001, chad townsend wrote: > > > > > > ct>>i'm running interchange-4.8.2 on linux using the foundation > template. can someone please point me > > > ct>>in the right direction on how to use the custom shipping located > in the admin gui. here's how my > > > ct>>custom formula would look: > > > ct>> > > > ct>> 2.00 x # of items ordered from product group #1 > > > ct>>+ 5.00 x # of items ordered from product group #2 > > > ct>>------ > > > ct>>$nn.nn = total shipping cost > > > ct>> > > > > > > Please humor me for a moment. > > > > > > Zone-based shipping is one of the strong points of IC. It works > right out of > > > the box, you only need to change a couple of things here and there - > like > > > the originating zip code and getting a new zone table for your area. > Making > > > it work with the 'out-of-the-box' data and configuration is simple. > > > > > > FedEx, UPS and Priority Mail all charge by the weight of the package > times > > > the distance that it has to go. Your cost to ship is going to vary > on each > > > order. > > > > > > I recognize that there might be some unique situations where zone > based > > > shipping is not practical, but I've not heard of them. Would you > please > > > explain the situation to me? > > > > > > Once I learn your particular goals, I may be able to suggest some > easier > > > ways to meet your needs. > > > > > > And, from what I am reading up above, just increase the prices in > group 1 by > > > $2.00 and the price for each item in group 2 by $5.00 and brag about > giving > > > them free shipping! > > > > > > But, being an old man I get confoozled easily. > > > > > > -= Jim =- > > > > > > ---------------------------------------------------------------- > > > Jim's Linux-Operated Underground Bomb Shelter > > > > > > Tagline for Saturday, December 15, 2001 at 18:30 PM: > > > I am not an animal! I am ... well, not an animal. > > > > > > ---------------------------------------------------------------- > > > This Linux System has been up 483 hours > > > > > > My web page: http://www.idk-enterprises.com > > > ---------------------------------------------------------------- > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (John Beima) Date: Sun Dec 16 04:35:01 2001 Subject: [ic] simple shipping question (please help) Actually you question isn't a difficult one... Just don't ever expect any straight answers from the people at the Akopia office of RedHat... Actually I found your question to be very simple since we have done it several times before... However the manual explains the shipping.asc file very well... By the way you arn't going to get much by ticking some of the more advanced users on here... If I myself would of read more of your posts, which I did after this, I wouldn't of explained how to do it in my previos post... John Quoting chad townsend <chad@hq.mycity.com>: > > #1 i have only posted it twice. > #2 i have only seen your 2 responses that offered no help > > my mail must be screwed up cause i haven't see anything else. and like > i stated below i tried: > > > > > > configure interchange shipping for weight > > > > > > and it seem to be working off quantity. > > > > > > > i tried to fake it out with weight saying everything 1 pound > is > > > > > 2.00 and everything 100 pounds is > > > > > > 5.00 and set the items to the appropriate weight, it didn't > > > > > work as expected. > > because: > > > > > > > and it seem to be working off quantity. > > even though i set it up for: > > > > > > configure interchange shipping for weight > > i didn't realize my question was a difficult one. > > ./chad& > > Jason Kohles wrote: > > > > On Fri, Dec 14, 2001 at 01:13:47PM -0500, chad townsend wrote: > > > > > > let me rephrase my question... > > > > > > i have 20 products total. > > > all products expect 1 the shipping is 2.00 > > > the other product's shipping is 5.00 > > > > > > what is the correct technique in setting this up. > > > > > Although you've posted this question half a dozen times now, you still > haven't > > answered any of the people who asked you 'what did you try, and what > didn't > > work about it?' > > > > > thanks, > > > > > > ./chad& > > > > > > > > > Rick Eicher II wrote: > > > > > > > > > > > > > > chad townsend wrote: > > > > > > > > > > > > i have tried several ways to do this without any luck. i > > > > > configure interchange shipping for weight > > > > > > and it seem to be working off quantity. > > > > > > > > > > > > in a nutshell: > > > > > > > > > > > > i have 20 products. for 19 product shipping is 2.00 flat for > 1 > > > > > it's 5.00 flat - no matter where > > > > > > it's shipped. > > > > > > > > > > > > i tried to fake it out with weight saying everything 1 pound > is > > > > > 2.00 and everything 100 pounds is > > > > > > 5.00 and set the items to the appropriate weight, it didn't > > > > > work as expected. > > > > > > > > > > > > what is the correct way to do this? thanks for your time and > help. > > > > > > > > > > > > ./chad& > > > > > > _______________________________________________ > > > > > > > > Submit more info so we might be able to help. (logs,shipping.asc, > etc) > > > > Saying "it didn't > > > > work as expected." does not give us any idea what is going on. > > > > > > > > With more information many of us are willing and able to help. > > > > > > > > rick > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > -- > > Jason Kohles jkohles@redhat.com > > Senior System Architect (703)786-8036 (cellular) > > Red Hat Professional Consulting (703)456-2940 (office) > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (Jerry) Date: Sun Dec 16 08:06:01 2001 Subject: [ic] Matrix options > Subject: Re: [ic] Matrix options > > > Hmm. I don't think there is a way right now. I will think about > this and see if it makes sense to add an option to exclude based > on a field, something like: > > [item-options inventory="inventory:quantity"] > > In fact, I thought I would take a couple of minutes and try it. > This patch seems to work (if you don't use separate widgets): [SNIP PATCH FILE INTO] Mike, Thanks so much. This is a perfect solution and it works great. I was working on a usertag for that catalog, but this makes it global AND optional. Thanks for taking the time to add this! Jerry Uphoff jerry@digitalfm.com From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Sun Dec 16 09:02:02 2001 Subject: [ic] Opera problems I hear from some people that my checkout page sometimes refuses them - which of course is a very bad thing to do. They tell me that they enter all required information, but the page only returns when they press Order Now. Last customer who had this problem was using Opera. She changed to Netscape, and the order was accepted. I have also heard from users of Internet Explorer, but can't reproduce the problem myself. The error.log of this catalog only says: "Denied attempted login with nonexistent user name 'nn'" around that time. I'm not sure if this is connected. It's version 4.8.2 (Foundation) on a SuSE Linux. Any ideas? -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@kakidata.dk From: interchange-users at interchange.redhat.com (Jonathan Melhuish) Date: Sun Dec 16 09:19:01 2001 Subject: [ic] Storing additional checkout fields in the database <cough> I forgot a colon in log_transaction; so I'm not really stupid, just very careless ;-) Sorry for wasting everybody's time... Any chance somebody could point me in the direction of the file I now need to edit in order to make my new field appear in the "Order" page of the admin interface? Interchange is like a cave; large, cold, wet and currently very dark (for me)... Jon From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sun Dec 16 09:50:01 2001 Subject: [ic] understanding shipping->custom On Sat, 15 Dec 2001, chad townsend wrote: ct>>it's one of those situations where the 'product' is free and the shipping is only 2.00 for each ct>>product shipped. i know i'm probably making this harder than it is but the below formula pretty ct>>much sums it up. i'm sure i'll bang my head against a wall when i see how simple this is. ct>> ct>>> ct>> 2.00 x # of items ordered from product group #1 anywhere in the usa ct>>> ct>>+ 5.00 x # of items ordered from product group #2 anywhere in the usa ct>>> ct>>------ ct>>> ct>>$nn.nn = total shipping cost ct>> ct>>i can't just add 2.00 to the cost of the product, since the cost is free - i was just trying to use ct>>the provided shipping tool to accomplish this - and from fooling with it, it seems i could easily ct>>accomplish this with the custom method, but i'm not quite sure how it works. Aaaahhhh. The product is free. In the downloadable documents, there is one that is called "Interchange Databases". The shipping section starts on Page 47. On page 51 is an example 'shipping.asc', followed by detailed explanations. I believe that the section for RPS Ground is an excellent starting spot for what you want. You can also set up a UPS style. Make your zone chart have just one entry: 0-99999 is zone 1. Then make the weight of the first group 2 pounds and the weight of the second group 5 pounds. Then you would need to set up a shipping table, similar to ground.csv with only one zone and everything $1.00. The shipping method will multiply the weight by $1.00 and return that as the shipping cost. I think that playing with the RPS example is easier. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, December 16, 2001 at 09:35 AM: NEWS! Enraged cow injures farmer with ax ---------------------------------------------------------------- This Linux System has been up 498 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sun Dec 16 10:29:01 2001 Subject: [ic] Opera problems On Sun, 16 Dec 2001, Kaare Rasmussen wrote: KR>>Last customer who had this problem was using Opera. She changed to Netscape, KR>>and the order was accepted. I have also heard from users of Internet KR>>Explorer, but can't reproduce the problem myself. A significant problem that I am finding is that I am running 128-bit SSL. MSIE has released many versions that can not deal with 128-bit security. While they do have a free patch that can be downloaded for it I'm finding quite a few customers that are refusing to either apply the patch or to upgrade to a newer version. In a message to this list earlier this week someone also mentioned that one of the FAQ's has information about Interchange interacting with MSIE versions earlier than 6. I haven't found that FAQ yet. (I haven't gone searching for it, either.) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, December 16, 2001 at 10:25 AM: Bill Clinton thinks that Cheerios are donut seeds. ---------------------------------------------------------------- This Linux System has been up 499 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Mike Heins) Date: Sun Dec 16 11:52:01 2001 Subject: [ic] Matrix options Quoting Jerry (jerry@data-logic.com): > > > Subject: Re: [ic] Matrix options > > > > > > Hmm. I don't think there is a way right now. I will think about > > this and see if it makes sense to add an option to exclude based > > on a field, something like: > > > > [item-options inventory="inventory:quantity"] > > > > In fact, I thought I would take a couple of minutes and try it. > > This patch seems to work (if you don't use separate widgets): > > [SNIP PATCH FILE INTO] > > Mike, > Thanks so much. This is a perfect solution and it works great. > I was working on a usertag for that catalog, but this makes > it global AND optional. Thanks for taking the time to > add this! It will be in 4.8.4, as I found an opportunity to use it myself shortly thereafter. Thanks for the idea. That is why open-source software is great; it allows ideas to be implemented without a care about who owns it, who should get it, etc. 8-) -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Experience is what allows you to recognize a mistake the second time you make it. -- unknown From: interchange-users at interchange.redhat.com (Troy Davis) Date: Sun Dec 16 14:04:00 2001 Subject: [ic] Skipjack.pm troubleshooting Hi all, If you've seen my previous posts, you'll know that I'm trying to implement Skipjack with Interchange 4.8.3. (Perl 5.6.1, running on Red Hat 6.2, apache 1.3.20). The problem is that no data is being sent to Skipjack, yet all transactions with good card numbers are "successful". I get email receipts, order notifications, log entries, but no skipjack transactions have happened. I've worked my way through documentation about routes, and here's what my routes look like in catalog.cfg: #--- route info Route log <<EOF empty 1 encrypt 0 increment 0 report etc/log_transaction supplant 0 track logs/log EOF Route log_entry <<EOF empty 1 encrypt 0 report etc/log_entry supplant 0 track logs/log EOF Route copy_user <<EOF empty 1 error_ok 1 encrypt 0 increment 0 report etc/mail_receipt supplant 0 track logs/log EOF ParseVariables Yes RouteDatabase route CreditCardAuto No Route skipjack test 1 Route skipjack generate_error 1 Route skipjack id "000975788619" Route skipjack partner "__SKIPJACK_PARTNER__" Route skipjack email 'orders@mydomain.com' Route default master 1 Route default cascade "skipjack, copy_user, log, log_entry" Route default empty 1 Route default supplant 1 Route default email '__ORDERS_TO__' #--- end of route info Any obvious problems there? I've been working my way through the Skipjack.pm troubleshooting suggestions as well. It's kind of strange, even though I've set the "Route skipjack test 1" and "Route skipjack generate_error 1" above, I get no error messages. The customer email receipt is sent, and I get an order notification as well (credit card number appropriately obfuscated). As the Skipjack.pm perldocs suggests, I'd love to put [data session payment_error] inside process.html, or whatever routine that is in reality. Where would I do that? Grepping for "process" isn't revealing anything that appears relevant. I've also put "[data session payment_error]" into my pages/ord/checkout.html, but I don't get any error messages on "successful" transactions. Here's some other mysteries from the Skipjack.pm documentation: --- From Skipjack.pm perldoc: If nothing works: o Make sure you "Require"d the module in interchange.cfg: Require module Vend::Payment::iTransact --- Wouldn't that be "Require module Vend::Payment::Skipjack"? That's what I've got in my interchange.cfg file, and interchange says that it is loading that module, along with Net::SSLeay successfully upon startup. Is this just a documentation error? --- o Check the error logs, both catalog and global. --- My catalog error log says this for every false-positive transaction: 216.23.55.253 3aLLwkKy:216.23.55.253 - [16/December/2001:13:31:17 -0500] iotcat /cgi-bin/iotcat/process.html PGP failed with status 131072: 216.23.55.253 3aLLwkKy:216.23.55.253 - [16/December/2001:13:31:17 -0500] iotcat /cgi-bin/iotcat/process.html Successful login by user 'U00014' I'm not using PGP as a payment method, and none of my routes have encrypt => 1. Why would PGP get called at all? The global error log shows nothing other than startup messages. --- o Try an order, then put this code in a page: <XMP> [calc] my $string = $Tag->uneval( { ref => $Session->{payment_result} }); $string =~ s/{/{\n/; $string =~ s/,/,\n/g; return $string; [/calc] </XMP> That should show what happened. --- Put this code in what page? I've tried it in pages/ord/checkout.html, but I just get: <XMP> "" </XMP> I feel like I'm so close here... Can someone please elaborate a little on a suggested troubleshooting methodology for this kind of problem? TIA, Troy Davis ACD Interactive Slipstream.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Dec 16 17:28:00 2001 Subject: [ic] makecat fails to create usable catalog 4.8.3-1 noarch On Sat, 15 Dec 2001, Fred Pope wrote: > " Hmmm variables.txt. I don't seem to have a file by that name > anywhere on > my filesystem. Perhaps a leftover from a prior release?" > > Nope....it is in there but I think you just may have not found it. Do an > 'updatedb' and then a 'locate variables.txt'. I am assuming that you are I did that, exactly.... locate variables.txt is what I used, and it still comes up empty.... It is because the file is variable.txt and variable.gdbm..... ^^^ ^^^ Yep, no plural on that variable! > This file should be in your $catalogroot/products directory (e.g > /home/interch/catalogs/nameofcatalog/products/ ).As far as I know, this This is the key hint that allowed me to find the file... I have been out for a couple of days, and I haven't got back to trying this suggestion. I will give feedback later. Thanks again! > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Dec 16 18:16:00 2001 Subject: [ic] makecat fails to create usable catalog 4.8.3-1 noarch I really appreciate your assistance, and I saw the posting about how to ask good questions. I agree with alot of what that posting says, but I found it to be a little harsh... And a tad arrogant. I respond to inquiries on the Trinux project mailing list, because I know quite a bit about the mystical bootstrap process and I really support Matt and his help anybody attitude. I have chipped in and rewrote some code and earned myself a place in a special section he created for "war stories". Have a look Jim.... http://trinux.sourceforge.net/stories/ Prior to posting my query here, I did check out the list archives and I perused the volume of postings since December 1, looking for anything that might give a clue to my problem. I count twelve pages of 50 postings each since about December first. That makes 600 postings. Most of which are "Re:" postings with Subject lines that don't really reflect the nature of the post. 600 postings. I checked out anything that looked remotely related, and some that did not. I did not read every single post. I did not find an answer. I realize that you may have been on this list, reading the posts as they come in, and perhaps you have seen this issue addressed before. If you have, you must have some recollection of what the fix involves, and if your intent was to be helpful, you might have responded to my query with: ------------ I recall a post a few hours/days/weeks ago that addressed your question. It was in a thread that involved "Subject xxx". Have a look at the archives and see if you can find it. It had something to do with library somthing or other not being up to date. Hope this helps, and if it doesn't, post again and I will see if I can find it. ------------ Your reply was surprisingly terse. I think you could have said alot more, but you choose not to because either you don't know the answer, or you don't want to share it, because then you wouldn't feel so damn impotent. Yes, impotent. Perhaps we need a post on how to reply to a reasonable request for assistance. Jim.... On Sat, 15 Dec 2001, Jim Balcom wrote: > On Sat, 15 Dec 2001 tburt@timburt.com wrote: > > >>I filed this bug report, and then I noticed that only 4 of forty odd bugs > >>reported in the last 5 months have even been acknowledged... :-( > > > >>Interchange V4.8.3 > >>Configuring catalog foundation...Using default DBM database...done. > >>Configuring catalog sam...sam config error: Please specify the MailOrderTo > >>directive in the configuration file '' > > It's been covered many times. Check the mail archives. > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Saturday, December 15, 2001 at 18:55 PM: > Insert New Disk for Drive C: Press ENTER when ready. > > ---------------------------------------------------------------- > This Linux System has been up 484 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (Jason Balicki) Date: Sun Dec 16 18:30:00 2001 Subject: [ic] Need help with ic tags, creating dynamic javascript menus Hi all, I'm attempting to modify the foundation catalog, specificaly the "category_vertical" component to display menus containing product categories when you click on the product area. Aside from it not working in IE (any tips would be helpful...) I'm having a little trouble understanding what IC tags I need to use to get the output I want. I'm using Gary Smiths' menu.js (available from developer.netscape.com/viewsource/smith_menu2/smith_menu2.html) library to create the menus. I need to call the function: myMenu2.addMenuItem("category", "location='http://path/to/IC data'"); which I'm doing with the following code: myMenu[box-exec bar_link]sel[/box-exec].addMenuItem("[box-exec bar_link]cat[/box-exec]", "location='[cat-exec]name[/cat-exec]'"); Which is inside of a [LOOP] in category_vertical. Of course, you're looking at that and saying "That's wrong". You're correct. :) How can I get the category name into the first paramater, and the url (without the a href= tags) into the second? Which tag should I be using here? And is what I'm trying to do somehow inherently dumb? Please be gentle, I'm a network engineer, not a web developer. :) Thanks in advance, --J(K) Here's the code I've currently got for category_vertical: (menu.js is included in the page in the LEFTRIGHT_TOP template) [comment] ui_component: category_vertical ui_component_type: vertical ui_component_group: Navigation ui_component_label: Vertical category list page_class: label: Page class widget: select lookup: which_page db: area help: Defines which sets of items should be displayed advanced: 1 set_selector: label: Page area selector widget: select db: area lookup: sel help: Defines which sets of items should be displayed advanced: 1 timed: label: Use timed build widget: select help: Makes more efficient for large/busy catalogs options: 0=No, 5=5 minutes, 10=10 minutes, 20=20 minutes, 60=60 minutes, 1440=Daily advanced: 1 [/comment] <tr><td align="left" class="categorybar"> <br> <table width="90%" align="center"> <!-- BEGIN COMPONENT [control component category_vertical] --> [timed-build auto=1 if="[control timed 0]" minutes="[control timed 0]"] [set found_cat][/set] [loop prefix=box search=" fi=area st=db tf=sort ac=0 ac=0 co=yes sf=sel op=eq se=[control set_selector left] sf=which_page op=rm se=[control page_class all|@@MV_PAGE@@] "] <SCRIPT LANGUAGE = "JavaScript1.2"> <!-- var myMenu[box-exec bar_link]sel[/box-exec] = new Menu(); [set found_cat]1[/set] [loop prefix=cat search=" fi=cat st=db tf=sort tf=name rf=code,name sf=sel se=[box-code] " ] <!-- This is where I'm stumped.... --> myMenu[box-exec bar_link]sel[/box-exec].addMenuItem("[item-field category]", "location='[cat-exec]name[/cat-exec]'");[/loop] myMenu[box-exec bar_link]sel[/box-exec].fontSize = 18; myMenu[box-exec bar_link]sel[/box-exec].fontWeight = "Bold"; myMenu[box-exec bar_link]sel[/box-exec].fontColor = "white"; myMenu[box-exec bar_link]sel[/box-exec].bgColor = "#191CA6"; myMenu[box-exec bar_link]sel[/box-exec].menuItemBgColor = "#191CA6"; myMenu[box-exec bar_link]sel[/box-exec].menuHiliteBgColor = "#000084"; myMenu[box-exec bar_link]sel[/box-exec].menuItemHeight = 25; myMenu[box-exec bar_link]sel[/box-exec].writeMenus(); //--> </SCRIPT> <tr> <td valign="top" class="categorybar"> <b> <a href= "javascript:window.showMenu(window.myMenu[box-exec bar_link]sel[/box-exec]);" CLASS="barlink"> [box-exec bar_link]area[/box-exec]</a></b> </td> </tr> [/loop] [if !scratch found_cat] <tr> <td class="categorybar"> [loop search=" ra=yes tf=description " ] &nbsp;&nbsp;[page [loop-code]][loop-field description][/page]<BR> [/loop] </td> </tr> [/if] [/timed-build] </table> <br> </td></tr> <!-- END COMPONENT [control component category_vertical] --> From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Dec 16 18:44:00 2001 Subject: [ic] Re: Newbie Installation Question On Sat, 15 Dec 2001, Jim Balcom wrote: > > >>Timothy Burt > >>Internet Specialist > > Oh? Very interesting! > > -= Jim =- > > Hmm.. Has anybody had a look at Jim's website? Geez Jim. Really. I wouldn't be advertising a site like that in my signature. Yea, I call myself an Internet Specialist. After 18 years of UNIX work and serving some well known clients like Warner Bros. maybe I have earned the privledge. Have a look at my resume if you like: http://www.timburt.com/resume I used MS Frontpage, cause I am helpless when it comes to page design. I will admit it. But when it comes to UNIX, I have been there and back. My apologies to every one else on the list... This is inappropriate. -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Dec 16 18:52:01 2001 Subject: [ic] Don't know the password to Foundation Admin Peter.. I had the same problem.... I solved it by creating a new store with a password that I knew. I found where the password was stored in the config files. Then I replaced the foundation encrypted password with the one I knew. Look for the password in: /var/lib/interchange/sam/products/access.asc I hope this helps! Let me know if you need more help.... On Sun, 16 Dec 2001, Peter Moutsatsos wrote: > Hi Steve, > > Sorry, none of those worked. > > Peter > > Steve Thomas wrote: > > > try > > user: interch > > pass: pass > > > > heres a few other possibilities. > > user: interchange > > pass: pass > > user: STORENAME > > pass: pass > > ----- Original Message ----- > > From: "Peter Moutsatsos" <moutsatsos@ozemail.com.au> > > To: <interchange-users@interchange.redhat.com> > > Sent: Saturday, December 15, 2001 11:14 PM > > Subject: [ic] Don't know the password to Foundation Admin > > > > > Hi, > > > > > > I'm relatively new at this and have just set up a catalog based on the > > > foundation skeleton. I want to now log in to the admin screen and start > > > changing the text, images, etc. but I don't know what the username and > > > password is to log in to the admin screen. This is my first log in > > > attempt, so I am assuming there is a default username and password > > > associated with creating a new catalog. > > > > > > Can anyone please supply me with the necessary username and password to > > > login to my first catalog's admin screen? > > > > > > Thanks, > > > Peter Moutsatsos > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (Fred Pope) Date: Sun Dec 16 18:56:00 2001 Subject: [ic] Need help with ic tags, creating dynamic javascript menus "I'm attempting to modify the foundation catalog, specificaly the "category_vertical" component to display menus containing product categories when you click on the product area." Have you looked into the tree tag? It is being used here: http://www.fixturefactor.com. I have not looked into it much myself, but it has been talked about on the list quite a bit. May save you some time, although I am not sure if this is what you are trying to accomplish. Perhaps an example of your code working somewhere would be helpful so we could see what you are trying to accomplish. - Fred =) http://www.satcomresources.com From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sun Dec 16 19:13:01 2001 Subject: [ic] makecat fails to create usable catalog 4.8.3-1 noarch On Sun, 16 Dec 2001 tburt@timburt.com wrote: >>I really appreciate your assistance, and I saw the posting about how to >>ask good questions. I agree with alot of what that posting says, but I >>found it to be a little harsh... And a tad arrogant. I'm sorry that you found it arrogant. I did not write it, however. Proper credit for the authorship was posted with the message. It was originally posted to the IC list and promoted by Dan Browning. >>Prior to posting my query here, I did check out the list archives and I >>perused the volume of postings since December 1, looking for anything that >>might give a clue to my problem. >> >>I count twelve pages of 50 postings each since about December first. That >>makes 600 postings. Most of which are "Re:" postings with Subject lines >>that don't really reflect the nature of the post. 600 postings. The IC list is a VERY busy list. A LOT of stuff gets covered in a hurry. And, too many questions are being asked where the person can easily get the answer by reading the docs and the mailing list archives. I am much more tolerant and gentler than many others - John Beima for instance. 15 days of postings are not enough to go through. The software is free. Before I selected IC I spent over $1000 buying store software that was grossly inadequate. To get what I needed I was going to have to spend around $5,000 and IC gives it to me for free. I consider it a bargain to spend a few hours doing the research to resolve a problem that I am having. >>I checked out anything that looked remotely related, and some that did >>not. I did not read every single post. I did not find an answer. >> >>I realize that you may have been on this list, reading the posts as they >>come in, and perhaps you have seen this issue addressed before. If you >>have, you must have some recollection of what the fix involves, and if >>your intent was to be helpful, you might have responded to my query with: >> >>------------ >>I recall a post a few hours/days/weeks ago that addressed your question. >>It was in a thread that involved "Subject xxx". Have a look at the >>archives and see if you can find it. It had something to do with library >>somthing or other not being up to date. Hope this helps, and if it >>doesn't, post again and I will see if I can find it. >>------------ Uuummm.... now see, this is a good example. I gave you a clue and a possible direction to head in. But, you want me to do the research - for free - for you. This is not a problem that I have ever experienced, so why should I go digging? If you will pay me a consulting fee, I'll be glad to research it for you - using the same resources that are available to you for free. >>Your reply was surprisingly terse. I think you could have said alot more, >>but you choose not to because either you don't know the answer, or you >>don't want to share it, because then you wouldn't feel so damn impotent. >>Yes, impotent. You are correct, I don't know the answer. It's never happened to me, so in the many times that I have seen the question and the resulting answer I have ignored it. I've only mentally filed away the fact that it was asked and answered. >>Perhaps we need a post on how to reply to a reasonable request for >>assistance. Jim.... So, it's damned if I do, and damned if I don't! We get a myriad of posts from people complaining that they posted a query and didn't get a response. So I give a response and a possible direction to go in, and I still get my ass chewed! The IC list is a high volume list and anything that you have ever done before is small banannas compared to this one. We are trying to keep the bandwidth down by getting people to post questions intelligently and meaningfully. By getting people to have read the manuals (I've downloaded them in PDF format, printed them out, and have bound them for easy reference. Have you?) And, by getting people to read the FAQ, as well as going through the mailing list archives, even as far back as a year. If EVERYONE would read the manuals and went through the mailing list archives before they asked their questions, the mailing list would be down to, maybe, 5-10 messages a day. >>Timothy Burt >>Internet Specialist In view of your postings and your attitude, this sig line is offensive to me. It's equivalent to my saying that I am a sex specialist. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, December 16, 2001 at 18:45 PM: What does ignorant mean? ---------------------------------------------------------------- This Linux System has been up 507 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sun Dec 16 19:20:00 2001 Subject: [ic] Re: Newbie Installation Question On Sun, 16 Dec 2001 tburt@timburt.com wrote: >>Hmm.. Has anybody had a look at Jim's website? >> >>Geez Jim. Really. I wouldn't be advertising a site like that in my >>signature. Whatever floats your boat, Tim. At least I have Interchange running. It's been up and operating and making money for me since July 4th. Making money to the tune of grossing $100,000 per year. >>My apologies to every one else on the list... This is inappropriate. Don't be surprised if you are unable to get any future help from this list. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, December 16, 2001 at 19:15 PM: Can you imagine conning eight cats into pulling a sled? ---------------------------------------------------------------- This Linux System has been up 508 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Sun Dec 16 19:30:00 2001 Subject: [ic] makecat fails to create usable catalog 4.8.3-1 noarch Hello Tim and Jim, I'm not gonna "get into" the fun that both of you are having . . . but Tim - I did have this same problem and was able to correct it by insuring that all of the Interchange Perl modules were downloaded and installed. I seemed to have been missing a few . . . Oh yeah - I wanna be in a movie (maybe co-starring in something like Titanic 2) - know any contacts at WB??? HA! I'd like starting pay at $8 mil . . . :) Justin > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > tburt@timburt.com > Sent: Sunday, December 16, 2001 5:15 PM > To: Jim Balcom > Cc: interchange-users@interchange.redhat.com > Subject: Re: [ic] makecat fails to create usable catalog 4.8.3-1 noarch > > > > I really appreciate your assistance, and I saw the posting about how to > ask good questions. I agree with alot of what that posting says, but I > found it to be a little harsh... And a tad arrogant. > > I respond to inquiries on the Trinux project mailing list, because I know > quite a bit about the mystical bootstrap process and I really > support Matt > and his help anybody attitude. I have chipped in and rewrote some code > and earned myself a place in a special section he created for "war > stories". Have a look Jim.... > > http://trinux.sourceforge.net/stories/ > > Prior to posting my query here, I did check out the list archives and I > perused the volume of postings since December 1, looking for anything that > might give a clue to my problem. > > I count twelve pages of 50 postings each since about December > first. That > makes 600 postings. Most of which are "Re:" postings with Subject lines > that don't really reflect the nature of the post. 600 postings. > > I checked out anything that looked remotely related, and some that did > not. I did not read every single post. I did not find an answer. > > I realize that you may have been on this list, reading the posts as they > come in, and perhaps you have seen this issue addressed before. If you > have, you must have some recollection of what the fix involves, and if > your intent was to be helpful, you might have responded to my query with: > > ------------ > I recall a post a few hours/days/weeks ago that addressed your question. > It was in a thread that involved "Subject xxx". Have a look at the > archives and see if you can find it. It had something to do with library > somthing or other not being up to date. Hope this helps, and if it > doesn't, post again and I will see if I can find it. > ------------ > > Your reply was surprisingly terse. I think you could have said > alot more, > but you choose not to because either you don't know the answer, or you > don't want to share it, because then you wouldn't feel so damn impotent. > Yes, impotent. > > Perhaps we need a post on how to reply to a reasonable request for > assistance. Jim.... > > > On Sat, 15 Dec 2001, Jim Balcom wrote: > > > On Sat, 15 Dec 2001 tburt@timburt.com wrote: > > > > >>I filed this bug report, and then I noticed that only 4 of > forty odd bugs > > >>reported in the last 5 months have even been acknowledged... :-( > > > > > > >>Interchange V4.8.3 > > >>Configuring catalog foundation...Using default DBM database...done. > > >>Configuring catalog sam...sam config error: Please specify > the MailOrderTo > > >>directive in the configuration file '' > > > > It's been covered many times. Check the mail archives. > > > > -= Jim =- > > > > ---------------------------------------------------------------- > > Jim's Linux-Operated Underground Bomb Shelter > > > > Tagline for Saturday, December 15, 2001 at 18:55 PM: > > Insert New Disk for Drive C: Press ENTER when ready. > > > > ---------------------------------------------------------------- > > This Linux System has been up 484 hours > > > > My web page: http://www.idk-enterprises.com > > ---------------------------------------------------------------- > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > -- > -------------------- > Timothy Burt > Internet Specialist > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jason Balicki) Date: Sun Dec 16 20:07:01 2001 Subject: [ic] Need help with ic tags, creating dynamic javascript menus Fred Pope wrote: Fred, Thanks for the quick reply... > "I'm attempting to modify the foundation catalog, specificaly the > "category_vertical" component to display menus containing product > categories when you click on the product area." > > Have you looked into the tree tag? It is being used here: > http://www.fixturefactor.com. I'm looking at the site, and it's very similar to what I'm trying to accomplish, but I don't think I'll need n-level menu's. My boss will probably ask for it later though. :) > I have not looked into it much myself, but it has been talked about on > the list quite a bit. May save you some time, although I am not sure if > this is what you are trying to accomplish. Perhaps an example of your > code working somewhere would be helpful so we could see what you are > trying to accomplish. Well, you can see what I've got so far at: http://www.asi-computers.com/cgi-bin/asistore Be warned: it ONLY works (and partialy at that) in Netscape. IE chokes on my code. I'm researching the [tree] tag right now. > - Fred =) > http://www.satcomresources.com Thanks again, Fred. --J(K) From: interchange-users at interchange.redhat.com (Steve Thomas) Date: Sun Dec 16 20:17:01 2001 Subject: [ic] Shippign worldwide When I first started everyone told me shipping worldwide is to much of a hassle. I've turned down to many customers cause I don't ship worldwide. I want to offer this but I have no idea how to go about it. I've heard you need to bring things to customs and stuff. I heard you just ship it like a regular package. Please shed some light on this. I'm losing alot of busienss cause this. I'd like to offer it with the best prices also. Thanks alot. From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sun Dec 16 21:07:01 2001 Subject: [ic] Shippign worldwide On Sun, 16 Dec 2001, Steve Thomas wrote: ST>>When I first started everyone told me shipping worldwide is to much of a ST>>hassle. I've turned down to many customers cause I don't ship worldwide. I ST>>want to offer this but I have no idea how to go about it. I've heard you ST>>need to bring things to customs and stuff. I heard you just ship it like a ST>>regular package. Please shed some light on this. I'm losing alot of busienss ST>>cause this. I'd like to offer it with the best prices also. Thanks alot. International shipping is a hassle. However, if you use the UPS software, or the FedEx web page for shipping it is a bit easier, although still complicated, and expensive. We recently shipped an order to Canada that contained a plastic bottle that we sold for $14.95. On Friday we got a bill from FedEx for $9.37 on this bottle for Canadian customs and duty. When you are shipping make sure that you click the right options to make the receiver pay all of those taxes. I have had to double the formulas in the stock shipping.asc in 4.6.3 a couple of times in order to get the costs closer to what FedEx is billing me. I thought that NAFTA was supposed to make moving stuff across the border between the USA and Canada easy. It's done nothing. I can not begin to fathom why pusing stuff across that border costs so much. You can do it, but you are still going to lose business because the shipping companies are going to gouge you. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, December 16, 2001 at 20:45 PM: Ultimate office automation: networked coffee. ---------------------------------------------------------------- This Linux System has been up 509 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Sun Dec 16 21:18:01 2001 Subject: [ic] hardware recommendations > > > SCSI disks are recommended (low latency, high throughput) as well as > > > lots of RAM. But, as always, your hardware needs depend on your load > > > and catalog. For low-end sites, even a duron 700 with 512mb RAM and a > > > SCSI hdd can really serve up the pages fast. HTH, > > > > > Thanks for the info. My system is grinding with a simple catalog on > > IC 4.8.3, with Apache 1.3.22 and MySQL; it's a Celeron 900MHz and 128MB > > of RAM. It's purely a testing system, but performance is very low. > > > YOu NEED a lot more RAM... I wont roll out an Interchange server without > at LEAST 1G and 2G of swap.... The last 3 Interchange servers that have > been put into production all have 1.5Gigs of RAM and 2Gigs of swap.... > 128Megs will cause Interchange to run VERY slow... > I agree that, as memory is cheap at the moment, installing more than 128MB is a good idea that certainly can't hurt the performance of a system. Adding more memory will give the OS some extra buffers and cache to play with, but if it's purely a testing system then why bother? I have a P200 test machine with 128MB RAM (320MB swap) and old SCSI-II disks which runs Interchange, Apache, MySQL and other related stuff happily enough. There are several test sites and configurations on that box at the moment. As you'd expect, it's not quick enough for production use, but it runs well. In fact, it runs so well that it's not occurred to me to upgrade it until recently, and I'm in no rush to do that. Running Interchange on a P200 really helps when testing changes that are likely to affect the performance of one or more pages. :-) -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Dec 16 21:33:00 2001 Subject: [ic] Re: Newbie Installation Question On Sat, 15 Dec 2001 tburt@timburt.com wrote: Add one more to this list..... Storable-1.0.14.tar.gz > > A bit of warning regarding the CPAN install routines.... > > I once did as suggested below, and allowed CPAN to auto install some > needed modules. It promptly decided that I was running an outdated > version of perl (I was up to date w/rt RH rpms), and proceeded to upgrade > my perl to the latest version, without giving me a chance to say no. The > upgrade continued for quite some time, (I was on a T1) and when it was > done, several of my previously running perl scripts were now broken. It > took several more hours to remove all of the perl from my machine and > reinstall from the RH rpms. I had several clients on the machine who were > inconvenienced by this rogue action. > > I would recommend hunting down the needed CPAN modules one by one, and > installing them by hand. It took me almost an hour to get the CPAN > modules I needed for IC, but it was better than the many hours spent the > last time. > > Here are the modules (and dependent modules) I needed to install: > > Funny, it would seem to be fairly simple and very helpful if the > installation documentation for IC would provide this list.... > > Bundle-libnet-1.00.tar.gz > MIME-Base64-2.12.tar.gz > URI-1.17.tar.gz > HTML-Parser-3.25.tar.gz > SQL-Statement-0.1021.tar.gz > libnet-1.0901.tar.gz > HTML-Tagset-3.03.tar.gz > Safe-Hole-0.08.tar.gz > libwww-perl-5.62.tar.gz > > Michelle Wilant wrote: > > > Yea! Nice to hear a Miva person move to Interchange. Now if you > > could just convince some of my co-workers to do that.... :) > > > > Dan Browning wrote: > > > >>>Hello all, > >>> > >>> Just considering a move from Miva Merchant to > >>>Interchange and am getting ready to do an rpm installation > >>>of Interchange. I have downloaded all the rpms with the > >>>exception of the CPAN modules. How do I know which ones I > >>>need or do I need all of them? > >>> > >>>I apologize in advance for the newbie question and hope to > >>>learn a lot very quickly :) > >>> > >>>Thanks > >>> > >>>Bob > >>> > >> > >>Even if you do install the RPM modules (some of which are out of date > >>for Red Hat 7.2), I recommend running > >> > >>perl -MCPAN -e 'install Bundle::Interchange' > >> > >>Or perhaps this first to get a faster mirror: > >> > >>perl -MCPAN -e 'shell' > >>o conf urllist push ftp://mirrors.kernel.org/pub/CPAN/ > >> > >>HTH, > >> > >>Dan Browning > >>Kavod Technologies > >> > >> > >>_______________________________________________ > >>interchange-users mailing list > >>interchange-users@interchange.redhat.com > >>http://interchange.redhat.com/mailman/listinfo/interchange-users > >> > >>. > >> > > > > > > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (Steve Graham) Date: Sun Dec 16 22:28:01 2001 Subject: [ic] View Image Tag Hello, What is the proper method to show a larger view of an image? If I use something like this: <a href="#" onClick="open('nickel_lock.jpg','nickel','width=480,height=300,resizable,menubar');"><img border="0" src="nickel_locksm.jpg" WIDTH="150" HEIGHT="91"></a> It will look for the image in the html page. Any suggestions appreciated. Thanks, Steve _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Sun Dec 16 22:40:01 2001 Subject: [ic] The Interchange-Users Owners' Club > > > YMMV, I'm the mean BOH that thinks people without sysadmin > > > experience should not be running ic. It's way too easy to get > > > up and running with the demo stores. > > > > > Damn! > > You are pissing me off! > > I thought that I had the sole rights to this line of thinking! > > > I am along this line as well... If you don't know what a pod file is, you may > not know how to use/access it, but if you don't know what it is... You don't > know what CPAN stands for... You don't know the difference between scripts and a > daemon.... You think you are two smart to read the documentation... You charge > people for your time to work on Interchange, but you are not willing to pay > people to help you... Then you don't deserve the right to bother us.... > I see the Interchange-Users Owners' Club has been formed. Does this mean that, from now on, every question will be met with either an RTFM, or yet another repost of the entire text of the "smart way to ask questions" guide? -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Ian Riddler) Date: Sun Dec 16 22:44:00 2001 Subject: [ic] Need help with ic tags, creating dynamic javascript menus Mike Heins did a very good Tips and Trick article on 22 Sept. It works nicely for multiple-level categories. The big difference between the tree tag and javascript is that expanding/collapsing the tree requires a page reload, where javascript would not. In the mid-term, Javascript is the better option, but for now, I've taken the path of least resistance. We put the comb_category and tree_build code into UI/pages/admin/item.html, which automatically refreshes our tree every time the items list page is viewed. Better to do it too often, than not often enough! I hope this helps, and I'd be interested to hear how your js work goes. Ian ----- Original Message ----- From: "Jason Balicki" <kodak@asi-computers.com> To: <interchange-users@interchange.redhat.com> Sent: Monday, December 17, 2001 12:49 PM Subject: Re: [ic] Need help with ic tags, creating dynamic javascript menus > Fred Pope wrote: > > Fred, Thanks for the quick reply... > > > "I'm attempting to modify the foundation catalog, specificaly the > > "category_vertical" component to display menus containing product > > categories when you click on the product area." > > > > Have you looked into the tree tag? It is being used here: > > http://www.fixturefactor.com. > > I'm looking at the site, and it's very similar to what I'm > trying to accomplish, but I don't think I'll need n-level > menu's. My boss will probably ask for it later though. :) > > > I have not looked into it much myself, but it has been talked about on > > the list quite a bit. May save you some time, although I am not sure if > > this is what you are trying to accomplish. Perhaps an example of your > > code working somewhere would be helpful so we could see what you are > > trying to accomplish. > > Well, you can see what I've got so far at: > http://www.asi-computers.com/cgi-bin/asistore > > Be warned: it ONLY works (and partialy at that) in Netscape. IE > chokes on my code. > > I'm researching the [tree] tag right now. > > > - Fred =) > > http://www.satcomresources.com > > Thanks again, Fred. > > --J(K) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 17 00:21:00 2001 Subject: [ic] Installation answers for IC 4.8.3 on Redhat Here is the quick path to getting IC 4.8.3 running on a RedHat 7.0 system. Including some hints that others have missed.... If you trust CPAN to auto install the perl modules required for IC, you can skip this next step, and the installation will get them for you, provided you are connected to the net... Otherwise, if you are more cautious, like me, you should download and install the following modules by hand before going further: Storable-1.0.14.tar.gz Bundle-libnet-1.00.tar.gz MIME-Base64-2.12.tar.gz URI-1.17.tar.gz HTML-Parser-3.25.tar.gz SQL-Statement-0.1021.tar.gz libnet-1.0901.tar.gz HTML-Tagset-3.03.tar.gz Safe-Hole-0.08.tar.gz libwww-perl-5.62.tar.gz Next, you need to create a user, under which the IC daemon will run. The convention is to name this user interch, so create a user called interch. I wanted to be able to set up catalogs for individual users, and give them some privacy, and to do that, you first need to create the account for that user. I called my first catalog sam, for sample. Create a new user sam. Now, go into the /etc/group file and add the user interch to the group for sam. The entry should look something like: sam:x:1121:interch Finally, and this is important, Redhat will create the users home directory with perms 700. This will prevent the interch user from being able to read the catalog.cfg file that will be created within the /home/sam/catalog/sam folder. So you must change the perms on the home directory to 770. If you get an error when starting IC that says something like: config error -- Couldn't change to /home/sam/catalogs/sam: Permission denied Then you may have forgotten this step.. Now you are ready to un-tar the IC distribution and do the install... Grab the tarball (I gave up trying to get the RPM's to work, but I think I was missing a perl module YMMV). I used: interchange-4.8.3.tar.gz Untar and cd into the source folder. WARNING... The configure command does more than configure the compilation, it will initiate the config, compile, then the configure will proceed, without pause, to installation which includes auto installation of the CPAN modules and after a few questions (take the defaults is my recommendation) will complete the installation on your system. It is best to have the users already created before you proceed with this step. Finally, the configure will instruct you to issue the final command from the /usr/local/interchange folder... bin/makecat. Here are the answers I gave it (sorry for the length). snip......snip......snip USER mode is appropriate when only one user owns all catalogs running on this server, and the Interchange daemon is run by the same user. M) MULTIPLE GROUP G) GROUP U) USER Permission Mode? [M] Since there was no master configuration file, we will ask some questions to help set initial defaults for making this and future catalogs. Default server? [secure.servers.com] We need to know if all of your CGI programs are run as a file ending in .cgi or some other extension, or whether you have your own personal CGI directory. Do you have a CGI directory? [y] # The location of the normal CGI directory. This is a # file path, not a script alias. # # If all of your CGI programs must end in .cgi, this is # should be the same as your HTML directory. # CgiDir? [/var/www/cgi-bin] # # The URL-style location of the normal CGI directory. # Only used to set the default for the CgiUrl setting. # # http://www.virtual.com/cgi-bin/prog # ^^^^^^^^ # # If you have no CGI-bin directory, (your CGI programs end # in .cgi), leave this blank. # CgiBase? [/cgi-bin] # The base directory for HTML for this (possibly virtual) domain. # This is a directory path name, not a URL -- it is your HTML # directory. # DocumentRoot? [/var/www/html] # This is a directory path name (not a URL) where the administration user # interface images from share/ should be copied to. These will normally be # shared by all catalogs. Often this is the same as your DocumentRoot. # ShareDir? [/var/www/html] # The URL base for the administration user interface images. # This is a URL fragment, not an entire URL. # # <IMG SRC="/interchange/en_US/bg.gif"> # (leave blank) # # <IMG SRC="/~yourname/interchange/en_US/bg.gif"> # ^^^^^^^^^^ # ShareUrl? # The directory where the Interchange software is installed. # VendRoot? [/usr/local/interchange] # # DIRECTORY where the Interchange catalog directories will go. These # are the catalog files, such as the ASCII database source, # Interchange page files, and catalog.cfg file. Catalogs will # be an individual subdirectory of this directory. # BaseDir? [~/catalogs] # The user name the Interchange server runs under on this machine. This # should not be the same as the user that runs the HTTP server (i.e. # NOT nobody). # InterchangeUser? [interch] # Interchange can use either UNIX- or internet-domain sockets. # Most ISPs would prefer UNIX mode, and it is more secure. # Link mode? [UNIX] ######### END BASE CONFIGURATION ######### ######### BEGINNING CATALOG CONFIGURATION ######### # The server name, something like: www.company.com # www.company.com:8000 # www.company.com/~yourname # Server name? [secure.servers.com] # The type of demo catalog to use. The standard one distributed is: # # foundation # # If you have defined your own custom template catalog, # you can enter its name. # # If you are new to Interchange, use "foundation" to start with. DemoType? [foundation] # The type of permission structure for multiple user catalogs. # Select M for each user in own group (with interchange user in group) # G for all users in group of interchange user # U for all catalogs owned by interchange user (must be catuser as well) # # M is recommended, G works for most installations. permtype? [M] # The user name the Interchange server runs under on this machine. This # should not be the same as the user that runs the HTTP server (i.e. # NOT nobody). # InterchangeUser? [interch] # # The user name the catalog will be owned by. # CatUser? interch # The group name the server-owned files should be set to. This is # only important if Interchange catalogs will be owned by multiple users # and the group to be used is not the default for the catalog user. # # Normally this is left blank unless G mode was selected above. # InterchangeGroup? # The email address where orders for this catalog should go. # To have a secure catalog, either this should be a local user name and # not go over the Internet -- or use the PGP option. # MailOrderTo? [interch] sam # Where the Interchange files for this catalog will go, pages, # products, config and all. This should not be in HTML document # space! Usually a 'catalogs' directory below your home directory # works well. Remember, you will want a test catalog and an online # catalog. # CatRoot? [/var/lib/interchange/catalogs/foundation] # The location of the normal CGI directory. This is a # file path, not a script alias. # # If all of your CGI programs must end in .cgi, this is # should be the same as your HTML directory. # CgiDir? [/var/www/cgi-bin] # The URL location of the CGI program, without the http:// # or server name. # # http://www.virtual.com/cgi-bin/prog # ^^^^^^^^^^^^^ # # http://www.virtual.com/program.cgi # ^^^^^^^^^^^^ # CgiUrl? [/cgi-bin/foundation] # # Additional URL locations for the CGI program, as with CgiUrl. # This is used when calling the catalog from more than one place, # perhaps because your secure server is not the same name as the # non-secure one. # # http://www.secure.domain/secure-bin/prog # ^^^^^^^^^^^^^^^^ # # We set it to the name of the catalog by default to enable the # internal HTTP server. # Aliases? [/foundation] # The base directory for HTML for this (possibly virtual) domain. # This is a directory path name, not a URL -- it is your HTML # directory. # DocumentRoot? [/var/www/html] [root@secure interchange]# bin/makecat Select a short, mnemonic name for the catalog. This will be used to set the defaults for naming the catalog, executable, and directory, so you will have to type in this name frequently. NOTE: This will be the name of 'vlink' or 'tlink', the link CGI program. Depending on your CGI setup, it may also have the extension .cgi added. Only the characters [-a-zA-Z0-9_] are allowed, and it is strongly suggested that the catalog name be all lower case. If you are doing the demo for the first time, you might use "foundation". Catalog name? sam makecat -- Interchange catalog installation program. *** We will be making a catalog named 'sam'. *** ######### BEGINNING CATALOG CONFIGURATION ######### # The server name, something like: www.company.com # www.company.com:8000 # www.company.com/~yourname # Server name? [secure.servers.com] # The type of demo catalog to use. The standard one distributed is: # # foundation # # If you have defined your own custom template catalog, # you can enter its name. # # If you are new to Interchange, use "foundation" to start with. DemoType? [foundation] # The type of permission structure for multiple user catalogs. # Select M for each user in own group (with interchange user in group) # G for all users in group of interchange user # U for all catalogs owned by interchange user (must be catuser as well) # # M is recommended, G works for most installations. permtype? [M] # The user name the Interchange server runs under on this machine. This # should not be the same as the user that runs the HTTP server (i.e. # NOT nobody). # InterchangeUser? [interch] # # The user name the catalog will be owned by. # CatUser? sam # The group name the server-owned files should be set to. This is # only important if Interchange catalogs will be owned by multiple users # and the group to be used is not the default for the catalog user. # # Normally this is left blank unless G mode was selected above. # InterchangeGroup? # The email address where orders for this catalog should go. # To have a secure catalog, either this should be a local user name and # not go over the Internet -- or use the PGP option. # MailOrderTo? [sam] # Where the Interchange files for this catalog will go, pages, # products, config and all. This should not be in HTML document # space! Usually a 'catalogs' directory below your home directory # works well. Remember, you will want a test catalog and an online # catalog. # CatRoot? [/home/sam/catalogs/sam] # The location of the normal CGI directory. This is a # file path, not a script alias. # # If all of your CGI programs must end in .cgi, this is # should be the same as your HTML directory. # CgiDir? [/var/www/cgi-bin] # The URL location of the CGI program, without the http:// # or server name. # # http://www.virtual.com/cgi-bin/prog # ^^^^^^^^^^^^^ # # http://www.virtual.com/program.cgi # ^^^^^^^^^^^^ # CgiUrl? [/cgi-bin/sam] # # Additional URL locations for the CGI program, as with CgiUrl. # This is used when calling the catalog from more than one place, # perhaps because your secure server is not the same name as the # non-secure one. # # http://www.secure.domain/secure-bin/prog # ^^^^^^^^^^^^^^^^ # # We set it to the name of the catalog by default to enable the # internal HTTP server. # Aliases? [/sam] # The base directory for HTML for this (possibly virtual) domain. # This is a directory path name, not a URL -- it is your HTML # directory. # DocumentRoot? [/var/www/html] # Where the sample HTML files (not Interchange pages) should be installed. # There is a difference. Usually a subdirectory of your HTML directory. # SampleHtml? [/var/www/html/sam] # Where the image files should be copied. A directory path # name, not a URL. # ImageDir? [/var/www/html/sam/images] # The URL base for the sample images. Sets the ImageDir # directive in the catalog configuration file. This is a URL # fragment, not a directory or file name. # # <IMG SRC="/foundation/images/icon.gif"> # ^^^^^^^^^^^^^^^^^^ # ImageUrl? [/sam/images] Interchange can use either UNIX- or internet-domain sockets. Most ISPs would prefer UNIX mode, and it is more secure. If you already have a program there, or use a common program and the FullURL directive, select NONE. You will then need to copy the program by hand or otherwise ensure its presence. INET or UNIX mode? [UNIX] Do you use CGIWRAP or SUEXEC? [n] creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for environ declaration in unistd.h... no checking return type of signal handlers... void checking for select... yes checking for socket... yes checking for strerror... yes updating cache ./config.cache creating ./config.status creating syscfg creating config.h Checking directories........................................ /var/www/html/sam: directory exists! The above directories already exist. Overwrite files? [n] y mkdir /home/sam/catalogs mkdir /home/sam/catalogs/sam done. Copying demo files..........................................found more to ask. Your company name: ...............................[Foundation Store] You can choose to pre-populate your Foundation template with some data which might be illustrative. You can always delete it later and replace it with your own. The types are: tools Construct Something, includes products, users, orders reports Marketing reports, downloadable softgoods, products, users none No data. Same as leaving blank. Sample data type?: ...............................[tools] Interchange has a workable internal database, but many things will work better (and a few worse) if you use a SQL database. Interchange can configure MySQL, PostgreSQL, and Oracle in a test configuration. Set to 1 if you want to use MySQL, PostgreSQL, Oracle, or DB2: .. You can use Interchange's companion configuration interface, to do upload/download of files, manipulation of the database, reconfiguration of the catalog, and much more. To enable the UI, you will need a "super-user" account name that has full access. The initial password is "pass". CHANGE IT! You can do this by going to the admin menu and selecting the superuser and then "Change password". Account name that will control this catalog: .....[sam] Administrative password: .........................[pass] Set to 1 to display demo helper features in your store: .. Found system commands to run. done. Moving link program to /var/www/cgi-bin/sam.................done. Copying share/ files to /var/www/html.......................done. Moving HTML files to /var/www/html/sam......................done. Moving image files to /var/www/html/sam/images..............done. Found additional system commands to run. We need to make some directories to store sessions, logs, and such. run "sh /home/sam/catalogs/sam/config/makedirs"? [y] You can install some sample data to start with in this catalog. This script will install the sample (tools) you selected. run "sh /home/sam/catalogs/sam/config/installsample"? [y] Add catalog to interchange.cfg? [y] Done with installation. If my reading of your input is correct, you should be able to access the demo catalog with the following URL: http://secure.servers.com/sam In any case, you should get direct access at: http://secure.servers.com/cgi-bin/sam That is, after you START or RESTART the Interchange server. 8-) It is best done with: su -c "/usr/local/interchange/bin/interchange -r" interch For session expiration, you might want to place a line like this in your crontab: 44 4 * * * /usr/local/interchange/bin/expireall -r It will prevent the session databases from getting too large. [root@secure interchange]# bin/restart The Interchange server should not be run as root. It should run as a the user name you configured in when you set up the catalogs. The name we think should run it is: interch If you are starting the server from /etc/rc.local or another startup file, you can use this: su -f -c /usr/local/interchange/bin/restart interch or if that fails: su interch <<EOF /usr/local/interchange/bin/restart EOF Do you want me to start it as 'interch' now? [y] The Interchange server was not running (/usr/local/interchange/etc/interchange.pid). Low traffic settings. Calling UI......UI is loaded... Interchange V4.8.3 Configuring catalog sam... Couldn't change to /home/sam/catalogs/sam: Permission denied sam: error in configuration. Skipping. sam: config error -- Couldn't change to /home/sam/catalogs/sam: Permission denied. Skipping. Interchange server started in INET and UNIX mode(s) (process id 24350) --------------------------------------- Note that I had not yet changed the perms on the /home/sam folder to 770, so I got the Permission Denied Error... -------------------------------------- You will still need to create your /etc/init.d/rc files and add a cron entry and more. But at least you should be able to access the sample store without getting the dreaded 404 page not found error. I hope that you find this information helpful and my apolologies for the length, but if it saves you an hour, it will be worth it. It could have saved me several hours of trial and error. ----------------------------------- Thanks to the many list participants who helped guide me in getting this up and running. I am looking forward to getting my first store up! And Thank You Mike Heins for bringing us this fine application! -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (chad townsend) Date: Mon Dec 17 00:27:01 2001 Subject: [ic] understanding shipping->custom i have downloaded and printed all of those docs. i have tried to read them all but don't yet have them memorized. thanks for pointing out that section, that is exactly what i'm looking for. i appreciate it, ./chad& Jim Balcom wrote: > > On Sat, 15 Dec 2001, chad townsend wrote: > > ct>>it's one of those situations where the 'product' is free and the shipping is only 2.00 for each > ct>>product shipped. i know i'm probably making this harder than it is but the below formula pretty > ct>>much sums it up. i'm sure i'll bang my head against a wall when i see how simple this is. > ct>> > ct>>> ct>> 2.00 x # of items ordered from product group #1 anywhere in the usa > ct>>> ct>>+ 5.00 x # of items ordered from product group #2 anywhere in the usa > ct>>> ct>>------ > ct>>> ct>>$nn.nn = total shipping cost > ct>> > ct>>i can't just add 2.00 to the cost of the product, since the cost is free - i was just trying to use > ct>>the provided shipping tool to accomplish this - and from fooling with it, it seems i could easily > ct>>accomplish this with the custom method, but i'm not quite sure how it works. > > Aaaahhhh. The product is free. > > In the downloadable documents, there is one that is called "Interchange > Databases". The shipping section starts on Page 47. On page 51 is an example > 'shipping.asc', followed by detailed explanations. I believe that the > section for RPS Ground is an excellent starting spot for what you want. > > You can also set up a UPS style. Make your zone chart have just one entry: > 0-99999 is zone 1. Then make the weight of the first group 2 pounds and the > weight of the second group 5 pounds. Then you would need to set up a > shipping table, similar to ground.csv with only one zone and everything > $1.00. The shipping method will multiply the weight by $1.00 and return that > as the shipping cost. > > I think that playing with the RPS example is easier. > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Sunday, December 16, 2001 at 09:35 AM: > NEWS! Enraged cow injures farmer with ax > > ---------------------------------------------------------------- > This Linux System has been up 498 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Scott Carter) Date: Mon Dec 17 03:24:01 2001 Subject: [ic] Wells Fargo Estore Has anyone done the payment gateway for wells fargo??? It seems to be a simple html form posted to a secure payment server... Scott Carter From: interchange-users at interchange.redhat.com (Peter Moutsatsos) Date: Mon Dec 17 07:48:00 2001 Subject: [ic] Don't know the password to Foundation Admin Thanks! That worked. Excellent. tburt@timburt.com wrote: > Peter.. I had the same problem.... > > I solved it by creating a new store with a password that I knew. > > I found where the password was stored in the config files. > > Then I replaced the foundation encrypted password with the one I knew. > > Look for the password in: > > /var/lib/interchange/sam/products/access.asc > > I hope this helps! Let me know if you need more help.... > > On Sun, 16 Dec 2001, Peter Moutsatsos wrote: > > > Hi Steve, > > > > Sorry, none of those worked. > > > > Peter > > > > Steve Thomas wrote: > > > > > try > > > user: interch > > > pass: pass > > > > > > heres a few other possibilities. > > > user: interchange > > > pass: pass > > > user: STORENAME > > > pass: pass > > > ----- Original Message ----- > > > From: "Peter Moutsatsos" <moutsatsos@ozemail.com.au> > > > To: <interchange-users@interchange.redhat.com> > > > Sent: Saturday, December 15, 2001 11:14 PM > > > Subject: [ic] Don't know the password to Foundation Admin > > > > > > > Hi, > > > > > > > > I'm relatively new at this and have just set up a catalog based on the > > > > foundation skeleton. I want to now log in to the admin screen and start > > > > changing the text, images, etc. but I don't know what the username and > > > > password is to log in to the admin screen. This is my first log in > > > > attempt, so I am assuming there is a default username and password > > > > associated with creating a new catalog. > > > > > > > > Can anyone please supply me with the necessary username and password to > > > > login to my first catalog's admin screen? > > > > > > > > Thanks, > > > > Peter Moutsatsos > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > -- > -------------------- > Timothy Burt > Internet Specialist > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Rick Lord) Date: Mon Dec 17 07:53:01 2001 Subject: [ic] Shipping problems I searched the archives for this and saw that it was discussed recently, but I was unable to fix it. So I am turning to the list for help. I am running 4.8.1 on debian. Everything was working fine until a couple of weeks ago when I reinstalled everything on my server. Now shipping is not being calculated. I searched the list and found out I should delete the line   $country = undef if $country eq 'US'; in ups_query.tag. I did that, even downloaded a new version of the file from CVS and then when trying to check out or calculate shipping, it would think for 5 minutes, timeout and replace "Missing consigneecountry" with "No Rave Server Connection Established". Eventually I got tired and restored my old backup of ups_query.tag and now I get "No match found for mode 'upsg', quantity '', returning 0. " I don't know if that is related or if I screwed something else up. It was late at night. Anyway, anyone have any suggestions? I just want to charge shipping. That seems like it should be simple enough. Thanks. -- Rick Lord Desert Lord Enterprises http://www.desertlord.com From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Dec 17 08:41:01 2001 Subject: [ic] The Interchange-Users Owners' Club On Mon, 17 Dec 2001, Kevin Walsh wrote: KW>>Does this mean that, from now on, every question will be met with either KW>>an RTFM, or yet another repost of the entire text of the "smart way to KW>>ask questions" guide? Using an RTFM or "check the mailing list archives" has at least a couple of benefits. The requestor will usually stumble across some other things that were causing them questions, as well as variations on their own problem. The topic is usually covered in more depth in those sources. And, it reduces the bandwidth on this list by avoiding having the same questions being asked over and over and over. Like the perennial "I just built my store and I can't figure out how to log into the Admin section." post that we seem to see about twice a month. I am opposed to seeing just an RTFM with no clues as to where to start looking. I don't consider that helpful. And, then, there is the all-time favorite: "I've asked this question 4 times now and no one has answered me!" -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, December 17, 2001 at 08:35 AM: Even in this corner of the galaxy, Captain, 2+2=4 ... Spock ---------------------------------------------------------------- This Linux System has been up 521 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Fred Pope) Date: Mon Dec 17 08:51:00 2001 Subject: [ic] Shipping problems I think that it may be that you do not have the UPS perl modules installed. -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of Rick Lord Sent: Monday, December 17, 2001 5:50 AM To: interchange-users@interchange.redhat.com Subject: [ic] Shipping problems I searched the archives for this and saw that it was discussed recently, but I was unable to fix it. So I am turning to the list for help. I am running 4.8.1 on debian. Everything was working fine until a couple of weeks ago when I reinstalled everything on my server. Now shipping is not being calculated. I searched the list and found out I should delete the line   $country = undef if $country eq 'US'; in ups_query.tag. I did that, even downloaded a new version of the file from CVS and then when trying to check out or calculate shipping, it would think for 5 minutes, timeout and replace "Missing consigneecountry" with "No Rave Server Connection Established". Eventually I got tired and restored my old backup of ups_query.tag and now I get "No match found for mode 'upsg', quantity '', returning 0. " I don't know if that is related or if I screwed something else up. It was late at night. Anyway, anyone have any suggestions? I just want to charge shipping. That seems like it should be simple enough. Thanks. -- Rick Lord Desert Lord Enterprises http://www.desertlord.com _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Fred Pope) Date: Mon Dec 17 08:59:01 2001 Subject: [ic] Wells Fargo Estore "Has anyone done the payment gateway for wells fargo??? It seems to be a simple html form posted to a secure payment server... Scott Carter" I have. You can set it up with either payflowlink or payflowpro through verisign. The former is a form posted to a payment server, the later is the real deal using the signio module. I use PayFlowPro and although it is pricey, it works very well. From: interchange-users at interchange.redhat.com (Scott Carter) Date: Mon Dec 17 09:26:01 2001 Subject: [ic] Wells Fargo Estore the payment gateway for wells fargo is the same thing as payflowlink (HTTPS post based). Was just wondering about the html post code... Scott Carter > "Has anyone done the payment gateway for wells fargo??? It seems to be > a simple html form posted to a secure payment server... Scott Carter" > > I have. You can set it up with either payflowlink or payflowpro through > verisign. The former is a form posted to a payment server, the later is > the real deal using the signio module. I use PayFlowPro and although it > is pricey, it works very well. > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Mon Dec 17 09:33:00 2001 Subject: [ic] The Interchange-Users Owners' Club It is a pity that some people on this list that know a lot about Interchange only like to answer the "interesting" questions and not those that are simple (at least for them). Doing a search does not always bring the right answer, even if it has been asked and answered many times, because it might be in bits and pieces. And then someone with a simple question might get frustrated that nobody answers that question. Anton -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jim Balcom Sent: Monday, December 17, 2001 8:45 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] The Interchange-Users Owners' Club **** And, then, there is the all-time favorite: "I've asked this question 4 times now and no one has answered me!" ***** From: interchange-users at interchange.redhat.com (Rick Lord) Date: Mon Dec 17 09:44:00 2001 Subject: [ic] Shipping problems I didn't think of that. What is the name of the modules that I need to install? Thanks. Fred Pope wrote: > I think that it may be that you do not have the UPS perl modules > installed. > > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of > Rick Lord > Sent: Monday, December 17, 2001 5:50 AM > To: interchange-users@interchange.redhat.com > Subject: [ic] Shipping problems > > > I searched the archives for this and saw that it was discussed recently, > but > I was unable to fix it. So I am turning to the list for help. > I am running 4.8.1 on debian. Everything was working fine until a couple > of > weeks ago when I reinstalled everything on my server. Now shipping is > not > being calculated. I searched the list and found out I should delete the > line > $country = undef if $country eq 'US'; in ups_query.tag. I did that, even > > downloaded a new version of the file from CVS and then when trying to > check > out or calculate shipping, it would think for 5 minutes, timeout and > replace > "Missing consigneecountry" with "No Rave Server Connection Established". > > Eventually I got tired and restored my old backup of ups_query.tag and > now I > get "No match found for mode 'upsg', quantity '', returning 0. " I don't > know > if that is related or if I screwed something else up. It was late at > night. Anyway, anyone have any suggestions? I just want to charge > shipping. That > seems like it should be simple enough. > Thanks. > > -- Rick Lord Desert Lord Enterprises http://www.desertlord.com/ From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Mon Dec 17 09:50:00 2001 Subject: [ic] Change text color in category listing > [cat-exec bar_link template=|<A HREF="$URL$"><FONT > COLOR="#000000">$ANCHOR$</FONT></A>|]cat[/cat-exec]<BR> > > I copied this line into my region file and removed the old > line. When I view > the page, the text is black!!! But. . . my links all read > > [cat-exec bar_link template=|$ANCHOR$|] > > Its like it is not interpretting the template correctly. Is it typed > correctly? I don't have much experience with this so I don't know if it > looks right or not. > Hmm, do the links also point to $URL$, or is it just the anchor > that is not > getting interpolated? Does the link contain the cat-exec tag too, or just > the $ANCHOR$ part? Do you have a test url that shows this behavior? Yes, the links point to $URL$. The link contains http://chad.its-is.uni.edu/chclassics/$URL$. Here is a page you can look at to see exactly what it is doing: http://chad.its-is.uni.edu/cgi-bin/chclassics/index.html. > > Also, I did a search of my whole machine and the only .css that > I found that > > appeared to have something to do with interchange was: > > > > /usr/lib/interchange/share/akopia/ui/help > > > > Where would I find this .css that you are talking about? > > > I misspoke, it isn't actually in a separate file in the standard > distribution, > it's in the THEME_CSS variable in your theme.cfg. I searched my machine for theme.cfg, but did not find it anywhere. Was that ever included with 4.6? Or is that just a 4.8 and higher file? Do you know what was used prior to theme.cfg? Thanks for your help this far. Chad From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 17 10:32:01 2001 Subject: [ic] Change text color in category listing On Mon, Dec 17, 2001 at 08:49:28AM -0600, Chad Wittrock wrote: > > Yes, the links point to $URL$. The link contains > http://chad.its-is.uni.edu/chclassics/$URL$. Here is a page you can look at > to see exactly what it is doing: > http://chad.its-is.uni.edu/cgi-bin/chclassics/index.html. > It would appear that I've been away from Interchange too long, after examining the code it seems that you can't pass link_template in this manner, and you have to specify it in either the area or cat tables in the database. Unfortunately I'm working out of state at the moment and don't have access to my test servers, so I can't explain exactly how to do that... > I searched my machine for theme.cfg, but did not find it anywhere. Was that > ever included with 4.6? Or is that just a 4.8 and higher file? Do you know > what was used prior to theme.cfg? > In 4.6 the css is in vars/UI_STD_HEAD -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 17 10:36:01 2001 Subject: [ic] The Interchange-Users Owners' Club On Mon, Dec 17, 2001 at 09:28:10AM -0500, AddAction New Media wrote: > It is a pity that some people on this list that know a lot about Interchange > only like to answer the "interesting" questions and not those that are > simple (at least for them). Doing a search does not always bring the right > answer, even if it has been asked and answered many times, because it might > be in bits and pieces. And then someone with a simple question might get > frustrated that nobody answers that question. > After you've answered the same question a few dozen times, you start to think that maybe people should check the archives first. Call me crazy, but what is the incentive for someone who knows the answer to spend 10 minutes typing it up if the person asking the question isn't even willing to spend that long typing a few words into the search box on the developer website? -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 17 10:39:00 2001 Subject: [ic] cp order.html ../store List: I've received quite a bit of help so far, and I appreciate everyone who has taken the time to respond. I have one more question about order forms. The order form inside the administrative tool is _exactly_ what we need as part of our store. Any thoughts on how to set this up? Thanks again... Seth Stone Springboard Communications, Inc. From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Mon Dec 17 10:45:01 2001 Subject: [ic] Change text color in category listing > On Mon, Dec 17, 2001 at 08:49:28AM -0600, Chad Wittrock wrote: > > > > Yes, the links point to $URL$. The link contains > > http://chad.its-is.uni.edu/chclassics/$URL$. Here is a page you > can look at > > to see exactly what it is doing: > > http://chad.its-is.uni.edu/cgi-bin/chclassics/index.html. > > > It would appear that I've been away from Interchange too long, > after examining > the code it seems that you can't pass link_template in this > manner, and you > have to specify it in either the area or cat tables in the database. I think that: > [cat-exec bar_link template=|<A HREF="$URL$"><FONT > COLOR="#000000">$ANCHOR$</FONT></A>|]cat[/cat-exec]<BR> should be: [cat-exec bar_link]<A HREF="$URL$"><FONT COLOR="#000000">$ANCHOR$</FONT></A>[/cat-exec]<BR> the template can be passed in enclosed part of the tag pair. This came in about 4.6.3 I think.. >From an email 27 Nov 01: Template order is: 1) If there is text between the [loop-exec bar_link] and [/loop-exec] this is used. 2) if not, if there is a Link template for the Area or Cat entry this is used. 3) if not, if there is a variable called BAR_LINK_TEMPLATE this is used. 4) if not, the default is '<A HREF="$URL$" CLASS="barlink">$ANCHOR$</A>' Jonathan Webmaint. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 17 10:49:01 2001 Subject: [ic] The Interchange-Users Owners' Club I find it facinating that the same people who complain about the high bandwidth on this list, are the ones who are filling it up with this endless stream of "everyone else is stupid". I had a look at Jim's history of posts, and it speaks volumes for Jim. Every once in a while, he appears to shed some light on an obscure detail that may or may not be accurate. But by far, the majority of his posts are of the nature... You are stupid, I am God. RTFM I am fascinated by what motivates this man. Obviously, he doesn't need help from this list, and he is providing precious little good useful information for the other readers. If his intent is to provide entertainment, which appears to be his appeal to some of the readers, then perhaps we need a list for the rest of us that would like to get some work done. I couldn't find any significant credits to his name on the net, but I did find several posts to other news lists where he asks some pretty lame questions like "I can't get chroot to work, can anybody help me?" His website, which he proudly advertises in his signature line, is.. well.. Go have a look at my 9 year olds website at www.taylorburt.com and you decide. As best as I can tell, Jim's claim to fame is that he has successfully installed Interchange software on a Linux box. To do that, he had to memorize the documentation. Congratulations Jim! Thank you Jim, for once again proving that the world is full of morons. I saw a recent post that gave the instructions on how to unsubscribe from this list. Perhaps you should go and read it. Again, my apologies for contributing this unproductive email to this very busy list. Oh... BTW.... I figured out what IDK stands for.... I Don't Know Kinda fitting, I think. On Mon, 17 Dec 2001, Jim Balcom wrote: > On Mon, 17 Dec 2001, Kevin Walsh wrote: > > KW>>Does this mean that, from now on, every question will be met with either > KW>>an RTFM, or yet another repost of the entire text of the "smart way to > KW>>ask questions" guide? > > Using an RTFM or "check the mailing list archives" has at least a couple of > benefits. > > The requestor will usually stumble across some other things that were > causing them questions, as well as variations on their own problem. The > topic is usually covered in more depth in those sources. > > And, it reduces the bandwidth on this list by avoiding having the same > questions being asked over and over and over. Like the perennial "I just > built my store and I can't figure out how to log into the Admin section." > post that we seem to see about twice a month. > > I am opposed to seeing just an RTFM with no clues as to where to start > looking. I don't consider that helpful. > > And, then, there is the all-time favorite: "I've asked this question 4 times > now and no one has answered me!" > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Monday, December 17, 2001 at 08:35 AM: > Even in this corner of the galaxy, Captain, 2+2=4 ... Spock > > ---------------------------------------------------------------- > This Linux System has been up 521 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (rdilks) Date: Mon Dec 17 10:52:00 2001 Subject: [ic] Secure Trading Hi All Does anyone have any experience of configuring Interchange 4.8 with Secure Trading ?? Russ From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Mon Dec 17 11:05:01 2001 Subject: [ic] The Interchange-Users Owners' Club When I started with Interchange, I would first search the Docs and then the list. After sometimes searching with different words and browsing through page after page it would give me bits and pieces but not the answer. Sometimes it would help if the question on the list is answered with the correct search terms or a hint towards the applicable section in the Docs. Some questions and answers should be put into a FAQ. That would make the DOCs much better, especially for questions that are related to Interchange program, such as Encryption. Anton -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jason Kohles Sent: Monday, December 17, 2001 10:36 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] The Interchange-Users Owners' Club On Mon, Dec 17, 2001 at 09:28:10AM -0500, AddAction New Media wrote: > It is a pity that some people on this list that know a lot about Interchange > only like to answer the "interesting" questions and not those that are > simple (at least for them). Doing a search does not always bring the right > answer, even if it has been asked and answered many times, because it might > be in bits and pieces. And then someone with a simple question might get > frustrated that nobody answers that question. > After you've answered the same question a few dozen times, you start to think that maybe people should check the archives first. Call me crazy, but what is the incentive for someone who knows the answer to spend 10 minutes typing it up if the person asking the question isn't even willing to spend that long typing a few words into the search box on the developer website? -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 17 11:09:00 2001 Subject: [ic] Change text color in category listing On Mon, Dec 17, 2001 at 03:41:16PM -0000, Jonathan Clark wrote: > > On Mon, Dec 17, 2001 at 08:49:28AM -0600, Chad Wittrock wrote: > > I think that: > > [cat-exec bar_link template=|<A HREF="$URL$"><FONT > > COLOR="#000000">$ANCHOR$</FONT></A>|]cat[/cat-exec]<BR> > > should be: > > [cat-exec bar_link]<A HREF="$URL$"><FONT > COLOR="#000000">$ANCHOR$</FONT></A>[/cat-exec]<BR> > That looks like it should work, although you still need the 'cat': [cat-exec bar_link]cat<A HREF="$URL$"><FONT COLOR="#000000">$ANCHOR$</FONT></A>[/cat-exec]<BR> > Template order is: > > 1) If there is text between the [loop-exec bar_link] and [/loop-exec] > this is used. > 2) if not, if there is a Link template for the Area or Cat entry this is > used. > 3) if not, if there is a variable called BAR_LINK_TEMPLATE this is used. > 4) if not, the default is '<A HREF="$URL$" CLASS="barlink">$ANCHOR$</A>' > I don't remember seeing that, but I'll file it away for future reference, and see what I can do about adding it to the docs... -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (ADAM STUART NICKERSON) Date: Mon Dec 17 11:14:00 2001 Subject: [ic] Interchange Installed Base How many users are currently using Interchange to host online stores? Thanks, Adam. -- http://www.prosebush.cs.dal.ca Any way you want it, that's the way you read it. From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Mon Dec 17 11:17:00 2001 Subject: [ic] Change text color in category listing > > should be: > > > > [cat-exec bar_link]<A HREF="$URL$"><FONT > > COLOR="#000000">$ANCHOR$</FONT></A>[/cat-exec]<BR> > > > That looks like it should work, although you still need the 'cat': > > [cat-exec bar_link]cat<A HREF="$URL$"><FONT > COLOR="#000000">$ANCHOR$</FONT></A>[/cat-exec]<BR> Ah yes... there should also be a new line (or other suitable delimiter): [cat-exec bar_link] cat <A HREF="$URL$"><FONT COLOR="#000000">$ANCHOR$</FONT></A> [/cat-exec]<BR> .. that looks even better.. Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Mon Dec 17 11:20:00 2001 Subject: [ic] Interchange Installed Base > How many users are currently using Interchange to host online stores? > me. (sorry, couldn't resist.) Jonathan. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 17 11:22:05 2001 Subject: [ic] The Interchange-Users Owners' Club You make an excellent point Jason. And a brief one too! Thx. However, it appears to me that if the same question is being asked over and over, then perhaps that is an indication that something needs to be fixed? Or better documented? For example, a few months ago, the Trinux mailing list was inundated with "I can't get ssh to work", "what am I doing wrong?" questions. I answered it a few times, mostly explaining that Trinux was a poor environment in which to learn the tricks to SSH. The Trinux implementation was non-standard, and Matt had recently hacked it to meet his needs, and broken part of it. That's the privilege of being the developer... Rather than scream at the users to RTFM, I offered to rewrite the installation and startup script. Matt promptly incorporated my rewrite into the distribution and you know what? I haven't seen a single post since then. I am a little dismayed by the number of little problems I am facing to get this application up and running. I can find them and fix them, but I would rather not. I could memorize the docs, but should that really be necessary? I am willing to ask intellegent questions, after doing a reasonable amount of research and in return, I try to post coherent summaries that describe what I have learned, and the mistakes I made, in hopes that someone else can learn from my mistakes, and save some time in doing so. I can understand RedHat's position. They want you to become so frustrated that you go to their website and plunk down $3000 to get a working system. RedHat has a vested interest in keeping this application hard to install and hard to work with. Normally, a RedHat rpm does the right thing, the first time, and people like me, with work to do, can get back to business. I really appreciate this, and because of this, I use RedHat, and I buy the releases. (I support software that works!) I was expecting somewhat the same from Interchange, but the rpm's failed to give me a working system. Thank you Jason, for participating on this list! I can see that you are genuinely helpful and really want to do what is right. But again, the recurring questions are an indication that something needs to be fixed. That is all. And a big Thank you to RedHat for adopting InterChange. I hope that Mike and the other developers (minivend?) got fair compensation for his efforts. On Mon, 17 Dec 2001, Jason Kohles wrote: > On Mon, Dec 17, 2001 at 09:28:10AM -0500, AddAction New Media wrote: > > It is a pity that some people on this list that know a lot about Interchange > > only like to answer the "interesting" questions and not those that are > > simple (at least for them). Doing a search does not always bring the right > > answer, even if it has been asked and answered many times, because it might > > be in bits and pieces. And then someone with a simple question might get > > frustrated that nobody answers that question. > > > After you've answered the same question a few dozen times, you start to think > that maybe people should check the archives first. Call me crazy, but what is > the incentive for someone who knows the answer to spend 10 minutes typing it > up if the person asking the question isn't even willing to spend that long > typing a few words into the search box on the developer website? > > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 17 11:25:00 2001 Subject: [ic] The Interchange-Users Owners' Club The voice of reason and experience speaks! On Mon, 17 Dec 2001, AddAction New Media wrote: > When I started with Interchange, I would first search the Docs and then the > list. After sometimes searching with different words and browsing through > page after page it would give me bits and pieces but not the answer. > > Sometimes it would help if the question on the list is answered with the > correct search terms or a hint towards the applicable section in the Docs. > > Some questions and answers should be put into a FAQ. That would make the > DOCs much better, especially for questions that are related to Interchange > program, such as Encryption. > > Anton > > > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Jason Kohles > Sent: Monday, December 17, 2001 10:36 AM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] The Interchange-Users Owners' Club > > > On Mon, Dec 17, 2001 at 09:28:10AM -0500, AddAction New Media wrote: > > It is a pity that some people on this list that know a lot about > Interchange > > only like to answer the "interesting" questions and not those that are > > simple (at least for them). Doing a search does not always bring the right > > answer, even if it has been asked and answered many times, because it > might > > be in bits and pieces. And then someone with a simple question might get > > frustrated that nobody answers that question. > > > After you've answered the same question a few dozen times, you start to > think > that maybe people should check the archives first. Call me crazy, but what > is > the incentive for someone who knows the answer to spend 10 minutes typing it > up if the person asking the question isn't even willing to spend that long > typing a few words into the search box on the developer website? > > -- > Jason Kohles jkohles@redhat.com > Senior System Architect (703)786-8036 (cellular) > Red Hat Professional Consulting (703)456-2940 (office) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 17 11:27:10 2001 Subject: [ic] Interchange Installed Base On Mon, Dec 17, 2001 at 12:13:49PM -0400, ADAM STUART NICKERSON wrote: > How many users are currently using Interchange to host online stores? > There is a list of people who have told us they're running it at: http://interchange.redhat.com/cgi-bin/ic/hall.html -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 17 11:40:01 2001 Subject: [ic] The Interchange-Users Owners' Club On Mon, Dec 17, 2001 at 08:19:09AM -0800, tburt@timburt.com wrote: > > You make an excellent point Jason. And a brief one too! Thx. > > However, it appears to me that if the same question is being asked over > and over, then perhaps that is an indication that something needs to be > fixed? Or better documented? > Perhaps it does, and things to get added to the documentation frequently, but many of the frequent questions are already answered in the documentation. > Rather than scream at the users to RTFM, I offered to rewrite the > installation and startup script. Matt promptly incorporated my rewrite > into the distribution and you know what? I haven't seen a single post > since then. > And when people do the same thing for Interchange, that information gets incorporated as well. In fact the developer website has an 'Add note' button at the bottom of every page that lets you add your comments without the help of the developers, which also emails your note to the documentation maintainers who consider whether to add it to the documentation (generally they do), however very few people (on the order of maybe 2 a month) actually take advantage of this. > I am a little dismayed by the number of little problems I am facing to get > this application up and running. I can find them and fix them, but I > would rather not. I could memorize the docs, but should that really be > necessary? > I don't have the documentation memorized, so obviously I don't think that's necessary. > I am willing to ask intellegent questions, after doing a reasonable amount > of research and in return, I try to post coherent summaries that describe > what I have learned, and the mistakes I made, in hopes that someone else > can learn from my mistakes, and save some time in doing so. > As have many other people. How will you feel however, when after posting this well thought out summary, you are attacked because you refuse to post it twice a week when the question gets repeated? > I can understand RedHat's position. They want you to become so frustrated > that you go to their website and plunk down $3000 to get a working system. I don't want to seem overly harsh, but this is complete crap. If this were the case then Red Hat would be fairly upset over the number of questions that I've answered for free in this forum, rather than encouraging their developers to participate here. > RedHat has a vested interest in keeping this application hard to install > and hard to work with. Normally, a RedHat rpm does the right thing, the > first time, and people like me, with work to do, can get back to business. > I really appreciate this, and because of this, I use RedHat, and I buy the > releases. (I support software that works!) I was expecting somewhat the > same from Interchange, but the rpm's failed to give me a working system. > Nobody is interested in keeping it hard to use. If there are problems with the rpm's they probably stem from the fact that 4.8 is the first release to be distributed as rpm's. If you find problems please file them as bugs so they can be fixed. > Thank you Jason, for participating on this list! I can see that you are > genuinely helpful and really want to do what is right. But again, the > recurring questions are an indication that something needs to be fixed. And when the problem is with the documentation, it does usually get fixed. In fact, even though I'm not currently assigned to the Interchange team and am working in the middle of nowhere on a client site in Illinois, I have spent a great deal of my free time working on detailed content for the encryption sections of the faq. My effort to document the common problems with setting up pgp has been stymied however, by the fact that nearly everyone who has trouble with it posts 'it doesn't work' with no detail, which doesn't give me much to work with from the mailing list archives. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Mon Dec 17 11:43:01 2001 Subject: [ic] Change text color in category listing I would just like to thank you for all your help. This has been a learning experience for me. You have been very helpful and I appreciate your time. You are a asset to this mailing list. Thanks a lot Chad From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 17 11:46:01 2001 Subject: [ic] Change text color in category listing On Mon, Dec 17, 2001 at 04:13:38PM -0000, Jonathan Clark wrote: > > > > should be: > > > > > > [cat-exec bar_link]<A HREF="$URL$"><FONT > > > COLOR="#000000">$ANCHOR$</FONT></A>[/cat-exec]<BR> > > > > > That looks like it should work, although you still need the 'cat': > > > > [cat-exec bar_link]cat<A HREF="$URL$"><FONT > > COLOR="#000000">$ANCHOR$</FONT></A>[/cat-exec]<BR> > > Ah yes... there should also be a new line (or other suitable delimiter): > > [cat-exec bar_link] cat > <A HREF="$URL$"><FONT COLOR="#000000">$ANCHOR$</FONT></A> > [/cat-exec]<BR> > > .. that looks even better.. > It looks better, but it's not really necessary. The template is considered to be everything starting with the first non-word character. I left it out because while it makes the source look better, adding newlines to the output tends to make for odd display problems that take forever to track down. =) -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid) Date: Mon Dec 17 12:07:00 2001 Subject: [ic] Re: The Interchange-Users Owners' Club I don't see how the install was so tough?? Worked like a charm first time we isntalled, and every makecat after that has been perfect also. Not sure if you can blame the software for install problems, because there are many, like myself, who have it installed on a couple of servers and never had any problems. Nathan RedHat has a vested interest in keeping this application hard to install >> and hard to work with. Normally, a RedHat rpm does the right thing, the >> first time, and people like me, with work to do, can get back to business. >> I really appreciate this, and because of this, I use RedHat, and I buy the >> releases. (I support software that works!) I was expecting somewhat the >> same from Interchange, but the rpm's failed to give me a working system. -- NAMI Solutions Nathan D. Olmscheid Partner - Phone: 612-237-9646 e-mail: nathan@namisolutions.com From: interchange-users at interchange.redhat.com (Michael Stearne) Date: Mon Dec 17 12:09:48 2001 Subject: [ic] Skipjack.pm troubleshooting Troy, I am going to be trying to implement SkipJack tonight or tomorrow hopefully. I'll let you know how it goes for me. Please let me know if you have any updates also. Michael Troy Davis wrote: >Hi all, > >If you've seen my previous posts, you'll know that I'm trying to >implement Skipjack with Interchange 4.8.3. (Perl 5.6.1, running on Red >Hat 6.2, apache 1.3.20). > >The problem is that no data is being sent to Skipjack, yet all >transactions with good card numbers are "successful". I get email >receipts, order notifications, log entries, but no skipjack transactions >have happened. > >I've worked my way through documentation about routes, and here's what >my routes look like in catalog.cfg: > >#--- route info >Route log <<EOF > empty 1 > encrypt 0 > increment 0 > report etc/log_transaction > supplant 0 > track logs/log >EOF > >Route log_entry <<EOF > empty 1 > encrypt 0 > report etc/log_entry > supplant 0 > track logs/log >EOF > >Route copy_user <<EOF > empty 1 > error_ok 1 > encrypt 0 > increment 0 > report etc/mail_receipt > supplant 0 > track logs/log >EOF > >ParseVariables Yes > >RouteDatabase route > >CreditCardAuto No >Route skipjack test 1 >Route skipjack generate_error 1 >Route skipjack id "000975788619" >Route skipjack partner "__SKIPJACK_PARTNER__" >Route skipjack email 'orders@mydomain.com' > >Route default master 1 >Route default cascade "skipjack, copy_user, log, log_entry" >Route default empty 1 >Route default supplant 1 >Route default email '__ORDERS_TO__' > >#--- end of route info > >Any obvious problems there? > >I've been working my way through the Skipjack.pm troubleshooting >suggestions as well. It's kind of strange, even though I've set the >"Route skipjack test 1" and "Route skipjack generate_error 1" above, I >get no error messages. The customer email receipt is sent, and I get an >order notification as well (credit card number appropriately >obfuscated). > >As the Skipjack.pm perldocs suggests, I'd love to put [data session >payment_error] inside process.html, or whatever routine that is in >reality. Where would I do that? Grepping for "process" isn't revealing >anything that appears relevant. > >I've also put "[data session payment_error]" into my >pages/ord/checkout.html, but I don't get any error messages on >"successful" > transactions. > >Here's some other mysteries from the Skipjack.pm documentation: > >--- From Skipjack.pm perldoc: >If nothing works: > > o Make sure you "Require"d the module in > interchange.cfg: > > Require module Vend::Payment::iTransact >--- > >Wouldn't that be "Require module Vend::Payment::Skipjack"? That's what >I've got in my interchange.cfg file, and interchange says that it is >loading that module, along with Net::SSLeay successfully upon startup. >Is this just a documentation error? > >--- > o Check the error logs, both catalog and global. >--- > >My catalog error log says this for every false-positive transaction: > >216.23.55.253 3aLLwkKy:216.23.55.253 - [16/December/2001:13:31:17 -0500] >iotcat >/cgi-bin/iotcat/process.html PGP failed with status 131072: >216.23.55.253 3aLLwkKy:216.23.55.253 - [16/December/2001:13:31:17 -0500] >iotcat >/cgi-bin/iotcat/process.html Successful login by user 'U00014' > >I'm not using PGP as a payment method, and none of my routes have >encrypt => 1. Why would PGP get called at all? > >The global error log shows nothing other than startup messages. > >--- > o Try an order, then put this code in a page: > > <XMP> > [calc] > my $string = $Tag->uneval( { ref => >$Session->{payment_result} }); > $string =~ s/{/{\n/; > $string =~ s/,/,\n/g; > return $string; > [/calc] > </XMP> > > That should show what happened. >--- > >Put this code in what page? I've tried it in pages/ord/checkout.html, >but I just get: > ><XMP> > "" ></XMP> > >I feel like I'm so close here... Can someone please elaborate a little >on a suggested troubleshooting methodology for this kind of problem? > >TIA, >Troy Davis >ACD Interactive >Slipstream.com >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Dec 17 12:12:01 2001 Subject: [ic] Installation answers for IC 4.8.3 on Redhat > Here is the quick path to getting IC 4.8.3 running on a > RedHat 7.0 system. > Including some hints that others have missed.... [snip] > Timothy Burt Thanks for the write-up, Timothy. I'll probably quote it for the next newbies that come along. HAND, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Dec 17 12:15:01 2001 Subject: [ic] Secure Trading > Hi All > Does anyone have any experience of configuring Interchange 4.8 with > Secure Trading ?? > > Russ Oh great, is this another request from Nasdaq? The @bite.co.uk doesn't fool me, I know it's forwarding to @nasdaq.com. Like I told you guys last time, ever since you guys moved from Unix to Windows and then had your servers exploited because of a Windows hole I decided that I wouldn't help you migrate back to Unix and Interchange. ;-) In all seriousness, I don't know what you mean by "Secure Trading", but it sounds like fun. HAND, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Dec 17 12:39:01 2001 Subject: [ic] The Interchange-Users Owners' Club > I find it facinating that the same people who complain about the high > bandwidth on this list, are the ones who are filling it up with this ["Timothy hates Jim" flame snipped] > Timothy Burt Make love not war. Peace on earth, etc. I think *somebody* has a case of the Mondays. :-) Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Dec 17 12:52:01 2001 Subject: [ic] Storing additional checkout fields in the database At 09:16 AM 12/16/2001 -0500, you wrote: ><cough> > >I forgot a colon in log_transaction; so I'm not really stupid, just very >careless ;-) Sorry for wasting everybody's time... > >Any chance somebody could point me in the direction of the file I now need to >edit in order to make my new field appear in the "Order" page of the admin >interface? > >Interchange is like a cave; large, cold, wet and currently very dark (for >me)... VENDROOT/lib/UI/pages/admin/order_view.html. Edit it in place if you want this change to be in effect for all future catalogs; otherwise copy it to yourcat/pages/admin/ and edit it there. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Craig Sloan) Date: Mon Dec 17 13:44:01 2001 Subject: [ic] registration form This is a multi-part message in MIME format. ------=_NextPart_000_000A_01C18700.940FD5A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hello, When a customer completes the required information in the new registration form then saves it, are they supposed to be brought to a thank you page or be given any kind of on screen clue that there information has been saved correctly. I am now testing this software (Great package by the way) and am wondering if I had missed something. thanks ------=_NextPart_000_000A_01C18700.940FD5A0 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFwjCCAoIw ggHroAMCAQICAwY1kTANBgkqhkiG9w0BAQIFADCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdl c3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsT FENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAw MC44LjMwMB4XDTAxMTEyOTIyMjk1MVoXDTAyMTEyOTIyMjk1MVowRjEfMB0GA1UEAxMWVGhhd3Rl IEZyZWVtYWlsIE1lbWJlcjEjMCEGCSqGSIb3DQEJARYUY3Nsb2FuMUBtYWluZS5yci5jb20wgZ8w DQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAL4U1ZSjkYCd6cY0wrtKf7ByAMcWu/rJ4uhO7AvwprFS 5n5Q4FRClk2WdMqxFEGRUnIGWbBth4HGjgsOa8tlp+cg9iHAiYVN4phMWke4aHwgxqjXaJFBSYE5 8q42Y7H9+n/b5bPyVb6rftw/w5sJFj+T5FnqItDTEW39DSPCqqjFAgMBAAGjMTAvMB8GA1UdEQQY MBaBFGNzbG9hbjFAbWFpbmUucnIuY29tMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQECBQADgYEA jyWhjFk30zfTDbe0lW9jHr+rMJqVTLnEYlhZyCuauCfn9dfiOj5yeIYKSrTXfFn7sOHVUI4VHZ1Q d0OVFBgwi4Atpyl/D7biAxjVSW+5HGa34p6er4sQHQeqpjcQ7dRLu7n2Uqgcq6f7YGZR3SVe15Lo IalFIPJMvYY7H+XOOnUwggM4MIICoaADAgECAhBmRXK3zHT1z2N2RYTQLpEBMA0GCSqGSIb3DQEB BAUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBl IFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9u IFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgQ0Ex KzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDAwODMwMDAw MDAwWhcNMDQwODI3MjM1OTU5WjCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2Fw ZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmlj YXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwMIGf MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDeMzKmY8cJJUU+0m54J2eBxdqIGYKXDuNEKYpjNSpt cDz63K737nRvMLwzkH/5NHGgo22Y8cNPomXbDfpL8dbdYaX5hc1VmjUanZJ1qCeu2HL5ugL217CR 3hzpq+AYA6h8Q0JQUYeDPPA5tJtUihOH/7ObnUlmAC0JieyUa+mhaQIDAQABo04wTDApBgNVHREE IjAgpB4wHDEaMBgGA1UEAxMRUHJpdmF0ZUxhYmVsMS0yOTcwEgYDVR0TAQH/BAgwBgEB/wIBADAL BgNVHQ8EBAMCAQYwDQYJKoZIhvcNAQEEBQADgYEAMbFLR135AXHl9VNsXXnWPZjAJhNigSKnEvgi legbSbcnewQ5uvzm8iTrkfq97A0qOPdQVahs9w2tTBu8A/S166JHn2yiDFiNMUIJEWywGmnRKxKy QF1q+XnQ6i4l3Yrk/NsNH50C81rbyjz2ROomaYd/SJ7OpZ/nhNjJYmKtBcYxggKqMIICpgIBATCB mjCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBU b3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYD VQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwAgMGNZEwCQYFKw4DAhoFAKCCAWUw GAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDExMjE3MTg0MTQ5WjAj BgkqhkiG9w0BCQQxFgQUsNrx7WPX2usBgAgkZoC7DsDUy+IwWAYJKoZIhvcNAQkPMUswSTAKBggq hkiG9w0DBzAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwBwYFKw4DAhow CgYIKoZIhvcNAgUwgasGCSsGAQQBgjcQBDGBnTCBmjCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgT DFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNV BAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0Eg MjAwMC44LjMwAgMGNZEwDQYJKoZIhvcNAQEBBQAEgYCqfxxsK8sbmZciNUGFkhjHQPzclesh+75P c/AKQBYtyagP1OPpeayv/FRqikRboA161HRhDuK1uBN78WzC4gqX2IHZ06whIPLKhSymhExiDEuT Pj9qS+ee63hdVu1xPpu2vzidtOgADVgJnfXAt5q56NfEor8Fq6/LIVjfw/zNRgAAAAAAAA== ------=_NextPart_000_000A_01C18700.940FD5A0-- From: interchange-users at interchange.redhat.com (Elmar Meusel) Date: Mon Dec 17 13:55:01 2001 Subject: [ic] divided 'option selects' when using combo select with database Hi, sorry for reposting my problem. After the first time Mike asked for more details, which a gave him in a "personal answer" in this mailing list. He didn't answer yet, maybe he's is to busy (what I could understand :-)) and that'd be okay. Anyway... maybe there is someone else who could help me... I've searched the archives once more, but did not found a solution. I added some config facts, maybe it's easier now to comprehend. I have a products table with a column named "composers". The entries in this column are often comma-seperated names like "Mozart, W.A." or "Bach, J.S." (without the quotes). The products data are working fine within the shop, but while using the item edit page of the Admin-area (where I am using a combo select with a lookup on this column "composers"), all presented entries of the "option selects" are divided after the comma (value and display) in to pieces (two seperate selcects), so you can only select "Mozart" or "W.A." or "Bach"... In this page for entering a new or editing an existing item (Items -> create new item), I have created an entry field for the composer with the following meta settings: Table::Column products::composer Widget type Combo Select Width 30 Height 1 Label Composer Lookup Table products Lookup select composer Filter(s) nullselect pre_filter nullselect The data in the correlating db-field 'composer' look like Bach, C.Ph.E. Cadet, Chédeville Charlwood, David Ehlen, Margit (Each line represents another record.) The names are displayed correctly (Name,Surname) in every result.html or flypage.html within the shop, but not in the admin-area. When the form for a new item is created (based on the meta-data above), a database-lookup is made which presents the existing composers as a "option select" list, but every combination of name and surname is divided into seperate options like this <OPTION VALUE="Bach">Bach <OPTION VALUE="C.Ph.E.">C.Ph.E. <OPTION VALUE="Cadet">Cadet <OPTION VALUE="Chédeville">Chédeville <OPTION VALUE="Charlwood">Charlwood <OPTION VALUE="David">David <OPTION VALUE="Ehlen">Ehlen <OPTION VALUE="Margit">Margit instead of <OPTION VALUE="Bach, C.Ph.E.">Bach, C.Ph.E. <OPTION VALUE="Cadet, Chédeville">Cadet, Chédeville <OPTION VALUE="Charlwood, David">Charlwood, David <OPTION VALUE="Ehlen, Margit">Ehlen, Margit I've tried the 2nd version (like '<OPTION VALUE="Ehlen, Margit">Ehlen, Margit') in pure HTML and it worked fine, so it should in interchange. I've also tried to set the Database entries in quotes ("Charlwood, David"), but that didn't help. I'm using Interchange 4.8.3 with MySQL 3.22.32 on Linux 2.2.14. Thanks in advance for your help. BTW, Interchange is a real amazing product and much better than what we had before (vshop). :-) Regards Elmar From: interchange-users at interchange.redhat.com (Lukas Simma) Date: Mon Dec 17 14:59:00 2001 Subject: [ic] How to set the metainfo on administrative Site for modifier with Hello, in our Shop we use excessive modifiers.(Checkboxes and Select Boxes) On the Admin Site of Interchange the use of Checkboxes is nice. (metainfo->Widget type: Select box, Optionen: =Nein,1=Ja) But for entries of Modifiers with key=value,key=value i could not found how to set the Metainfo so that the hole String is written to the Database not only the key. The Admiuser should see a selection with Kundenstoff, Stoffgrupppe II and Stoffgruppe III. But in the Databasefields we need eq. M1=Kundenstoff,M2=Stoffgrupppe II,M3=Stoffgruppe III If i enter in Metatdata in the Optionfield M1=Kundenstoff,M2=Stoffgrupppe II,M3=Stoffgruppe III then only the KEY will written into the Database eg. M1,M2,M3 Is there a trick to do that so that Modifiers are "nice" to enter into the Admin Site ? Today we enter the hole string into a textfield (not so nice) Is there more documentation for the metainfo of the administrative site ? I only found an overfiew but no referenze docu. (In the printed docu which we buy is also no info about the administrative site) Thanks for any hint, Lukas -- ++++++++++++++++++++++++++++++++++++++++++++ IDEEFIX System- und Softwareentwicklung GmbH Rheinstrasse 26-27 A-6890 Lustenau Tel. ++43 (0)5577 85533 Fax ++43 (0)5577 85533 10 Web: http://www.ideefix.net Email: office@IDEEFIX.NET ++++++++++++++++++++++++++++++++++++++++++++ From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Mon Dec 17 15:24:00 2001 Subject: [ic] Interchange on Mitel SME Anyone successfully running Interchange 4.8.3 on Mitel's SME v5.0? I've set it up according to a how-to, but it is not working. I keep getting the "We're sorry the server is either not available or very busy" error when the page comes up. I also ran into an error when running makecat. According to my httpd logs Apache is running with the suexec wrapper. When I answer yes to the CGIWRAP or SUEXEC prompt make cat exits with an error "chmod: no such file or directory". Any ideas? Tom From: interchange-users at interchange.redhat.com (Bob Lorenzini) Date: Mon Dec 17 15:31:01 2001 Subject: [ic] New problem While restarting an older catalog I get this: Configuring catalog proctor...Using MySQL, DSN=dbi:mysql:proctormasts. proctor config error: Can't locate object method "open_table" via package "Vend::Table::DBI" (perhaps you forgot to load "Vend::Table::DBI"?) at /usr/local/interchange-4.5.6/lib/Vend/Data.pm line 805. I did upgrade perl lately, is this related? I tried to install Vend::Table::DBI via CPAN but I got no match. Bob From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 17 15:35:01 2001 Subject: [ic] registration form Thank you for saying this... I encountered this anomoly too, and I don't yet have an answer. It seems like it should do something instead of just re-display the entry form... Is it a bug? Is it a feature? Or is it my fault for being such an idiot? On Mon, 17 Dec 2001, Craig Sloan wrote: > Hello, > > When a customer completes the required information in the new > registration form then saves it, are they supposed to be brought to a > thank you page or be given any kind of on screen clue that there > information has been saved correctly. I am now testing this software > (Great package by the way) and am wondering if I had missed something. > thanks > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 17 15:44:00 2001 Subject: [ic] Interchange on Mitel SME On Mon, 17 Dec 2001, Tom Carroll wrote: > Anyone successfully running Interchange 4.8.3 on Mitel's SME v5.0? Can't help you there... > > I've set it up according to a how-to, but it is not working. I keep getting > the "We're sorry the server is either not available or very busy" error when > the page comes up. I got this when IC was not installed properly. It may be nothing more IC saying, I am broken somehow... > > I also ran into an error when running makecat. According to my httpd logs > Apache is running with the suexec wrapper. When I answer yes to the CGIWRAP > or SUEXEC prompt make cat exits with an error "chmod: no such file or > directory". I didn't use CGIWRAP or SUEXEC, but I did get this message once. I believe the startup couldn't access the directory into which it was trying to install. 1) If you chose the "M" multiuser option, make sure that interch (or whatever user is running IC is added to the user login in the /etc/group file. and 2) Check the directory path up to the install folder. I had a directory in their that was 700, and the implied group privleges (from 1 above) couldn't search past that directory. That's my two cents worth.. Hope it helps.. > > Any ideas? > > Tom > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (Bob Lorenzini) Date: Mon Dec 17 15:46:09 2001 Subject: [ic] New problem answered I said: " While restarting an older catalog I get this: Configuring catalog proctor...Using MySQL, DSN=dbi:mysql:proctormasts. proctor config error: Can't locate object method "open_table" via package "Vend::Table::DBI" (perhaps you forgot to load "Vend::Table::DBI"?) at /usr/local/interchange-4.5.6/lib/Vend/Data.pm line 805. " The problem was the perl upgrade, now the question is can I add Vend::Table::DBI to perl 5.0? From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Mon Dec 17 15:49:01 2001 Subject: [ic] SQL performance Can you describe why you are using so many queries on a page? You might want to investigate the use of mysql joins in your query. Jason Kohles wrote: >On Fri, Dec 14, 2001 at 11:41:54AM -0800, Peter Jakl wrote: > >>I've implemented fairly heavy use of [query sql='...'] tags. I find for >>each [query] I add, the page slows down by a significant amount. Can >>anyone confirm that a client/server connection is being established for >>each [query]? Or is interchange smart enough to have one connection >>while processing a page? I'm using mysql, btw. >> >DBI connections are cached, if the mysql server and Interchange are running >on the same machine, make sure you don't specify a hostname in your DSN, >so that it will use the faster unix sockets, rather than connecting by >tcp... > From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 17 15:54:01 2001 Subject: [ic] New problem On Mon, Dec 17, 2001 at 12:30:36PM -0800, Bob Lorenzini wrote: > While restarting an older catalog I get this: > > Configuring catalog proctor...Using MySQL, DSN=dbi:mysql:proctormasts. > proctor config error: Can't locate object method "open_table" via package > "Vend::Table::DBI" (perhaps you forgot to load "Vend::Table::DBI"?) at > /usr/local/interchange-4.5.6/lib/Vend/Data.pm line 805. > > I did upgrade perl lately, is this related? I tried to install > Vend::Table::DBI via CPAN but I got no match. > Vend::Table::DBI is part of interchange, so you won't find it on CPAN. This error could be caused by upgrading DBI if something happened to make it impossible for Interchange to load necessary DBI modules. Try these two commands and see if you get an error message from either one: perl -MDBI -MDBD::mysql -e1 perl -I/usr/local/interchange-4.5.6/lib -MVend::Table::DBI -e1 If you get errors from either of these they should point you towards the problem... -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 17 15:57:00 2001 Subject: [ic] New problem answered On Mon, Dec 17, 2001 at 12:43:45PM -0800, Bob Lorenzini wrote: > I said: > " > While restarting an older catalog I get this: > > Configuring catalog proctor...Using MySQL, DSN=dbi:mysql:proctormasts. > proctor config error: Can't locate object method "open_table" via package > "Vend::Table::DBI" (perhaps you forgot to load "Vend::Table::DBI"?) at > /usr/local/interchange-4.5.6/lib/Vend/Data.pm line 805. > " > The problem was the perl upgrade, now the question is can I add > Vend::Table::DBI to perl 5.0? > You shouldn't need to, it's installed as part of Interchange, not as part of perl. In your case it appears it should be installed as /usr/local/interchange-4.5.6/lib/Vend/Table/DBI.pm. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Mon Dec 17 15:59:07 2001 Subject: [ic] registration form > > When a customer completes the required information in the new > > registration form then saves it, are they supposed to be brought to a > > thank you page or be given any kind of on screen clue that there > > information has been saved correctly. I am now testing this software > > (Great package by the way) and am wondering if I had missed something. > > thanks I remember encountering that same behaviour in the foundation demo in the account.html page. It's easy to change it. Just search for the INPUT field with NAME=mv_nextpage and change that to customerservice, like so: <INPUT TYPE=hidden NAME=mv_order_profile VALUE=account_change> <INPUT TYPE=hidden NAME=mv_todo VALUE=return> <INPUT TYPE=hidden NAME=mv_nextpage VALUE=customerservice> <INPUT TYPE=HIDDEN NAME=mv_check VALUE="Save_database"> Then, if you want to give the user extra feedback, create a scratch variable that is displayed when the customer goes back to teh customerservice page. Don't forget to clear the scratch variable, of course. ..Patrick From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Mon Dec 17 16:02:01 2001 Subject: [ic] Running Interchange w/ a seperate secure server On Fri, 14 Dec 2001, Jason Kohles wrote: > Having been a Mac programmer in a previous life I can safely say that just > getting perl running on a Mac is an exercise in frustration, once you do > figure out which port you need and get it installed it lacks some very > basic functions (the biggest problem for interchange is a really odd > implementation of the Socket module), and the fact that the last release of > MacPerl was in 1998 doesn't help much either... Actually, Chris Nandor recently released the second beta of Perl 5.6.1 for Mac OS. See macperl.com for details. Jon From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Mon Dec 17 16:06:01 2001 Subject: [ic] Interchange on Mitel SME On Mon, 17 Dec 2001, Timothy Burt wrote: > On Mon, 17 Dec 2001, Tom Carroll wrote: > > > Anyone successfully running Interchange 4.8.3 on Mitel's SME v5.0? > > Can't help you there... Not a problem. I'm not even sure it's an SME specific problem. > > I've set it up according to a how-to, but it is not working. I keep getting > > the "We're sorry the server is either not available or very busy" error when > > the page comes up. > > I got this when IC was not installed properly. It may be nothing more IC > saying, I am broken somehow... This is what I figured. However, I've completed everything that I can following the gsg and the how-to. I've search through the archives for that specific error and found nothing that works for me. I've also ensured I have chown and chgrp all interchange related files and directories to no avail. I figured my only choice was to rerun makecat and tell it to use suexec, but then the error with makecat reared its ugly head... Heck, I even went as far as to remove everything and reinstall just in case I missed something. > > I also ran into an error when running makecat. According to my httpd logs > > Apache is running with the suexec wrapper. When I answer yes to the CGIWRAP > > or SUEXEC prompt make cat exits with an error "chmod: no such file or > > directory". > > I didn't use CGIWRAP or SUEXEC, but I did get this message once. I > believe the startup couldn't access the directory into which it was trying > to install. > > 1) If you chose the "M" multiuser option, make sure that interch (or > whatever user is running IC is added to the user login in the /etc/group > file. I did choose M and it's there in the group file. > and > 2) Check the directory path up to the install folder. I had a directory > in their that was 700, and the implied group privleges (from 1 above) > couldn't search past that directory. I verified the directory permissions: drwxr-xr-x 18 root root 4096 Jun 28 2000 usr drwxr-xr-x 23 root root 8192 Dec 16 21:51 /usr/lib drwxr-xr-x 13 interch interch 4096 Dec 16 21:52 /usr/lib/interchange > That's my two cents worth.. Hope it helps.. Thanks for responding! > > Any ideas? > > > > Tom > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > -- > -------------------- > Timothy Burt > Internet Specialist > > From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 17 16:13:00 2001 Subject: [ic] Running Interchange w/ a seperate secure server On Mon, Dec 17, 2001 at 03:59:19PM -0500, Jon Jensen wrote: > On Fri, 14 Dec 2001, Jason Kohles wrote: > > > Having been a Mac programmer in a previous life I can safely say that just > > getting perl running on a Mac is an exercise in frustration, once you do > > figure out which port you need and get it installed it lacks some very > > basic functions (the biggest problem for interchange is a really odd > > implementation of the Socket module), and the fact that the last release of > > MacPerl was in 1998 doesn't help much either... > > Actually, Chris Nandor recently released the second beta of Perl 5.6.1 for > Mac OS. See macperl.com for details. > I knew that was going to come back to bite me. At the time I wrote that I tried to confirm it at macperl, but all their web server would give me were blank pages, so I went with what was on perl.com, even though I suspected it was out of date. So I stand corrected. (happily, if it lets me dust off my old Performa and put it to use =) ) -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 17 16:15:30 2001 Subject: [ic] Interchange on Mitel SME > > I verified the directory permissions: > > drwxr-xr-x 18 root root 4096 Jun 28 2000 usr > > drwxr-xr-x 23 root root 8192 Dec 16 21:51 /usr/lib > > drwxr-xr-x 13 interch interch 4096 Dec 16 21:52 > /usr/lib/interchange > If this is an error you are getting while running makecat, then the above perms may not be enough.... If the catalog owner is a user named sam.... and the group file has an entry for sam that says: sam:123:;interch Then the location where the catalog is going to be created must have write permissions for the group, and not just the user. drwxrwxr-x 22 sam sam 4096 ....... Elsewise, the group members are allowed only read access.. -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Mon Dec 17 16:26:01 2001 Subject: [ic] GPG how-to for hosted servers Since I didn't find any help like this in the archives, I thought I would give a brief description of what I did to get GPG encryption working for me in a shared environemnt. I can't afford a nice hosting solution such as with RedHat, so I am using a hosting provider that uses CPanel to manage multiple virtual domains and services. One of the services that they offer is Interchange 4.8.2. They also have GPG 1.0.6 installed. Unfortunately, getting the provider to do things like install a key in the interch user's key file is next to impossible. Here's the workaround that worked for me: First, you need to make sure gpg is installed and available to you. Try using the command `whereis gpg`. Then create your keys for the account that you will encrypt to using a command like `/usr/bin/gpg --gen-key`. [Note: I created two keys, one to encrypt the orders to and one to encrypt the credit card info to. You may wish to do the same.] I'll assume that the key you made has the e-mail address orders@example.com. Make sure you know where your keys were placed. Probably they were put in this directory: /home/your-user-name/.gnupg/. Now make sure you can use the key properly by using this command: echo "testing" | /usr/bin/gpg --no-default-keyring --always-trust --keyring /home/your-user-name/.gnupg/pubring.gpg -e -a --batch -t -r 'orders@example.com' If it works, great, if not, you need to look into the gpg documentation and the gpg newsgroups and mailing lists to fix it before proceeding or bothering the interchange folks. The next step is setting your variables properly. To do this, use the admin interface and go to Administration->Preferences->Encryption. If you don't have all of the variables listed below there, then you should create them just to be consistent with these instructions. Use the New Entry submenu item. ENCRYPTOR <blank> PGP /usr/bin/gpg --no-default-keyring --always-trust --keyring /home/dyna-q/.gnupg/pubring.gpg -e -a --batch -t -r '%s' PGP_CC_KEY orders-cc@example.com PGP_KEY orders@example.com [Note: make the PGP_CC_KEY the same as PGP_KEY if you want to encrypt the credit card info to the same key as the overall message.] Finally, edit your catalog.cfg file. Search for the EncryptProgram and EncryptKey lines. If they exist, edit them, otherwise, add them before the routes start: EncryptProgram __PGP__ EncyptKey __PGP_KEY__ then search through the rest of your file for Route main and make sure the following entries are set: credit_card 1 encrypt 1 encrypt_program "__PGP__" email '__ORDERS_TO__' pgp_cc_key "__PGP_CC_KEY__" pgp_key "__PGP_KEY__" I also went through the etc/report file and removed all of the mime types as it was causing problems for me. GPG was encrypting the mime parts and separators and my e-mail software didn't see the message. If you're having problems at this point, you'll want to look at the gpg error messages. In my environment, this was not simple as I did not have root, or even interch access. The logs are stored in the tmp/ directory as pgp*.err. In my case, I didn't have permissions to read these files. To circumvent this, do the following: First, figure out which file is the most recent that you want to look at by typing `ls -lt *.err |head` -- probably the first entry is the one you're after. Next, go to the admin interface and navigate to Content. Select '..' then 'tmp' and choose the file you are interested in from the list. This will give you the details of any errors that gpg is spitting out. Ignore the insecure memory errors, the don't stop gpg from doing anything. And that's how you use your own keys in a hosted/shared environment. Good luck. ..Patrick Keywords: GPG, CPanel, Hosted, Shared, Virtual Domain, Permissions, Encrypt, PGP, ENCRYPTOR From: interchange-users at interchange.redhat.com (Jonathan Melhuish) Date: Mon Dec 17 16:30:00 2001 Subject: [ic] Storing additional checkout fields in the database On Monday 17 December 2001 12:52, you wrote: > VENDROOT/lib/UI/pages/admin/order_view.html. Edit it in place if you want > this change to be in effect for all future catalogs; otherwise copy it to > yourcat/pages/admin/ and edit it there. > > - Ed L. Cheers Ed! This is the kind of thing I probably wouldn't have found in a hurry, let alone realised that I could make different versions for different catalogues, so thanks for that. Has anybody ever thought of making a 'file map' for Interchange that I could blow up really big and stick on my wall? It's just that this system is so huge, I find it quite difficult to find my way around! Cheers Jon From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 17 16:33:01 2001 Subject: [ic] Price breaks by quantity On Fri, Dec 14, 2001 at 08:13:34PM -0600, Jason Kohles wrote: > On Fri, Dec 14, 2001 at 06:28:18PM -0500, hhh@springboardgroup.com wrote: > > > > Is there a quick way (or a long way) to change the pricing > > breaks. My client has pricing breaks that line up on > > boundaries of 6; e.g., 6, 12, 144, etc... However the defaults > > in IC are 5, 10, 25, and so forth. Is this doable? > > > Yes, modify the pricing database to have fields with the right names, for > example if you are using the default_db, change it from: > > sku price_group q2 q5 q10 q25 q100 > > to: > > sku price_group q6 q12 q144 > > Then put those fields in your CommonAdjust variable, for example, the default > (in foundation) looks like: > > CommonAdjust :sale_price, ;:price, ;$, ==:options > > Change this to: > > CommonAdjust pricing:q6,q12,q144:, :sale_price ;:price, ;$, ==:options Thanks. That is definitely getting me on the right track. But my values for CommonAdjust are not being picked up, or my pricing table is wrong. For debugging purposes I even tried: PriceField 0 (I guess this should always be set to 0 when using CommonAdjust) CommonAdjust 5.00 I expected everything to be 5.00 regardless of the price in the products table, but it didn't seem to pick up on that. I also checked to make sure that I commented out the after.cfg include file that was overriding these values. I'm going to keep looking around, but I would appreciate any advice. Thanks, Seth Stone Springboard Communications, Inc. From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 17 17:04:01 2001 Subject: [ic] Storing additional checkout fields in the database On Mon, Dec 17, 2001 at 10:52:58AM -0500, Jonathan Melhuish wrote: > On Monday 17 December 2001 12:52, you wrote: > > VENDROOT/lib/UI/pages/admin/order_view.html. Edit it in place if you want > > this change to be in effect for all future catalogs; otherwise copy it to > > yourcat/pages/admin/ and edit it there. > > > > - Ed L. > > Cheers Ed! > > This is the kind of thing I probably wouldn't have found in a hurry, let > alone realised that I could make different versions for different catalogues, > so thanks for that. > > Has anybody ever thought of making a 'file map' for Interchange that I could > blow up really big and stick on my wall? It's just that this system is so > huge, I find it quite difficult to find my way around! > I have a start on one, maybe I can turn it into a poster after I get back to the office... -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Mon Dec 17 17:20:01 2001 Subject: [ic] make "dealer" with form I am trying to have a person be set as a dealer in userdb. When people "sign up" they use the account.html page that accesses the userdb values I want everybody that "signs up" with this form to be set as a "dealer". To give you an idea of what I need to accomplish: <INPUT TYPE=hidden NAME=dealer VALUE=yes> <INPUT TYPE=hidden NAME=dealer VALUE=1> I have tried a dozen others, however they seem embarrasing to post :). I have tried adjusting different settings in the ADMIN for dealer also but no combination seems to work. I have searched the post archive but came up empty handed, probably because I think most people select a dealer manually in ADMIN. We have an odd pricing structure, that needs to assume that if someone is logged in, that they are in fact a dealer. I may need to insert a value in price_level also. Am I missing something? I am a newbie, yes, but it seems that if I can control the other fields, I should be able to control "dealer", no? IC 4.8.1 Apache Thanks all. From: interchange-users at interchange.redhat.com (Boyd Lynn Gerber) Date: Mon Dec 17 17:29:01 2001 Subject: [ic] GPG how-to for hosted servers On Mon, 17 Dec 2001, Patrick J. Walsh wrote: > The next step is setting your variables properly. To do this, use the > admin interface and go to Administration->Preferences->Encryption. If you > don't have all of the variables listed below there, then you should create > them just to be consistent with these instructions. Use the New Entry > submenu item. > > ENCRYPTOR <blank> > PGP /usr/bin/gpg --no-default-keyring --always-trust --keyring > /home/dyna-q/.gnupg/pubring.gpg -e -a --batch -t -r '%s' > PGP_CC_KEY orders-cc@example.com > PGP_KEY orders@example.com Please note that you can also take the public key you generate and using the IC admin wizard have it import your key. I did have to set this. PGP /usr/bin/gpg -e -a -q -batch --no-tty --always-trust and IC imported the key and it encrypted the CC# and sent it properly. Good Luck, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 3748 Valley Forge Road, Magna Utah 84044 From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Mon Dec 17 17:31:59 2001 Subject: [ic] Price breaks by quantity > Thanks. That is definitely getting me on the right track. But my values > for CommonAdjust are not being picked up, or my pricing table is wrong. For > debugging purposes I even tried: Chances are you're having the same problem that I had: you're changing CommonAdjust (etc) in catalog.cfg, but they are also defined in etc/after.cfg and are overwriting your changes. The default Foundation catalog in 4.8.2 places CommonAdjust values in etc/after.cfg, so give that a try. Otherwise, go to your catalog directory and `grep -ri CommonAdjust * |less` to see where else it might be getting set from. ..Patrick From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Dec 17 17:46:01 2001 Subject: [ic] The Interchange-Users Owners' Club On Mon, 17 Dec 2001, AddAction New Media wrote: ANM>>It is a pity that some people on this list that know a lot about Interchange ANM>>only like to answer the "interesting" questions and not those that are ANM>>simple (at least for them). Doing a search does not always bring the right ANM>>answer, even if it has been asked and answered many times, because it might ANM>>be in bits and pieces. And then someone with a simple question might get ANM>>frustrated that nobody answers that question. You are rather incorrect in that assumption. I will answer any question where it relates to something that I have dealt with personally, provided that I can understand the question, and provided that I don't have to wade through a half dozen screenfuls of stuff to get to the meat of the problem. I will, however, ignore the 'easy' questions - "I don't know my password to get into the Admin section." That was covered excellently during the Makecat experience and it's also been covered many times on this list. The help that I gave Chad the other day was, to me, meaningful help. I guided him to the chapter in the docs that covered the shipping he wanted to do. Yes, I could have written it all out for him. But, I have a tendency to get to thinking faster than I type and I leave out words - which would give him the wrong information. This way, if something does not go right, it's not my fault - it's the fault of the authors of the doc's. It also exposed him to some alternatives that might have served him better. Or, at a minimum, shown him where and what information is there for future projects. Referring people to the docs means that I have shown them a direction to go in, and if it's wrong information then I am not the one giving them bad information. Mr. Burt took me to task because I didn't know the answer, but knew that I had seen it on the list recently and tried to steer him in that direction. He felt that I should have researched it for him and given him the answer, rather than for him to work for it. Rather, he spends his research time digging through 5+ years of Fidonet messages and jumping to erroneous conclusions about me. So, that's probably not a valid way to try to help people. I'll not do it again. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, December 17, 2001 at 17:30 PM: It took my cat a month to fully train me. ---------------------------------------------------------------- This Linux System has been up 530 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Dec 17 17:56:01 2001 Subject: [ic] cp order.html ../store On Mon, 17 Dec 2001 hhh@springboardgroup.com wrote: >>I've received quite a bit of help so far, and I appreciate everyone >>who has taken the time to respond. I have one more question about >>order forms. The order form inside the administrative tool is _exactly_ >>what we need as part of our store. Any thoughts on how to set this up? In my experience, checkout.html can be changed rather easily. It does require some knowledge of HTML to do it, and it does require a bit of 'crawling inside Mike's head' to make it work. Make a back-up copy of to stash away somewhere and then start experimenting and trying things. If you screw up too badly, you can always bring in the back up and start over. Through such experimentation I was able to add 4 fields of demographic information that gets saved to the userdb file. I was able to allow them to plug in a Coupon Code for discounts. (I've not done anything toward making it re-calculate. That comes at the cash register.) Through such experimentation I've learned how easy it is to store credit card information in the users file and to bring it up for them on their next visit. NOTE that I said that I have learned how easy it is. I've not done it, I won't do it, nor will I tell anyone else how to do it. The first Murphy's Law that I ever learned was from a college Physics prof: "If in doubt, try it out." Make frequent back ups and get in there and explore. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, December 17, 2001 at 17:50 PM: Any wire cut to length will be too short. ---------------------------------------------------------------- This Linux System has been up 530 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Fred Pope) Date: Mon Dec 17 18:08:01 2001 Subject: [ic] Wells Fargo Estore "the payment gateway for wells fargo is the same thing as payflowlink (HTTPS post based)." Try the checkout on our page, you will notice that you never leave our domain since it is running with Payflowpro, and ours is setup through Wells Fargo. You can do it either way, but I would reccommend the PayFlowPro configuration. http://www.satcomresources.com Feel free to purchase anything that you would like =) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 17 18:15:01 2001 Subject: [ic] cp order.html ../store On Mon, Dec 17, 2001 at 06:00:21PM -0500, Jim Balcom wrote: > On Mon, 17 Dec 2001 hhh@springboardgroup.com wrote: > > >>I've received quite a bit of help so far, and I appreciate everyone > >>who has taken the time to respond. I have one more question about > >>order forms. The order form inside the administrative tool is _exactly_ > >>what we need as part of our store. Any thoughts on how to set this up? > > In my experience, checkout.html can be changed rather easily. It does > require some knowledge of HTML to do it, and it does require a bit of > 'crawling inside Mike's head' to make it work. > > Make a back-up copy of to stash away somewhere and then start experimenting > and trying things. If you screw up too badly, you can always bring in the > back up and start over. > > Through such experimentation I was able to add 4 fields of demographic > information that gets saved to the userdb file. I was able to allow them to > plug in a Coupon Code for discounts. (I've not done anything toward making > it re-calculate. That comes at the cash register.) > > Through such experimentation I've learned how easy it is to store credit > card information in the users file and to bring it up for them on their next > visit. NOTE that I said that I have learned how easy it is. I've not done > it, I won't do it, nor will I tell anyone else how to do it. > > The first Murphy's Law that I ever learned was from a college Physics prof: > "If in doubt, try it out." Make frequent back ups and get in there and > explore. Thanks for these ideas, I figured that I would have to do some in-depth customization - which is fine, so far everything else has been taken care for me. I welcome any other ideas or advice for a "Customer-space" dynamically recalculatable order form. Thanks again, Seth Stone Springboard Communications, Inc. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 17 18:25:00 2001 Subject: [ic] SOLVED: Price breaks by quantity On Mon, Dec 17, 2001 at 02:31:41PM -0800, Patrick J. Walsh wrote: > > Thanks. That is definitely getting me on the right track. But my values > > for CommonAdjust are not being picked up, or my pricing table is wrong. > For > > debugging purposes I even tried: > > Chances are you're having the same problem that I had: you're changing > CommonAdjust (etc) in catalog.cfg, but they are also defined in > etc/after.cfg and are overwriting your changes. The default Foundation > catalog in 4.8.2 places CommonAdjust values in etc/after.cfg, so give that a > try. Otherwise, go to your catalog directory and `grep -ri CommonAdjust * > |less` to see where else it might be getting set from. Thanks Patrick, I don't understand what happened, but it's working now. At first I was mistakenly allowing etc/after.cfg to override my values in catalog.cfg, but then I read some more of the documentation on the interchange site talking about CommonAdjust. So I commented out the 'include etc/after.cfg' line in catalog.cfg. I thought this would fix the problem, but after running a 'configdump' I saw that it did not. I ended up re-including and making my changes inside after.cfg ... now it works! Thanks, everybody, for the help. Seth Stone Springboard Communications, Inc. From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Dec 17 18:30:01 2001 Subject: [ic] cp order.html ../store On Mon, 17 Dec 2001 hhh@springboardgroup.com wrote: >>I welcome any other ideas or advice for a "Customer-space" dynamically >>recalculatable order form. Check with Fred Pope. He's doing some interesting things dynamically. SOme of it is using Java scripts. His web page is in his sig. Take a look at it and play with it a bit. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, December 17, 2001 at 18:30 PM: There's too much blood in my caffeine system. ---------------------------------------------------------------- This Linux System has been up 531 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Mon Dec 17 18:36:01 2001 Subject: [ic] GPG how-to for hosted servers, follow up Patrick, thanks for this great overview. I would like to comment on a few things as being a user and host with Cpanel accounts. Under Cpanel (Cpanel 4 installs 4.8.1), interchange is usually installed as user "cpanel" To setup the encryption for our customers we ask them to download an encryption program at: http://www.pgpi.org/products/pgp/versions/freeware/ Install this on their PC and create a key pair for their order e-mail like order@domain.com. Then they send us the Public Key and we import the Public Key to the .gnupg directory of Cpanel (since this is the User for Interchange in all catalogs). Then all they have to do is to put their key description/number in the PGP_KEY field in the admin section and it works. This might not work for all installations and you need the help of your host. Anton ******************** AddAction.net E-mail: info@addaction.net www.addaction.net -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Patrick J. Walsh Sent: Monday, December 17, 2001 4:26 PM To: interchange-users@interchange.redhat.com Subject: [ic] GPG how-to for hosted servers Since I didn't find any help like this in the archives, I thought I would give a brief description of what I did to get GPG encryption working for me in a shared environemnt. I can't afford a nice hosting solution such as with RedHat, so I am using a hosting provider that uses CPanel to manage multiple virtual domains and services. One of the services that they offer is Interchange 4.8.2. They also have GPG 1.0.6 installed. Unfortunately, getting the provider to do things like install a key in the interch user's key file is next to impossible. Here's the workaround that worked for me: First, you need to make sure gpg is installed and available to you. Try using the command `whereis gpg`. Then create your keys for the account that you will encrypt to using a command like `/usr/bin/gpg --gen-key`. [Note: I created two keys, one to encrypt the orders to and one to encrypt the credit card info to. You may wish to do the same.] I'll assume that the key you made has the e-mail address orders@example.com. Make sure you know where your keys were placed. Probably they were put in this directory: /home/your-user-name/.gnupg/. Now make sure you can use the key properly by using this command: echo "testing" | /usr/bin/gpg --no-default-keyring --always-trust --keyring /home/your-user-name/.gnupg/pubring.gpg -e -a --batch -t -r 'orders@example.com' If it works, great, if not, you need to look into the gpg documentation and the gpg newsgroups and mailing lists to fix it before proceeding or bothering the interchange folks. The next step is setting your variables properly. To do this, use the admin interface and go to Administration->Preferences->Encryption. If you don't have all of the variables listed below there, then you should create them just to be consistent with these instructions. Use the New Entry submenu item. ENCRYPTOR <blank> PGP /usr/bin/gpg --no-default-keyring --always-trust --keyring /home/dyna-q/.gnupg/pubring.gpg -e -a --batch -t -r '%s' PGP_CC_KEY orders-cc@example.com PGP_KEY orders@example.com [Note: make the PGP_CC_KEY the same as PGP_KEY if you want to encrypt the credit card info to the same key as the overall message.] Finally, edit your catalog.cfg file. Search for the EncryptProgram and EncryptKey lines. If they exist, edit them, otherwise, add them before the routes start: EncryptProgram __PGP__ EncyptKey __PGP_KEY__ then search through the rest of your file for Route main and make sure the following entries are set: credit_card 1 encrypt 1 encrypt_program "__PGP__" email '__ORDERS_TO__' pgp_cc_key "__PGP_CC_KEY__" pgp_key "__PGP_KEY__" I also went through the etc/report file and removed all of the mime types as it was causing problems for me. GPG was encrypting the mime parts and separators and my e-mail software didn't see the message. If you're having problems at this point, you'll want to look at the gpg error messages. In my environment, this was not simple as I did not have root, or even interch access. The logs are stored in the tmp/ directory as pgp*.err. In my case, I didn't have permissions to read these files. To circumvent this, do the following: First, figure out which file is the most recent that you want to look at by typing `ls -lt *.err |head` -- probably the first entry is the one you're after. Next, go to the admin interface and navigate to Content. Select '..' then 'tmp' and choose the file you are interested in from the list. This will give you the details of any errors that gpg is spitting out. Ignore the insecure memory errors, the don't stop gpg from doing anything. And that's how you use your own keys in a hosted/shared environment. Good luck. ..Patrick Keywords: GPG, CPanel, Hosted, Shared, Virtual Domain, Permissions, Encrypt, PGP, ENCRYPTOR _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Fred Pope) Date: Mon Dec 17 19:01:01 2001 Subject: [ic] cp order.html ../store Hey Seth.... Check this out.... http://store.satcomresources.com/cgi-bin/shop/C1CSAT5060A.html Configure the options and watch the price change in the box labeled configured price :^). Still searching for what I cannot accomplish with Interchange. This platform rocks. Best - -- Fred Pope Satcom Resources 970-748-3094 fred@satcomresources.com http://www.satcomresources.com From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Mon Dec 17 19:34:00 2001 Subject: [ic] Interchange on Mitel SME Okay, I think I understand what you're saying. Let me paraphrase what I think you're telling me so my simple mind may understand: :-) I should do the following: chown -R interch /user/lib/interchange chown -R interch /var/lib/interchange chgrp -R interch /user/lib/interchange chgrp -R interch /var/lib/interchange chmod -R 770 /user/lib/interchange chmod -R 770 /var/lib/interchange Tom ----- Original Message ----- From: <tburt@timburt.com> To: "Tom Carroll" <egor@carrollweb.net> Cc: <interchange-users@interchange.redhat.com> Sent: Monday, December 17, 2001 1:12 PM Subject: Re: [ic] Interchange on Mitel SME > > > > I verified the directory permissions: > > > > drwxr-xr-x 18 root root 4096 Jun 28 2000 usr > > > > drwxr-xr-x 23 root root 8192 Dec 16 21:51 /usr/lib > > > > drwxr-xr-x 13 interch interch 4096 Dec 16 21:52 > > /usr/lib/interchange > > > > If this is an error you are getting while running makecat, then the above > perms may not be enough.... > > If the catalog owner is a user named sam.... > > and the group file has an entry for sam that says: > > sam:123:;interch > > Then the location where the catalog is going to be created must have write > permissions for the group, and not just the user. > > drwxrwxr-x 22 sam sam 4096 ....... > > Elsewise, the group members are allowed only read access.. > > -- > -------------------- > Timothy Burt > Internet Specialist > > From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 17 20:10:00 2001 Subject: [ic] Interchange on Mitel SME Sorry, I don't know enough about your installation to be that specific. And I am not knowledgeable enough yet to know where all the stuff really belongs. For example, I installed the RPM's and it dropped very similar looking directory trees in /var/lib/interchange and /usr/lib/interchange. I don't know which one was being referenced by which code/config file. When I installed the tarball, The distribution appears to have landed in /usr/local/interchange, which is actually simpler to deal with, although breaks with the RedHat tradition. BTW, I found the tarball install to be slightly different, and it alerted me to the fact that I was missing yet another CPAN module that the rpm install and config had missed. A helpful pointer I got a few days ago was to use the tarball. It helped. I just happened to notice that your example was lacking write perms for group, and if you are getting create errors, this could be a reason why. Sorry I cannot be more specific... On Mon, 17 Dec 2001, Tom Carroll wrote: > Okay, I think I understand what you're saying. > > Let me paraphrase what I think you're telling me so my simple mind may > understand: :-) > > I should do the following: > > chown -R interch /user/lib/interchange > chown -R interch /var/lib/interchange > chgrp -R interch /user/lib/interchange > chgrp -R interch /var/lib/interchange > chmod -R 770 /user/lib/interchange > chmod -R 770 /var/lib/interchange > > Tom > > ----- Original Message ----- > From: <tburt@timburt.com> > To: "Tom Carroll" <egor@carrollweb.net> > Cc: <interchange-users@interchange.redhat.com> > Sent: Monday, December 17, 2001 1:12 PM > Subject: Re: [ic] Interchange on Mitel SME > > > > > > > > I verified the directory permissions: > > > > > > drwxr-xr-x 18 root root 4096 Jun 28 2000 usr > > > > > > drwxr-xr-x 23 root root 8192 Dec 16 21:51 /usr/lib > > > > > > drwxr-xr-x 13 interch interch 4096 Dec 16 21:52 > > > /usr/lib/interchange > > > > > > > If this is an error you are getting while running makecat, then the above > > perms may not be enough.... > > > > If the catalog owner is a user named sam.... > > > > and the group file has an entry for sam that says: > > > > sam:123:;interch > > > > Then the location where the catalog is going to be created must have write > > permissions for the group, and not just the user. > > > > drwxrwxr-x 22 sam sam 4096 ....... > > > > Elsewise, the group members are allowed only read access.. > > > > -- > > -------------------- > > Timothy Burt > > Internet Specialist > > > > > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Mon Dec 17 20:18:00 2001 Subject: [ic] Interchange on Mitel SME Okay, I did that and now it gets nearly done but errors out with another "chown sampledata.xls: No such file or directory." I believe this is what my interchange is set up as: /usr/lib/interchange <--- core install directory /var/lib/interchange <--- location of catalogs, stores and support files /home/e-smith/files/ibays/dataware/cgi-bin <--- location of my store file /home/e-smith/files/ibays/dataware/html/store <--- location of html files /home/e-smith/files/ibays/dataware/html/store/images <--- location of image files I'm telling makecat: Catalog name: store Server name: www.datawarecomp.com (this is a virtual domain/ibay on my SME server) DemoType: foundation permtype: M InterchangeUser: interch CatUser: interch InterchangeGroup: <blank> MailOrderTo: orders@datawarecomp.com CatRoot: /var/lib/interchange/store CgiDir: /home/e-smith/files/ibays/dataware/cgi-bin CgiUrl: /cgi-bin/store Aliases: /store DocumentRoot: /home/e-smith/files/ibays/dataware/html SampleHtml: /home/e-smith/files/ibays/dataware/html/store ImageDir: /home/e-smith/files/ibays/dataware/html/store/images ImageUrl: /store/images INET or UNIX mode: UNIX Do you use CGIWRAP or SUEXEC: Y At this point it checks and/or creates the directories and copies the demo files. Your company name: Dataware Computers Sample data type: tools Set to 1 if you want MySQL...: <blank> Account name: interch Administrative password: pass Set to 1 to display demo helper: 1 At this point it finds some system commands to run. It moves a link to /home/e-smith/files/ibays/dataware/cgi-bin/store It tells me the standard warning about selecting SUEXEC/CGIWrap option and being root. However it does correctly select 5013/5013 which is the interch user and group. This is where the error "chown sampledata.xls: No such file or directory" Thanks for your help! Tom ----- Original Message ----- From: "Tom Carroll" <egor@carrollweb.net> To: <tburt@timburt.com> Cc: <interchange-users@interchange.redhat.com> Sent: Monday, December 17, 2001 4:28 PM Subject: Re: [ic] Interchange on Mitel SME > Okay, I think I understand what you're saying. > > Let me paraphrase what I think you're telling me so my simple mind may > understand: :-) > > I should do the following: > > chown -R interch /user/lib/interchange > chown -R interch /var/lib/interchange > chgrp -R interch /user/lib/interchange > chgrp -R interch /var/lib/interchange > chmod -R 770 /user/lib/interchange > chmod -R 770 /var/lib/interchange > > Tom > > ----- Original Message ----- > From: <tburt@timburt.com> > To: "Tom Carroll" <egor@carrollweb.net> > Cc: <interchange-users@interchange.redhat.com> > Sent: Monday, December 17, 2001 1:12 PM > Subject: Re: [ic] Interchange on Mitel SME > > > > > > > > I verified the directory permissions: > > > > > > drwxr-xr-x 18 root root 4096 Jun 28 2000 usr > > > > > > drwxr-xr-x 23 root root 8192 Dec 16 21:51 /usr/lib > > > > > > drwxr-xr-x 13 interch interch 4096 Dec 16 21:52 > > > /usr/lib/interchange > > > > > > > If this is an error you are getting while running makecat, then the above > > perms may not be enough.... > > > > If the catalog owner is a user named sam.... > > > > and the group file has an entry for sam that says: > > > > sam:123:;interch > > > > Then the location where the catalog is going to be created must have write > > permissions for the group, and not just the user. > > > > drwxrwxr-x 22 sam sam 4096 ....... > > > > Elsewise, the group members are allowed only read access.. > > > > -- > > -------------------- > > Timothy Burt > > Internet Specialist > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Frederic Steinfels) Date: Mon Dec 17 20:41:00 2001 Subject: [ic] one catalog, one session id, multiple domains, one secure domains After reading the whole mailinglist about cookies, I came to the conclusion that all suggestions are not working and that some of you might be interesting in a solution for the problem described in the subject. I am also posting this to get some feedback about potential security holes I have created. My fix is for ic 4.8.1 but I think the surrounding code should not have changed... in bin/interchange, look for if(! $compare_host) { new_session($seed) unless $CGI::secure; init_session(); $Vend::Session->{shost} = $CGI::remote_addr; } elsif ($compare_host ne $CGI::remote_addr) { new_session($seed); init_session(); } replace with if ($sessionid eq "") { if(! $compare_host) { new_session($seed) unless $CGI::secure; init_session(); $Vend::Session->{shost} = $CGI::remote_addr; } elsif ($compare_host ne $CGI::remote_addr) { new_session($seed); init_session(); } } # this first patch should make sure that changing the url will not destroy # the current session in lib/Vend/Session.pm init_session look for $::Values->{mv_shipmode} = $Vend::Cfg->{DefaultShipping} if ! defined $::Values->{mv_shipmode}; and append $_ = $Vend::Cfg->{VendURL}; /(.{0,})http:\/\/[\w\d\.]*?\/(.{0,})/i; $::Scratch->{VendURL} = "http://" . $1 . ::http()->{env}->{HTTP_HOST} . "/" . $2; # this patch will make sure that the initial domain will be stored and ... In lib/Vend/Util.pm vendUrl replace $r = $Vend::Cfg->{VendURL} unless defined $r; with if ($::Scratch->{VendURL} eq "") { $r = $Vend::Cfg->{VendURL} unless defined $r; } else { $r = $::Scratch->{VendURL} unless defined $r; } # ... used in all [area ] and [page ] tags. -- Frederic Steinfels From: interchange-users at interchange.redhat.com (Jason Balicki) Date: Mon Dec 17 21:22:01 2001 Subject: [ic] Need help with ic tags, creating dynamic javascript menus Ian Riddler wrote: > > Mike Heins did a very good Tips and Trick article on 22 Sept. > It works nicely for multiple-level categories. Mike also doesn't like JavaScript, from what I can tell from the archives. :) I understand why, and I'll probably change my game plan, but I started on this and I CAN'T STOP until it's working. It's a psychosis, really. My OCD demon. > I hope this helps, and I'd be interested to hear how your js work goes. It'll definately be filed away for future use. Thanks. You can see what I've got now at http://www.asi-computers.com/cgi-bin/asistore but, like before, it only wants to work with Netscape 4.7x (I'm using 4.78 at home, and that's all I've been able to use. Doesn't work with IE, Mozilla or Opera. I'm batting 1000. Grrr.) At least I've got the menu's building with the right arguments now, and the links even work w/ Netscape! Any JavaScript tips would be great, but, alas, that's not what this list if for. :) > Ian Thanks again, --J(K) From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Mon Dec 17 22:33:01 2001 Subject: [ic] GPG how-to for hosted servers, follow up Anton, I think you are a little more responsive than my provider has been. My instructions were really a how-to for doing it without the help of the provider. It also allows for multiple keys for different order types or for credit cards, etc. But your way works too. :-) ..Patrick On Mon, 17 Dec 2001, AddAction New Media wrote: > Patrick, thanks for this great overview. I would like to comment on a few > things as being a user and host with Cpanel accounts. > > Under Cpanel (Cpanel 4 installs 4.8.1), interchange is usually installed as > user "cpanel" To setup the encryption for our customers we ask them to > download an encryption program at: > http://www.pgpi.org/products/pgp/versions/freeware/ Install this on their PC > and create a key pair for their order e-mail like order@domain.com. Then > they send us the Public Key and we import the Public Key to the .gnupg > directory of Cpanel (since this is the User for Interchange in all > catalogs). Then all they have to do is to put their key description/number > in the PGP_KEY field in the admin section and it works. This might not work > for all installations and you need the help of your host. > > Anton > > ******************** > > AddAction.net > E-mail: info@addaction.net > www.addaction.net > > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Patrick J. Walsh > Sent: Monday, December 17, 2001 4:26 PM > To: interchange-users@interchange.redhat.com > Subject: [ic] GPG how-to for hosted servers > > > Since I didn't find any help like this in the archives, I thought I > would give a brief description of what I did to get GPG encryption working > for me in a shared environemnt. > > I can't afford a nice hosting solution such as with RedHat, so I am > using a hosting provider that uses CPanel to manage multiple virtual domains > and services. One of the services that they offer is Interchange 4.8.2. > They also have GPG 1.0.6 installed. Unfortunately, getting the provider to > do things like install a key in the interch user's key file is next to > impossible. Here's the workaround that worked for me: > > First, you need to make sure gpg is installed and available to you. Try > using the command `whereis gpg`. Then create your keys for the account that > you will encrypt to using a command like `/usr/bin/gpg --gen-key`. [Note: I > created two keys, one to encrypt the orders to and one to encrypt the credit > card info to. You may wish to do the same.] I'll assume that the key you > made has the e-mail address orders@example.com. Make sure you know where > your keys were placed. Probably they were put in this directory: > /home/your-user-name/.gnupg/. Now make sure you can use the key properly by > using this command: > > echo "testing" | /usr/bin/gpg --no-default-keyring --always-trust --keyring > /home/your-user-name/.gnupg/pubring.gpg -e -a --batch -t -r > 'orders@example.com' > > If it works, great, if not, you need to look into the gpg documentation > and the gpg newsgroups and mailing lists to fix it before proceeding or > bothering the interchange folks. > > The next step is setting your variables properly. To do this, use the > admin interface and go to Administration->Preferences->Encryption. If you > don't have all of the variables listed below there, then you should create > them just to be consistent with these instructions. Use the New Entry > submenu item. > > ENCRYPTOR <blank> > PGP /usr/bin/gpg --no-default-keyring --always-trust --keyring > /home/dyna-q/.gnupg/pubring.gpg -e -a --batch -t -r '%s' > PGP_CC_KEY orders-cc@example.com > PGP_KEY orders@example.com > > [Note: make the PGP_CC_KEY the same as PGP_KEY if you want to encrypt the > credit card info to the same key as the overall message.] > > Finally, edit your catalog.cfg file. Search for the EncryptProgram and > EncryptKey lines. If they exist, edit them, otherwise, add them before the > routes start: > > EncryptProgram __PGP__ > EncyptKey __PGP_KEY__ > > then search through the rest of your file for Route main and make sure > the following entries are set: > > credit_card 1 > encrypt 1 > encrypt_program "__PGP__" > email '__ORDERS_TO__' > pgp_cc_key "__PGP_CC_KEY__" > pgp_key "__PGP_KEY__" > > I also went through the etc/report file and removed all of the mime > types as it was causing problems for me. GPG was encrypting the mime parts > and separators and my e-mail software didn't see the message. > > If you're having problems at this point, you'll want to look at the gpg > error messages. In my environment, this was not simple as I did not have > root, or even interch access. The logs are stored in the tmp/ directory as > pgp*.err. In my case, I didn't have permissions to read these files. To > circumvent this, do the following: > > First, figure out which file is the most recent that you want to look at > by typing `ls -lt *.err |head` -- probably the first entry is the one you're > after. Next, go to the admin interface and navigate to Content. Select > '..' then 'tmp' and choose the file you are interested in from the list. > This will give you the details of any errors that gpg is spitting out. > Ignore the insecure memory errors, the don't stop gpg from doing anything. > > And that's how you use your own keys in a hosted/shared environment. > Good luck. > > ..Patrick > > Keywords: GPG, CPanel, Hosted, Shared, Virtual Domain, Permissions, Encrypt, > PGP, ENCRYPTOR > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 18 00:30:01 2001 Subject: [ic] hey hey --------------------------------------------------------------------------- message: Hi, my name is Heather and I am a 19 year old female from San Diego, California. Ever since my 14th birthday, I have been really sexually active, but I am still a virgin. Now I am 19 and away from home, attending school at San Diego State University and sharing a dorm with four of my girlfriends and are all VERY turned on to meet a guy and satisfy ALL of his pleasures. To see our sexy pictures we took just last week and to meet some other couples, go to our site<br>< a href="http://www.lllil.com/heather/livewebcam">http://www.lllil.com/heather/livewebcam<br><br><br></a> --------------------------------------------------------------------------- *** Tipp fuer ELWE-Vertrieb: Wenn Sie diesem Kunde per E-Mail antworten moechten benutzen Sie immer seine E-Mail Addresse - FALLS in seine Daten eingetragen ist - und rufen sie NIE das Befehl ANTWORTEN / REPLY an dieser E-Mail auf. *** Diese E-Mail wurde automatisch generiert bei ELWE Homepage am: Tuesday, December 18, 2001 at 06:28:51 --------------------------------------------------------------------------- Die folgende Daten sind nur fuer EDV gebrauch: From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 18 00:40:43 2001 Subject: [ic] heya Below is the result of your feedback form. It was submitted by (Heather2b@aol.com) on Monday, December 17, 2001 at 21:57:09 --------------------------------------------------------------------------- message: Hi, my name is Heather and I am a 19 year old female from San Diego, California. Ever since my 14th birthday, I have been really sexually active, but I am still a virgin. Now I am 19 and away from home, attending school at San Diego State University and sharing a dorm with four of my girlfriends and are all VERY turned on to meet a guy and satisfy ALL of his pleasures. To see our sexy pictures we took just last week and to meet some other couples, go to our site<br>< a href="http://www.lllil.com/heather/livewebcam">http://www.lllil.com/heather/livewebcam<br><br><br></a>-1101 --------------------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Tue Dec 18 00:44:01 2001 Subject: [ic] hey hey HA HA HA HA - you go girl . . . And for the list - Interchange/Plesk draft installation instructions nearly complete. Yeah! > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Heather19x1@aol.com > Sent: Monday, December 17, 2001 11:29 PM > To: jon@akopia.com; ForrPomm@aol.com; adriennepowers@hotmail.com; > trbccampbell@jps.net; Interchange-users@chevelle.interchange.redhat.com > Subject: [ic] hey hey > > > > ------------------------------------------------------------------ > --------- > > message: Hi, my name is Heather and I am a 19 year old female > from San Diego, California. Ever since my 14th birthday, I have > been really sexually active, but I am still a virgin. Now I am > 19 and away from home, attending school at San Diego State > University and sharing a dorm with four of my girlfriends and are > all VERY turned on to meet a guy and satisfy ALL of his > pleasures. To see our sexy pictures we took just last week and > to meet some other couples, go to our site<br>< a > href="http://www.lllil.com/heather/livewebcam">http://www.lllil.co > m/heather/livewebcam<br><br><br></a> > > ------------------------------------------------------------------ > --------- > > *** Tipp fuer ELWE-Vertrieb: Wenn Sie diesem Kunde per E-Mail > antworten moechten benutzen Sie immer seine E-Mail Addresse - > FALLS in seine Daten eingetragen ist - und rufen sie NIE das > Befehl ANTWORTEN / REPLY an dieser E-Mail auf. > *** Diese E-Mail wurde automatisch generiert bei ELWE Homepage > am: Tuesday, December 18, 2001 at 06:28:51 > > ------------------------------------------------------------------ > --------- > > Die folgende Daten sind nur fuer EDV gebrauch: > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Todd Hight) Date: Tue Dec 18 01:34:01 2001 Subject: [ic] Problem with form select... First let me say that IC rocks and that this list is not only very informative but quite amusing at times :) I'm trying to set the default value of a select field on a from (using the [selected] tag) to an existing value from a table. Below is a quick snippet of my form. The select is always populated correctly I just cant seem to get it to default to the current values. All other from fields, mostly text boxes, work fine. Even the field below will save the selected value properly. In fact, once you complete the from, the next time you call the page that contains the snippet, you get the last value selected. Current config is IC 4.8.3, Apache 1.3.22, Perl 5.6.1, PostgreSQL 7.1.3 all running on RedHat Linux 7.1 with kernel 2.4.9 SMP. I'm quite new to IC, just a couple of weeks now. So please be kind :) I'm sure there is a simple solution! I hope this all made sense... TIA <>< Todd ----------------------------------------------------- [loop prefix=slist arg="[scratch sprofile_id]"] <select name="category" size="1"> [loop prefix=scat search="ra=yes/fi=cat/rf=code,name/ml=100/tf=name" ] <option value="[scat-data cat name]" [selected name=category value="[slist-data sprofile category]"]> [scat-data cat name] </option> [/loop] </select> [/loop] From: interchange-users at interchange.redhat.com (Marc Sachtleber) Date: Tue Dec 18 03:30:00 2001 Subject: [ic] Downloadable Products with interchange 4.8.2 Hi All, I´m using Interchange 4.8.2 on Suse Linux with mysql 9.38 and Perl 5.6.1 and I want to define downloadable Products in ic. I entered the following values in the product-table in the database: download = 1 dl_type = application/zip dl_location = http://... but nothing in the receipt-page and no error-messages are created. Are there any other database-entries or variables to set? Thanks Marc Sachtleber _________________________________________________________ Dipl.-Inform. Marc Sachtleber OFFIS Multimedia und Internet-Informationsdienste Escherweg 2 - 26121 Oldenburg - Germany Fon: +49 4 41 97 22- 222- Fax: +49 4 41 97 22- 102 E-Mail: Marc.Sachtleber@offis.de - URL:http://www.offis.de _________________________________________________________ From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Tue Dec 18 04:27:00 2001 Subject: [ic] Secure Trading > Hi All > Does anyone have any experience of configuring Interchange 4.8 with > Secure Trading ?? > I assume you mean the "Secure Trading" payment provider at www.securetrading.com. Their website lists MiniVend as one of their supported 'cart' programs, but when I spoke to them, I found out that they had never heard of it and wondered what it was doing on their site. They didn't think to remove it though :-) I've been meaning to write an ST payment module for some time and just haven't got around to it. I'd be interested if someone else has done this already, as it would save me a little effort. The ST module would be simple enough to write. I'll do it one day, unless someone else gets there first. I'm in no rush - as usual. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Bill Carr) Date: Tue Dec 18 08:15:01 2001 Subject: [ic] MV_PAYMENT_HOST and Signio I was able to get the signio payment mode to work but only after hard coding the host into Signio.pm. It does not seem like setting MV_PAYMENT_HOST has any effect. How do I specify the host to connect with? -- Bill Carr Worldwide Impact bill@worldwideimpact.com 413-253-6700 From: interchange-users at interchange.redhat.com (Benjamin Johnson) Date: Tue Dec 18 08:40:00 2001 Subject: [ic] Credit Card payments (in the UK) Hi, just wondering which of the online payment services which Interchange integrates with is best to use - I am in the UK so I guess it would have to serve out here. We're currently using a worldpay account, however it seems to be dificult to integrate with Interchange and I'd rather use something tried and tested. Thanks for your help. -- Benjamin Johnson Network Engineer Smart Card News Ltd. Web: www.smartcard.co.uk Tel: +44(0)1273 517015 Fax: +44(0)1273 516518 From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 18 09:58:01 2001 Subject: [ic] cp order.html ../store On Mon, Dec 17, 2001 at 05:04:34PM -0700, Fred Pope wrote: > Hey Seth.... > > Check this out.... > > http://store.satcomresources.com/cgi-bin/shop/C1CSAT5060A.html > > Configure the options and watch the price change in the box labeled > configured price :^). > > Still searching for what I cannot accomplish with Interchange. This platform > rocks. Good looking site! I think I'm going to try and port the order form from the Admin section to the storefront. It's so exactly what we need, that I think it would be worth it. I will probably need to do some security checks, since it was originally designed for the Admin section. Thanks for the great advice, take care. Seth Stone Springboard Communications, Inc. From: interchange-users at interchange.redhat.com (Bernino Lind) Date: Tue Dec 18 10:36:00 2001 Subject: [ic] cp order.html ../store Hello, Can you elaborate how your matrix is done and also whats in the: <script language=javascript src="http://store.satcomresources.com/foundation/js/calc_price.js"></script> And finally how the flypage is done ? I would to create a similar thing... -- med venlig hilsen / Best Regards Bernino Lind +45 7021 0050 catpipe Systems ApS - www.catpipe.net Best done *BSD solutions -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of hhh@springboardgroup.com Sent: 18. december 2001 15:34 To: interchange-users@interchange.redhat.com Subject: Re: [ic] cp order.html ../store On Mon, Dec 17, 2001 at 05:04:34PM -0700, Fred Pope wrote: > Hey Seth.... > > Check this out.... > > http://store.satcomresources.com/cgi-bin/shop/C1CSAT5060A.html > > Configure the options and watch the price change in the box labeled > configured price :^). > > Still searching for what I cannot accomplish with Interchange. This platform > rocks. Good looking site! I think I'm going to try and port the order form from the Admin section to the storefront. It's so exactly what we need, that I think it would be worth it. I will probably need to do some security checks, since it was originally designed for the Admin section. Thanks for the great advice, take care. Seth Stone Springboard Communications, Inc. _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (andrey) Date: Tue Dec 18 10:53:01 2001 Subject: Re [ic] diacritical signs and search.. > > Hello all. > > I think I have a problem. I'm using IC 4.6.5, MySQL 3.23.4-alpha, perl 5.005_03. > > There are troubles when I search within database using diacritical signs in search > > query. For example for query 'z&#322;oty' the result will be like "Cannot find > > 'z\&#322;oty'" (&#322; means letter "l" with diacritical dash, but not a row of > > symbols &,#,3,... both in query and result). Or simply: 'zloty' - 'z\loty'. Maybe > > anybody has solved this problem already? Or this is a question for Interchange > > Internationalization group? And I cannot change IC to newest version cause some > > reasons. > > Yes, it is. > > But: how are they stored in the database ? I'm not so sophisticated in this but I'll try to explain.. this diacritical symbols are stored in the MySQL database as ordinary symbols.. 1 byte per symbol.. it's char number >128.. And there is a _feature_. There are diacritical symbols search of which is correct. From: interchange-users at interchange.redhat.com (Dave Barr) Date: Tue Dec 18 11:14:00 2001 Subject: [ic] Credit Card payments (in the UK) At 13:46 +0000 18/12/01, Benjamin Johnson wrote: >Hi, > >just wondering which of the online payment services which Interchange >integrates with is best to use - I am in the UK so I guess it would have >to serve out here. We're currently using a worldpay account, however it >seems to be dificult to integrate with Interchange and I'd rather use >something tried and tested. Hi Benjamin, Have a look at <http://www.epdq.com/> Its a service from Barclays bank, I had some contact with them a while back and they said that they had successfully integrated Interchange to work with their bankend. Good luck. PS Don't go with NetBanx - I won't say why as it will probably cause litigation but just don't do it. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dave Barr eCommerce Technical Manager CricInfo Ltd www.cricinfo.com dave.barr@cricinfo.com shop.cricinfo.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Tue Dec 18 12:09:01 2001 Subject: [ic] Problem with form select... > First let me say that IC rocks > Really? I have found it to be very stable. :-) > > and that this list is not only very informative but quite amusing at times :) > > I'm trying to set the default value of a select field on a from (using the > [selected] tag) to an existing value from a table. Below is a quick snippet > of my form. The select is always populated correctly I just cant seem to > get it to default to the current values. > > [loop prefix=slist arg="[scratch sprofile_id]"] > <select name="category" size="1"> > [loop prefix=scat search="ra=yes/fi=cat/rf=code,name/ml=100/tf=name" ] > <option value="[scat-data cat name]" [selected name=category > value="[slist-data sprofile category]"]> > [scat-data cat name] > </option> > [/loop] > </select> > [/loop] > I don't really understand your use of the outer loop in this context. Will there really be more than one sprofile_id value? I suspect not, as your <select> list has a fixed (category) variable name. Generally, to generate an <option> list, with a default (selected) value, you would do something like this: <select name="category"> [loop search="ra=yes/fi=cat/rf=code,name/ml=100/tf=name" prefix=scat option=category] <option value="[scat-param name]">[scat-param name]</option> [/loop] </select> That will set the default (selected) option to the first one that matches "category" value. I suggest you simply set the "category" value to a default before calling the above code, like this: [if !value category] [value name=category set="[scratch sprofile_id]" filter="lookup.sprofile.category" hide=1] [/if] Just a suggestion: I see that you store the scat.name lookup values in sprofile.category. I think it would be better to store the scat.code instead. This would allow you to modify the name without breaking things in the future, and would also save having to do that filter lookup in the [value] tag. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Tue Dec 18 12:36:01 2001 Subject: [ic] make "dealer" with form > I am trying to have a person be set as a dealer in userdb. When people "sign > up" they use the account.html page that accesses the userdb values I want > everybody that "signs up" with this form to be set as a "dealer". > > To give you an idea of what I need to accomplish: > > <INPUT TYPE=hidden NAME=dealer VALUE=yes> > > <INPUT TYPE=hidden NAME=dealer VALUE=1> > > I have tried a dozen others, however they seem embarrasing to post :) > userdb.dealer is read in as a scratch value if you have based your shop on the foundation demo, and haven't changed this setting. Therefore, to set dealer accounts, you need to set the dealer scratch and then call [userdb save]. Your dealer <input> value will have no affect at all, whatever you set it to. If you want to do this in account.html, then find this block of code: [set Save_database] [userdb save] [/set] On or around line 66, and add a line to make this: [set Save_database] [set dealer]Yes[/set] [userdb save] [/set] I would personally prefer the dealer value to be set on the new_account.html page, as the first line of the [set NewAccount] block of code. You may need to set the value in etc/log_transaction if you create accounts there that people actually use. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Tue Dec 18 15:54:01 2001 Subject: [ic] Help with IC setup I posted this message yesterday, but the person who was giving me pointers was at a loss of what to do further. I do appreciate his help. I'm running Mitel's SME version 5. Many people know this as E-Smith Server and Gateway (ESSG). It's a secure server/gateway/firewall. SME/ESSG is built on RedHat Linux. The last version of ESSG was based on the Redhat 7.0 kernel. SME 5 is based on the RedHat 7.1 kernel. I'm trying to install the Interchange 4.8.3 RPM package on my SME server. Everything appeared to have installed fine. I pulled down and installed all the available CPAN modules from the ic web site. I was able to run makecat and configure a catalog named "store". I could bring up the web page that had the two links for customer or admin. Neither worked. I would get the "We're sorry" screen. I chown and chgrp -R the /usr/lib/interchange, /var/lib/interchange, and /var/log/interchange directories to "interch". I also ran a chmod -R 770 on those three directories. I have tried to configure with and without the CGIWRAP/SUEXEC option. If I answer no to that question I get the "We're sorry" screen. If I tell it I use CGIWRAP/SUEXEC it will not complete the makecat program. There is some error near the end that dumps the makecat script. It gives me the error "chmod sampledata.xls: No such file or directory." I don't understand since the file does exist and the permissions are correct. I've looked through the faq, getting started guide and also search the forums. Have I completely missed something? Oh, and all the web pages and virtual sites are kept under the home/e-smith/files/primary (for main server site) and /home/e-smith/files/ibays/ for any additional/virtual sites. Each of those directories have three sub directories called /cgi-bin/, /files/, and /html/. I'm trying to put the store under a virtual site in the /home/e-smith/files//ibays/dataware/ directory. I sure hope this is not too confusing. I don't know of any other way to explain this. Here's a copy of the message I posted yesterday, just in case: I believe this is what my interchange is set up as: /usr/lib/interchange <--- core install directory /var/lib/interchange <--- location of catalogs, stores and support files /home/e-smith/files/ibays/dataware/cgi-bin <--- location of my store file /home/e-smith/files/ibays/dataware/html/store <--- location of html files /home/e-smith/files/ibays/dataware/html/store/images <--- location of image files I'm telling makecat: Catalog name: store Server name: www.datawarecomp.com (this is a virtual domain/ibay on my SME server) DemoType: foundation permtype: M InterchangeUser: interch CatUser: interch InterchangeGroup: <blank> MailOrderTo: orders@datawarecomp.com CatRoot: /var/lib/interchange/store CgiDir: /home/e-smith/files/ibays/dataware/cgi-bin CgiUrl: /cgi-bin/store Aliases: /store DocumentRoot: /home/e-smith/files/ibays/dataware/html SampleHtml: /home/e-smith/files/ibays/dataware/html/store ImageDir: /home/e-smith/files/ibays/dataware/html/store/images ImageUrl: /store/images INET or UNIX mode: UNIX Do you use CGIWRAP or SUEXEC: Y At this point it checks and/or creates the directories and copies the demo files. Your company name: Dataware Computers Sample data type: tools Set to 1 if you want MySQL...: <blank> Account name: interch Administrative password: pass Set to 1 to display demo helper: 1 At this point it finds some system commands to run. It moves a link to /home/e-smith/files/ibays/dataware/cgi-bin/store It tells me the standard warning about selecting SUEXEC/CGIWrap option and being root. However it does correctly select 5013/5013 which is the interch user and group. This is where the error "chown sampledata.xls: No such file or directory" Thanks for any help! Tom From: interchange-users at interchange.redhat.com (Todd Hight) Date: Tue Dec 18 16:15:01 2001 Subject: [ic] Problem with form select... > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Kevin Walsh > Sent: Tuesday, December 18, 2001 11:04 AM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Problem with form select... > > > > First let me say that IC rocks > > > Really? I have found it to be very stable. :-) > As I said this list is always amusing ;-) > > > > and that this list is not only very informative but quite > amusing at times :) > > > > I'm trying to set the default value of a select field on a from > (using the > > [selected] tag) to an existing value from a table. Below is a > quick snippet > > of my form. The select is always populated correctly I just > cant seem to > > get it to default to the current values. > > > > [loop prefix=slist arg="[scratch sprofile_id]"] > > <select name="category" size="1"> > > [loop prefix=scat > search="ra=yes/fi=cat/rf=code,name/ml=100/tf=name" ] > > <option value="[scat-data cat name]" [selected name=category > > value="[slist-data sprofile category]"]> > > [scat-data cat name] > > </option> > > [/loop] > > </select> > > [/loop] > > > I don't really understand your use of the outer loop in this > context. Will there really be more than one sprofile_id value? > I suspect not, as your <select> list has a fixed (category) variable > name. > I dont really understand the outside loop either. It was grafted from another page and will be rewritten correctly once I understand the whole system a little better. > Generally, to generate an <option> list, with a default (selected) > value, you would do something like this: > > <select name="category"> > [loop search="ra=yes/fi=cat/rf=code,name/ml=100/tf=name" > prefix=scat > option=category] > <option value="[scat-param name]">[scat-param name]</option> > [/loop] > </select> > > That will set the default (selected) option to the first one that > matches "category" value. I suggest you simply set the "category" > value to a default before calling the above code, like this: > > [if !value category] > [value name=category > set="[scratch sprofile_id]" > filter="lookup.sprofile.category" > hide=1] > [/if] > As always the explanation caused that dim little light in my brain to shine a little brighter :) Thanks! > > Just a suggestion: I see that you store the scat.name lookup values > in sprofile.category. I think it would be better to store the > scat.code instead. This would allow you to modify the name without > breaking things in the future, and would also save having to do that > filter lookup in the [value] tag. > I would agree. In a production environment I would always store the code not the name. I have been learning and this is really just a proof of concept page that I'm working on. Thanks again for the valuable insight! > -- > _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ > _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h > _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com > _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 18 16:57:01 2001 Subject: [ic] Help with IC setup I gave up on the RPM... I found out later that it didn't test for and warn me of one of the required CPAN modules: Storable-1.0.14.tar.gz Make sure you have that one installed. I switched to the tarball install, which was quite different, and as a result, I have an install that I can run makecat on, and some of the pages work. I haven't tried going back to the rpm, now that I have the missing CPAN module, so I cannot say if that was my only holdup.. Someone did report that the rpm installed for them on the first try, and runs great, but didn't say much about the OS release, modules or anything else, so it is hard to verify or explain their success. I posted a summary a day or two ago, detailing the steps I took to get a (somewhat) working version running on a RH 7.0 box. You might look for it in the archives. Try: http://interchange.redhat.com/archive/interchange-users/2001/msg12110.html I still have problems. Trying to submit an order stalls and errors out. I dunno why. The shipping box in the form comes up empty, so maybe that has something to do with it. There appears to be lots of little challanges to overcome to get this app working. It reminds me of the days when contributors would put a syntax error into their code just before tarring it up, so that at least you had to know enough to recognize the #DEFINE was not a comment and or a blatant error in the makefile. I guess it kept the truly clueless from even getting started, and asking too many questions. Good Luck, and if you do switch to the tarball, and find the answer to the order submit page hang, please post it back to the list. On Tue, 18 Dec 2001, Tom Carroll wrote: > I posted this message yesterday, but the person who was giving me pointers > was at a loss of what to do further. I do appreciate his help. > > I'm running Mitel's SME version 5. Many people know this as E-Smith Server > and Gateway (ESSG). It's a secure server/gateway/firewall. SME/ESSG is > built on RedHat Linux. The last version of ESSG was based on the Redhat 7.0 > kernel. SME 5 is based on the RedHat 7.1 kernel. > > I'm trying to install the Interchange 4.8.3 RPM package on my SME server. > Everything appeared to have installed fine. I pulled down and installed all > the available CPAN modules from the ic web site. > > I was able to run makecat and configure a catalog named "store". I could > bring up the web page that had the two links for customer or admin. Neither > worked. I would get the "We're sorry" screen. > > I chown and chgrp -R the /usr/lib/interchange, /var/lib/interchange, and > /var/log/interchange directories to "interch". I also ran a chmod -R 770 on > those three directories. > > I have tried to configure with and without the CGIWRAP/SUEXEC option. If I > answer no to that question I get the "We're sorry" screen. If I tell it I > use CGIWRAP/SUEXEC it will not complete the makecat program. There is some > error near the end that dumps the makecat script. It gives me the error > "chmod sampledata.xls: No such file or directory." I don't understand since > the file does exist and the permissions are correct. I've looked through > the faq, getting started guide and also search the forums. Have I > completely missed something? > > Oh, and all the web pages and virtual sites are kept under the > home/e-smith/files/primary (for main server site) and > /home/e-smith/files/ibays/ for any additional/virtual sites. Each of those > directories have three sub directories called /cgi-bin/, /files/, and > /html/. I'm trying to put the store under a virtual site in the > /home/e-smith/files//ibays/dataware/ directory. > > I sure hope this is not too confusing. I don't know of any other way to > explain this. > > Here's a copy of the message I posted yesterday, just in case: > > I believe this is what my interchange is set up as: > > /usr/lib/interchange <--- core install directory > /var/lib/interchange <--- location of catalogs, stores and support files > > /home/e-smith/files/ibays/dataware/cgi-bin <--- location of my store file > /home/e-smith/files/ibays/dataware/html/store <--- location of html files > /home/e-smith/files/ibays/dataware/html/store/images <--- location of image > files > > I'm telling makecat: > > Catalog name: store > Server name: www.datawarecomp.com > (this is a virtual domain/ibay on my SME server) > DemoType: foundation > permtype: M > InterchangeUser: interch > CatUser: interch > InterchangeGroup: <blank> > MailOrderTo: orders@datawarecomp.com > CatRoot: > /var/lib/interchange/store > CgiDir: > /home/e-smith/files/ibays/dataware/cgi-bin > CgiUrl: /cgi-bin/store > Aliases: /store > DocumentRoot: > /home/e-smith/files/ibays/dataware/html > SampleHtml: > /home/e-smith/files/ibays/dataware/html/store > ImageDir: > /home/e-smith/files/ibays/dataware/html/store/images > ImageUrl: /store/images > INET or UNIX mode: UNIX > Do you use CGIWRAP or SUEXEC: Y > > At this point it checks and/or creates the directories and copies the demo > files. > > Your company name: Dataware Computers > Sample data type: tools > Set to 1 if you want MySQL...: <blank> > Account name: interch > Administrative password: pass > Set to 1 to display demo helper: 1 > > At this point it finds some system commands to run. > > It moves a link to /home/e-smith/files/ibays/dataware/cgi-bin/store > > It tells me the standard warning about selecting SUEXEC/CGIWrap option and > being root. However it does correctly select 5013/5013 which is the interch > user and group. > > This is where the error "chown sampledata.xls: No such file or directory" > > Thanks for any help! > > Tom > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Tue Dec 18 17:19:00 2001 Subject: [ic] Help with IC setup Thanks. I'll take a look at that storable module. If I do get it up and running, I too will create a detailed summary (howto) for others. Tom ----- Original Message ----- From: <tburt@timburt.com> To: "Tom Carroll" <egor@carrollweb.net> Cc: <interchange-users@interchange.redhat.com> Sent: Tuesday, December 18, 2001 1:56 PM Subject: Re: [ic] Help with IC setup > > I gave up on the RPM... I found out later that it didn't test for and > warn me of one of the required CPAN modules: Storable-1.0.14.tar.gz Make > sure you have that one installed. I switched to the tarball install, > which was quite different, and as a result, I have an install that I can > run makecat on, and some of the pages work. I haven't tried going back to > the rpm, now that I have the missing CPAN module, so I cannot say if that > was my only holdup.. > > Someone did report that the rpm installed for them on the first try, and > runs great, but didn't say much about the OS release, modules or anything > else, so it is hard to verify or explain their success. > > I posted a summary a day or two ago, detailing the steps I took to get a > (somewhat) working version running on a RH 7.0 box. You might look for it > in the archives. Try: > > http://interchange.redhat.com/archive/interchange-users/2001/msg12110.html > > I still have problems. Trying to submit an order stalls and errors out. > I dunno why. The shipping box in the form comes up empty, so maybe that > has something to do with it. > > There appears to be lots of little challanges to overcome to get this app > working. It reminds me of the days when contributors would put a syntax > error into their code just before tarring it up, so that at least you had > to know enough to recognize the #DEFINE was not a comment and or a blatant > error in the makefile. I guess it kept the truly clueless from even > getting started, and asking too many questions. > > Good Luck, and if you do switch to the tarball, and find the answer to the > order submit page hang, please post it back to the list. > > On Tue, 18 Dec 2001, Tom Carroll wrote: > > > I posted this message yesterday, but the person who was giving me pointers > > was at a loss of what to do further. I do appreciate his help. > > > > I'm running Mitel's SME version 5. Many people know this as E-Smith Server > > and Gateway (ESSG). It's a secure server/gateway/firewall. SME/ESSG is > > built on RedHat Linux. The last version of ESSG was based on the Redhat 7.0 > > kernel. SME 5 is based on the RedHat 7.1 kernel. > > > > I'm trying to install the Interchange 4.8.3 RPM package on my SME server. > > Everything appeared to have installed fine. I pulled down and installed all > > the available CPAN modules from the ic web site. > > > > I was able to run makecat and configure a catalog named "store". I could > > bring up the web page that had the two links for customer or admin. Neither > > worked. I would get the "We're sorry" screen. > > > > I chown and chgrp -R the /usr/lib/interchange, /var/lib/interchange, and > > /var/log/interchange directories to "interch". I also ran a chmod -R 770 on > > those three directories. > > > > I have tried to configure with and without the CGIWRAP/SUEXEC option. If I > > answer no to that question I get the "We're sorry" screen. If I tell it I > > use CGIWRAP/SUEXEC it will not complete the makecat program. There is some > > error near the end that dumps the makecat script. It gives me the error > > "chmod sampledata.xls: No such file or directory." I don't understand since > > the file does exist and the permissions are correct. I've looked through > > the faq, getting started guide and also search the forums. Have I > > completely missed something? > > > > Oh, and all the web pages and virtual sites are kept under the > > home/e-smith/files/primary (for main server site) and > > /home/e-smith/files/ibays/ for any additional/virtual sites. Each of those > > directories have three sub directories called /cgi-bin/, /files/, and > > /html/. I'm trying to put the store under a virtual site in the > > /home/e-smith/files//ibays/dataware/ directory. > > > > I sure hope this is not too confusing. I don't know of any other way to > > explain this. > > > > Here's a copy of the message I posted yesterday, just in case: > > > > I believe this is what my interchange is set up as: > > > > /usr/lib/interchange <--- core install directory > > /var/lib/interchange <--- location of catalogs, stores and support files > > > > /home/e-smith/files/ibays/dataware/cgi-bin <--- location of my store file > > /home/e-smith/files/ibays/dataware/html/store <--- location of html files > > /home/e-smith/files/ibays/dataware/html/store/images <--- location of image > > files > > > > I'm telling makecat: > > > > Catalog name: store > > Server name: www.datawarecomp.com > > (this is a virtual domain/ibay on my SME server) > > DemoType: foundation > > permtype: M > > InterchangeUser: interch > > CatUser: interch > > InterchangeGroup: <blank> > > MailOrderTo: orders@datawarecomp.com > > CatRoot: > > /var/lib/interchange/store > > CgiDir: > > /home/e-smith/files/ibays/dataware/cgi-bin > > CgiUrl: /cgi-bin/store > > Aliases: /store > > DocumentRoot: > > /home/e-smith/files/ibays/dataware/html > > SampleHtml: > > /home/e-smith/files/ibays/dataware/html/store > > ImageDir: > > /home/e-smith/files/ibays/dataware/html/store/images > > ImageUrl: /store/images > > INET or UNIX mode: UNIX > > Do you use CGIWRAP or SUEXEC: Y > > > > At this point it checks and/or creates the directories and copies the demo > > files. > > > > Your company name: Dataware Computers > > Sample data type: tools > > Set to 1 if you want MySQL...: <blank> > > Account name: interch > > Administrative password: pass > > Set to 1 to display demo helper: 1 > > > > At this point it finds some system commands to run. > > > > It moves a link to /home/e-smith/files/ibays/dataware/cgi-bin/store > > > > It tells me the standard warning about selecting SUEXEC/CGIWrap option and > > being root. However it does correctly select 5013/5013 which is the interch > > user and group. > > > > This is where the error "chown sampledata.xls: No such file or directory" > > > > Thanks for any help! > > > > Tom > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > -- > -------------------- > Timothy Burt > Internet Specialist > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Tue Dec 18 17:22:07 2001 Subject: [ic] Help with IC setup Thanks. I'll take a look at that storable module. If I do get it up and running, I too will create a detailed summary (howto) for others. Tom ----- Original Message ----- From: <tburt@timburt.com> To: "Tom Carroll" <egor@carrollweb.net> Cc: <interchange-users@interchange.redhat.com> Sent: Tuesday, December 18, 2001 1:56 PM Subject: Re: [ic] Help with IC setup > > I gave up on the RPM... I found out later that it didn't test for and > warn me of one of the required CPAN modules: Storable-1.0.14.tar.gz Make > sure you have that one installed. I switched to the tarball install, > which was quite different, and as a result, I have an install that I can > run makecat on, and some of the pages work. I haven't tried going back to > the rpm, now that I have the missing CPAN module, so I cannot say if that > was my only holdup.. > > Someone did report that the rpm installed for them on the first try, and > runs great, but didn't say much about the OS release, modules or anything > else, so it is hard to verify or explain their success. > > I posted a summary a day or two ago, detailing the steps I took to get a > (somewhat) working version running on a RH 7.0 box. You might look for it > in the archives. Try: > > http://interchange.redhat.com/archive/interchange-users/2001/msg12110.html > > I still have problems. Trying to submit an order stalls and errors out. > I dunno why. The shipping box in the form comes up empty, so maybe that > has something to do with it. > > There appears to be lots of little challanges to overcome to get this app > working. It reminds me of the days when contributors would put a syntax > error into their code just before tarring it up, so that at least you had > to know enough to recognize the #DEFINE was not a comment and or a blatant > error in the makefile. I guess it kept the truly clueless from even > getting started, and asking too many questions. > > Good Luck, and if you do switch to the tarball, and find the answer to the > order submit page hang, please post it back to the list. > > On Tue, 18 Dec 2001, Tom Carroll wrote: > > > I posted this message yesterday, but the person who was giving me pointers > > was at a loss of what to do further. I do appreciate his help. > > > > I'm running Mitel's SME version 5. Many people know this as E-Smith Server > > and Gateway (ESSG). It's a secure server/gateway/firewall. SME/ESSG is > > built on RedHat Linux. The last version of ESSG was based on the Redhat 7.0 > > kernel. SME 5 is based on the RedHat 7.1 kernel. > > > > I'm trying to install the Interchange 4.8.3 RPM package on my SME server. > > Everything appeared to have installed fine. I pulled down and installed all > > the available CPAN modules from the ic web site. > > > > I was able to run makecat and configure a catalog named "store". I could > > bring up the web page that had the two links for customer or admin. Neither > > worked. I would get the "We're sorry" screen. > > > > I chown and chgrp -R the /usr/lib/interchange, /var/lib/interchange, and > > /var/log/interchange directories to "interch". I also ran a chmod -R 770 on > > those three directories. > > > > I have tried to configure with and without the CGIWRAP/SUEXEC option. If I > > answer no to that question I get the "We're sorry" screen. If I tell it I > > use CGIWRAP/SUEXEC it will not complete the makecat program. There is some > > error near the end that dumps the makecat script. It gives me the error > > "chmod sampledata.xls: No such file or directory." I don't understand since > > the file does exist and the permissions are correct. I've looked through > > the faq, getting started guide and also search the forums. Have I > > completely missed something? > > > > Oh, and all the web pages and virtual sites are kept under the > > home/e-smith/files/primary (for main server site) and > > /home/e-smith/files/ibays/ for any additional/virtual sites. Each of those > > directories have three sub directories called /cgi-bin/, /files/, and > > /html/. I'm trying to put the store under a virtual site in the > > /home/e-smith/files//ibays/dataware/ directory. > > > > I sure hope this is not too confusing. I don't know of any other way to > > explain this. > > > > Here's a copy of the message I posted yesterday, just in case: > > > > I believe this is what my interchange is set up as: > > > > /usr/lib/interchange <--- core install directory > > /var/lib/interchange <--- location of catalogs, stores and support files > > > > /home/e-smith/files/ibays/dataware/cgi-bin <--- location of my store file > > /home/e-smith/files/ibays/dataware/html/store <--- location of html files > > /home/e-smith/files/ibays/dataware/html/store/images <--- location of image > > files > > > > I'm telling makecat: > > > > Catalog name: store > > Server name: www.datawarecomp.com > > (this is a virtual domain/ibay on my SME server) > > DemoType: foundation > > permtype: M > > InterchangeUser: interch > > CatUser: interch > > InterchangeGroup: <blank> > > MailOrderTo: orders@datawarecomp.com > > CatRoot: > > /var/lib/interchange/store > > CgiDir: > > /home/e-smith/files/ibays/dataware/cgi-bin > > CgiUrl: /cgi-bin/store > > Aliases: /store > > DocumentRoot: > > /home/e-smith/files/ibays/dataware/html > > SampleHtml: > > /home/e-smith/files/ibays/dataware/html/store > > ImageDir: > > /home/e-smith/files/ibays/dataware/html/store/images > > ImageUrl: /store/images > > INET or UNIX mode: UNIX > > Do you use CGIWRAP or SUEXEC: Y > > > > At this point it checks and/or creates the directories and copies the demo > > files. > > > > Your company name: Dataware Computers > > Sample data type: tools > > Set to 1 if you want MySQL...: <blank> > > Account name: interch > > Administrative password: pass > > Set to 1 to display demo helper: 1 > > > > At this point it finds some system commands to run. > > > > It moves a link to /home/e-smith/files/ibays/dataware/cgi-bin/store > > > > It tells me the standard warning about selecting SUEXEC/CGIWrap option and > > being root. However it does correctly select 5013/5013 which is the interch > > user and group. > > > > This is where the error "chown sampledata.xls: No such file or directory" > > > > Thanks for any help! > > > > Tom > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > -- > -------------------- > Timothy Burt > Internet Specialist > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Fred Pope) Date: Tue Dec 18 17:30:00 2001 Subject: [ic] Help with IC setup "I still have problems. Trying to submit an order stalls and errors out. I dunno why. The shipping box in the form comes up empty, so maybe that has something to do with it." You are missing the PERL UPS shipping module, or take a look in the /usr/local/interchange/usertag/ (assuming that you did the default install from the tarball *I think*) directory and locate the ups_query.tag file and make sure that nothing in there is commented out that should not be. I cannot tell you what that is but this is your problem..... Been there done that....on someone elses machine though ...not mine =) -Fred http://www.satcomresources.com From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Dec 18 17:39:01 2001 Subject: [ic] Help with IC setup > I posted this message yesterday, but the person who was > giving me pointers > was at a loss of what to do further. I do appreciate his help. > > I'm running Mitel's SME version 5. Many people know this as > E-Smith Server > and Gateway (ESSG). It's a secure server/gateway/firewall. > SME/ESSG is > built on RedHat Linux. The last version of ESSG was based on > the Redhat 7.0 > kernel. SME 5 is based on the RedHat 7.1 kernel. > > I'm trying to install the Interchange 4.8.3 RPM package on my > SME server. > Everything appeared to have installed fine. I pulled down > and installed all > the available CPAN modules from the ic web site. [snip] > Tom Tom, I'm coming in late on this thread, so forgive me if someone has already mentioned this. However, I happen to have an E-Smith installation note written by Justin Funke (March 12, 2001). (text below). If that does not help, I recommend the following things: * Try a manual (tarball) installation * Follow some recently written installation instructions, in addition to the INSTALL document: http://interchange.redhat.com/pipermail/interchange-users/2001-December/ 015677.html HTH, Dan Browning Kavod Technologies Interchange Installation Revision 1.04 - Justin Funke (March 12, 2001) How to Notes: The ibay is built with permissions for everyone to access and this is a major security problem if you have other users on your LAN. TEST AT OWN RISK! Make an ibay on your e-smith server with permissions set to "edit and read" for everyone no password required. Make sure execute cgi is enabled. Install the interchange rpms and required support. rpm -ivh http://24.66.68.124/pub/files/interchange-4.6.3-1.rh7.i386.rpm rpm -ivh http://24.66.68.124/pub/files/perl-SQL-Statement-0.1016-3cl.i386.rpm rpm -ivh http://24.66.68.124/pub/files/perl-MIME-Base64-2.11-11cl.i386.rpm rpm -ivh http://24.66.68.124/pub/files/perl-Safe-Hole-0.06-3cl.i386.rpm Add a soft link to start interchange server on e-smith reboot run level 7. ln -s /etc/rc.d/init.d/interchange /etc/rc.d/rc7.d/S95interchange Make a user named "interch" through e-smith manager. No password needs to be set for this user. Create the interchange error log. touch /var/log/interchange/error.log Set permissions and ownerships on the installed interchange files and directories. chown interch /usr/lib/interchange -R chgrp interch /usr/lib/interchange -R Make the catalogue /usr/lib/interchange/bin/makecat This catalogue demo is based on the server www.myserver.com and the ibay name "pub" Catalogue name = "construct" Enter path to httpd.conf file: "/etc/httpd/conf/httpd.conf" Server name: "www.myserver.com/pub" DemoType? "construct" permtype? "M" InterchangeUser? "interch" CatUser? "root" InterchangeGroup? <blank> MailOrderTo? "orders@myserver.com" CatRoot? "/var/lib/interchange/construct" CgiDir? "/home/e-smith/files/ibays/pub/cgi-bin" CgiUrl? "/pub/cgi-bin/construct" Aliases? "/construct" DocumentRoot? "/home/e-smith/files/ibays/pub/html" SampleHtml? "/home/e-smith/files/ibays/pub/html/construct" ImageDir? "/home/e-smith/files/ibays/pub/html/construct/images" ImageUrl? "/pub/construct/images" INET or UNIX mode? "UNIX" Do you use CGIWRAP or SUEXEC? "n" The above directories already exist. Overwrite files? "y" Your company name "Construct Something" Set to 1 if you want to use MySQL, PostgreSQL, or Oracle: .. <enter> Account name that will control this catalog:..... "interchange" Administrative password: ........................."pass" run "ln -s /home/e-smith/files/ibays/pub/html/construct/images /var/lib/interchange/construct"? "y" Add catalog to interchange.cfg? "y" Let it finish and watch for any errors. Change the permissions for the catalogue back to "interch" since we just built the catalogue as root. chown interch /var/log/interchange/error.log chgrp interch /var/log/interchange/error.log chgrp interch /var/lib/interchange -R chown interch /var/lib/interchange -R Restart the interchange server as user interch. su -c "/usr/lib/interchange/bin/interchange -r" interch Check to make sure it is working at http://www.myserver.com/pub/construct You may need to do a full reboot, shutdown -r now I have had reports that users have experienced a problem on the links at the top of the page not working because the "pub" directory is coming up twice. If this is occurs - redo the catalogue configuration and remove the italicized "pub" from line 3 of the catalogue configuration script. Revision for Manual and Icons **Note symbolic links not permitted through current configuration of apache the Follow Symlinks directive either needs to be set or the files have to be actually moved in order to for the help menus and pages to work. mv /var/www/html/akopia /home/e-smith/files/primary/html/ mv /var/www/html/manual /home/e-smith/files/primary/html/ From: interchange-users at interchange.redhat.com (Jonathan Melhuish) Date: Tue Dec 18 17:42:01 2001 Subject: [ic] Storing additional checkout fields in the database On Monday 17 December 2001 17:04, you wrote: > > Has anybody ever thought of making a 'file map' for Interchange that I > > could blow up really big and stick on my wall? It's just that this > > system is so huge, I find it quite difficult to find my way around! > > I have a start on one, maybe I can turn it into a poster after I get back > to the office... Yeah, or bung it in a PDF so I can take a look - This is Open Source, after all ;-) Cheers, Jon From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Tue Dec 18 17:59:00 2001 Subject: [ic] Help with IC setup Okay, I have egg on my face. I went back to my CPAN modules and ran an RPM -q on all thirty of the CPAN modules. It turned out that 7 of them were not installed. I learned a hard lesson here. You *should not* do an rpm -ivh * to install all the rpm's located in a directory. From here on out I will install each and every module myself and then run a query to ensure it installed. I am now able to access the admin page. However, no graphics. Who cares, at least I can access the admin area and it's connecting to the store. I'm sure I can fix the graphics. Back to my research. Thanks a million for bearing with me and my ignorance. Tom ----- Original Message ----- From: <tburt@timburt.com> To: "Tom Carroll" <egor@carrollweb.net> Cc: <interchange-users@interchange.redhat.com> Sent: Tuesday, December 18, 2001 1:56 PM Subject: Re: [ic] Help with IC setup > > I gave up on the RPM... I found out later that it didn't test for and > warn me of one of the required CPAN modules: Storable-1.0.14.tar.gz Make > sure you have that one installed. I switched to the tarball install, > which was quite different, and as a result, I have an install that I can > run makecat on, and some of the pages work. I haven't tried going back to > the rpm, now that I have the missing CPAN module, so I cannot say if that > was my only holdup.. > > Someone did report that the rpm installed for them on the first try, and > runs great, but didn't say much about the OS release, modules or anything > else, so it is hard to verify or explain their success. > > I posted a summary a day or two ago, detailing the steps I took to get a > (somewhat) working version running on a RH 7.0 box. You might look for it > in the archives. Try: > > http://interchange.redhat.com/archive/interchange-users/2001/msg12110.html > > I still have problems. Trying to submit an order stalls and errors out. > I dunno why. The shipping box in the form comes up empty, so maybe that > has something to do with it. > > There appears to be lots of little challanges to overcome to get this app > working. It reminds me of the days when contributors would put a syntax > error into their code just before tarring it up, so that at least you had > to know enough to recognize the #DEFINE was not a comment and or a blatant > error in the makefile. I guess it kept the truly clueless from even > getting started, and asking too many questions. > > Good Luck, and if you do switch to the tarball, and find the answer to the > order submit page hang, please post it back to the list. > > On Tue, 18 Dec 2001, Tom Carroll wrote: > > > I posted this message yesterday, but the person who was giving me pointers > > was at a loss of what to do further. I do appreciate his help. > > > > I'm running Mitel's SME version 5. Many people know this as E-Smith Server > > and Gateway (ESSG). It's a secure server/gateway/firewall. SME/ESSG is > > built on RedHat Linux. The last version of ESSG was based on the Redhat 7.0 > > kernel. SME 5 is based on the RedHat 7.1 kernel. > > > > I'm trying to install the Interchange 4.8.3 RPM package on my SME server. > > Everything appeared to have installed fine. I pulled down and installed all > > the available CPAN modules from the ic web site. > > > > I was able to run makecat and configure a catalog named "store". I could > > bring up the web page that had the two links for customer or admin. Neither > > worked. I would get the "We're sorry" screen. > > > > I chown and chgrp -R the /usr/lib/interchange, /var/lib/interchange, and > > /var/log/interchange directories to "interch". I also ran a chmod -R 770 on > > those three directories. > > > > I have tried to configure with and without the CGIWRAP/SUEXEC option. If I > > answer no to that question I get the "We're sorry" screen. If I tell it I > > use CGIWRAP/SUEXEC it will not complete the makecat program. There is some > > error near the end that dumps the makecat script. It gives me the error > > "chmod sampledata.xls: No such file or directory." I don't understand since > > the file does exist and the permissions are correct. I've looked through > > the faq, getting started guide and also search the forums. Have I > > completely missed something? > > > > Oh, and all the web pages and virtual sites are kept under the > > home/e-smith/files/primary (for main server site) and > > /home/e-smith/files/ibays/ for any additional/virtual sites. Each of those > > directories have three sub directories called /cgi-bin/, /files/, and > > /html/. I'm trying to put the store under a virtual site in the > > /home/e-smith/files//ibays/dataware/ directory. > > > > I sure hope this is not too confusing. I don't know of any other way to > > explain this. > > > > Here's a copy of the message I posted yesterday, just in case: > > > > I believe this is what my interchange is set up as: > > > > /usr/lib/interchange <--- core install directory > > /var/lib/interchange <--- location of catalogs, stores and support files > > > > /home/e-smith/files/ibays/dataware/cgi-bin <--- location of my store file > > /home/e-smith/files/ibays/dataware/html/store <--- location of html files > > /home/e-smith/files/ibays/dataware/html/store/images <--- location of image > > files > > > > I'm telling makecat: > > > > Catalog name: store > > Server name: www.datawarecomp.com > > (this is a virtual domain/ibay on my SME server) > > DemoType: foundation > > permtype: M > > InterchangeUser: interch > > CatUser: interch > > InterchangeGroup: <blank> > > MailOrderTo: orders@datawarecomp.com > > CatRoot: > > /var/lib/interchange/store > > CgiDir: > > /home/e-smith/files/ibays/dataware/cgi-bin > > CgiUrl: /cgi-bin/store > > Aliases: /store > > DocumentRoot: > > /home/e-smith/files/ibays/dataware/html > > SampleHtml: > > /home/e-smith/files/ibays/dataware/html/store > > ImageDir: > > /home/e-smith/files/ibays/dataware/html/store/images > > ImageUrl: /store/images > > INET or UNIX mode: UNIX > > Do you use CGIWRAP or SUEXEC: Y > > > > At this point it checks and/or creates the directories and copies the demo > > files. > > > > Your company name: Dataware Computers > > Sample data type: tools > > Set to 1 if you want MySQL...: <blank> > > Account name: interch > > Administrative password: pass > > Set to 1 to display demo helper: 1 > > > > At this point it finds some system commands to run. > > > > It moves a link to /home/e-smith/files/ibays/dataware/cgi-bin/store > > > > It tells me the standard warning about selecting SUEXEC/CGIWrap option and > > being root. However it does correctly select 5013/5013 which is the interch > > user and group. > > > > This is where the error "chown sampledata.xls: No such file or directory" > > > > Thanks for any help! > > > > Tom > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > -- > -------------------- > Timothy Burt > Internet Specialist > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Tue Dec 18 18:02:04 2001 Subject: [ic] Help with IC setup Okay, I have egg on my face. I went back to my CPAN modules and ran an RPM -q on all thirty of the CPAN modules. It turned out that 7 of them were not installed. I learned a hard lesson here. You *should not* do an rpm -ivh * to install all the rpm's located in a directory. From here on out I will install each and every module myself and then run a query to ensure it installed. I am now able to access the admin page. However, no graphics. Who cares, at least I can access the admin area and it's connecting to the store. I'm sure I can fix the graphics. Back to my research. Thanks a million for bearing with me and my ignorance. Tom ----- Original Message ----- From: <tburt@timburt.com> To: "Tom Carroll" <egor@carrollweb.net> Cc: <interchange-users@interchange.redhat.com> Sent: Tuesday, December 18, 2001 1:56 PM Subject: Re: [ic] Help with IC setup > > I gave up on the RPM... I found out later that it didn't test for and > warn me of one of the required CPAN modules: Storable-1.0.14.tar.gz Make > sure you have that one installed. I switched to the tarball install, > which was quite different, and as a result, I have an install that I can > run makecat on, and some of the pages work. I haven't tried going back to > the rpm, now that I have the missing CPAN module, so I cannot say if that > was my only holdup.. > > Someone did report that the rpm installed for them on the first try, and > runs great, but didn't say much about the OS release, modules or anything > else, so it is hard to verify or explain their success. > > I posted a summary a day or two ago, detailing the steps I took to get a > (somewhat) working version running on a RH 7.0 box. You might look for it > in the archives. Try: > > http://interchange.redhat.com/archive/interchange-users/2001/msg12110.html > > I still have problems. Trying to submit an order stalls and errors out. > I dunno why. The shipping box in the form comes up empty, so maybe that > has something to do with it. > > There appears to be lots of little challanges to overcome to get this app > working. It reminds me of the days when contributors would put a syntax > error into their code just before tarring it up, so that at least you had > to know enough to recognize the #DEFINE was not a comment and or a blatant > error in the makefile. I guess it kept the truly clueless from even > getting started, and asking too many questions. > > Good Luck, and if you do switch to the tarball, and find the answer to the > order submit page hang, please post it back to the list. > > On Tue, 18 Dec 2001, Tom Carroll wrote: > > > I posted this message yesterday, but the person who was giving me pointers > > was at a loss of what to do further. I do appreciate his help. > > > > I'm running Mitel's SME version 5. Many people know this as E-Smith Server > > and Gateway (ESSG). It's a secure server/gateway/firewall. SME/ESSG is > > built on RedHat Linux. The last version of ESSG was based on the Redhat 7.0 > > kernel. SME 5 is based on the RedHat 7.1 kernel. > > > > I'm trying to install the Interchange 4.8.3 RPM package on my SME server. > > Everything appeared to have installed fine. I pulled down and installed all > > the available CPAN modules from the ic web site. > > > > I was able to run makecat and configure a catalog named "store". I could > > bring up the web page that had the two links for customer or admin. Neither > > worked. I would get the "We're sorry" screen. > > > > I chown and chgrp -R the /usr/lib/interchange, /var/lib/interchange, and > > /var/log/interchange directories to "interch". I also ran a chmod -R 770 on > > those three directories. > > > > I have tried to configure with and without the CGIWRAP/SUEXEC option. If I > > answer no to that question I get the "We're sorry" screen. If I tell it I > > use CGIWRAP/SUEXEC it will not complete the makecat program. There is some > > error near the end that dumps the makecat script. It gives me the error > > "chmod sampledata.xls: No such file or directory." I don't understand since > > the file does exist and the permissions are correct. I've looked through > > the faq, getting started guide and also search the forums. Have I > > completely missed something? > > > > Oh, and all the web pages and virtual sites are kept under the > > home/e-smith/files/primary (for main server site) and > > /home/e-smith/files/ibays/ for any additional/virtual sites. Each of those > > directories have three sub directories called /cgi-bin/, /files/, and > > /html/. I'm trying to put the store under a virtual site in the > > /home/e-smith/files//ibays/dataware/ directory. > > > > I sure hope this is not too confusing. I don't know of any other way to > > explain this. > > > > Here's a copy of the message I posted yesterday, just in case: > > > > I believe this is what my interchange is set up as: > > > > /usr/lib/interchange <--- core install directory > > /var/lib/interchange <--- location of catalogs, stores and support files > > > > /home/e-smith/files/ibays/dataware/cgi-bin <--- location of my store file > > /home/e-smith/files/ibays/dataware/html/store <--- location of html files > > /home/e-smith/files/ibays/dataware/html/store/images <--- location of image > > files > > > > I'm telling makecat: > > > > Catalog name: store > > Server name: www.datawarecomp.com > > (this is a virtual domain/ibay on my SME server) > > DemoType: foundation > > permtype: M > > InterchangeUser: interch > > CatUser: interch > > InterchangeGroup: <blank> > > MailOrderTo: orders@datawarecomp.com > > CatRoot: > > /var/lib/interchange/store > > CgiDir: > > /home/e-smith/files/ibays/dataware/cgi-bin > > CgiUrl: /cgi-bin/store > > Aliases: /store > > DocumentRoot: > > /home/e-smith/files/ibays/dataware/html > > SampleHtml: > > /home/e-smith/files/ibays/dataware/html/store > > ImageDir: > > /home/e-smith/files/ibays/dataware/html/store/images > > ImageUrl: /store/images > > INET or UNIX mode: UNIX > > Do you use CGIWRAP or SUEXEC: Y > > > > At this point it checks and/or creates the directories and copies the demo > > files. > > > > Your company name: Dataware Computers > > Sample data type: tools > > Set to 1 if you want MySQL...: <blank> > > Account name: interch > > Administrative password: pass > > Set to 1 to display demo helper: 1 > > > > At this point it finds some system commands to run. > > > > It moves a link to /home/e-smith/files/ibays/dataware/cgi-bin/store > > > > It tells me the standard warning about selecting SUEXEC/CGIWrap option and > > being root. However it does correctly select 5013/5013 which is the interch > > user and group. > > > > This is where the error "chown sampledata.xls: No such file or directory" > > > > Thanks for any help! > > > > Tom > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > -- > -------------------- > Timothy Burt > Internet Specialist > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Tue Dec 18 18:04:34 2001 Subject: [ic] Storing additional checkout fields in the database On Tue, Dec 18, 2001 at 05:39:10PM -0500, Jonathan Melhuish wrote: > On Monday 17 December 2001 17:04, you wrote: > > > Has anybody ever thought of making a 'file map' for Interchange that I > > > could blow up really big and stick on my wall? It's just that this > > > system is so huge, I find it quite difficult to find my way around! > > > > I have a start on one, maybe I can turn it into a poster after I get back > > to the office... > > Yeah, or bung it in a PDF so I can take a look - This is Open Source, after > all ;-) > The problem isn't so much the format, it's that I don't have time to finish it until after my current project ends. =) -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 18 18:07:00 2001 Subject: [ic] Help with IC setup Thanks for the pointer Fred.... Unfortunately, tho... I do have the shipping.asc file: /home/sam/catalogs/sam/products/shipping.asc /usr/local/interchange/foundation/products/shipping.asc And it looks Ok to me. Checked ups_query.tag too. Except for two lines that appear to be debugging echos (calling... and received back....) this file looks OK too. I just remembered another clue to the hanging form... There was an entry in the errors log about missing GPG. The install docs state that GPG is optional, perhaps this is a required component now... I don't have GPG configured. On Tue, 18 Dec 2001, Fred Pope wrote: > "I still have problems. Trying to submit an order stalls and errors > out. > I dunno why. The shipping box in the form comes up empty, so maybe that > > has something to do with it." > > You are missing the PERL UPS shipping module, or take a look in the > /usr/local/interchange/usertag/ (assuming that you did the default > install from the tarball *I think*) directory and locate the > ups_query.tag file and make sure that nothing in there is commented out > that should not be. I cannot tell you what that is but this is your > problem..... Been there done that....on someone elses machine though > ...not mine =) > > -Fred > http://www.satcomresources.com > > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Tue Dec 18 18:09:24 2001 Subject: [ic] Images question When I ran makecat I told it my DocumentRoot is /home/e-smith/files/ibays/dataware/html but when makecat finished it copied the interchange to the /var/www/html directory. Is there something I missed or is this hard coded in the makecat script? Tom From: interchange-users at interchange.redhat.com (Fred Pope) Date: Tue Dec 18 18:22:00 2001 Subject: [ic] Help with IC setup "I am now able to access the admin page. However, no graphics." Check the paths in your variable.txt or variables.txt file. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 18 18:32:00 2001 Subject: [ic] Help with IC setup Wait a minute... 30 CPAN modules? I only installed about 10 ... I hope these 30 modules are just your favorites, not all required.... If they are required, please send a list! That may be my dilema. BTW, I searched the interchange website on CPAN, and didn't find much help. Oh, yea, about rpm... It sometimes quits if it stubs a toe, and doesn't tell you that it didn't do the whole lot. I have taken to: ls *.rpm > doit Then vi doit and give the command: :%s/^/rpm -ivh / Save and then run "sh -x doit" sometimes more than once (to deal with missing dependencies). Or I will go back and add a --nodeps. Fortunately, rpm detects when it has already installed and skips pretty quickly on subsequent runs. It also helps to re-arrange the rpms in order, if you have a hunch on the dependencies... I like to put the libraries and RPM updates at the top. On Tue, 18 Dec 2001, Tom Carroll wrote: > Okay, I have egg on my face. I went back to my CPAN modules and ran an > RPM -q on all thirty of the CPAN modules. It turned out that 7 of them were > not installed. I learned a hard lesson here. You *should not* do an > rpm -ivh * to install all the rpm's located in a directory. From here on > out I will install each and every module myself and then run a query to > ensure it installed. > > I am now able to access the admin page. However, no graphics. Who cares, > at least I can access the admin area and it's connecting to the store. I'm > sure I can fix the graphics. Back to my research. > > Thanks a million for bearing with me and my ignorance. > > Tom > > ----- Original Message ----- > From: <tburt@timburt.com> > To: "Tom Carroll" <egor@carrollweb.net> > Cc: <interchange-users@interchange.redhat.com> > Sent: Tuesday, December 18, 2001 1:56 PM > Subject: Re: [ic] Help with IC setup > > > > > > I gave up on the RPM... I found out later that it didn't test for and > > warn me of one of the required CPAN modules: Storable-1.0.14.tar.gz Make > > sure you have that one installed. I switched to the tarball install, > > which was quite different, and as a result, I have an install that I can > > run makecat on, and some of the pages work. I haven't tried going back to > > the rpm, now that I have the missing CPAN module, so I cannot say if that > > was my only holdup.. > > > > Someone did report that the rpm installed for them on the first try, and > > runs great, but didn't say much about the OS release, modules or anything > > else, so it is hard to verify or explain their success. > > > > I posted a summary a day or two ago, detailing the steps I took to get a > > (somewhat) working version running on a RH 7.0 box. You might look for it > > in the archives. Try: > > > > http://interchange.redhat.com/archive/interchange-users/2001/msg12110.html > > > > I still have problems. Trying to submit an order stalls and errors out. > > I dunno why. The shipping box in the form comes up empty, so maybe that > > has something to do with it. > > > > There appears to be lots of little challanges to overcome to get this app > > working. It reminds me of the days when contributors would put a syntax > > error into their code just before tarring it up, so that at least you had > > to know enough to recognize the #DEFINE was not a comment and or a blatant > > error in the makefile. I guess it kept the truly clueless from even > > getting started, and asking too many questions. > > > > Good Luck, and if you do switch to the tarball, and find the answer to the > > order submit page hang, please post it back to the list. > > > > On Tue, 18 Dec 2001, Tom Carroll wrote: > > > > > I posted this message yesterday, but the person who was giving me > pointers > > > was at a loss of what to do further. I do appreciate his help. > > > > > > I'm running Mitel's SME version 5. Many people know this as E-Smith > Server > > > and Gateway (ESSG). It's a secure server/gateway/firewall. SME/ESSG is > > > built on RedHat Linux. The last version of ESSG was based on the Redhat > 7.0 > > > kernel. SME 5 is based on the RedHat 7.1 kernel. > > > > > > I'm trying to install the Interchange 4.8.3 RPM package on my SME > server. > > > Everything appeared to have installed fine. I pulled down and installed > all > > > the available CPAN modules from the ic web site. > > > > > > I was able to run makecat and configure a catalog named "store". I > could > > > bring up the web page that had the two links for customer or admin. > Neither > > > worked. I would get the "We're sorry" screen. > > > > > > I chown and chgrp -R the /usr/lib/interchange, /var/lib/interchange, and > > > /var/log/interchange directories to "interch". I also ran a chmod -R > 770 on > > > those three directories. > > > > > > I have tried to configure with and without the CGIWRAP/SUEXEC option. > If I > > > answer no to that question I get the "We're sorry" screen. If I tell it > I > > > use CGIWRAP/SUEXEC it will not complete the makecat program. There is > some > > > error near the end that dumps the makecat script. It gives me the error > > > "chmod sampledata.xls: No such file or directory." I don't understand > since > > > the file does exist and the permissions are correct. I've looked > through > > > the faq, getting started guide and also search the forums. Have I > > > completely missed something? > > > > > > Oh, and all the web pages and virtual sites are kept under the > > > home/e-smith/files/primary (for main server site) and > > > /home/e-smith/files/ibays/ for any additional/virtual sites. Each of > those > > > directories have three sub directories called /cgi-bin/, /files/, and > > > /html/. I'm trying to put the store under a virtual site in the > > > /home/e-smith/files//ibays/dataware/ directory. > > > > > > I sure hope this is not too confusing. I don't know of any other way to > > > explain this. > > > > > > Here's a copy of the message I posted yesterday, just in case: > > > > > > I believe this is what my interchange is set up as: > > > > > > /usr/lib/interchange <--- core install directory > > > /var/lib/interchange <--- location of catalogs, stores and support files > > > > > > /home/e-smith/files/ibays/dataware/cgi-bin <--- location of my store > file > > > /home/e-smith/files/ibays/dataware/html/store <--- location of html > files > > > /home/e-smith/files/ibays/dataware/html/store/images <--- location of > image > > > files > > > > > > I'm telling makecat: > > > > > > Catalog name: store > > > Server name: www.datawarecomp.com > > > (this is a virtual domain/ibay on my SME server) > > > DemoType: foundation > > > permtype: M > > > InterchangeUser: interch > > > CatUser: interch > > > InterchangeGroup: <blank> > > > MailOrderTo: > orders@datawarecomp.com > > > CatRoot: > > > /var/lib/interchange/store > > > CgiDir: > > > /home/e-smith/files/ibays/dataware/cgi-bin > > > CgiUrl: /cgi-bin/store > > > Aliases: /store > > > DocumentRoot: > > > /home/e-smith/files/ibays/dataware/html > > > SampleHtml: > > > /home/e-smith/files/ibays/dataware/html/store > > > ImageDir: > > > /home/e-smith/files/ibays/dataware/html/store/images > > > ImageUrl: /store/images > > > INET or UNIX mode: UNIX > > > Do you use CGIWRAP or SUEXEC: Y > > > > > > At this point it checks and/or creates the directories and copies the > demo > > > files. > > > > > > Your company name: Dataware Computers > > > Sample data type: tools > > > Set to 1 if you want MySQL...: <blank> > > > Account name: interch > > > Administrative password: pass > > > Set to 1 to display demo helper: 1 > > > > > > At this point it finds some system commands to run. > > > > > > It moves a link to /home/e-smith/files/ibays/dataware/cgi-bin/store > > > > > > It tells me the standard warning about selecting SUEXEC/CGIWrap option > and > > > being root. However it does correctly select 5013/5013 which is the > interch > > > user and group. > > > > > > This is where the error "chown sampledata.xls: No such file or > directory" > > > > > > Thanks for any help! > > > > > > Tom > > > > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > -- > > -------------------- > > Timothy Burt > > Internet Specialist > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Tue Dec 18 19:09:00 2001 Subject: [ic] Help with IC setup Take a look at http://ftp.interchange.redhat.com/perl/ they have 30 perl modules listed. I just loaded them all. I have the room and a lack of knowledge of what I really need, so I just shoved them all onto the system. Tom ----- Original Message ----- From: <tburt@timburt.com> To: "Tom Carroll" <egor@carrollweb.net> Cc: <interchange-users@interchange.redhat.com> Sent: Tuesday, December 18, 2001 3:31 PM Subject: Re: [ic] Help with IC setup > > Wait a minute... 30 CPAN modules? > > I only installed about 10 ... > > I hope these 30 modules are just your favorites, not all required.... > > If they are required, please send a list! That may be my dilema. > > BTW, I searched the interchange website on CPAN, and didn't find much > help. > > Oh, yea, about rpm... It sometimes quits if it stubs a toe, and doesn't > tell you that it didn't do the whole lot. I have taken to: > > ls *.rpm > doit > > Then vi doit and give the command: > > :%s/^/rpm -ivh / > > Save and then run "sh -x doit" sometimes more than once (to deal with > missing dependencies). Or I will go back and add a --nodeps. > Fortunately, rpm detects when it has already installed and skips pretty > quickly on subsequent runs. > > It also helps to re-arrange the rpms in order, if you have a hunch on the > dependencies... I like to put the libraries and RPM updates at the top. > > > On Tue, 18 Dec 2001, Tom Carroll wrote: > > > Okay, I have egg on my face. I went back to my CPAN modules and ran an > > RPM -q on all thirty of the CPAN modules. It turned out that 7 of them were > > not installed. I learned a hard lesson here. You *should not* do an > > rpm -ivh * to install all the rpm's located in a directory. From here on > > out I will install each and every module myself and then run a query to > > ensure it installed. > > > > I am now able to access the admin page. However, no graphics. Who cares, > > at least I can access the admin area and it's connecting to the store. I'm > > sure I can fix the graphics. Back to my research. > > > > Thanks a million for bearing with me and my ignorance. > > > > Tom > > > > ----- Original Message ----- > > From: <tburt@timburt.com> > > To: "Tom Carroll" <egor@carrollweb.net> > > Cc: <interchange-users@interchange.redhat.com> > > Sent: Tuesday, December 18, 2001 1:56 PM > > Subject: Re: [ic] Help with IC setup > > > > > > > > > > I gave up on the RPM... I found out later that it didn't test for and > > > warn me of one of the required CPAN modules: Storable-1.0.14.tar.gz Make > > > sure you have that one installed. I switched to the tarball install, > > > which was quite different, and as a result, I have an install that I can > > > run makecat on, and some of the pages work. I haven't tried going back to > > > the rpm, now that I have the missing CPAN module, so I cannot say if that > > > was my only holdup.. > > > > > > Someone did report that the rpm installed for them on the first try, and > > > runs great, but didn't say much about the OS release, modules or anything > > > else, so it is hard to verify or explain their success. > > > > > > I posted a summary a day or two ago, detailing the steps I took to get a > > > (somewhat) working version running on a RH 7.0 box. You might look for it > > > in the archives. Try: > > > > > > http://interchange.redhat.com/archive/interchange-users/2001/msg12110.html > > > > > > I still have problems. Trying to submit an order stalls and errors out. > > > I dunno why. The shipping box in the form comes up empty, so maybe that > > > has something to do with it. > > > > > > There appears to be lots of little challanges to overcome to get this app > > > working. It reminds me of the days when contributors would put a syntax > > > error into their code just before tarring it up, so that at least you had > > > to know enough to recognize the #DEFINE was not a comment and or a blatant > > > error in the makefile. I guess it kept the truly clueless from even > > > getting started, and asking too many questions. > > > > > > Good Luck, and if you do switch to the tarball, and find the answer to the > > > order submit page hang, please post it back to the list. > > > > > > On Tue, 18 Dec 2001, Tom Carroll wrote: > > > > > > > I posted this message yesterday, but the person who was giving me > > pointers > > > > was at a loss of what to do further. I do appreciate his help. > > > > > > > > I'm running Mitel's SME version 5. Many people know this as E-Smith > > Server > > > > and Gateway (ESSG). It's a secure server/gateway/firewall. SME/ESSG is > > > > built on RedHat Linux. The last version of ESSG was based on the Redhat > > 7.0 > > > > kernel. SME 5 is based on the RedHat 7.1 kernel. > > > > > > > > I'm trying to install the Interchange 4.8.3 RPM package on my SME > > server. > > > > Everything appeared to have installed fine. I pulled down and installed > > all > > > > the available CPAN modules from the ic web site. > > > > > > > > I was able to run makecat and configure a catalog named "store". I > > could > > > > bring up the web page that had the two links for customer or admin. > > Neither > > > > worked. I would get the "We're sorry" screen. > > > > > > > > I chown and chgrp -R the /usr/lib/interchange, /var/lib/interchange, and > > > > /var/log/interchange directories to "interch". I also ran a chmod -R > > 770 on > > > > those three directories. > > > > > > > > I have tried to configure with and without the CGIWRAP/SUEXEC option. > > If I > > > > answer no to that question I get the "We're sorry" screen. If I tell it > > I > > > > use CGIWRAP/SUEXEC it will not complete the makecat program. There is > > some > > > > error near the end that dumps the makecat script. It gives me the error > > > > "chmod sampledata.xls: No such file or directory." I don't understand > > since > > > > the file does exist and the permissions are correct. I've looked > > through > > > > the faq, getting started guide and also search the forums. Have I > > > > completely missed something? > > > > > > > > Oh, and all the web pages and virtual sites are kept under the > > > > home/e-smith/files/primary (for main server site) and > > > > /home/e-smith/files/ibays/ for any additional/virtual sites. Each of > > those > > > > directories have three sub directories called /cgi-bin/, /files/, and > > > > /html/. I'm trying to put the store under a virtual site in the > > > > /home/e-smith/files//ibays/dataware/ directory. > > > > > > > > I sure hope this is not too confusing. I don't know of any other way to > > > > explain this. > > > > > > > > Here's a copy of the message I posted yesterday, just in case: > > > > > > > > I believe this is what my interchange is set up as: > > > > > > > > /usr/lib/interchange <--- core install directory > > > > /var/lib/interchange <--- location of catalogs, stores and support files > > > > > > > > /home/e-smith/files/ibays/dataware/cgi-bin <--- location of my store > > file > > > > /home/e-smith/files/ibays/dataware/html/store <--- location of html > > files > > > > /home/e-smith/files/ibays/dataware/html/store/images <--- location of > > image > > > > files > > > > > > > > I'm telling makecat: > > > > > > > > Catalog name: store > > > > Server name: www.datawarecomp.com > > > > (this is a virtual domain/ibay on my SME server) > > > > DemoType: foundation > > > > permtype: M > > > > InterchangeUser: interch > > > > CatUser: interch > > > > InterchangeGroup: <blank> > > > > MailOrderTo: > > orders@datawarecomp.com > > > > CatRoot: > > > > /var/lib/interchange/store > > > > CgiDir: > > > > /home/e-smith/files/ibays/dataware/cgi-bin > > > > CgiUrl: /cgi-bin/store > > > > Aliases: /store > > > > DocumentRoot: > > > > /home/e-smith/files/ibays/dataware/html > > > > SampleHtml: > > > > /home/e-smith/files/ibays/dataware/html/store > > > > ImageDir: > > > > /home/e-smith/files/ibays/dataware/html/store/images > > > > ImageUrl: /store/images > > > > INET or UNIX mode: UNIX > > > > Do you use CGIWRAP or SUEXEC: Y > > > > > > > > At this point it checks and/or creates the directories and copies the > > demo > > > > files. > > > > > > > > Your company name: Dataware Computers > > > > Sample data type: tools > > > > Set to 1 if you want MySQL...: <blank> > > > > Account name: interch > > > > Administrative password: pass > > > > Set to 1 to display demo helper: 1 > > > > > > > > At this point it finds some system commands to run. > > > > > > > > It moves a link to /home/e-smith/files/ibays/dataware/cgi-bin/store > > > > > > > > It tells me the standard warning about selecting SUEXEC/CGIWrap option > > and > > > > being root. However it does correctly select 5013/5013 which is the > > interch > > > > user and group. > > > > > > > > This is where the error "chown sampledata.xls: No such file or > > directory" > > > > > > > > Thanks for any help! > > > > > > > > Tom > > > > > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > -- > > > -------------------- > > > Timothy Burt > > > Internet Specialist > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > -- > -------------------- > Timothy Burt > Internet Specialist > > From: interchange-users at interchange.redhat.com (Shane Keene) Date: Tue Dec 18 19:41:01 2001 Subject: [ic] Help with IC setup Not all thirty are required modules. There are only around ten absolutely necessary ones. Some of the others add some cool functionality (like the excel parse and write mods) and are well worth looking at. It definitely doesn't hurt to have them installed. Shane Keene Webmaster Network Computing Devices, Inc. http://www.ncd.com -----Original Message----- From: Tom Carroll [mailto:egor@carrollweb.net] Sent: Tuesday, December 18, 2001 4:09 PM To: tburt@timburt.com Cc: interchange-users@interchange.redhat.com Subject: Re: [ic] Help with IC setup Take a look at http://ftp.interchange.redhat.com/perl/ they have 30 perl modules listed. I just loaded them all. I have the room and a lack of knowledge of what I really need, so I just shoved them all onto the system. Tom ----- Original Message ----- From: <tburt@timburt.com> To: "Tom Carroll" <egor@carrollweb.net> Cc: <interchange-users@interchange.redhat.com> Sent: Tuesday, December 18, 2001 3:31 PM Subject: Re: [ic] Help with IC setup > > Wait a minute... 30 CPAN modules? > > I only installed about 10 ... > > I hope these 30 modules are just your favorites, not all required.... > > If they are required, please send a list! That may be my dilema. > > BTW, I searched the interchange website on CPAN, and didn't find much > help. > > Oh, yea, about rpm... It sometimes quits if it stubs a toe, and doesn't > tell you that it didn't do the whole lot. I have taken to: > > ls *.rpm > doit > > Then vi doit and give the command: > > :%s/^/rpm -ivh / > > Save and then run "sh -x doit" sometimes more than once (to deal with > missing dependencies). Or I will go back and add a --nodeps. > Fortunately, rpm detects when it has already installed and skips pretty > quickly on subsequent runs. > > It also helps to re-arrange the rpms in order, if you have a hunch on the > dependencies... I like to put the libraries and RPM updates at the top. > > > On Tue, 18 Dec 2001, Tom Carroll wrote: > > > Okay, I have egg on my face. I went back to my CPAN modules and ran an > > RPM -q on all thirty of the CPAN modules. It turned out that 7 of them were > > not installed. I learned a hard lesson here. You *should not* do an > > rpm -ivh * to install all the rpm's located in a directory. From here on > > out I will install each and every module myself and then run a query to > > ensure it installed. > > > > I am now able to access the admin page. However, no graphics. Who cares, > > at least I can access the admin area and it's connecting to the store. I'm > > sure I can fix the graphics. Back to my research. > > > > Thanks a million for bearing with me and my ignorance. > > > > Tom > > > > ----- Original Message ----- > > From: <tburt@timburt.com> > > To: "Tom Carroll" <egor@carrollweb.net> > > Cc: <interchange-users@interchange.redhat.com> > > Sent: Tuesday, December 18, 2001 1:56 PM > > Subject: Re: [ic] Help with IC setup > > > > > > > > > > I gave up on the RPM... I found out later that it didn't test for and > > > warn me of one of the required CPAN modules: Storable-1.0.14.tar.gz Make > > > sure you have that one installed. I switched to the tarball install, > > > which was quite different, and as a result, I have an install that I can > > > run makecat on, and some of the pages work. I haven't tried going back to > > > the rpm, now that I have the missing CPAN module, so I cannot say if that > > > was my only holdup.. > > > > > > Someone did report that the rpm installed for them on the first try, and > > > runs great, but didn't say much about the OS release, modules or anything > > > else, so it is hard to verify or explain their success. > > > > > > I posted a summary a day or two ago, detailing the steps I took to get a > > > (somewhat) working version running on a RH 7.0 box. You might look for it > > > in the archives. Try: > > > > > > http://interchange.redhat.com/archive/interchange-users/2001/msg12110.html > > > > > > I still have problems. Trying to submit an order stalls and errors out. > > > I dunno why. The shipping box in the form comes up empty, so maybe that > > > has something to do with it. > > > > > > There appears to be lots of little challanges to overcome to get this app > > > working. It reminds me of the days when contributors would put a syntax > > > error into their code just before tarring it up, so that at least you had > > > to know enough to recognize the #DEFINE was not a comment and or a blatant > > > error in the makefile. I guess it kept the truly clueless from even > > > getting started, and asking too many questions. > > > > > > Good Luck, and if you do switch to the tarball, and find the answer to the > > > order submit page hang, please post it back to the list. > > > > > > On Tue, 18 Dec 2001, Tom Carroll wrote: > > > > > > > I posted this message yesterday, but the person who was giving me > > pointers > > > > was at a loss of what to do further. I do appreciate his help. > > > > > > > > I'm running Mitel's SME version 5. Many people know this as E-Smith > > Server > > > > and Gateway (ESSG). It's a secure server/gateway/firewall. SME/ESSG is > > > > built on RedHat Linux. The last version of ESSG was based on the Redhat > > 7.0 > > > > kernel. SME 5 is based on the RedHat 7.1 kernel. > > > > > > > > I'm trying to install the Interchange 4.8.3 RPM package on my SME > > server. > > > > Everything appeared to have installed fine. I pulled down and installed > > all > > > > the available CPAN modules from the ic web site. > > > > > > > > I was able to run makecat and configure a catalog named "store". I > > could > > > > bring up the web page that had the two links for customer or admin. > > Neither > > > > worked. I would get the "We're sorry" screen. > > > > > > > > I chown and chgrp -R the /usr/lib/interchange, /var/lib/interchange, and > > > > /var/log/interchange directories to "interch". I also ran a chmod -R > > 770 on > > > > those three directories. > > > > > > > > I have tried to configure with and without the CGIWRAP/SUEXEC option. > > If I > > > > answer no to that question I get the "We're sorry" screen. If I tell it > > I > > > > use CGIWRAP/SUEXEC it will not complete the makecat program. There is > > some > > > > error near the end that dumps the makecat script. It gives me the error > > > > "chmod sampledata.xls: No such file or directory." I don't understand > > since > > > > the file does exist and the permissions are correct. I've looked > > through > > > > the faq, getting started guide and also search the forums. Have I > > > > completely missed something? > > > > > > > > Oh, and all the web pages and virtual sites are kept under the > > > > home/e-smith/files/primary (for main server site) and > > > > /home/e-smith/files/ibays/ for any additional/virtual sites. Each of > > those > > > > directories have three sub directories called /cgi-bin/, /files/, and > > > > /html/. I'm trying to put the store under a virtual site in the > > > > /home/e-smith/files//ibays/dataware/ directory. > > > > > > > > I sure hope this is not too confusing. I don't know of any other way to > > > > explain this. > > > > > > > > Here's a copy of the message I posted yesterday, just in case: > > > > > > > > I believe this is what my interchange is set up as: > > > > > > > > /usr/lib/interchange <--- core install directory > > > > /var/lib/interchange <--- location of catalogs, stores and support files > > > > > > > > /home/e-smith/files/ibays/dataware/cgi-bin <--- location of my store > > file > > > > /home/e-smith/files/ibays/dataware/html/store <--- location of html > > files > > > > /home/e-smith/files/ibays/dataware/html/store/images <--- location of > > image > > > > files > > > > > > > > I'm telling makecat: > > > > > > > > Catalog name: store > > > > Server name: www.datawarecomp.com > > > > (this is a virtual domain/ibay on my SME server) > > > > DemoType: foundation > > > > permtype: M > > > > InterchangeUser: interch > > > > CatUser: interch > > > > InterchangeGroup: <blank> > > > > MailOrderTo: > > orders@datawarecomp.com > > > > CatRoot: > > > > /var/lib/interchange/store > > > > CgiDir: > > > > /home/e-smith/files/ibays/dataware/cgi-bin > > > > CgiUrl: /cgi-bin/store > > > > Aliases: /store > > > > DocumentRoot: > > > > /home/e-smith/files/ibays/dataware/html > > > > SampleHtml: > > > > /home/e-smith/files/ibays/dataware/html/store > > > > ImageDir: > > > > /home/e-smith/files/ibays/dataware/html/store/images > > > > ImageUrl: /store/images > > > > INET or UNIX mode: UNIX > > > > Do you use CGIWRAP or SUEXEC: Y > > > > > > > > At this point it checks and/or creates the directories and copies the > > demo > > > > files. > > > > > > > > Your company name: Dataware Computers > > > > Sample data type: tools > > > > Set to 1 if you want MySQL...: <blank> > > > > Account name: interch > > > > Administrative password: pass > > > > Set to 1 to display demo helper: 1 > > > > > > > > At this point it finds some system commands to run. > > > > > > > > It moves a link to /home/e-smith/files/ibays/dataware/cgi-bin/store > > > > > > > > It tells me the standard warning about selecting SUEXEC/CGIWrap option > > and > > > > being root. However it does correctly select 5013/5013 which is the > > interch > > > > user and group. > > > > > > > > This is where the error "chown sampledata.xls: No such file or > > directory" > > > > > > > > Thanks for any help! > > > > > > > > Tom > > > > > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > -- > > > -------------------- > > > Timothy Burt > > > Internet Specialist > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > -- > -------------------- > Timothy Burt > Internet Specialist > > _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Tue Dec 18 19:47:01 2001 Subject: [ic] Help with IC setup tburt@timburt.com wrote: > > Wait a minute... 30 CPAN modules? > > I only installed about 10 ... > > I hope these 30 modules are just your favorites, not all required.... > > If they are required, please send a list! That may be my dilema. > > BTW, I searched the interchange website on CPAN, and didn't find much > help. [deleting a lot of qouted part of the previous email] I've following this threat and I've the problem to understand it, because my englisch is not well. But I'm very interested for a list of required modules of the perl, because in some FreeBSD machine, it or any kind of the virtual web server don't allow any using of Perl Version 5.6 on some machines and the important reason to know about the required perl modules for IC is, (that?) it is very easier for me, to cherish or to treasure (I don't know the right word) the perl and his modules via the ports system of the FreeBSD system. I think and believe, a whole list of required modules is very usefull for an administrator of any kind of the OS or virtual OS (virtual web server) to provide IC for any kind of database, payment methode and other features of IC and so on. I'm not a guru of Perl or FreeBSD and I'm using MV and IC very successfully since MV Version 3.10 under FreeBSd since Version 3.11! But I welcome (or crave for) the list of whole required modules of perl to provide IC for any kind of case like database (mysql?, oracle?, etc.) and so on. Any tips and helps are very welcome! Thanks! Joachim Leidinger PS: Thimothy, did you read the rule of this mailing list about the replying and qouting of any email in this list? -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Tue Dec 18 19:56:01 2001 Subject: [ic] Help with IC setup Tom Carroll wrote: > > Take a look at http://ftp.interchange.redhat.com/perl/ they have 30 perl > modules listed. I just loaded them all. I have the room and a lack of > knowledge of what I really need, so I just shoved them all onto the system. > > Tom And how can a person like me know, for wich case of database (mysql, oracle, etc.) and so on are required to provide IC well? And why did you qouted the whole previus email of tburt@timburt.com? ciao Joachim Leidinger -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Tue Dec 18 20:02:01 2001 Subject: [ic] Help with IC setup Shane Keene wrote: > > Not all thirty are required modules. There are only around ten absolutely > necessary ones. Some of the others add some cool functionality (like the > excel parse and write mods) and are well worth looking at. It definitely > doesn't hurt to have them installed. > > Shane Keene > Webmaster > Network Computing Devices, Inc. > http://www.ncd.com [big del] Sorry to bother you! But why did you qouted the whole previus email? Why did some person not follow the rule of this list? Don't misunderstand me. I want only to know the reason of that kind of qouting email and I don't starting any kind of ..hmmm..flame (?). Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Tue Dec 18 20:18:00 2001 Subject: [ic] Help with IC setup Do you know where I can find a list of the *required* cpan modules? Tom From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Tue Dec 18 20:22:00 2001 Subject: [ic] Help with IC setup I just asked that question. I hope to get a response back about a location where it describes the *required* cpan modules and what optional cpan modules for various features. As for quoting. there are etiquette rules for other forums that I participate in that ask you to quote the previous message so someone else wanting to jump in doesn't have to search back numerous posts to find the original problem. If that is not allowed here I am sorry. Tom From: interchange-users at interchange.redhat.com (sphen) Date: Tue Dec 18 20:35:00 2001 Subject: [ic] upgrading interchange & foundation files... this is a pretty straight forward question and wondering if anyone knew an answer. my store is based on the foundation template but we have made some changes to a few files in it. when updating interchange, everything is installed in the base directory (/usr/local/interchange in my case). Is there a way to find out what files in the foundation directory actually contain changes from the last version? because i would really like to modify my current pages to reflect the changes made in the newer version (hopefully some better functionality etc..) at the end of the installation there were lines like this however, hinting to something like this. /usr/local/interchange/foundation/pages//.~.new_account.html /usr/local/interchange/foundation/pages/ord//.~.checkout.html /usr/local/interchange/foundation/pages//.~.saved_carts.html /usr/local/interchange/foundation/templates//.~.noleft /usr/local/interchange//.~.interchange.cfg.dist /usr/local/interchange/lib/UI//.~.ichelp.txt /usr/local/interchange/lib/UI/locales//.~.README /usr/local/interchange/lib/UI/locales//.~.da_DK.cfg etc... are these files that have been updated? if so whats the deal with the "//.~."?! thanks! -sphen From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 18 21:36:00 2001 Subject: [ic] Help with IC setup Probably the reason for not quoting the entire response, is that this thread has been going for 30 or more iterations, and is getting dreadfully long. At some point, you just have to truncate and start again. Changing the Subject line would technically validate the loss of prior posts, but really wouldn't do you any favor in following the line of thought. Indeed, it would be harder to locate the forgoing discussion. You will have to wait for the archives to appear in a few hours.... Sorry! On Wed, 19 Dec 2001, Joachim Leidinger wrote: > Tom Carroll wrote: > > > > Take a look at http://ftp.interchange.redhat.com/perl/ they have 30 perl > > modules listed. I just loaded them all. I have the room and a lack of > > knowledge of what I really need, so I just shoved them all onto the system. > > > > Tom > > And how can a person like me know, for wich case of database (mysql, > oracle, etc.) and so on are required to provide IC well? > > And why did you qouted the whole previus email of tburt@timburt.com? > > ciao > > Joachim Leidinger > > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Tue Dec 18 23:02:00 2001 Subject: [ic] dealer and dealer pricing default, again I am trying to have a person be set as a dealer in userdb.txt. When people "sign up" they use the account.html page that accesses the userdb.txt values. I want everybody that "signs up" with this form to be set as a "dealer" and at "dealer pricing". I am using a converted account.html from foundation. To give you an idea of what I need to accomplish: <INPUT TYPE=hidden NAME=dealer VALUE=yes> <INPUT TYPE=hidden NAME=dealer VALUE=1> <INPUT TYPE=text NAME=dealer VALUE="[name=dealer value=1]"> I have tried a dozen others, however they seem embarrasing to post :) I have tried adjusting different settings in the ADMIN for dealer also but no combination seems to work. I have searched the post archive but came up empty handed, probably because I think most people select a dealer manually in ADMIN. We have an odd pricing structure, that needs to assume that if someone is logged in, that they are in fact a dealer. Am I missing something? I am a newbie, yes, but it seems that if I can control the other fields, I should be able to control "dealer", no? Can I only edit "SOME" of the fields? IC 4.8.1 Apache Thanks all, and sorry for the second post but I am completely stumped with this, nothing I have tried the past two days has worked. Paul Jordan From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Dec 18 23:53:01 2001 Subject: [ic] IT WORKS !!! Wow, somehow seeing IC running on my server is ever more impressive than viewing the demo site. I don't know why. I have poked around a bit, and I am very impressed by the completeness, the detail, the flexibility. Supreme.. Simply Supreme... Thank everyone who helped me out.... The final hurdle I had to overcome, I think, was to run the wizard, in the admin section. And a server reboot too, but I don't know if that was necessary. I still have an empty pulldown for the Shipping Box, but I will figure that out sometime... Now onward to create my first e-commerce site... Grandma's Slippers! Yep, my grandma knits these really cool slippers, just perfect for chilly winter nights. And today is her 90th birthday. No kidding! And most of all... Thank you Mike Heins, wherever you are. Nice work! -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Wed Dec 19 00:29:00 2001 Subject: [ic] Images question Tom - I just copy my interchange folder to the user's web site and then the images work . . . :) Justin > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Tom > Carroll > Sent: Tuesday, December 18, 2001 5:05 PM > To: interchange-users@interchange.redhat.com > Subject: [ic] Images question > > > When I ran makecat I told it my DocumentRoot is > /home/e-smith/files/ibays/dataware/html but when makecat finished > it copied > the interchange to the /var/www/html directory. Is there > something I missed > or is this hard coded in the makecat script? > > Tom > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Wed Dec 19 00:36:01 2001 Subject: [ic] Help with IC setup On Tue, Dec 18, 2001 at 03:31:06PM -0800, tburt@timburt.com wrote: > > Wait a minute... 30 CPAN modules? > > I only installed about 10 ... > > I hope these 30 modules are just your favorites, not all required.... > > If they are required, please send a list! That may be my dilema. > For your benefit, and everyone else who asked for a list, I've attached a list of every module Interchange can possibly load, and a description of what you need it for (most of them indicate if they are optional). This list was accurate in 4.7, if anyone notices any errors let me know and I'll get it updated before I add the list to the FAQ. > Oh, yea, about rpm... It sometimes quits if it stubs a toe, and doesn't > tell you that it didn't do the whole lot. I have taken to: > > ls *.rpm > doit > > Then vi doit and give the command: > > :%s/^/rpm -ivh / > > Save and then run "sh -x doit" sometimes more than once (to deal with > missing dependencies). Or I will go back and add a --nodeps. > Fortunately, rpm detects when it has already installed and skips pretty > quickly on subsequent runs. > > It also helps to re-arrange the rpms in order, if you have a hunch on the > dependencies... I like to put the libraries and RPM updates at the top. > You can avoid this whole issue just by doing 'rpm -ivh *.rpm', if you do them all in one command line, then you can't have dependency problems between them. ----- LIST STARTS HERE ---- MD5 This module is used to generate unique cache keys. If you don't have it, then keys will be computed with a checksum that has a very low but not infinitesimal chance of causing a cache conflict. MIME::Base64 Required for the internal HTTP Server. URI::URL Required for the internal HTTP Server. Term::ReadKey Helps Term::ReadLine::Perl generate completions and editing. Term::ReadLine::Perl Gives you filename completion and command history in the makecat program. Not used otherwise. Business::UPS Enables lookup of shipping costs directly from www.ups.com. SQL::Statement Enables SQL-style search query statements for Interchange. Storable If you have this module session save speed increases by anywhere from 25-60%. Highly recommended for busy systems. DBI Most people want to use SQL with Interchange, and this is a requirement. You will also need the appropriate DBD module, i.e. DBD::mysql to support MySQL. Safe::Hole This helps Interchange deal with the object-creation restrictions of Safe.pm, used to encourage security. DBD::Oracle Required if you want to use Interchange with Oracle databases. DBD::Pg Required if you want to use Interchange with Postgres databases. Errno This distribution generates a Errno package which will define and optionally export all E* constants defined in your system <errno.h> file. Apache::Registry This is only required if you are using the perl version of tlink, the vast majority of people will not need it. File::CounterFile Implements a persistent counter class, used for record autonumbering, among other things. HTML::Entities Used by the parser for encoding/decoding HTML entities. HTTP::Headers Used to interpret and encapsulate HTTP headers in the built-in web server. HTTP::Request::Common Encapsulates HTTP requests for the built-in web server. HTTP::Response Encapsulates HTTP responses for the built-in web server. IniConf Parser for reading .ini style configuration files. LWP::UserAgent Used for retrieving information over the internet, such as real-time UPS rate lookups. SOAP::Lite Used by the internal SOAP system for object exchange and RPC on the web. If you don't know what this means, you probably don't need it. Net::LDAP Required for access to LDAP databases. LWP::Simple Used for retrieving information over the internet, such as real-time UPS rate lookups. Tie::Watch Used to allow setting of watchpoints in catalog.cfg. ExtUtils::MakeMaker Config File::Copy File::Path Safe File::Basename File::Find Data::Dumper Cwd Socket Symbol Carp DB_File Search::Dict Fcntl Exporter Text::ParseWords Getopt::Long Getopt::Std GDBM_File CPAN File::Spec POSIX SDBM_File These are all part of the perl core, if they are missing either they aren't needed by perl on your architecture, or your perl installation is broken. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Wed Dec 19 00:39:00 2001 Subject: [ic] IT WORKS !!! On Tue, Dec 18, 2001 at 08:52:05PM -0800, tburt@timburt.com wrote: > > Wow, somehow seeing IC running on my server is ever more impressive than > viewing the demo site. I don't know why. > It's because there isn't any feeling of accomplishment in the demo site. =) > And most of all... Thank you Mike Heins, wherever you are. Nice work! > Ohio, poor guy. =) -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Wed Dec 19 00:51:01 2001 Subject: [ic] Images question Right, but should it have been correctly copied to the DocRoot instead of a default location? I'm just thinking this may be a small oversight in the makecat script. Seeing how so many people have trouble setting up ic, it would be logical that everything that is supposed to be in docroot would automatically be copied there so one would not have to go back and do post-install file copying. Tom Carroll Dataware Computers ----- Original Message ----- From: "Justin Bonds" <justin@hypertech.net> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, December 18, 2001 9:26 PM Subject: RE: [ic] Images question > Tom - I just copy my interchange folder to the user's web site and then the > images work . . . > > :) Justin > > > > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.com > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Tom > > Carroll > > Sent: Tuesday, December 18, 2001 5:05 PM > > To: interchange-users@interchange.redhat.com > > Subject: [ic] Images question > > > > > > When I ran makecat I told it my DocumentRoot is > > /home/e-smith/files/ibays/dataware/html but when makecat finished > > it copied > > the interchange to the /var/www/html directory. Is there > > something I missed > > or is this hard coded in the makecat script? > > > > Tom > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Wed Dec 19 00:54:00 2001 Subject: [ic] Help with IC setup Thanks Jason, I was working on that list when I saw your message! :) Tom Carroll Dataware Computers From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Wed Dec 19 01:05:01 2001 Subject: [ic] Help with IC setup Jason, thanks for the list. However, may I make two suggestions? Can you format the list something like this to make it easier for a person to understand what they are looking at and what to get? I really work on the KISS (Keep it so simple). If it's too much I can see what I can do. R/O ModuleName RpmName TarName (if any) ----- ------------------ ---------------------------------------------- ------------------------------------------- Description (R) MIME::Base64 perl-MIME-Base64-2.12-1.i386.rpm perl-MIME-Base64-2.12-1.tar.gz Required for the internal HTTP Server. (O) Storable perl-Storable-1.0.11-1.i386.rpm perl-Storable=1.0.11.tar.gz If you have this module session save speed increases by anywhere from 25-60%. Highly recommended for busy systems. Would this be too difficult for you since you are familiar with the modules and whether they are optional or mandatory? Just a thought. Tom Carroll Dataware Computers From: interchange-users at interchange.redhat.com (John Beima) Date: Wed Dec 19 02:11:01 2001 Subject: [ic] Images question This is because you answered the questions that makecat has asked you wrong. If you correctly answer every question, everything winds up where it should. RedHat might consider writing a short quick howto on installing the foundation template. The big thing is however since you can create your own templates, and there is already several templates, the questions that are asked can be different for each template. Which would mean a howto file must be made for each template. Remember the defaults are not defaults, they read your httpd.conf file amoung other things to make "educated guesses". If many domains are listed in that httpd.conf file, the guesses are more often that not, and very understandibly, wrong... John Quoting Tom Carroll <egor@carrollweb.net>: > Right, but should it have been correctly copied to the DocRoot instead > of a > default location? I'm just thinking this may be a small oversight in > the > makecat script. > > Seeing how so many people have trouble setting up ic, it would be > logical > that everything that is supposed to be in docroot would automatically be > copied there so one would not have to go back and do post-install file > copying. > > Tom Carroll > Dataware Computers > > ----- Original Message ----- > From: "Justin Bonds" <justin@hypertech.net> > To: <interchange-users@interchange.redhat.com> > Sent: Tuesday, December 18, 2001 9:26 PM > Subject: RE: [ic] Images question > > > > Tom - I just copy my interchange folder to the user's web site and > then > the > > images work . . . > > > > :) Justin > > > > > > > > > -----Original Message----- > > > From: interchange-users-admin@interchange.redhat.com > > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Tom > > > Carroll > > > Sent: Tuesday, December 18, 2001 5:05 PM > > > To: interchange-users@interchange.redhat.com > > > Subject: [ic] Images question > > > > > > > > > When I ran makecat I told it my DocumentRoot is > > > /home/e-smith/files/ibays/dataware/html but when makecat finished > > > it copied > > > the interchange to the /var/www/html directory. Is there > > > something I missed > > > or is this hard coded in the makecat script? > > > > > > Tom > > > > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (Peter Jakl) Date: Wed Dec 19 02:36:01 2001 Subject: [ic] memory usage In analyzing some speed problems, redhat linux indicates that the interchange process itself is using 204mb of memory. We have a catalog of over 100,000 items. Is this typical? Could some of the speed issues we have be attributed to having a system with 512mb of total memory and each interchange instance requiring 204mb (granted that a good chunk appears to be shared)? TIA, Peter From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Wed Dec 19 03:37:00 2001 Subject: [ic] Images question Hello Tom, Just to let you know, if you get tired of having to re-type a lot of the default info for the location of your files (I'm using a little bit different configuration than most) - you can edit some of the makecat locations so that they default elsewhere. This can be found in the makecat.cfg file located at /usr/lib/interchange/etc/ - you'll edit the base section. Justin > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of John > Beima > Sent: Wednesday, December 19, 2001 1:11 AM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Images question > > > This is because you answered the questions that makecat has asked > you wrong. If > you correctly answer every question, everything winds up where it should. > > RedHat might consider writing a short quick howto on installing > the foundation > template. The big thing is however since you can create your own > templates, and > there is already several templates, the questions that are asked can be > different for each template. Which would mean a howto file must > be made for each > template. > > Remember the defaults are not defaults, they read your httpd.conf > file amoung > other things to make "educated guesses". If many domains are > listed in that > httpd.conf file, the guesses are more often that not, and very > understandibly, > wrong... > > > John > > > Quoting Tom Carroll <egor@carrollweb.net>: > > > Right, but should it have been correctly copied to the DocRoot instead > > of a > > default location? I'm just thinking this may be a small oversight in > > the > > makecat script. > > > > Seeing how so many people have trouble setting up ic, it would be > > logical > > that everything that is supposed to be in docroot would automatically be > > copied there so one would not have to go back and do post-install file > > copying. > > > > Tom Carroll > > Dataware Computers > > > > ----- Original Message ----- > > From: "Justin Bonds" <justin@hypertech.net> > > To: <interchange-users@interchange.redhat.com> > > Sent: Tuesday, December 18, 2001 9:26 PM > > Subject: RE: [ic] Images question > > > > > > > Tom - I just copy my interchange folder to the user's web site and > > then > > the > > > images work . . . > > > > > > :) Justin > > > > > > > > > > > > > -----Original Message----- > > > > From: interchange-users-admin@interchange.redhat.com > > > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > > Tom > > > > Carroll > > > > Sent: Tuesday, December 18, 2001 5:05 PM > > > > To: interchange-users@interchange.redhat.com > > > > Subject: [ic] Images question > > > > > > > > > > > > When I ran makecat I told it my DocumentRoot is > > > > /home/e-smith/files/ibays/dataware/html but when makecat finished > > > > it copied > > > > the interchange to the /var/www/html directory. Is there > > > > something I missed > > > > or is this hard coded in the makecat script? > > > > > > > > Tom > > > > > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > John Beima > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Shane Keene) Date: Wed Dec 19 03:57:01 2001 Subject: [ic] Help with IC setup Personally, although we've gotten way off the subject of this thread, if a response in a thread doesn't include a cc or two I won't even bother reading it. Shane Keene Webmaster Network Computing Devices, Inc. http://www.ncd.com -----Original Message----- From: tburt@timburt.com [mailto:tburt@timburt.com] Sent: Tuesday, December 18, 2001 6:35 PM To: Joachim Leidinger Cc: interchange-users@interchange.redhat.com Subject: Re: [ic] Help with IC setup Probably the reason for not quoting the entire response, is that this thread has been going for 30 or more iterations, and is getting dreadfully long. At some point, you just have to truncate and start again. Changing the Subject line would technically validate the loss of prior posts, but really wouldn't do you any favor in following the line of thought. Indeed, it would be harder to locate the forgoing discussion. You will have to wait for the archives to appear in a few hours.... Sorry! On Wed, 19 Dec 2001, Joachim Leidinger wrote: > Tom Carroll wrote: > > > > Take a look at http://ftp.interchange.redhat.com/perl/ they have 30 perl > > modules listed. I just loaded them all. I have the room and a lack of > > knowledge of what I really need, so I just shoved them all onto the system. > > > > Tom > > And how can a person like me know, for wich case of database (mysql, > oracle, etc.) and so on are required to provide IC well? > > And why did you qouted the whole previus email of tburt@timburt.com? > > ciao > > Joachim Leidinger > > -- -------------------- Timothy Burt Internet Specialist _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Wed Dec 19 04:32:01 2001 Subject: [ic] Help with IC setup Tom Carroll wrote: .... > As for quoting. there are etiquette rules for other forums that I > participate in that ask you to quote the previous message so someone else > wanting to jump in doesn't have to search back numerous posts to find the > original problem. This is right and in this list too! > If that is not allowed here I am sorry. It *is* allowed, but qouting the whole old very very long email is not good or qouting the old emails and writing the own message at the top of the old email is not good too. Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Wed Dec 19 05:28:00 2001 Subject: [ic] Images question E-smith doesn't even use the /var/www/html directory. It's not listed anywhere in my templates for e-smith. One reason is because e-smith is a secure server, so the files have been moved around. I've run makecat more than two dozen times in the last three days. I'm *positive* I entered the information correctly. You can find my answers to the makecat question here http://interchange.redhat.com/archive/interchange-users/2001/msg12196.html If you see where I incorrectly answer the question, please tell me. I'm working on a how-to for other e-smith users. Tom Carroll Dataware Computers From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Wed Dec 19 05:32:03 2001 Subject: [ic] Images question Ah, thanks! My fingers are getting tired... :) > Hello Tom, > > Just to let you know, if you get tired of having to re-type a lot of the > default info for the location of your files (I'm using a little bit > different configuration than most) - you can edit some of the makecat > locations so that they default elsewhere. This can be found in the > makecat.cfg file located at /usr/lib/interchange/etc/ - you'll edit the base > section. > > Justin From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Wed Dec 19 05:35:00 2001 Subject: [ic] Help with IC setup > Tom Carroll wrote: > .... > > As for quoting. there are etiquette rules for other forums that I > > participate in that ask you to quote the previous message so someone else > > wanting to jump in doesn't have to search back numerous posts to find the > > original problem. > > This is right and in this list too! > > > If that is not allowed here I am sorry. > > It *is* allowed, but qouting the whole old very very long email is not > good or qouting the old emails and writing the own message at the top of > the old email is not good too. Sounds good. I'll keep that in mind for future posts. Does this list require the response to be at the beginning, end or mixed within the message? Tom Carroll Dataware Computers From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Wed Dec 19 05:50:00 2001 Subject: [ic] Help with IC setup Jason Kohles wrote: .... > For your benefit, and everyone else who asked for a list, I've attached a > list of every module Interchange can possibly load, and a description of > what you need it for (most of them indicate if they are optional). This > list was accurate in 4.7, if anyone notices any errors let me know and I'll > get it updated before I add the list to the FAQ. .... > ----- LIST STARTS HERE ---- [del the fine list] Thank you a lot! But which modules has Perl 5.6 required? If I install IC, it will install Perl 5.6 from CPAN. How can I prevent that and staying with old Perl 5.005_003? I've no problem to use IC with Perl 5.005! Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (rdilks) Date: Wed Dec 19 06:06:01 2001 Subject: [ic] Sure Trading Nadaq ?? Ahh my cover is blown The "Secure Trading" I refer to is www.securetrading.com and is a payment gateway that has been recommended to us by our merchant bank. Russ From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Wed Dec 19 06:39:01 2001 Subject: [ic] upgrading interchange & foundation files... * sphen wrote on Tue, Dec 18, 2001 at 20:35 -0500: > this is a pretty straight forward question and wondering if anyone knew an > answer. > > my store is based on the foundation template but we have made some changes > to a few files in it. Did you made a copy or cvs checkin before? Then I would recommend that you make a patch by diff -Nur or so and patch it into the new tree. Or you can make a diff over the foundation, i.e. with CVS from the development Repository and patch this into your tree. > the base directory (/usr/local/interchange in my case). Is there a way to > find out what files in the foundation directory actually contain changes > from the last version? With CVS, you need the release Tags of the releases you are useing, then try cvs diff -u -r old_release new_release > old_new.patch but on conflicts, this will fail, so a local Repository with your store may be more easy, depends on your changes, since CVS marks the conflicts in the sources. > are these files that have been updated? if so whats the deal with the > "//.~."?! Maybe this are just some backup files? oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (sphen) Date: Wed Dec 19 09:39:01 2001 Subject: [ic] upgrading interchange & foundation files... on 12/19/01 6:14 AM, Steffen Dettmer at steffen@dett.de wrote: > * sphen wrote on Tue, Dec 18, 2001 at 20:35 -0500: >> this is a pretty straight forward question and wondering if anyone knew an >> answer. >> >> my store is based on the foundation template but we have made some changes >> to a few files in it. > > Did you made a copy or cvs checkin before? Then I would recommend > that you make a patch by diff -Nur or so and patch it into the > new tree. Or you can make a diff over the foundation, i.e. with > CVS from the development Repository and patch this into your > tree. > >> the base directory (/usr/local/interchange in my case). Is there a way to >> find out what files in the foundation directory actually contain changes >> from the last version? > > With CVS, you need the release Tags of the releases you are > useing, then try > cvs diff -u -r old_release new_release > old_new.patch > > but on conflicts, this will fail, so a local Repository with your > store may be more easy, depends on your changes, since CVS marks > the conflicts in the sources. > >> are these files that have been updated? if so whats the deal with the >> "//.~."?! > > Maybe this are just some backup files? > > oki, > > Steffen interesting. i havent been using cvs, only the tar packages. but this is a pretty good idea and would work as far as im concerned. guess ill use cvs now and make a copy so when the next release comes out i can make a patch for it. thanks! sphen From: interchange-users at interchange.redhat.com (alain abraham) Date: Wed Dec 19 09:50:01 2001 Subject: [ic] Soft good : Looking for example Hello, I'm looking for example of interchange shop selling files to d/l. I like to set up a store wich sell mp3 file thru d/l. Especially how run the d/l function of interchange. What append after the customer has paid, is he redirect to a page with a d/l link, an email with a d/l link is send to the user. The d/l link is unique for one customer .... I'm asking me a lots of questions and then looking for people who have experience with this function. Merci par avance Alain From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Dec 19 10:32:01 2001 Subject: [ic] DBI::Proxy and mv/ic Re DBI::Proxy and mv/ic I've been able to use minivend with DBI::Proxy. It required this in the environment before starting: export DBI_AUTOPROXY="hostname=my_db_host;port=3333" And the following changes to catalog.cfg for catalog 'foo' Database products products dbi:mysql:foo: #Database products products dbi:mysql:foo:my_db_host:3306 #Database products USER minivend This assumes that dbiproxy is running on my_db_host as user 'minivend' and listening on port 3333. Rather than a network connection to mysql server on my_db_host, we now use a network connection to dbiproxy on my_db_host. dbiproxy then makes a 'localhost' connection with UNIX socket to 'foo' db, hence the change in dsn, dropping 'my_db_host:3306'. Presumably, s/minivend/interchange/g; cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Wed Dec 19 10:37:01 2001 Subject: [ic] Help with IC setup On Tue, Dec 18, 2001 at 10:05:30PM -0800, Tom Carroll wrote: > Jason, thanks for the list. However, may I make two suggestions? > > Can you format the list something like this to make it easier for a person > to understand what they are looking at and what to get? I really work on > the KISS (Keep it so simple). If it's too much I can see what I can do. > I'll keep that in mind when I update it, actually the reason it's formatted the way it is is that I sucked it out of a little script I wrote, which was intended to check for installed modules and report to you any that were missing or out of date. Unfortunately I've had some problems with automating the CPAN module, so I wasn't ready to share the whole script yet. And I wrote it before these modules started getting distributed as RPMs (not to mention that I rarely use the rpms =)), so I'll add that information to the list in the future as well. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Wed Dec 19 10:41:00 2001 Subject: [ic] Help with IC setup On Wed, Dec 19, 2001 at 02:33:34AM -0800, Tom Carroll wrote: > > Sounds good. I'll keep that in mind for future posts. > > Does this list require the response to be at the beginning, end or mixed > within the message? > In general you should keep the format in the same way humans have communicated for thousands of years =). Question first, then answer. Many people on the list will not even bother to read messages that make it too difficult to figure out what is going on... -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (scott d medlock - network engineer) Date: Wed Dec 19 10:44:41 2001 Subject: [ic] affiliate tracking & foundation Have been working with a new installation based upon the foundation demo... Have it 100% with one notable exception.... Affiliate Tracking. It is a generic foundation template with only html changes (colors, etc.) Have affiliates in the database... The goal is to: 1) Have http://www.whatever.com/store.cgi?mv_pc=10301 style URL's. 2) Track All order by affiliate # No timeouts, No coupons. 3) Have affiliate # show up in PGP emailed orders. Has anyone done this with foundation? Have a simple set of what to edit and where? I'm a decent enough code jockey if I know what I'm looking for and where. Scott From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Wed Dec 19 10:47:56 2001 Subject: [ic] Help with IC setup On Wed, Dec 19, 2001 at 10:36:47AM +0100, Joachim Leidinger wrote: > > Thank you a lot! But which modules has Perl 5.6 required? If I install > IC, it will install Perl 5.6 from CPAN. How can I prevent that and > staying with old Perl 5.005_003? I've no problem to use IC with Perl > 5.005! > You can avoid this by upgrading the CPAN module first. This is an old bug, and current versions of CPAN.pm will not automatically upgrade perl, instead they will tell you "That module is part of perl-5.whatever, I will not install it unless you say 'force install Some::Module'." -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Dec 19 11:10:00 2001 Subject: [ic] dealer and dealer pricing default, again Quoting Paul Jordan <jordan@gishnetwork.com>: > I am trying to have a person be set as a dealer in userdb.txt. When > people > "sign up" they use the account.html page that accesses the userdb.txt > values. I want everybody that "signs up" with this form to be set as a > "dealer" and at "dealer pricing". I am using a converted account.html > from > foundation. > > To give you an idea of what I need to accomplish: > > <INPUT TYPE=hidden NAME=dealer VALUE=yes> > > <INPUT TYPE=hidden NAME=dealer VALUE=1> > > <INPUT TYPE=text NAME=dealer VALUE="[name=dealer value=1]"> > > I have tried a dozen others, however they seem embarrasing to post :) I > have > tried adjusting different settings in the ADMIN for dealer also but no > combination seems to work. I have searched the post archive but came > up > empty handed, probably because I think most people select a dealer > manually > in ADMIN. We have an odd pricing structure, that needs to assume that > if > someone is logged in, that they are in fact a dealer. Am I missing > something? I am a newbie, yes, but it seems that if I can control the > other > fields, I should be able to control "dealer", no? Can I only edit "SOME" > of > the fields? > > IC 4.8.1 Apache > > Thanks all, and sorry for the second post but I am completely stumped > with > this, nothing I have tried the past two days has worked. > > Paul Jordan Userdb.txt is just a source file for the initial build of the userdb table - the actual data to be used by Interchange will be in a binary file (userdb.gdbm is most common) or in an SQL database, depending upon how you configured your catalog. So if an account is successfully flagged as a dealer, you will not see that change in userdb.txt unless you export the userdb table (using the tools in the admin area) after the fact. I'm guessing that this is what is tripping you up? Otherswise it appears that you are doing what you need to. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Dec 19 11:17:00 2001 Subject: [ic] Images question Quoting Tom Carroll <egor@carrollweb.net>: > Ah, thanks! My fingers are getting tired... :) > > > Hello Tom, > > > > Just to let you know, if you get tired of having to re-type a lot of > the > > default info for the location of your files (I'm using a little bit > > different configuration than most) - you can edit some of the > makecat > > locations so that they default elsewhere. This can be found in the > > makecat.cfg file located at /usr/lib/interchange/etc/ - you'll edit > the > base > > section. > > > > Justin And/or use symlinks - they are a surival technique when working on IC stuff, as far as I am concerned :-) - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Steve Graham) Date: Wed Dec 19 11:21:01 2001 Subject: [ic] admin UI theme.cfg Hello, IC 4.8.3 I can change the theme.cfg for the web store pages, but where are the backgrounds, link colors etc for the admin pages? Thanks, Steve _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Dec 19 11:43:01 2001 Subject: [ic] Soft good : Looking for example > Hello, > > I'm looking for example of interchange shop selling files to d/l. > > I like to set up a store wich sell mp3 file thru d/l. > > Especially how run the d/l function of interchange. What > append after the > customer has paid, is he redirect to a page with a d/l link, > an email with a > d/l link is send to the user. The d/l link is unique for one > customer .... > > I'm asking me a lots of questions and then looking for people who have > experience with this function. > > Merci par avance > > Alain FAQ bin/makecat reports HAND Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Dec 19 11:50:00 2001 Subject: [ic] Help with IC setup > > It *is* allowed, but qouting the whole old very very long > email is not > > good or qouting the old emails and writing the own message > at the top of > > the old email is not good too. > > Sounds good. I'll keep that in mind for future posts. > > Does this list require the response to be at the beginning, > end or mixed > within the message? > > Tom Carroll <interchange-users guidelines> -- Contextual quoting is preferred, i.e. Quoting user1 (<user1@somedomain.redhat.com>): > Some limited text that will give context. > Your reply. versus Your reply, lazily put at the top. Quoting user1 (<user1@somedomain.redhat.com>): > The whole big blob of the previous posts, including > signatures and all In fact, the author of the program stops following a thread the moment this lazy quoting method is used. He figures that if you can't take half a minute of your time to save multiple minutes of the readers time, the heck with ya. </interchange-users guidelines> While I think replying at the beginning is clearly unfavored, I replies mixed within the message should be fine (since they are really just multiple replies each at the end of a quoted block). HAND, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Georgi Shablovsky) Date: Wed Dec 19 11:52:56 2001 Subject: [ic] Buy now or Buy list buttons work differently if... We found small but somewhat annoying "function" of 'Buy now' and 'Buy list' buttons... ... If on search results page you clicked on item link (to display flypage), after that clicked 'Back button', and then tried entering quantiteis and clicking 'Buy list' button... Instead of refreshing the page and showing small cart (cart_display) on top of the page, product detail page is displayed, with default quantity displayed. Although cart quantity is updated OK, it might be misleading for the user to get to the product detail page, especially if they enetered quatities for several items and pressed 'Buy list' button. Has anyone addressed this? I would be grateful for any suggestions. Thanks! Georgi Shablovsky http://midhudsonmedia.com From: interchange-users at interchange.redhat.com (Steve Thomas) Date: Wed Dec 19 11:59:01 2001 Subject: [ic] admin UI theme.cfg They are in the theme.cfg ----- Original Message ----- From: "Steve Graham" <dtlgc@hotmail.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, December 19, 2001 4:09 PM Subject: [ic] admin UI theme.cfg > Hello, > IC 4.8.3 > > I can change the theme.cfg for the web store pages, but where are the > backgrounds, link colors etc for the admin pages? > > Thanks, > Steve > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Wed Dec 19 12:08:14 2001 Subject: [ic] Help with IC setup Jason Kohles wrote: > > On Wed, Dec 19, 2001 at 10:36:47AM +0100, Joachim Leidinger wrote: > > > > Thank you a lot! But which modules has Perl 5.6 required? If I install > > IC, it will install Perl 5.6 from CPAN. How can I prevent that and > > staying with old Perl 5.005_003? I've no problem to use IC with Perl > > 5.005! > > > You can avoid this by upgrading the CPAN module first. This is an old bug, > and current versions of CPAN.pm will not automatically upgrade perl, instead > they will tell you "That module is part of perl-5.whatever, I will not > install it unless you say 'force install Some::Module'." Ah! Hmmm...I'm not sure. How can I install the newest CPAN.pm? Thank you a lot! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Peter Jakl) Date: Wed Dec 19 12:11:00 2001 Subject: [ic] speed problem The site I created had some serious speed problems. I added a time stamp to the output produced by "logDebug" in the source code and activated some of them to isolate where time is begin spent. It turns out the from the time stamp on the [query...] below to the ending [/query] takes 3 full seconds. It's not the actual "select ...". After removing the select to test that, there was no delay. The delay is strictly within the [options][/options] tags. This is version 4.6.5. Any ideas? [query prefix=attr list=1 list_prefix=options st=db sql=| select distinct [loop-code] from tpcat as a where tblid='t[scratch catid]' and [loop-code] is not null [scratch acond] order by [loop-code] | ] <select onChange="submit()" name="[loop-code]"> <option value="">Any</option> [options] [seti vattr][attr-code][/seti] [seti vcode][cgi [loop-code]][/seti] [if type="explicit" condition="$Scratch->{vattr} eq $Scratch->{vcode}"] [tmp selected]selected[/tmp] [/if] <option [either][scratchd selected][/either] value="[scratch vattr]">[attr-code]</option> [/options] </select> [/query] Peter From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Wed Dec 19 12:31:01 2001 Subject: [ic] Re: interchange-users digest, Vol 1 #804 - 59 msgs "Tom Carroll" <egor@carrollweb.net> wrote (among other things): When I ran makecat I told it my DocumentRoot is /home/e-smith/files/ibays/dataware/html but when makecat finished it copied the interchange to the /var/www/html directory. Is there something I missed or is this hard coded in the makecat script? John Beima <jbeima@palb.com> wrote: This is because you answered the questions that makecat has asked you wrong. If you correctly answer every question, everything winds up where it should. Bzzzt. Sorry, John. This is a bug in makecat. I know, I reported it here about a month ago. I reinstalled foundation three or four times, each time changing /var/www/html to the appropriate directory -- once changing it manually, another time hitting the up arrow and getting the correct /home/httpd/html, another time trying a completely unrelated directly that doesn't appear in httpd.conf at all. In EVERY CASE the graphics were installed into /var/www/html -- the consensus on the list at that point is that makecat is using the default always and is broken. Tom, I'm sure you did the right thing and makecat used the default value instead. It isn't your fault, makecat is broken. IMHO, this is a classic example of a bug that bites newbies and encourages them to ask questions here that have been asked a lot before. If you do a search on the archives, you'll see that literally dozens of people have asked on this mailing list how to fix broken graphics and the two answers given are 1) make sure permissions are right and 2) make sure the graphics are in the right place. If makecat took care of both of these, we'd be able to spend our time on more complex questions... <<I'd offer a patch, but makecat is awfully confusing to read.>> -- Bob From: interchange-users at interchange.redhat.com (alain abraham) Date: Wed Dec 19 12:33:56 2001 Subject: [ic] Soft good Does somebody know when I can give the ability to a customer to buy a product by regular mail when interchange in confiurate with bin/makecat reports ?? Merci Alain From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Wed Dec 19 12:37:01 2001 Subject: [ic] Help with IC setup On Wed, Dec 19, 2001 at 06:00:49PM +0100, Joachim Leidinger wrote: > Jason Kohles wrote: > > > > On Wed, Dec 19, 2001 at 10:36:47AM +0100, Joachim Leidinger wrote: > > > > > > Thank you a lot! But which modules has Perl 5.6 required? If I install > > > IC, it will install Perl 5.6 from CPAN. How can I prevent that and > > > staying with old Perl 5.005_003? I've no problem to use IC with Perl > > > 5.005! > > > > > You can avoid this by upgrading the CPAN module first. This is an old bug, > > and current versions of CPAN.pm will not automatically upgrade perl, instead > > they will tell you "That module is part of perl-5.whatever, I will not > > install it unless you say 'force install Some::Module'." > > Ah! Hmmm...I'm not sure. How can I install the newest CPAN.pm? > You can either download it from the CPAN website (www.cpan.org) and install it by hand, or try using the CPAN.pm you have to upgrade, I don't think upgrading CPAN alone will upgrade perl, but you might keep an eye on it to be sure... -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jonathan Melhuish) Date: Wed Dec 19 14:40:00 2001 Subject: [ic] Storing additional checkout fields in the database On Tuesday 18 December 2001 17:59, you wrote: > On Tue, Dec 18, 2001 at 05:39:10PM -0500, Jonathan Melhuish wrote: > > On Monday 17 December 2001 17:04, you wrote: > > > > Has anybody ever thought of making a 'file map' for Interchange that > > > > I could blow up really big and stick on my wall? It's just that this > > > > system is so huge, I find it quite difficult to find my way around! > > > > > > I have a start on one, maybe I can turn it into a poster after I get > > > back to the office... > > > > Yeah, or bung it in a PDF so I can take a look - This is Open Source, > > after all ;-) > > The problem isn't so much the format, it's that I don't have time to finish > it until after my current project ends. =) Okay, no rush. Just put it on the "Wish List" and email me when you've got something to send me... Jon From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Wed Dec 19 14:49:01 2001 Subject: [ic] Re: interchange-users digest, Vol 1 #804 - 59 msgs > "Tom Carroll" <egor@carrollweb.net> wrote (among other things): > > When I ran makecat I told it my DocumentRoot is > /home/e-smith/files/ibays/dataware/html but when makecat finished it copied > the interchange to the /var/www/html directory. Is there something I missed > or is this hard coded in the makecat script? > > John Beima <jbeima@palb.com> wrote: > > This is because you answered the questions that makecat has asked > you wrong. If you correctly answer every question, everything winds > up where it should. > > Bzzzt. Sorry, John. > > This is a bug in makecat. > > I know, I reported it here about a month ago. I reinstalled > foundation three or four times, each time changing /var/www/html to > the appropriate directory -- once changing it manually, another time > hitting the up arrow and getting the correct /home/httpd/html, another > time trying a completely unrelated directly that doesn't appear in > httpd.conf at all. In EVERY CASE the graphics were installed into > /var/www/html -- the consensus on the list at that point is that > makecat is using the default always and is broken. > > Tom, I'm sure you did the right thing and makecat used the default > value instead. It isn't your fault, makecat is broken. > > IMHO, this is a classic example of a bug that bites newbies and > encourages them to ask questions here that have been asked a lot > before. If you do a search on the archives, you'll see that literally > dozens of people have asked on this mailing list how to fix broken > graphics and the two answers given are 1) make sure permissions are > right and 2) make sure the graphics are in the right place. If > makecat took care of both of these, we'd be able to spend our time on > more complex questions... > > <<I'd offer a patch, but makecat is awfully confusing to read.>> Thanks Bob. Maybe some day when I have some time I'll take a look at makecat and correct it. At least I think my sanity remains intact! :) Tom Carroll Dataware Computers From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Dec 19 15:17:01 2001 Subject: [ic] More problems with Spreadsheet Export So I got to the point of getting the spreadsheet export to work, but now the resulting spreadsheet has the "comment" field of the products table cut off at 255 characters, even if I select the maximum value for the string length (something like 16468 characters). Actually it's not cut off, really, but replaced with unprintable characters. Anyone seen this behavior and/or have any ideas? I'm off to look in the perl code for where this actually occurs to see if there's something obvious. Patrick From: interchange-users at interchange.redhat.com (Steve Graham) Date: Wed Dec 19 16:18:01 2001 Subject: [ic] admin UI colors >From: "Steve Thomas" <steve@moddepot.com> >They are in the theme.cfg Are you using 4.8.3? I have listed the partial contents of theme.cfg, and none of these control the color scheme in the admin UI. The only reason I even care about the UI is that some of the selections at the top of the screen are so dark I can't read them. The following is found in the admin colors section, and called BAR_LINK_TEMPLATE where I would assume the color scheme is located, but I haven't been able to track it down: (here is the value) <A HREF="$URL$" CLASS="barlink">$ANCHOR$</A> - any other suggestions >From theme.cfg in foundation 4.8.3 # Define some colors and fonts Variable BACKGROUND #FFFFFF Variable LINK #993333 Variable LINKHOVER #FF3333 Variable LINKDECO underline Variable LINKHOVERDECO underline Variable MAINCONTENT_TEXT #000000 Variable MAINCONTENT_BG #FFFFFF Variable MAINCONTENT_FONT Helvetica Variable MAINCONTENT_FONTSIZE 12px Variable MAINCONTENT_WEIGHT normal Variable CONTENTBAR1 #DDDDDD Variable CONTENTBAR2 #BBBBBB Variable CATEGORYBAR_TEXT #FFFFFF Variable CATEGORYBAR_BG #999999 Variable CATEGORYBAR_FONT Helvetica Variable CATEGORYBAR_FONTSIZE 11px Variable CATEGORYBAR_WEIGHT normal Variable CATEGORYBAR_LINK #FFFFCC Variable CATEGORYBAR_LINKHOVER #FFFFCC Variable CATEGORYBAR_LINKDECO none Variable CATEGORYBAR_HOVERDECO underline Variable MENUBAR_TEXT #FFFFFF Variable MENUBAR_BG #999999 Variable MENUBAR_FONT Helvetica Variable MENUBAR_FONTSIZE 11px Variable MENUBAR_WEIGHT normal _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From: interchange-users at interchange.redhat.com (Jonathan Melhuish) Date: Wed Dec 19 16:29:00 2001 Subject: [ic] upgrading interchange & foundation files... > interesting. i havent been using cvs, only the tar packages. but this is > a pretty good idea and would work as far as im concerned. guess ill use > cvs now and make a copy so when the next release comes out i can make a > patch for it. thanks! Is there an even simpler way of updating the bits of the foundation store that I haven't changed but the developers have? Do the stores actually change a great deal, or is it mainly the server bit that changes? All answers in newbie-speak, please ;-) Jon From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Wed Dec 19 20:57:01 2001 Subject: [ic] More problems with Spreadsheet Export Patrick, When running the Store Wizard and using an Excel file to input, I get nearly the same end result as you. I just discovered it a couple of nights ago. Now, in my situation - it actually cuts off the text. At present, I don't have a fix or anything like that and will probably just look at using another technique. But, I did want to let you know that I have experienced something similar. :) Justin > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > patrick.bennett@ccgenesis.com > Sent: Wednesday, December 19, 2001 2:16 PM > To: interchange-users@interchange.redhat.com > Subject: [ic] More problems with Spreadsheet Export > > > So I got to the point of getting the spreadsheet > export to work, but now the resulting spreadsheet > has the "comment" field of the products table > cut off at 255 characters, even if I select the > maximum value for the string length (something > like 16468 characters). Actually it's not cut > off, really, but replaced with unprintable > characters. Anyone seen this behavior and/or have > any ideas? > > I'm off to look in the perl code for where this > actually occurs to see if there's something > obvious. > > Patrick > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Steve Graham) Date: Wed Dec 19 21:14:01 2001 Subject: [ic] admin UI colors-found Just a note in case anyone else needs this info the UI colors are set in catalog_before.cfg file, in the directory where interchange.cfg resides. -Steve >From: "Steve Graham" <dtlgc@hotmail.com> >Reply-To: interchange-users@interchange.redhat.com >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] admin UI colors >Date: Wed, 19 Dec 2001 21:06:08 > >>From: "Steve Thomas" <steve@moddepot.com> >>They are in the theme.cfg > >Are you using 4.8.3? > >I have listed the partial contents of theme.cfg, and none of these control >the color scheme in the admin UI. The only reason I even care about the UI >is that some of the selections at the top of the screen are so dark I can't >read them. >The following is found in the admin colors section, and called >BAR_LINK_TEMPLATE where I would assume the color scheme is located, but I >haven't been able to track it down: (here is the value) ><A HREF="$URL$" CLASS="barlink">$ANCHOR$</A> > >- any other suggestions > >From theme.cfg in foundation 4.8.3 ># Define some colors and fonts >Variable BACKGROUND #FFFFFF >Variable LINK #993333 >Variable LINKHOVER #FF3333 >Variable LINKDECO underline >Variable LINKHOVERDECO underline >Variable MAINCONTENT_TEXT #000000 >Variable MAINCONTENT_BG #FFFFFF >Variable MAINCONTENT_FONT Helvetica >Variable MAINCONTENT_FONTSIZE 12px >Variable MAINCONTENT_WEIGHT normal >Variable CONTENTBAR1 #DDDDDD >Variable CONTENTBAR2 #BBBBBB >Variable CATEGORYBAR_TEXT #FFFFFF >Variable CATEGORYBAR_BG #999999 >Variable CATEGORYBAR_FONT Helvetica >Variable CATEGORYBAR_FONTSIZE 11px >Variable CATEGORYBAR_WEIGHT normal >Variable CATEGORYBAR_LINK #FFFFCC >Variable CATEGORYBAR_LINKHOVER #FFFFCC >Variable CATEGORYBAR_LINKDECO none >Variable CATEGORYBAR_HOVERDECO underline >Variable MENUBAR_TEXT #FFFFFF >Variable MENUBAR_BG #999999 >Variable MENUBAR_FONT Helvetica >Variable MENUBAR_FONTSIZE 11px >Variable MENUBAR_WEIGHT normal > > > > > > >_________________________________________________________________ >Chat with friends online, try MSN Messenger: http://messenger.msn.com > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. From: interchange-users at interchange.redhat.com (Peter Hicks) Date: Wed Dec 19 21:25:01 2001 Subject: [ic] More problems with Spreadsheet Export On Wednesday 19 December 2001 17:54, Justin Bonds wrote: > Patrick, > > When running the Store Wizard and using an Excel file to input, I get > nearly the same end result as you.   I just discovered it a couple of > nights ago. Now, in my situation - it actually cuts off the text. > > At present, I don't have a fix or anything like that and will probably just > look at using another technique.  But, I did want to let you know that I > have experienced something similar. > > :)  Jus I believe this is a limit of Excel or the Excel file format. -Peter From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Wed Dec 19 21:46:01 2001 Subject: [ic] More problems with Spreadsheet Export On Wed, Dec 19, 2001 at 06:24:51PM -0800, Peter Hicks wrote: > On Wednesday 19 December 2001 17:54, Justin Bonds wrote: > > Patrick, > > > > When running the Store Wizard and using an Excel file to input, I get > > nearly the same end result as you.   I just discovered it a couple of > > nights ago. Now, in my situation - it actually cuts off the text. > > > I believe this is a limit of Excel or the Excel file format. > Yes, it is, Excel has a limit of 256 characters per cell. Although they don't publicize this, you can usually find references to it in non-Excel related documentation, such as this from an Exchange guide: Important Microsoft Excel and other spreadsheet programs have a 256-character limit per cell. The proxy-addresses field can have more than 256 characters. Do not import the directory export file into Microsoft Excel or any other spreadsheet with this limitation because any characters beyond the first 256 are truncated and lost without warning. Use a database program such as Microsoft Access or Microsoft Visual FoxPro(tm) to get around this limitation. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Wed Dec 19 21:57:00 2001 Subject: [ic] More problems with Spreadsheet Export Thanks - that would explain it. Oh well, I didn't need the other 6000 characters anyway. It's funner to just re-type everything. Sure . . . . Thanks for the explanation Peter and Jason. :) Justin > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Jason Kohles > Sent: Wednesday, December 19, 2001 8:46 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] More problems with Spreadsheet Export > > > On Wed, Dec 19, 2001 at 06:24:51PM -0800, Peter Hicks wrote: > > On Wednesday 19 December 2001 17:54, Justin Bonds wrote: > > > Patrick, > > > > > > When running the Store Wizard and using an Excel file to input, I get > > > nearly the same end result as you.   I just discovered it a couple of > > > nights ago. Now, in my situation - it actually cuts off the text. > > > > > I believe this is a limit of Excel or the Excel file format. > > > Yes, it is, Excel has a limit of 256 characters per cell. Although they > don't publicize this, you can usually find references to it in non-Excel > related documentation, such as this from an Exchange guide: > > Important > Microsoft Excel and other spreadsheet programs have a 256-character > limit per cell. The proxy-addresses field can have more than 256 > characters. Do not import the directory export file into Microsoft > Excel or any other spreadsheet with this limitation because any > characters beyond the first 256 are truncated and lost without > warning. Use a database program such as Microsoft Access or Microsoft > Visual FoxPro(tm) to get around this limitation. > > -- > Jason Kohles jkohles@redhat.com > Senior System Architect (703)786-8036 (cellular) > Red Hat Professional Consulting (703)456-2940 (office) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Thu Dec 20 01:46:00 2001 Subject: [ic] Kevin Walsh, Thanks, another question?? I took your advice and set the dealer value like you said in new_account.html instead of account.html. It works great. I need to do the same for the price_level, I would like to set that as dealer too. I tried [set price_level]dealer[/set] but it did not work. Where can I find a list of what variables the scratch has available? If I new what was in the scratch, maybe I could set it myself. Thanks Kevin, I spent 12 hours tring to input that inside the form. You sure saved lot's of hair pulling! Paul Jordan From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Thu Dec 20 02:08:01 2001 Subject: [ic] Plesk/Interchange/MySQL Draft Installation Directions The following are my draft installation directions (which have required three installations - so it's either finished or NEARLY complete) for getting the versatile e-commerce application Red Hat Interchange (http://interchange.redhat.com) and the easy-to-use web hosting software - Plesk (http://www.plesk.com) working together with MySQL as the database. The configuration that I'm describing is based on Red Hat Linux 7.1, Red Hat Interchange 4.8.3 and Plesk 2.x with the available patches. Red Hat Linux and Interchange can be freely downloaded and Plesk can as well - but anything past 1 domain license requires a Key which may be purchased directly from Plesk. However, multiple Interchange stores can run under one domain name. In addition, I'm running an AMD 500 MHZ system with 384 MB RAM. Many of these directions may sound basic (I've basically just copied my installation notes and so, of course, change the settings to your time zone and language) - but I've tried to give you as many details about my installation so as to avoid possible problems. Prior to installation, you should download Red Hat Linux 7.1 from http://www.redhat.com/ - Plesk Version 2.0 Standard (and the available STANDARD patches) from http://www.plesk.com/ - along with all of the files that I used to install the required CPAN modules, Interchange applications, etc. from http://www.hypertech.net/justin/interchange.zip NOTE: This is, as you can see, in zip format and so I find it easier to download it to a MS Windows machine, unzip it using http://www.winzip.com/ and then burn all of the files within it (leave the tar files as is) along with the Plesk downloads (Remember - download the Plesk STANDARD 2.x installation and patches (they will say standard)) to a CD. - Place the Red Hat Linux 7.1 CD into the computer and power on the system. - Choose Enter to install new Red Hat version - Choose English and next - Choose Keyboard options and next - Choose Mouse options and next - Choose next to the Welcome screen - Choose Server and then next - Choose Automatic partition and next - Uncheck DHCP, leave Activate on boot checked - Type the TCP/IP address that you want to use - example 12.22.23.30 - Type the NetMask - many times it is in the form 255.255.255.0 - Enter the Network - example 12.22.23.0 - Enter the Broadcast - example 12.22.23.255 - Enter the Hostname - example interchange - Enter the Gateway - example 12.22.23.1 - Enter the Primary and Secondary DNS - (ask your Administrator for the Name Servers) - Ternary - may be left blank - Next - Choose No firewall and Next - Choose English (USA) and Next - Choose Time and Next - Enter Root password and Confirm password - Enter an Account Name such as Administrator, the Full Name of the Administrator with a password and then confirm the password, Next - Choose X Windows System, GNOME, Samba Server (useful for talking with MS Windows), and choose the Select Individual Packages option and Next - Choose Applications, File, and Tree - Choose Applications, System and Samba-Swat - Next - Choose Video card and next - Choose Monitor (default works a lot of times) and Next - Choose Color and Screen Resolution, Login- Graphical, Test Setting to make sure monitor/video card settings work and Next - Next to install the files - When asked, stick in Red Hat Linux Disk #2 - Choose skip boot creation and click Next - Choose Exit and when it reboots, remove CD - Login with root and then the password - Place the CD with the burned files (mentioned at the top) into the CD-ROM and GNOME should open the CD with all of the files listed. Copy all of these files to the /root directory. - Open GNOME terminal - Start, Programs, System, GNOME Terminal and make sure you're in the /root directory - Install the Plesk files - the main program first, of course, and then the patches in order. To install these Plesk files, you may have to type tar -xf filenamehere and press Enter and then run gzip -d filenamehere.gz and Enter and then install the file using sh filenamehere.sh - Now, we're gonna install some of the other files using GNORPM - Go to Programs, System, GNORPM, Install, Add, /root, add all RPM files and choose install - the system should install all RPM files (note any errors - on mine there weren't any - at least not when using the files mentioned previously from my download file - there were with some of the files downloaded from Interchange - but these have been removed from my zipped copy and others put in their place) - Install MD5 as listed below - Open the GNOME terminal - Start, Programs, System, GNOME Terminal and make sure you're in the /root dir - Type tar -xzvf MD5filename.tar.gz and Enter - Type cd MD5directoryname and then Enter - Type perl Makefile.PL and then Enter - Type make install and then Enter - Wait until the command prompt and do the above (just like you did for MD5 - only change the file names to match the appropriate files) for NetSSL, Data-Show Table, DBI (after running the install, be sure to remove the created folder in /root before installing DBD) and DBD (note - when untarred - this creates a folder that starts with Msql - in addition - when you run the Makefile.PL or the make install for DBD (I forget which one) - it will ask a few questions - this is what I answered - 1 for MySQL, Yes for emulation, when asked for directory - tell it /usr/local/psa/mysql and then Enter for any other questions) - Restart the computer and ignore any failed error messages during the Shutdown - Login as root and the password - Open Netscape and browse to the https://ipaddressofcomputer:8443 and type in admin and then setup and choose Login. Enter all of the information requested - Add 1 more IP Address to the Server section (this is required if you want to use an SSL certificate. All domains wanting an SSL certificate will require a separate IP Address). Choose Server, IP Aliasing and then enter an additional IP address. example 12.22.23.31 and the subnet will probably be 255.255.255.0 - Choose Server, Change Password and type in the old Password and then the new Password - Go ahead and setup a new Client - Clients, New Client - After completing the above, click on Domains and the domain name that you added in the Client will be shown. Click on it and then choose Hosting, Physical, Next, fill in the info and then choose all of the available options except Frontpage Support and choose Update. - Choose Databases, type in a database name (such as foundation), choose Add, type a user name (such as test) and a password (such as password) and then save the settings. - Go back to the Domain main menu, choose Preferences, change disk space to whatever you'd like, set emails to forward to an email address and choose Update. Remember!!! Whomever your Registrar is (such as Verisign/Network Solutions, OpenSRS) will need 24 to 48 hours to update the name server information before you're able to view your page using your domain name (just tell the registry the ip address that you entered when you first installed Red Hat for the Name Server address. If they need another, too - just enter the domain name ip address as well - all of this info is edited via the Control Panel of your Registrar - Verisign, etc.) You can still view your domain via the ip address that you set in the Hosting section of Plesk . - Log out of Plesk - Although this step isn't necessary (the way that we're doing things - I prefer that you set it up) - Make a symbolic link to the mysqladmin file by opening up /usr/local/psa/mysql/bin in the Directory Explorer (for lack of a better term - basically just open the Home Directory found on the desktop and type in the above - removing /root) - Right click on mysqladmin, choose Symlink and type in /usr/bin/mysqladmin - To make it easier, we need to disable SUEXEC by opening the GNOME terminal and typing: chmod u-s /usr/local/psa/apache/bin/suexec - We're gonna make a catalog now - Programs, System, GNOME terminal - type cd /usr/lib/interchange - type ./bin/makecat - Catalog Name: foundation - If asked, tell path to httpd.conf: /usr/local/psa/apache/conf - Server Name: If your page can be pulled up by the domain name, then type www.domainname.com (the domain that you entered into Plesk). If it can't, use the ip address for the domain name that you set up in the Hosting section of Plesk. - Demo Type: foundation - permtype: M - Interchange User: interch - CatUser: interch - Interchange Group: interch - MailOrder To: youremailaddress@whatever.com - CatRoot: /var/lib/interchange/foundation - Cgidir: /usr/local/psa/home/vhosts/yourdomain.com/cgi-bin (Note: Use the domain name that you entered for the domain created in Plesk - don't use the IP Address) - CgiUrl: /cgi-bin/foundation - Aliases: /foundation - Document Root: /usr/local/psa/home/vhosts/yourdomain.com/httpdocs - SampleHTML: /usr/local/psa/home/vhosts/yourdomain.com/httpdocs/foundation - ImageDir: /usr/local/psa/home/vhosts/yourdomain.com/httpdocs/foundation/images - ImageUrl: /foundation/images - UNIX Mode - CgiWrap: n for NO - Company Name: Foundation Store - Sample Data: tools - MySQL, etc.: 1 - MySQL: 1 - Database: Enter database name created in Plesk - example mentioned previously was foundation - DBI DSN: dbi:mysql:foundation (it should automatically put in this) - Username for MySQL: Enter Database User Name used in Plesk - example was test - Password for MySQL: Enter Database Password used in Plesk - example was password - Set to 1= 1 - Additional Options: -u databaseusername -p (example was test) - Account Name: interch - Admin Pass: pass - Set to 1 for demohelper: 1 - run mysqladmin . . .: y - the above should return an error saying the database already exists since we created it in Plesk - it's ok - run "sh . . . makedirs": y - run "sh . . . installsample": y - Add catalog to interchange.cfg: y - It should return you to a command prompt. To complete the catalog, we need to restart Interchange. Type the following at the command prompt: su -c "/usr/lib/interchange/bin/interchange -r" interch - You may receive an error - just ignore. This process usually adds the required table to the MySQL database - Now, from my experience - after doing the above - the catalog doesn't work. I generally have to type in the following when the above is finished: /etc/rc.d/init.d/interchange restart - You can view your catalog by typing in the following: http://thecatalogipaddress/catalogname In other words, for the previous examples - we used: http://12.22.23.31/foundation - but your IP address will be the IP Address entered into the hosting section within Plesk NOTES: -AuthorizeNet is easily supported in this configuration. You can search the archives at http://interchange.redhat.com/ for info (that I posted previously) about getting AuthorizeNet to work (note - ignore the files that I mentioned within the posted document - they have already been installed above). If AuthorizeNet doesn't work - re-install the NetSSL mentioned previously. -If the catalog doesn't pull up, make sure that the tables were created when you restarted Interchange. You can check this by logging into Plesk, clicking on the Domain Name, choosing Database, the database name, clicking on PHPADMIN and looking for tables. If they aren't there, it's probably due to an error with the DBD, DBI and ShowTables modules that we untarred and ran previously. Try re-installing those, restarting the computer and then using the previously two mentioned commands above to restart Interchange. -If the images don't show up in the Administrator section of Interchange, you can copy the Interchange folder from /var/www/html to /usr/local/psa/home/vhosts/yourdomainname.com/httpdocs and that should correct the problem. :-) Justin Keywords: Plesk, Interchange, Authorize.Net, installation directions, newbie, blah blah blah From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Thu Dec 20 03:26:00 2001 Subject: [ic] memory usage > In analyzing some speed problems, redhat linux indicates that the > interchange process itself is using 204mb of memory. We have a catalog > of over 100,000 items. Is this typical? Could some of the speed issues > we have be attributed to having a system with 512mb of total memory and > each interchange instance requiring 204mb (granted that a good chunk > appears to be shared)? > Are you sure that's 204MB and not 20.4MB? The memory usage you are seeing would not be typical. How are you measuring that amount? -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Thu Dec 20 03:36:01 2001 Subject: [ic] affiliate tracking & foundation > Have been working with a new installation based upon the foundation demo... > Have it 100% with one notable exception.... Affiliate Tracking. > > It is a generic foundation template with only html changes (colors, etc.) > > Have affiliates in the database... > > The goal is to: > > 1) Have http://www.whatever.com/store.cgi?mv_pc=10301 style URL's. > 2) Track All order by affiliate # No timeouts, No coupons. > 3) Have affiliate # show up in PGP emailed orders. > > Has anyone done this with foundation? Have a simple set of what to edit and > where? I'm a decent enough code jockey if I know what I'm looking for and > where. > You said you are using the Foundation demo, so this should all be built in. The order email sent to you will have what's referred to by default as a "Lead Source". This is your mv_pc (affiliate ID) number. This ID will also be saved in the transactions table in the "affiliate" column. You can use the [data session source] tag if you want to use this ID elsewhere. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Thu Dec 20 03:42:01 2001 Subject: [ic] admin UI theme.cfg > I can change the theme.cfg for the web store pages, but where are the > backgrounds, link colors etc for the admin pages? > The admin settings are in the catalog_before.cfg file. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Thu Dec 20 04:06:01 2001 Subject: [ic] Kevin Walsh, Thanks, another question?? > I took your advice and set the dealer value like you said in > new_account.html instead of account.html. It works great. I need to do the > same for the price_level, I would like to set that as dealer too. I tried > [set price_level]dealer[/set] but it did not work. Where can I find a list > of what variables the scratch has available? If I new what was in the > scratch, maybe I could set it myself. > The "price_level" is a userdb scratch, just as "dealer" is, so you should be able to set it in the same way. Have you checked the userdb to see what values are being saved in there? No use of this value is made in the current Foundation demo, so you shouldn't expect to see any visible signs of the scratch being set, unless you modify the HTML, or look in the userdb table. Columns from the userdb table are read into values when a user logs in, and are saved when a [userdb save] call is made. The exception to this are values marked as "scratch" which use scratch space instead of values. To define a userdb column as scratch, you need to edit catalog.cfg. The default setting looks like this: UserDB default scratch "dealer price_level credit_limit" Hope this helps. > > Thanks Kevin, I spent 12 hours tring to input that inside the form. > You sure saved lot's of hair pulling! > Glad to help - there's enough scratching and hair pulling in here at the moment. :-) -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (alain abraham) Date: Thu Dec 20 05:36:02 2001 Subject: [ic] Wich linux distribution ? hello, I looking for "conseils" to choose a distribution for interchange running on. Of course, I think about redhat 6.1, but is there a more server and free oriented distribution for interchange. Merci Alain From: interchange-users at interchange.redhat.com (Alexander Schmitz) Date: Thu Dec 20 06:05:01 2001 Subject: [ic] Wich linux distribution ? Hello, > Of course, I think about redhat 6.1, but is there a more server and free > oriented distribution for interchange. Try Debian Potato (www.debian.org). I'm running Interchange 4.8.2 with Mysql DB on Debian Potato (perl 5.005) and also Woody (perl 5.6.1) without Probs. I intalled it from the .tgz Sources. bye Alex -- -------------------------------------------------- AXON-E Interaktive Medien Tel. +49941-5998545 Fax. +49941-5998541 -------------------------------------------------- http://www.gnupg.de Public Key: http://www.axon-e.de/gpg/a.schmitz.key From: interchange-users at interchange.redhat.com (Kim L. Christensen) Date: Thu Dec 20 07:29:00 2001 Subject: [ic] Sales tax issue Hello all, I have a customer who wants all prices on items displayed as total prices and not the prices excl vat. i.e. Price: 100 vat: 10 Total price = 110 (this is the price that should be displayed in the catalog) The checkout page should still work as it is: subtotal+sales tax+ shipping cost=total cost. The foundation catalog is designed to show prices excl vat. Any ideas on how best to implement this are appreciated Regards, Kim Christensen From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Thu Dec 20 09:14:00 2001 Subject: [ic] Sales tax issue "Kim L. Christensen" wrote: > > Hello all, > > I have a customer who wants all prices on items displayed as total prices > and not the prices excl vat. > > i.e. > Price: 100 > vat: 10 > Total price = 110 (this is the price that should be displayed in the > catalog) > > The checkout page should still work as it is: subtotal+sales tax+ shipping > cost=total cost. > > The foundation catalog is designed to show prices excl vat. > Any ideas on how best to implement this are appreciated Or how to tell IC, that the price type is gross or net and IC will be display the prices correct? Thanks! Joachim Leidinger -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (scott d medlock) Date: Thu Dec 20 09:48:00 2001 Subject: [ic] affiliate tracking & foundation Well Kevin... That's the rub... Foundation isn't doing it. It is the current version 4.8.3 that is an upgrade from 4.8.2. The upgrade appeared to go just fine. It was tracking. Then I enabled PGP order sending and SSH on the checkout and the tracking vanished! Any ideas? > Kevin Walsh wrote: > > > Have been working with a new installation based upon the foundation demo... > > Have it 100% with one notable exception.... Affiliate Tracking. > > > > It is a generic foundation template with only html changes (colors, etc.) > > > > Have affiliates in the database... > > > > The goal is to: > > > > 1) Have http://www.whatever.com/store.cgi?mv_pc=10301 style URL's. > > 2) Track All order by affiliate # No timeouts, No coupons. > > 3) Have affiliate # show up in PGP emailed orders. > > > > Has anyone done this with foundation? Have a simple set of what to edit and > > where? I'm a decent enough code jockey if I know what I'm looking for and > > where. > > > You said you are using the Foundation demo, so this should all > be built in. The order email sent to you will have what's > referred to by default as a "Lead Source". This is your mv_pc > (affiliate ID) number. This ID will also be saved in the > transactions table in the "affiliate" column. > > You can use the [data session source] tag if you want to use this > ID elsewhere. > > -- > _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ > _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h > _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com > _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- ========================================== Scott D. Medlock scottm@tamesgroup.com ========================================== From: interchange-users at interchange.redhat.com (Peter Jakl) Date: Thu Dec 20 10:35:01 2001 Subject: [ic] memory usage >> In analyzing some speed problems, redhat linux indicates that the >> interchange process itself is using 204mb of memory. We have a catalog >> of over 100,000 items. Is this typical? Could some of the speed issues >> we have be attributed to having a system with 512mb of total memory and >> each interchange instance requiring 204mb (granted that a good chunk >> appears to be shared)? >> >Are you sure that's 204MB and not 20.4MB? The memory usage you are >seeing would not be typical. How are you measuring that amount? I run the "top" utility in redhat and the memory clearly indicates 204M where the next largest process has a value such as 12500 for something like mysqld. I'm assuming values are in units of 'K' so mysqld is using 12.5mb with interchange at 204mb. I'd like to see what other people have as a value. I do have 150,000 items in the products table. Is interchange caching data? Peter From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Thu Dec 20 11:18:01 2001 Subject: [ic] IC mailist ?? Hi this is a stupid question, I know. It seems like alot of you can see a message and reply to it in the same digest. How are you doing that? I recieve a digest in my email everyday, and there are the archives that I use, but it seems like there may be a "real time" post on the web somewhere?? I can email a post to the digest but it doesn't show up in the list for a while (by list I mean the option to search the "mail list" on the IC Dev site). Does anybody know what I am talking about?? Thanks, Paul From: interchange-users at interchange.redhat.com (David Bronson) Date: Thu Dec 20 11:24:00 2001 Subject: [ic] Wich linux distribution ? I agree with Alexander that debian is a great distribution. You may not be happy with it as your first distribution though. The expectation is that you know what you are doing. It can't be beat for Linux network admins though.. Good Luck, DB ----- Original Message ----- From: alain abraham <alain.abraham@urbuz.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, December 20, 2001 5:34 AM Subject: [ic] Wich linux distribution ? > hello, > I looking for "conseils" to choose a distribution for interchange running > on. > > Of course, I think about redhat 6.1, but is there a more server and free > oriented distribution for interchange. > > Merci > > Alain > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Fred Pope) Date: Thu Dec 20 11:28:00 2001 Subject: [ic] Single SKU in Multiple Categories Platform: IC 4.8.3, MySQL, RH 7.1 -- I am looking at alternatives of having a single SKU show up in multiple categories. Looking through the archives, the best way to do this easily is either to do a join in a separate table in the database, or to add a second column in the products database table if the there are not going to be an excessive amount, but this is clearly poor database design. Someone had suggested seperating the category list by commas in the products table, but this does not work to produce the desired result. What you end up with is a new category with a name of the two categories seperated by a comma on the results.html page. If anyone has done this successfully, and are pleased with the results, I would appreciate knowing your approach, and why that approach was chosen. I am toying with a couple of options, and was just curious to see what worked for others. Best - Fred Pope From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Thu Dec 20 11:36:00 2001 Subject: [ic] IC mailist ?? On Thu, Dec 20, 2001 at 08:18:28AM -0800, Paul Jordan wrote: > Hi this is a stupid question, I know. It seems like alot of you can see a > message and reply to it in the same digest. How are you doing that? I > recieve a digest in my email everyday, and there are the archives that I > use, but it seems like there may be a "real time" post on the web > somewhere?? I can email a post to the digest but it doesn't show up in the > list for a while (by list I mean the option to search the "mail list" on the > IC Dev site). > > Does anybody know what I am talking about?? > Yes, the reason we can do that is because we don't subscribe to the digest. The digest version of the list sends you mail once a day, the regular version sends each message individually as soon as the list software receives it. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Bernino Lind) Date: Thu Dec 20 11:44:01 2001 Subject: [ic] Wich linux distribution ? I can recommend FreeBSD. Im a normal user with no great experience or anything. I installed FreeBSD from a cdrom, did a make update of the system, which updates everything via the net, solves conflicts and makes sure everything is stable and good. Then I did an install of the apache with all sorts of mambo needed to run the interchange mysql etc... Then an install of various perl libraries via CPAN. With all of the above there were no error&trial, it just worked! Then I was up and running!!! In something like 2 hours. I learned about the ICL language and the admin UI how to change interchange and in 1 day (!) I had a complete e-commerce site with my kind of layout. Now, thats really a good experience I had! //nino On Thu, Dec 20, 2001 at 11:26:48AM -0500, David Bronson wrote: > I agree with Alexander that debian is a great distribution. You may not be > happy with it as your first distribution though. The expectation is that you > know what you are doing. It can't be beat for Linux network admins though.. > > Good Luck, > > DB > ----- Original Message ----- > From: alain abraham <alain.abraham@urbuz.com> > To: <interchange-users@interchange.redhat.com> > Sent: Thursday, December 20, 2001 5:34 AM > Subject: [ic] Wich linux distribution ? > > > > hello, > > I looking for "conseils" to choose a distribution for interchange running > > on. > > > > Of course, I think about redhat 6.1, but is there a more server and free > > oriented distribution for interchange. > > > > Merci > > > > Alain > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Thu Dec 20 11:54:00 2001 Subject: [ic] converted saved carts to light box OK, laugh if you want but I am not an expert in perl and IC. We needed to have a light box or "favorites" for images for logged in client. So seeing as we were never going to use the "saved carts and recurring carts" feature, I converted that. Basically on a FLYPAGE I added: ------------------------ [set Save Cart] mv_todo=return mv_nextpage=saved_carts save_cart=none [save_cart nickname="[item-code]"] [/set] <FORM ACTION="[process-target]" METHOD=POST> <INPUT TYPE=hidden NAME="c_nickname" VALUE="[item-code]"> <INPUT TYPE=HIDDEN NAME="save_cart" VALUE="cart"> <INPUT TYPE=HIDDEN NAME="mv_todo" VALUE="return"> <INPUT TYPE=HIDDEN NAME="mv_check" VALUE="Save Cart"> <INPUT TYPE=image src="http://www.imagemogul.com/buttons/addtolb.gif" VALUE="Save Image"> </form> ----------------------------- Now on the saved_carts.html page I really did a number. The gist is, I am able to display the sku (because I used it as the c_nickname above) and I can show a delete button and a thumbnail image next to it, like we wanted. Here is the problem, if people start putting alot of images in their light box "favorites", they may select the same image twice, IC appends the nickname for like items with ,1 ,2 ,3 etc. As you can guess, this now makes referencing thumbnails and flypages from the saved_carts.html very hard. So basically it works great for unique entries, but kinda breaks with like entries. Please don't flame me for my altering of saved_carts, it will go on to serve us well in a new life as the light box!! Also, is there a bug with IC that doesn't let you delete ALL the saved carts in saved_carts.html? I can delete all but one, but when you leave the saved_carts.html and come back in, the last one will in fact be gone...??? IC 4.8.1 Thank you PS, I read, in the archives about someone trying to write a book or tutorial about IC. You know I personally would spend quite a bit for purchasable resources, like books, classes, or plugin-like alterations. If someone is writing a book, put me down for a gross! :) From: interchange-users at interchange.redhat.com (alain abraham) Date: Thu Dec 20 11:59:00 2001 Subject: [ic] Wich linux distribution ? Whe are currently running a debian for file server, zope, ezmlm ... Then I know a little about linux server adm. But my question is about the bir trouble of security. And especially for running only services necessary for Interchange. And i think the install process for debian give not the choice of a server configuration; The manual choice could be too much complex for me. then i try to know when there is a distribution like e-smith or smoothwall adapted for interchange. Thanks MESSIEURS Alain -----Message d'origine----- De : interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]De la part de David Bronson Envoyé : jeudi 20 décembre 2001 17:27 À : interchange-users@interchange.redhat.com Objet : Re: [ic] Wich linux distribution ? I agree with Alexander that debian is a great distribution. You may not be happy with it as your first distribution though. The expectation is that you know what you are doing. It can't be beat for Linux network admins though.. Good Luck, DB ----- Original Message ----- From: alain abraham <alain.abraham@urbuz.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, December 20, 2001 5:34 AM Subject: [ic] Wich linux distribution ? > hello, > I looking for "conseils" to choose a distribution for interchange running > on. > > Of course, I think about redhat 6.1, but is there a more server and free > oriented distribution for interchange. > > Merci > > Alain > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (scott d medlock) Date: Thu Dec 20 12:09:08 2001 Subject: [ic] affiliate tracking & foundation Found it! Just for those of you that may have a similar situation.... On the previous (4.8.2) Interchange it did track affiliate ID's that were pure numbers (i.e. http://www.someserver.com/interchange.cgi?mv_pc=12345). The 4.8.3 version DOES NOT track affiliates unless there is an Alpha somewhere in the ID! Although I do believe (after alot of digging on the website) that it was advertised previously that pure numerics wouldn't work.. It apparently did.. But now does not (as advertised). So, the fix was easy enough... Just recreated the affiliate databases with a prepending A in front of all the IDs (i.e. A12345). Although not the prettiest (as the affiliate IDs are our affiliates code numbers for nearly everything and cannot have Alphas in them).. It does work. scott d medlock wrote: > Well Kevin... That's the rub... Foundation isn't doing it. > > It is the current version 4.8.3 that is an upgrade from 4.8.2. The > upgrade appeared to go just fine. It was tracking. > > Then I enabled PGP order sending and SSH on the checkout and the > tracking vanished! > > Any ideas? > > > Kevin Walsh wrote: > > > > > Have been working with a new installation based upon the foundation demo... > > > Have it 100% with one notable exception.... Affiliate Tracking. > > > > > > It is a generic foundation template with only html changes (colors, etc.) > > > > > > Have affiliates in the database... > > > > > > The goal is to: > > > > > > 1) Have http://www.whatever.com/store.cgi?mv_pc=10301 style URL's. > > > 2) Track All order by affiliate # No timeouts, No coupons. > > > 3) Have affiliate # show up in PGP emailed orders. > > > > > > Has anyone done this with foundation? Have a simple set of what to edit and > > > where? I'm a decent enough code jockey if I know what I'm looking for and > > > where. > > > > > You said you are using the Foundation demo, so this should all > > be built in. The order email sent to you will have what's > > referred to by default as a "Lead Source". This is your mv_pc > > (affiliate ID) number. This ID will also be saved in the > > transactions table in the "affiliate" column. > > > > You can use the [data session source] tag if you want to use this > > ID elsewhere. > > > > -- > > _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ > > _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h > > _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com > > _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > -- > ========================================== > Scott D. Medlock scottm@tamesgroup.com > > ========================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Dec 20 12:19:01 2001 Subject: [ic] Change Domain Name - How to ? Anyone help? If you know the easiest way to change domain name after setting up all the catalog, cofiguration and product database. Thank you. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Fred Pope) Date: Thu Dec 20 12:48:01 2001 Subject: [ic] Change Domain Name - How to ? Variables.txt should have the answer for you. You should do the tutorial if you have not already and it will answer a lot of the questions that you will soon have. No I do not Yahoo. -- Fred Pope Satcom Resources 970-748-3094 fred@satcomresources.com http://www.satcomresources.com CONFIDENTIAL CONTENTS WARNING This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for the delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and delete the original message. Thank you. Satcom Resources LLC. 970-748-3094 From: interchange-users at interchange.redhat.com (Ken) Date: Thu Dec 20 12:51:36 2001 Subject: [ic] Echo-Inc Payment Module? Can anyone offer some advice on how to integrate Interchange 4.8.3 with Echo-Inc Merchant Services? http://www.echo-inc.com/ I've scoured the list archives but did not find anything useful. Many thanks in advance. Ken From: interchange-users at interchange.redhat.com (Peter Hicks) Date: Thu Dec 20 12:56:01 2001 Subject: [ic] Wich linux distribution ? On Thursday 20 December 2001 02:34, alain abraham wrote: > hello, > I looking for "conseils" to choose a distribution for interchange running > on. > > Of course, I think about redhat 6.1, but is there a more server and free > oriented distribution for interchange. > > Merci > > Alain > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users I highly recommend Debian GNU/Linux. It is 100% free (as in speech) and dedicated to the GNU philosophy. http://www.debian.org It has an excellent package manager (apt) that handles dependencies quite well, and the debian-user list is an excellent resource. -Peter From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Dec 20 13:16:00 2001 Subject: [ic] RE: Change Domain Name - How to ? I'm using interchange 4.8.2. the catalog.cfg contains VendURL http://__SERVER_NAME____CGI_URL SecureURL __SECURE_SERVER____CGI_URL__ where can I find these variables so that I can change it? thanks in advance for any help. please reply to my e-mail. -----Original Message----- From: prasit_p@yahoo.com [mailto:prasit_p@yahoo.com] Sent: Thursday, December 20, 2001 12:14 PM To: interchange-users@interchange.redhat.com Subject: Change Domain Name - How to ? Anyone help? If you know the easiest way to change domain name after setting up all the catalog, cofiguration and product database. Thank you. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Fred Pope) Date: Thu Dec 20 13:48:01 2001 Subject: [ic] RE: Change Domain Name - How to ? "I'm using interchange 4.8.2. the catalog.cfg contains VendURL http://__SERVER_NAME____CGI_URL SecureURL __SECURE_SERVER____CGI_URL__ where can I find these variables so that I can change it?" IN VARIABLES.TXT From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Dec 20 13:56:01 2001 Subject: [ic] Wich linux distribution ? I was going to start a security thread, and probably still should. But since you bring it up.... Many Unix/Linux distributions (and Windows too) arrive out of the box, with very poor security for hosting outside a firewall. A good admin knows how to shut off nearly everything, and setup ipchains or iptables to protect the box to the max. Many do not, however, and many an exploit has leveraged the fact that some distributions install with anonymous ftp enabled.. :-( A secure server should be a dedicated server. You should be able to portscan your own box, and see two ports open. 22 and 443. And 22 should be firewalled to only allow your source IP. nmap is an excellent tool for portscanning. See www.insecure.org. Fyordor also has a very old, but eye opening list of exploits to peruse. If you think you can put user accounts, ftp (with plaintext passwords), and other services on a secure server, you are kidding yourself, and doing an injustice to your clients. Red Hat has seen the light, and since about 7.1, RH now installs in a pretty good (outside the fw) config, out of the box. Most services are disabled, and you are asked to setup ipchains during OS install, if I remember correctly... The bad news is that I couldn't get IC to run on my RedHat system. The IC rpm's failed to give me a working demo. I filed a bug report on the IC site (ignored), and I begged for help on this list. I delved into the config files and tried to get a handle on what the perl code was doing. I was a little stymied by the missing source for rlink.c. Since this is the starting point of all web requests. To get it, I was going to need the tarball, and since someone on the list suggested that the tarball works, I removed the rpms and went for the tarball... Teeth gnashing, I struggled for many more hours before I finally discovered that my major problem (with the tarball release) was the perms that RH uses on the users home directory.. 700. Arrgh! The rpm install may have a workaround for the user home perms, but I never got the benefit of it. Admittedly, I refused to allow CPAN to auto install the Interchange Bundle, because of a very bad experience I had with CPAN, but I have harped on that issue enough already.... I love RedHat. It has been my choice for Linux for several years. RH 7.3 is great! It hurts me to see all of the other Linux distro's being recommended with high marks, and nobody says.. USE REDHAT. Including me. I did eventually get it working. Honestly, it took me almost 20 hours, including time spent building up good will on this list so I could get some helpful answers. And I documented, for the list, my fixes. So, with reservations, I can say.. Use RedHat. Use the 7.3 release if you can. It has a pretty good security profile, out of the box. Don't use the rpm's though. Use the tarball, and beware of the perms created on a users home folder. See my prior posts... Someday I will post more on how and why to make a secure SSL server. On Thu, 20 Dec 2001, alain abraham wrote: > Whe are currently running a debian for file server, zope, ezmlm ... > > Then I know a little about linux server adm. > > But my question is about the bir trouble of security. And especially for > running only services necessary for Interchange. > And i think the install process for debian give not the choice of a server > configuration; The manual choice could be too much complex for me. then i > try to know when there is a distribution like e-smith or smoothwall adapted > for interchange. > > Thanks MESSIEURS > > Alain > > -----Message d'origine----- > De : interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]De la part de > David Bronson > Envoyé : jeudi 20 décembre 2001 17:27 > À : interchange-users@interchange.redhat.com > Objet : Re: [ic] Wich linux distribution ? > > > I agree with Alexander that debian is a great distribution. You may not be > happy with it as your first distribution though. The expectation is that you > know what you are doing. It can't be beat for Linux network admins though.. > > Good Luck, > > DB > ----- Original Message ----- > From: alain abraham <alain.abraham@urbuz.com> > To: <interchange-users@interchange.redhat.com> > Sent: Thursday, December 20, 2001 5:34 AM > Subject: [ic] Wich linux distribution ? > > > > hello, > > I looking for "conseils" to choose a distribution for interchange running > > on. > > > > Of course, I think about redhat 6.1, but is there a more server and free > > oriented distribution for interchange. > > > > Merci > > > > Alain > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Dec 20 14:01:01 2001 Subject: [ic] Change Domain Name - How to ? It drove me crazy trying to find variables.txt..... It is variable.txt not variables. How hard would it be to change the name of the file in the distribution? variables.txt makes more sense all around... On Thu, 20 Dec 2001, Fred Pope wrote: > Variables.txt should have the answer for you. You should do the tutorial if > you have not already and it will answer a lot of the questions that you will > soon have. > > No I do not Yahoo. > -- > Fred Pope > Satcom Resources > 970-748-3094 > fred@satcomresources.com > http://www.satcomresources.com > > CONFIDENTIAL CONTENTS WARNING > > This message is intended only for the use of the individual or entity to > which it is addressed and may contain information that is privileged, > confidential and exempt from disclosure under applicable law. If the reader > of this message is not the intended recipient, or the employee or agent > responsible for the delivering the message to the intended recipient, you > are hereby notified that any dissemination, distribution or copying of this > information is strictly prohibited. If you have received this communication > in error, please notify us immediately by telephone and delete the original > message. Thank you. Satcom Resources LLC. 970-748-3094 > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Dec 20 14:20:00 2001 Subject: [ic] Wich linux distribution ? Oops.. Make that RH 7.2.. :-) On Thu, 20 Dec 2001 tburt@timburt.com wrote: > > I was going to start a security thread, and probably still should. But > since you bring it up.... > > Many Unix/Linux distributions (and Windows too) arrive out of the box, > with very poor security for hosting outside a firewall. A good admin > knows how to shut off nearly everything, and setup ipchains or iptables to > protect the box to the max. Many do not, however, and many an exploit has > leveraged the fact that some distributions install with anonymous ftp > enabled.. :-( > > A secure server should be a dedicated server. You should be able to > portscan your own box, and see two ports open. 22 and 443. And 22 should > be firewalled to only allow your source IP. nmap is an excellent tool for > portscanning. See www.insecure.org. Fyordor also has a very old, but > eye opening list of exploits to peruse. If you think you can put user > accounts, ftp (with plaintext passwords), and other services on a secure > server, you are kidding yourself, and doing an injustice to your clients. > > Red Hat has seen the light, and since about 7.1, RH now installs in a > pretty good (outside the fw) config, out of the box. Most services are > disabled, and you are asked to setup ipchains during OS install, if I > remember correctly... > > The bad news is that I couldn't get IC to run on my RedHat system. The IC > rpm's failed to give me a working demo. I filed a bug report on the IC > site (ignored), and I begged for help on this list. I delved into the > config files and tried to get a handle on what the perl code was doing. > > I was a little stymied by the missing source for rlink.c. Since this is > the starting point of all web requests. To get it, I was going to need > the tarball, and since someone on the list suggested that the tarball > works, I removed the rpms and went for the tarball... > > Teeth gnashing, I struggled for many more hours before I finally > discovered that my major problem (with the tarball release) was the perms > that RH uses on the users home directory.. 700. Arrgh! > > The rpm install may have a workaround for the user home perms, but I never > got the benefit of it. Admittedly, I refused to allow CPAN to auto > install the Interchange Bundle, because of a very bad experience I had > with CPAN, but I have harped on that issue enough already.... > > I love RedHat. It has been my choice for Linux for several years. RH 7.3 > is great! > > It hurts me to see all of the other Linux distro's being recommended with > high marks, and nobody says.. USE REDHAT. Including me. > > I did eventually get it working. Honestly, it took me almost 20 hours, > including time spent building up good will on this list so I could get > some helpful answers. And I documented, for the list, my fixes. > > So, with reservations, I can say.. Use RedHat. Use the 7.3 release if > you can. It has a pretty good security profile, out of the box. Don't > use the rpm's though. Use the tarball, and beware of the perms created on > a users home folder. See my prior posts... > > Someday I will post more on how and why to make a secure SSL server. > > On Thu, 20 Dec 2001, alain abraham wrote: > > > Whe are currently running a debian for file server, zope, ezmlm ... > > > > Then I know a little about linux server adm. > > > > But my question is about the bir trouble of security. And especially for > > running only services necessary for Interchange. > > And i think the install process for debian give not the choice of a server > > configuration; The manual choice could be too much complex for me. then i > > try to know when there is a distribution like e-smith or smoothwall adapted > > for interchange. > > > > Thanks MESSIEURS > > > > Alain > > > > -----Message d'origine----- > > De : interchange-users-admin@interchange.redhat.com > > [mailto:interchange-users-admin@interchange.redhat.com]De la part de > > David Bronson > > Envoyé : jeudi 20 décembre 2001 17:27 > > À : interchange-users@interchange.redhat.com > > Objet : Re: [ic] Wich linux distribution ? > > > > > > I agree with Alexander that debian is a great distribution. You may not be > > happy with it as your first distribution though. The expectation is that you > > know what you are doing. It can't be beat for Linux network admins though.. > > > > Good Luck, > > > > DB > > ----- Original Message ----- > > From: alain abraham <alain.abraham@urbuz.com> > > To: <interchange-users@interchange.redhat.com> > > Sent: Thursday, December 20, 2001 5:34 AM > > Subject: [ic] Wich linux distribution ? > > > > > > > hello, > > > I looking for "conseils" to choose a distribution for interchange running > > > on. > > > > > > Of course, I think about redhat 6.1, but is there a more server and free > > > oriented distribution for interchange. > > > > > > Merci > > > > > > Alain > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Dec 20 14:42:01 2001 Subject: [ic] Problem with form select... Quoting Todd Hight (thight@twol8.net): > > First let me say that IC rocks and that this list is not only very > informative but quite amusing at times :) > > I'm trying to set the default value of a select field on a from (using the > [selected] tag) to an existing value from a table. Below is a quick snippet > of my form. The select is always populated correctly I just cant seem to > get it to default to the current values. > > All other from fields, mostly text boxes, work fine. Even the field below > will save the selected value properly. In fact, once you complete the > from, the next time you call the page that contains the snippet, you get the > last value selected. > > Current config is IC 4.8.3, Apache 1.3.22, Perl 5.6.1, PostgreSQL 7.1.3 all > running on RedHat Linux 7.1 with kernel 2.4.9 SMP. > > I'm quite new to IC, just a couple of weeks now. So please be kind :) I'm > sure there is a simple solution! > > I hope this all made sense... > > TIA > > <>< Todd > > ----------------------------------------------------- > > [loop prefix=slist arg="[scratch sprofile_id]"] > > <select name="category" size="1"> > [loop prefix=scat > search="ra=yes/fi=cat/rf=code,name/ml=100/tf=name" ] > <option value="[scat-data cat name]" [selected name=category > value="[slist-data sprofile category]"]> > [scat-data cat name] > </option> > [/loop] > </select> > > [/loop] This is because the [selected ...] tag relies on what is in [value category] to determine whether the option is selected. Before there is a value there, you will not get anything selected by default. You would need to set $Values->{category} to something to get that done, or if you are passing it via a CGI variable you need to do [selected cgi=1 name=category value="[slist-data sprofile category]"] That being said, you would be much better off doing: [loop prefix=scat search=" ra=yes fi=cat rf=code,name ml=100 tf=name " option=category cgi=1 ] The combination of option=category and cgi=1 is the same as the [selected cgi=1 name=category ...] tag and is much more efficient. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Happy Holidays! ** (See Footnote 1) ** Footnote 1: Please accept with no obligation, implied or implicit, our best wishes for an environmentally conscious, socially responsible, low stress, non-addictive, gender neutral, celebration of the winter solstice holiday, practised within the most enjoyable traditions of the religious persuasion of your choice, or secular practices of your choice, with respect for the religious/secular persuasions and/or traditions of others, or their choice not to practice religious or secular traditions at all . . . and a fiscally successful, personally fulfilling, and medically uncomplicated recognition of the onset of the generally accepted calendar year 2001, but not without due respect for the calendars of choice of other cultures whose contributions to society have helped make America great, (not to imply that America is necessarily greater than any other country or is the only "AMERICA" in the western hemisphere), and without regard to the race, creed, colour, age, physical ability, religious faith, choice of computer platform, or sexual preference of the wishee. By accepting this greeting, you are accepting these terms. This greeting is subject to clarification or withdrawal. It is freely transferable with no alteration to the original greeting. It implies no promise by the wisher to actually implement any of the wishes for her/himself or others, and is void where prohibited by law, and is revocable at the sole discretion of the wisher. This wish is warranted to perform as expected within the usual application of good tidings for a period of one year, or until the issuance of a subsequent holiday greeting, whichever comes first, and warranty is limited to replacement of this wish or issuance of a new wish at the sole discretion of the wisher. The wishee further agrees to hold harmless and indemnify the wisher, along with its heirs, assigns, officers, directors, shareholders . . . From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Thu Dec 20 15:19:01 2001 Subject: [ic] item-field and interpolate Howdy. I'm working from the basic foundation catalog and trying to customize it for my application. Challenging, but when progress is made, it's a good feeling. (Seems a lot of folks feel that way.) (I'm a digester, so if you send a response to the list and to me directly, I'll be able to get this fixed faster. Thanks in advance for CCing me directly. Yow.) flypage.html has the following line: [item-field comment] which displays the value of comment for the current item. For various reasons, I would like to include ITL tags in the comment. (To be specific, I want to imbed imagemaps into the comment to add some additional navigation.) The odd thing is that I can't seem to get Interchange to interpolate the result. I've tried: 1) changing that line to [item-field comment interpolate=1] Interchange doesn't like this, and instead of outputting the value of the comment field, outputs the tag. 2) changing that line to [item-field interpolate=1 comment] Same deal. 3) changing that line to [perl interpolate=1][item-field comment][/perl] Contents of the tag vanishes completely and doesn't show up in the HTML source. 4) towards the start of flypage.html, changing [fly-list code="[data session arg]"] to either [fly-list interpolate="1" code="[data session arg]"] OR [fly-list code="[data session arg]" interpolate="1"] doesn't force interpolation either. I also looked around a bit in the UI trying to see if there was a simple way to tell Interchange to always interpolate the value within the products::comment field, but I couldn't find anything. Anyone? -- Bob From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Thu Dec 20 15:34:01 2001 Subject: [ic] item-field and interpolate On Thu, 20 Dec 2001, Bob Ramstad wrote: > flypage.html has the following line: > > [item-field comment] > > which displays the value of comment for the current item. > > For various reasons, I would like to include ITL tags in the comment. > (To be specific, I want to imbed imagemaps into the comment to add > some additional navigation.) Sounds like you want reparse, not interpolate. (Though there's some overlap in those definitions.) Try: [strip reparse=1][item-field comment][/strip] Or a harmless filter, or whatever. [strip] just takes off leading and trailing whitespace -- you want to use it just to reparse the contents for IC tags. Jon From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Thu Dec 20 15:37:25 2001 Subject: [ic] improving awkward IF syntax Second question. (Again, I'm a digester, so if you send a response to the list and to me directly, I'll be able to get this fixed faster. Thanks in advance for CCing me directly. Yow.) One of my goals is to make it so that all the content lives in the database and is being served from flypage.html. That's the way we've got it architected on another system, and we'd like to keep it that way. I've added products::type and products::orderable as columns to the products database. type can be PAGE, ITEM or NIL. orderable can be YES or NO. Using combinations of these settings, I can determine exactly how to display the page. This setup has been working fairly well, but one thing that is bothering me is that I have to use some rather awkward constructions in flypage.html for testing these values, like this: [if explicit][condition]return [item-field type] eq 'ITEM';[/condition] <<code>> [/if] For whatever reason, all the more obvious bits of simpler syntax do not work. I end up in the ELSE clause when I'm not supposed to, or the code is skipped over... indicating that the test didn't match. I've tried a variety of constructions, with and without quoting the argument, e.g. [if-item-field type eq 'ITEM'] doesn't work. I'm concerned that this convoluted syntax may lead to performance issues down the road. So, a couple of (obvious) questions: 1) Is there a better and simpler ITL syntax which will work? 2) If not, is there a simplification or modification of my database structure which will allow better and simpler ITL syntax? 3) Finally, I see references in the documentation to the fact that IF is slow, and complicated tests should be done in Perl for performance reasons. Can someone give me an example of how to do the test above in Perl? Thanks in advance for your help! -- Bob From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Thu Dec 20 15:41:01 2001 Subject: [ic] item-field and interpolate Bob Ramstad wrote: .... > [item-field comment] > > which displays the value of comment for the current item. > > For various reasons, I would like to include ITL tags in the comment. > (To be specific, I want to imbed imagemaps into the comment to add > some additional navigation.) And have you an example for that kind of adding ITL? Or an example of that kind of comment in that field? Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Dec 20 15:44:11 2001 Subject: [ic] More problems with Spreadsheet Export Quoting Jason Kohles (jkohles@redhat.com): > On Wed, Dec 19, 2001 at 06:24:51PM -0800, Peter Hicks wrote: > > On Wednesday 19 December 2001 17:54, Justin Bonds wrote: > > > Patrick, > > > > > > When running the Store Wizard and using an Excel file to input, I get > > > nearly the same end result as you.   I just discovered it a couple of > > > nights ago. Now, in my situation - it actually cuts off the text. > > > > > I believe this is a limit of Excel or the Excel file format. > > > Yes, it is, Excel has a limit of 256 characters per cell. Although they > don't publicize this, you can usually find references to it in non-Excel > related documentation, such as this from an Exchange guide: > > Important > Microsoft Excel and other spreadsheet programs have a 256-character > limit per cell. The proxy-addresses field can have more than 256 > characters. Do not import the directory export file into Microsoft > Excel or any other spreadsheet with this limitation because any > characters beyond the first 256 are truncated and lost without > warning. Use a database program such as Microsoft Access or Microsoft > Visual FoxPro(tm) to get around this limitation. > This is true of Excel '95, but not of '97 and above. I have actually tested spreadsheet import and export of text fields greater than 256 characters on Excel 2000 and '97. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Clothes make the man. Naked people have little or no influence on society. -- Mark Twain From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Dec 20 16:05:01 2001 Subject: [ic] Is it a bug We have setup a ecommerce site at http://204.213.206.27/jbn/index.html This problem seems to be able to be duplicated in the foundation sample. If you go to the above site and select any menu item on the left side bar then 1 .Click on any text name of an item in the middle 2 .From the selected item .... use the tool bar back button to go back one page. 3. Then place a number in any OTHER item click the Buy Now Key. The graphic being displayed is the one that was selected in step 1, not the graphic asscoiated with what was selected in step 3. We are assuming that the page is not being refreshed when the back button is used to return to the previous page. How can we refresh the page when we use the back button to return to the previous page? >From the above selected item Thanks Terry From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Dec 20 16:10:01 2001 Subject: [ic] improving awkward IF syntax On Thu, Dec 20, 2001 at 12:33:31PM -0800, Bob Ramstad wrote: > Second question. > > (Again, I'm a digester, so if you send a response to the list and to > me directly, I'll be able to get this fixed faster. Thanks in advance > for CCing me directly. Yow.) > > One of my goals is to make it so that all the content lives in the > database and is being served from flypage.html. That's the way we've > got it architected on another system, and we'd like to keep it that > way. > > I've added products::type and products::orderable as columns to the > products database. type can be PAGE, ITEM or NIL. orderable can be > YES or NO. Using combinations of these settings, I can determine > exactly how to display the page. You might be able to skip a lot of the logic if you use PageSelectField. Have you looked at that? It's next to impossible for someone to guess what is going to be easier for someone else. :-) YMMV. > > This setup has been working fairly well, but one thing that is > bothering me is that I have to use some rather awkward constructions > in flypage.html for testing these values, like this: > > [if explicit][condition]return [item-field type] eq 'ITEM';[/condition] > <<code>> > [/if] > > For whatever reason, all the more obvious bits of simpler syntax do > not work. I end up in the ELSE clause when I'm not supposed to, or > the code is skipped over... indicating that the test didn't match. > > I've tried a variety of constructions, with and without quoting the > argument, e.g. > > [if-item-field type eq 'ITEM'] > > doesn't work. > > I'm concerned that this convoluted syntax may lead to performance > issues down the road. So, a couple of (obvious) questions: > > 1) Is there a better and simpler ITL syntax which will work? > > 2) If not, is there a simplification or modification of my database > structure which will allow better and simpler ITL syntax? > > 3) Finally, I see references in the documentation to the fact that IF > is slow, and complicated tests should be done in Perl for > performance reasons. Can someone give me an example of how to do > the test above in Perl? > > Thanks in advance for your help! > > -- Bob > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Steve Graham) Date: Thu Dec 20 16:13:59 2001 Subject: [ic] Wich linux distribution ? I chose Redhat 7.1 - bought the server install package from a local store to get the CD's. I had very little experiance with Linux coming from a heavy Windows enviromnet. I installed 7.1, and all the CPAN stuff in about 6 hours and had interchange 4.6.9 (back in July) up and running, then I installed it it a couple more time for practice. I like the .rpm environment since I am use to Windows setup. I needed the Gnome, and KDE environments to get started, but could probably live without it now. If I had to choose I would stick with 7.1 - can't comment on 7.2, or 7.3. -Steve >----- Original Message ----- >From: alain abraham <alain.abraham@urbuz.com> >To: <interchange-users@interchange.redhat.com> >Sent: Thursday, December 20, 2001 5:34 AM >Subject: [ic] Wich linux distribution ? > > > > hello, > > I looking for "conseils" to choose a distribution for interchange >running > > on. > > > > Of course, I think about redhat 6.1, but is there a more server and free > > oriented distribution for interchange. > > > > Merci > > > > Alain > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Thu Dec 20 16:27:00 2001 Subject: [ic] Single SKU in Multiple Categories "Fred Pope" wrote: I am looking at alternatives of having a single SKU show up in multiple categories. Looking through the archives, the best way to do this easily is either to do a join in a separate table in the database, or to add a second column in the products database table if the there are not going to be an excessive amount, but this is clearly poor database design. Someone had suggested seperating the category list by commas in the products table, but this does not work to produce the desired result. What you end up with is a new category with a name of the two categories seperated by a comma on the results.html page. I'm doing this -- it isn't in a production environment yet, but I'm pretty happy with how it's working out. In my particular case, I have items which need to appear on the page of other items. This is similar to the approach you mentioned above i.e. item = category and subitem = item. in dbconf/mysql/products.mysql I added Database products COLUMN_DEF "contents=VARCHAR(255)" and made appropriate adjustments in the UI so I could view and edit this field. I then placed SKUs in the field separated by spaces. (There's probably a slick way to put a select box in the UI, but I want to control the ordering of the items on the page, and so a simple text list struck me as being the most simple.) Finally, I edited flypage.html so that when any page has contents, the contents are displayed. I used a two column format and placed this code just before [/fly-list]: [if-item-field contents] <table BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> [loop list="[item-field contents]"] [loop-alternate 2][else]<tr VALIGN="top">[/else][/loop-alternate] [if explicit][condition]return [item-field type] eq 'PAGE';[/condition] <td>&nbsp;&nbsp;[page [loop-code]]<IMG SRC="thumb/[loop-field thumb]" ALT="[item-filter entities][loop-description][/item-filter]" BORDER="0"></A></td><td>&nbsp;</td><td><b>[page [loop-code]][loop-description]</A></b>[if-loop-field abstract]<BR>[loop-field abstract][/if-loop-field][if explicit][condition]return [loop-field orderable] eq 'YES';[/condition]<BR><B>[loop-price]</B>[else][tmp min]999999[/tmp][tmp max]0[/tmp][loop list="[loop-field contents]" prefix="elt"][if scratch min > [elt-price]][tmp min][elt-price][/tmp][/if][if scratch max < [elt-price]][tmp max][elt-price][/tmp][/if][/loop][if scratch min == [scratch max]]<BR><b>[scratch min]</b>[else]<BR><b>[scratch min]&nbsp;--&nbsp;[scratch max]</b>[/else][/if][/else][/if]</td> [else] <td>&nbsp;&nbsp;<IMG SRC="thumb/[loop-field thumb]" ALT="[item-filter entities][loop-description][/item-filter]"></td><td>&nbsp;</td><td><FORM ACTION="[area order]" METHOD="POST"><B>[loop-description]</B>[if-loop-field abstract]<BR>[loop-field abstract][/if-loop-field]<BR>[loop-code]&nbsp;&nbsp;<B>[loop-price]</B><BR><INPUT TYPE="hidden" NAME="mv_order_item" VALUE="[loop-code]"><INPUT TYPE="hidden" NAME="mv_session_id" value="[data session id]">Quantity:&nbsp;<INPUT TYPE="text" NAME="mv_order_quantity" VALUE="1" SIZE="2" MAXLENGTH="2">&nbsp;&nbsp;<INPUT TYPE="SUBMIT" VALUE="Add to Cart"></FORM></td> [/else] [/if] [/loop] </table> [/if-item-field] There's a lot of junk in here that I've added for some other fields I created, but it gives you an idea of how you might want to format items on the page. The key is the [loop ....] construct which has no problems looping over the contents field. Now, why did I do it this way? That's complicated, but I think personally that it's easier to think of categories as pages which happen to have other items on them -- and then modify flypage to handle the display of the other items. I find it confusing to go the other way i.e. this particular item belongs to these X categories. I want control over the order that the items appear on the category pages, and I don't want to have to skip around to each item to be able to change the way the category appears. Also, I want each category to be able to have a graphic at the top and have a caption... so the "default" foundation approach of using searches on the left edge for each category name doesn't work for me either. For those who are curious, I'm partially inspired by / conforming to Yahoo! Store database layout -- my current store Condom Country www.condom.com is hosted by Yahoo! and I'm in the process of migrating it to Interchange. -- Bob From: interchange-users at interchange.redhat.com (chad townsend) Date: Thu Dec 20 16:40:01 2001 Subject: [ic] one click erase cart contents i'm trying to figure out the correct way to do this, i'm using interchange 4.8.2 with the foundation template. i want to provide a button or link that when pressed it will clear everything in the cart. what is the correct way to write the ic routine to do that? thanks, ./chad& From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Thu Dec 20 16:51:01 2001 Subject: [ic] item-field and interpolate On Thu, 20 Dec 2001, Bob Ramstad wrote: > flypage.html has the following line: > > [item-field comment] > > which displays the value of comment for the current item. > > For various reasons, I would like to include ITL tags in the comment. > (To be specific, I want to imbed imagemaps into the comment to add > some additional navigation.) Jon Jensen wrote: Sounds like you want reparse, not interpolate. (Though there's some overlap in those definitions.) Try: [strip reparse=1][item-field comment][/strip] I tried this, with no luck. Upon further examination, I discovered that somehow the left bracket is getting changed to &#91; presumably making it so that Interchange doesn't see the right value. Odd. When I do a manual select out of the database using mysql from the command line, it appears the same. e.g. in comment for this particular item, I have: <MAP NAME="ccnavmap"> <AREA SHAPE="rect" COORDS="0,0,91,14" HREF="\[area samplers\]" ALT="Samplers"> <AREA SHAPE="rect" COORDS="93,0,184,14" HREF="[area spaceage]" ALT="Space Age"> This appears this way in both the admin UI and when using mysql from the command line. Both [item-field comment] AND [strip reparse=1][item-field comment][/strip] in flypage.html produce the same output: <MAP NAME="ccnavmap"> <AREA SHAPE="rect" COORDS="0,0,91,14" HREF="\&#91;area samplers\]" ALT="Samplers"> <AREA SHAPE="rect" COORDS="93,0,184,14" HREF="&#91;area spaceage]" ALT="Space Age"> Note that "escaping" the left bracket doesn't help. (For those keeping score at home, writing it as HREF=[area samplers] with no double quote doesn't work, either.) I looked at the source in both Netscape 4.78 and IE 5.5 SP2. -- Bob From: interchange-users at interchange.redhat.com (Todd Hight) Date: Thu Dec 20 16:58:01 2001 Subject: [ic] Problem with form select... > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Mike > Heins > Sent: Thursday, December 20, 2001 1:41 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Problem with form select... > > > Quoting Todd Hight (thight@twol8.net): > > > > First let me say that IC rocks and that this list is not only very > > informative but quite amusing at times :) > > > > I'm trying to set the default value of a select field on a from > (using the > > [selected] tag) to an existing value from a table. Below is a > quick snippet > > of my form. The select is always populated correctly I just > cant seem to > > get it to default to the current values. > > > > All other from fields, mostly text boxes, work fine. Even the > field below > > will save the selected value properly. In fact, once you complete the > > from, the next time you call the page that contains the > snippet, you get the > > last value selected. > > > > Current config is IC 4.8.3, Apache 1.3.22, Perl 5.6.1, > PostgreSQL 7.1.3 all > > running on RedHat Linux 7.1 with kernel 2.4.9 SMP. > > > > I'm quite new to IC, just a couple of weeks now. So please be > kind :) I'm > > sure there is a simple solution! > > > > I hope this all made sense... > > > > TIA > > > > <>< Todd > > > > ----------------------------------------------------- > > > > [loop prefix=slist arg="[scratch sprofile_id]"] > > > > <select name="category" size="1"> > > [loop prefix=scat > > search="ra=yes/fi=cat/rf=code,name/ml=100/tf=name" ] > > <option value="[scat-data cat name]" [selected name=category > > value="[slist-data sprofile category]"]> > > [scat-data cat name] > > </option> > > [/loop] > > </select> > > > > [/loop] > > This is because the [selected ...] tag relies on what is in > [value category] > to determine whether the option is selected. Before there is a > value there, > you will not get anything selected by default. > > You would need to set $Values->{category} to something to get that done, > or if you are passing it via a CGI variable you need to do > > [selected cgi=1 name=category value="[slist-data sprofile category]"] > > That being said, you would be much better off doing: > > [loop > prefix=scat > search=" > ra=yes > fi=cat > rf=code,name > ml=100 > tf=name > " > option=category > cgi=1 > ] > > The combination of option=category and cgi=1 is the same as the > [selected cgi=1 name=category ...] tag and is much more efficient. > Thanks.... It makes perfect sense now :) Make my code/html look much nicer too! > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > Happy Holidays! ** (See Footnote 1) > > ** Footnote 1: > > Please accept with no obligation, implied or implicit, our best wishes > for an environmentally conscious, socially responsible, low stress, > non-addictive, gender neutral, celebration of the winter solstice > holiday, practised within the most enjoyable traditions of the religious > persuasion of your choice, or secular practices of your choice, with > respect for the religious/secular persuasions and/or traditions of > others, or their choice not to practice religious or secular traditions > at all . . . and a fiscally successful, personally fulfilling, and > medically uncomplicated recognition of the onset of the generally > accepted calendar year 2001, but not without due respect for the > calendars of choice of other cultures whose contributions to society > have helped make America great, (not to imply that America is > necessarily greater than any other country or is the only "AMERICA" in > the western hemisphere), and without regard to the race, creed, colour, > age, physical ability, religious faith, choice of computer platform, or > sexual preference of the wishee. > > By accepting this greeting, you are accepting these terms. This greeting > is subject to clarification or withdrawal. It is freely transferable > with no alteration to the original greeting. It implies no promise by > the wisher to actually implement any of the wishes for her/himself or > others, and is void where prohibited by law, and is revocable at the > sole discretion of the wisher. This wish is warranted to perform as > expected within the usual application of good tidings for a period of > one year, or until the issuance of a subsequent holiday greeting, > whichever comes first, and warranty is limited to replacement of this > wish or issuance of a new wish at the sole discretion of the wisher. > > The wishee further agrees to hold harmless and indemnify the wisher, > along with its heirs, assigns, officers, directors, shareholders . . . > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Thu Dec 20 17:06:00 2001 Subject: [ic] improving awkward IF syntax On Thu, Dec 20, 2001 at 12:33:31PM -0800, Bob Ramstad wrote: > Second question. > > (Again, I'm a digester, so if you send a response to the list and to > me directly, I'll be able to get this fixed faster. Thanks in advance > for CCing me directly. Yow.) > > One of my goals is to make it so that all the content lives in the > database and is being served from flypage.html. That's the way we've > got it architected on another system, and we'd like to keep it that > way. > > I've added products::type and products::orderable as columns to the > products database. type can be PAGE, ITEM or NIL. orderable can be > YES or NO. Using combinations of these settings, I can determine > exactly how to display the page. Christopher F. Miller wrote: You might be able to skip a lot of the logic if you use PageSelectField. Have you looked at that? This is a really good suggestion. Part of me would prefer to have one big ugly flypage with conditionals built in so that I can make any look and feel changes in one location. (Most of the changes are pretty minor between the different types.) That said, it certainly would simplify things a lot to have each of the different configurations have a separate "flypage" so debugging would be greatly simplified. I can probably break things down into six or so cases, and even write a quick Perl script to populate a column for the right flypage to use. Hmmm. I'm still interested in ways to make the ITL syntax cleaner, but this suggestion is a good one. Thanks! -- Bob From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Dec 20 17:26:01 2001 Subject: [ic] improving awkward IF syntax On Thu, Dec 20, 2001 at 02:05:20PM -0800, Bob Ramstad wrote: > On Thu, Dec 20, 2001 at 12:33:31PM -0800, Bob Ramstad wrote: > > Second question. > > > > (Again, I'm a digester, so if you send a response to the list and to > > me directly, I'll be able to get this fixed faster. Thanks in advance > > for CCing me directly. Yow.) > > > > One of my goals is to make it so that all the content lives in the > > database and is being served from flypage.html. That's the way we've > > got it architected on another system, and we'd like to keep it that > > way. > > > > I've added products::type and products::orderable as columns to the > > products database. type can be PAGE, ITEM or NIL. orderable can be > > YES or NO. Using combinations of these settings, I can determine > > exactly how to display the page. > > > Christopher F. Miller wrote: > > You might be able to skip a lot of the logic if you use > PageSelectField. Have you looked at that? > > This is a really good suggestion. > > Part of me would prefer to have one big ugly flypage with conditionals > built in so that I can make any look and feel changes in one location. > (Most of the changes are pretty minor between the different types.) > > That said, it certainly would simplify things a lot to have each of > the different configurations have a separate "flypage" so debugging > would be greatly simplified. I can probably break things down into > six or so cases, and even write a quick Perl script to populate a > column for the right flypage to use. Hmmm. > > I'm still interested in ways to make the ITL syntax cleaner, but this > suggestion is a good one. Thanks! You can probably whip up some sort of perl script that will build the pages for you from one source file. There are all sorts of other ways to keep your pages consistent. > > -- Bob -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Thu Dec 20 17:39:00 2001 Subject: [ic] item-field and interpolate On Thu, 20 Dec 2001, Bob Ramstad wrote: > [strip reparse=1][item-field comment][/strip] > > I tried this, with no luck. Upon further examination, I discovered > that somehow the left bracket is getting changed to &#91; presumably > making it so that Interchange doesn't see the right value. Odd. When > I do a manual select out of the database using mysql from the command > line, it appears the same. > > e.g. in comment for this particular item, I have: > > <MAP NAME="ccnavmap"> > <AREA SHAPE="rect" COORDS="0,0,91,14" > HREF="\[area samplers\]" ALT="Samplers"> > <AREA SHAPE="rect" COORDS="93,0,184,14" > HREF="[area spaceage]" ALT="Space Age"> > > This appears this way in both the admin UI and when using mysql from > the command line. > > Both > > [item-field comment] > > AND > > [strip reparse=1][item-field comment][/strip] > > in flypage.html produce the same output: > > <MAP NAME="ccnavmap"> > <AREA SHAPE="rect" COORDS="0,0,91,14" > HREF="\&#91;area samplers\]" ALT="Samplers"> > <AREA SHAPE="rect" COORDS="93,0,184,14" > HREF="&#91;area spaceage]" ALT="Space Age"> Oh, *that* problem. :) You need to set [pragma safe_data] somewhere on the page, or put that section inside a [tag pragma safe_data] ... [/tag] block. I think. Jon From: interchange-users at interchange.redhat.com (texas pimp) Date: Thu Dec 20 18:24:01 2001 Subject: [ic] interchange secure setup Hi, My name is david and i been trying to setup ic 8.1 I can not setup the pgp, and secure server. This is what i done so far i have got the pgp free ware 7.03 program and have created keys then in the ic admin side i went to administration>preferences>encryption and changed code Variable pref_group ENCRYPTOR PGP Encryption PGP_KEY 0x7FE937F2 Encryption Also in administration>preferences>general for the secure server i enabled it to yes then changed administration>tables>variable>secure server to https://servb.webbserv.net and the order_to is the same e-mail as my pgp key david1010@vinet.com My site is being hosted by someone else can someone show me a good example or tell me how to do it i been stuck here for 4 weeks please help. Please Help Me I will aperciate it alot Thankyou, David From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Dec 20 19:07:01 2001 Subject: [ic] Change Domain Name - How to ? > It drove me crazy trying to find variables.txt..... > > It is variable.txt not variables. How hard would it be to > change the name > of the file in the distribution? variables.txt makes more sense all > around... I disagree, for the same reason that '/bin' is not '/bins': brevity[1]. Just think, you could probably save 90-100 NANO-seconds! :-) Dan Browning Sr. Tech Consultant Kavod Technologies <dan.browning@kavod.com> [1] Not to be confused with Brev the person. From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Dec 20 19:15:00 2001 Subject: [ic] one click erase cart contents > i'm trying to figure out the correct way to do this, i'm > using interchange 4.8.2 with the foundation > template. i want to provide a button or link that when > pressed it will clear everything in the > cart. what is the correct way to write the ic routine to do that? > > thanks, > > ./chad& This one gets asked a lot. <!-- Empty main shopping cart [calc] @{$Carts->{$CGI->{mv_cartname} || 'main'}} = (); return; [/calc] --> HTH, Dan Browning Sr. Tech Consultant Kavod Technologies <dan.browning@kavod.com> From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Dec 20 19:59:00 2001 Subject: [ic] one click erase cart contents > > i'm trying to figure out the correct way to do this, i'm > > using interchange 4.8.2 with the foundation > > template. i want to provide a button or link that when > > pressed it will clear everything in the > > cart. what is the correct way to write the ic routine to do that? > > > > thanks, > > > > ./chad& > > This one gets asked a lot. > > <!-- Empty main shopping cart > [calc] > @{$Carts->{$CGI->{mv_cartname} || 'main'}} = (); > return; > [/calc] > --> > > HTH, > > Dan Browning Oops. That's what I get for answering before reading the question. What you *really* want is: mv_todo=cancel In your [button] or <INPUT>. Merry Christmas, Dan Browning Sr. Tech Consultant Kavod Technologies <dan.browning@kavod.com> From: interchange-users at interchange.redhat.com (Pete Keiper-White) Date: Thu Dec 20 21:33:00 2001 Subject: [ic] Newbie question about makecat and permissions So, I installed IC 4.8.3 from the RPM as root and all went well. When I use makecat as root it goes through it without any problems but when I try to access the demo I get a "We're sorry the Interchange server is unavailable..." message. If I try to use makecat as interch or a regular user it goes through the process until the very end when it says "Couldn't copy interchange.cfg: Permission denied". I didn't touch the permissions from the install. I have tried running makecat from /usr/lib/interchange where everything is root:root and from /usr/local/lib/interchange where everything is interch:interch. The permissions in question: in /usr/lib: lrwxrwxrwx 1 root root 20 Dec 20 21:07 interchange.cfg -> /etc/interchange.cfg -rw-rw---- 1 interch interch 3502 Dec 20 21:22 interchange.cfg Advice, suggestions? What am I missing? It's running Red Hat 7 and perl 5.6 and apache 1.3.17 Pete From: interchange-users at interchange.redhat.com (Steve Graham) Date: Thu Dec 20 22:31:01 2001 Subject: [ic] interchange secure setup Hello, Someone may need to correct me here, but I think you have to log in as interch, or do a linux su command to switch to interch then set the pgp, or gpg as the interch user for IC to reconize the keys correctly. -Steve >From: texas pimp <texasballer2k@yahoo.com> >Reply-To: interchange-users@interchange.redhat.com >To: interchange-users@interchange.redhat.com >Subject: [ic] interchange secure setup >Date: Thu, 20 Dec 2001 15:23:52 -0800 (PST) > >Hi, >My name is david and i been trying to setup ic 8.1 >I can not setup the pgp, and secure server. This is >what i done so far i have got the pgp free ware 7.03 >program and have created keys then in the ic admin >side i went to administration>preferences>encryption >and changed >code Variable pref_group >ENCRYPTOR PGP Encryption >PGP_KEY 0x7FE937F2 Encryption >Also in >administration>preferences>general >for the secure server i enabled it to yes > >then changed administration>tables>variable>secure >server to https://servb.webbserv.net > >and the order_to is the same e-mail as my pgp key >david1010@vinet.com >My site is being hosted by someone else can someone >show me a good example or tell me how to do it i been >stuck here for 4 weeks please help. >Please Help Me I will aperciate it alot >Thankyou, >David > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Thu Dec 20 23:21:01 2001 Subject: [ic] interchange secure setup Just make sure that the Public Key is in the .gnupg directory of the user of interchange. So if the user would be "username" the Public key should be in /home/username/.gnupg/ Interchange will automatically use the pgp program for encryption so no need to specify it in the Admin section. Just put in the key. If you have made a key pair, import the public key as "username" and this will put it in the correct directory. Anton -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Steve Graham Sent: Friday, December 21, 2001 3:30 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] interchange secure setup Hello, Someone may need to correct me here, but I think you have to log in as interch, or do a linux su command to switch to interch then set the pgp, or gpg as the interch user for IC to reconize the keys correctly. -Steve >From: texas pimp <texasballer2k@yahoo.com> >Reply-To: interchange-users@interchange.redhat.com >To: interchange-users@interchange.redhat.com >Subject: [ic] interchange secure setup >Date: Thu, 20 Dec 2001 15:23:52 -0800 (PST) > >Hi, >My name is david and i been trying to setup ic 8.1 >I can not setup the pgp, and secure server. This is >what i done so far i have got the pgp free ware 7.03 >program and have created keys then in the ic admin >side i went to administration>preferences>encryption >and changed >code Variable pref_group >ENCRYPTOR PGP Encryption >PGP_KEY 0x7FE937F2 Encryption >Also in >administration>preferences>general >for the secure server i enabled it to yes > >then changed administration>tables>variable>secure >server to https://servb.webbserv.net > >and the order_to is the same e-mail as my pgp key >david1010@vinet.com >My site is being hosted by someone else can someone >show me a good example or tell me how to do it i been >stuck here for 4 weeks please help. >Please Help Me I will aperciate it alot >Thankyou, >David > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Fri Dec 21 02:50:00 2001 Subject: [ic] Newbie question about makecat and permissions > So, I installed IC 4.8.3 from the RPM as root and all went well. > > When I use makecat as root it goes through it without any problems but > when I try to access the demo I get a "We're sorry the Interchange server > is unavailable..." message. > > If I try to use makecat as interch or a regular user it goes through the > process until the very end when it says "Couldn't copy interchange.cfg: > Permission denied". > > I didn't touch the permissions from the install. > > I have tried running makecat from /usr/lib/interchange where everything is > root:root and from /usr/local/lib/interchange where everything is > interch:interch. > > > The permissions in question: > > in /usr/lib: > > lrwxrwxrwx 1 root root 20 Dec 20 21:07 interchange.cfg -> > /etc/interchange.cfg > > -rw-rw---- 1 interch interch 3502 Dec 20 21:22 interchange.cfg > > > > Advice, suggestions? What am I missing? > > It's running Red Hat 7 and perl 5.6 and apache 1.3.17 Do a search on the forums page for "We're sorry", and should find the answer you seek. Tom Carroll Dataware Computers From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Fri Dec 21 04:50:01 2001 Subject: [ic] memory usage > > > In analyzing some speed problems, redhat linux indicates that the > > > interchange process itself is using 204mb of memory. We have a catalog > > > of over 100,000 items. Is this typical? Could some of the speed issues > > > we have be attributed to having a system with 512mb of total memory and > > > each interchange instance requiring 204mb (granted that a good chunk > > > appears to be shared)? > > > > > Are you sure that's 204MB and not 20.4MB? The memory usage you are > > seeing would not be typical. How are you measuring that amount? > > > I run the "top" utility in redhat and the memory clearly indicates 204M > where the next largest process has a value such as 12500 for something like > mysqld. I'm assuming values are in units of 'K' so mysqld is using 12.5mb > with interchange at 204mb. I'd like to see what other people have as a > value. I do have 150,000 items in the products table. Is interchange caching > data? > Interchange doesn't cache resultsets or any other dynamic data between page requests, other than small things such as database connection handles, so that shouldn't be an issue. As a comparison, here are my largest interchange, httpd and mysql processes, as reported by top and then pasted here: PID USER PRI SIZE TRS RSS SHARE STAT %CPU %MEM TIME COMMAND 19634 centrewo 0 25252 636 24M 15032 S 0.0 1.6 0:08 interchange 20712 nobody 0 5788 808 5396 4884 S 0.0 1.3 0:00 httpd 671 mysql 0 4380 1168 4076 1112 S 0.0 0.2 0:00 mysqld It looks like both your interchange and mysql processes are using around 10x the memory that mine do, which is why I asked whether you meant 20.4MB rather than 204MB. I'm at a loss to explain how your interchange process could sustain a size of 204MB, unless you are keeping your products table as an 'in-memory' table, or are running thousands of shops. Even then, your mysqld seems to be using more memory than it is entitled to. Can anyone else shed some light on this? -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Fri Dec 21 05:37:01 2001 Subject: [ic] Is it a bug > This problem seems to be able to be duplicated in the foundation > sample. > > If you go to the above site and select any menu item on the left > side bar then > > 1 .Click on any text name of an item in the middle > > 2 .From the selected item .... use the tool bar back button to go > back one page. > > 3. Then place a number in any OTHER item click the Buy Now Key. > > The graphic being displayed is the one that was selected in step 1, > not the graphic asscoiated with what was selected in step 3. > > We are assuming that the page is not being refreshed when the > back button is used to return to the previous page. How can we > refresh the page when we use the back button to return to the > previous page? > Interchange keeps a historical list of the last few pages your session has visited. When you clicked on the 'buy' button in step 3, the results.html page will have done a history scan and bounced you to the last page it knows you visited. Interchange expects this to be the results page, but it is the flypage, because of your use of the 'back' button and your browser's cache. To change this, you could modify the [history-scan] tag in the results.html page to exclude the flypage. To try this, edit your results.html and change this: [bounce href="[history-scan exclude=nothing]"] on or around line 87, to something like this: [bounce href="[history-scan exclude='^/nothing|^/flypage']"] Of course, this will only catch users who 'back button' from the flypage. A better solution would be to specifically look for the results page and bounce there, like this: [bounce href="[history-scan find='^/scan|^/search' default=index]"] -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Fri Dec 21 06:14:01 2001 Subject: [ic] More problems with Spreadsheet Export Mike Heins wrote: > Quoting Jason Kohles (jkohles@redhat.com): > > On Wed, Dec 19, 2001 at 06:24:51PM -0800, Peter Hicks wrote: > > > On Wednesday 19 December 2001 17:54, Justin Bonds wrote: > > > > Patrick, > > > > > > > > When running the Store Wizard and using an Excel file to > input, I get > > > > nearly the same end result as you.   I just discovered it a > couple of > > > > nights ago. Now, in my situation - it actually cuts off the text. > > > > > > > I believe this is a limit of Excel or the Excel file format. > > > > > Yes, it is, Excel has a limit of 256 characters per cell. Although they > > don't publicize this, you can usually find references to it in non-Excel > > related documentation, such as this from an Exchange guide: > > > > Important > > Microsoft Excel and other spreadsheet programs have a 256-character > > limit per cell. The proxy-addresses field can have more than 256 > > characters. Do not import the directory export file into Microsoft > > Excel or any other spreadsheet with this limitation because any > > characters beyond the first 256 are truncated and lost without > > warning. Use a database program such as Microsoft Access or > Microsoft > > Visual FoxPro(tm) to get around this limitation. > > > > This is true of Excel '95, but not of '97 and above. I have actually > tested spreadsheet import and export of text fields greater than > 256 characters on Excel 2000 and '97. > Is this a case of the dbm type database field limitation of 256 chars then? Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Fri Dec 21 06:39:00 2001 Subject: [ic] Happy Christmas! I would like to wish you all a happy Christmas and a merry new year! -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ WARNING: This email may be harmful or fatal if swallowed. Do not insert this email into the ear canal. The author will not be held responsible for injuries due to reading this email in a shower. Prolonged inhalation of fumes from this email may result in nausea, dizziness, convulsions and death. Do not operate a motor vehicle, heavy equipment or power tools while reading this email. Dispose of this email in a responsible manner when finished reading. The author of this email is under pressure - do not puncture or incinerate emails from this author, even when empty. This email may not be suitable for children under 12. Discontinue reading this email if a skin rash appears and consult a doctor immediately. From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Fri Dec 21 08:00:01 2001 Subject: [ic] How to sett toggle ? I want to make a var as a toggle (either people want to see prices with or without vat). I want it on every page, so I put it in the template. This is a Foundation based shop. This works for a simple page like index.html (perhaps it could be simpler, but for a test it's OK): <form action="[process]" method="post"> <input type=hidden name="mv_nextpage" value="[var MV_PAGE 1]"> [set test] [if scratch vat_display][set vat_display][/set][else][set vat_display]1[/set][/else][/if] mv_todo=return [/set] <INPUT TYPE=submit NAME=mv_click VALUE="test"> </form> But for more complex pages as flypage, that has to know which product it's displaying, it looses this information and shows up a wrong page with ic tags that doesn't know what they're supposed to do. Maybe there is a simple solution, but I can't find it. Please help, someone. -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@kakidata.dk From: interchange-users at interchange.redhat.com (Bill Carr) Date: Fri Dec 21 08:52:00 2001 Subject: [ic] How to sett toggle ? On Fri, 2001-12-21 at 07:59, Kaare Rasmussen wrote: > I want to make a var as a toggle (either people want to see prices with or > without vat). > I want it on every page, so I put it in the template. This is a Foundation > based shop. > This works for a simple page like index.html (perhaps it could be simpler, > but for a test it's OK): > > <form action="[process]" method="post"> > <input type=hidden name="mv_nextpage" value="[var MV_PAGE 1]"> > [set test] > [if scratch vat_display][set vat_display][/set][else][set > vat_display]1[/set][/else][/if] > mv_todo=return > [/set] > <INPUT TYPE=submit NAME=mv_click VALUE="test"> > </form> You could use a hash for vat_display. Something like: [calc] $Scratch->{vat_display}->{[item-code]} = $Scratch->{vat_display}->{[item-code]} ? 0 : 1; [calc] -- Bill Carr Worldwide Impact bill@worldwideimpact.com 413-253-6700 From: interchange-users at interchange.redhat.com (sphen) Date: Fri Dec 21 08:59:00 2001 Subject: [ic] memory usage on 12/21/01 4:48 AM, Kevin Walsh at kevin@cursor.uk.com wrote: >>>> In analyzing some speed problems, redhat linux indicates that the >>>> interchange process itself is using 204mb of memory. We have a catalog >>>> of over 100,000 items. Is this typical? Could some of the speed issues >>>> we have be attributed to having a system with 512mb of total memory and >>>> each interchange instance requiring 204mb (granted that a good chunk >>>> appears to be shared)? >>>> >>> Are you sure that's 204MB and not 20.4MB? The memory usage you are >>> seeing would not be typical. How are you measuring that amount? >>> >> I run the "top" utility in redhat and the memory clearly indicates 204M >> where the next largest process has a value such as 12500 for something like >> mysqld. I'm assuming values are in units of 'K' so mysqld is using 12.5mb >> with interchange at 204mb. I'd like to see what other people have as a >> value. I do have 150,000 items in the products table. Is interchange caching >> data? >> > Interchange doesn't cache resultsets or any other dynamic data between > page requests, other than small things such as database connection > handles, so that shouldn't be an issue. > > As a comparison, here are my largest interchange, httpd and mysql > processes, as reported by top and then pasted here: > > PID USER PRI SIZE TRS RSS SHARE STAT %CPU %MEM TIME COMMAND > 19634 centrewo 0 25252 636 24M 15032 S 0.0 1.6 0:08 interchange > 20712 nobody 0 5788 808 5396 4884 S 0.0 1.3 0:00 httpd > 671 mysql 0 4380 1168 4076 1112 S 0.0 0.2 0:00 mysqld > > It looks like both your interchange and mysql processes are using > around 10x the memory that mine do, which is why I asked whether > you meant 20.4MB rather than 204MB. > > I'm at a loss to explain how your interchange process could sustain > a size of 204MB, unless you are keeping your products table as an > 'in-memory' table, or are running thousands of shops. Even then, > your mysqld seems to be using more memory than it is entitled to. > > Can anyone else shed some light on this? mine is similar to above also... PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 13877 interch 9 0 24916 24M 14260 S 0.0 3.2 0:15 interchange 13017 apache 9 0 3520 3520 3104 S 0.0 0.4 0:00 httpd 610 mysql 5 0 3368 3368 1496 S 0.0 0.4 0:01 mysqld From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Fri Dec 21 09:30:00 2001 Subject: [ic] Re: How to sett toggle ? Hi > You could use a hash for vat_display. Something like: Thanks, but this is not the real problem. The trouble is that when pressing the button, the next page is weird. -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@kakidata.dk From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Fri Dec 21 09:38:01 2001 Subject: [ic] Newbie question about makecat and permissions > > So, I installed IC 4.8.3 from the RPM as root and all went well. > > > > When I use makecat as root it goes through it without any problems but > > when I try to access the demo I get a "We're sorry the > Interchange server > > is unavailable..." message. > > > > If I try to use makecat as interch or a regular user it goes through the > > process until the very end when it says "Couldn't copy interchange.cfg: > > Permission denied". > > > > I didn't touch the permissions from the install. > > > > I have tried running makecat from /usr/lib/interchange where > everything is > > root:root and from /usr/local/lib/interchange where everything is > > interch:interch. > > > > > > The permissions in question: > > > > in /usr/lib: > > > > lrwxrwxrwx 1 root root 20 Dec 20 21:07 > interchange.cfg -> > > /etc/interchange.cfg > > > > -rw-rw---- 1 interch interch 3502 Dec 20 21:22 interchange.cfg > > > > > > > > Advice, suggestions? What am I missing? > > > > It's running Red Hat 7 and perl 5.6 and apache 1.3.17 Not sure but I think I remember having to mess with the permissions of the cgi-bin script to make it work. I did a RPM install and ran makecat as root. Mine are as follows: -rwsr-xr-x 1 interch interch 7164 Oct 26 16:15 foundation That would be the first thing I would check. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 21 09:52:01 2001 Subject: [ic] Put products into Multiple Category - How to ? Hi there, Another problem. How can I make multiple categories for one product? say 3 categories. I try to find from the document, but it doesn't say anything about multiple category. thank you in advance. prasit _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Dec 21 10:52:01 2001 Subject: [ic] More problems with Spreadsheet Export On Fri, Dec 21, 2001 at 11:09:54AM -0000, Jonathan Clark wrote: > Mike Heins wrote: > > > > This is true of Excel '95, but not of '97 and above. I have actually > > tested spreadsheet import and export of text fields greater than > > 256 characters on Excel 2000 and '97. > > > > Is this a case of the dbm type database field limitation of 256 chars then? > The only dbm implementation I am aware of that has a limit is SDBM on Solaris, and while the limit is small enough to be annoying, it's larger than 256 (although I don't remember off-hand what the limit is)... -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Fri Dec 21 11:20:01 2001 Subject: [ic] How to sett toggle ? On Fri, 21 Dec 2001, Kaare Rasmussen wrote: > <form action="[process]" method="post"> > <input type=hidden name="mv_nextpage" value="[var MV_PAGE 1]"> > [set test] > [if scratch vat_display][set vat_display][/set][else][set > vat_display]1[/set][/else][/if] > mv_todo=return > [/set] > <INPUT TYPE=submit NAME=mv_click VALUE="test"> > </form> > > But for more complex pages as flypage, that has to know which product it's > displaying, it looses this information and shows up a wrong page with ic > tags that doesn't know what they're supposed to do. > > Maybe there is a simple solution, but I can't find it. Please help, someone. I don't know of a simple way -- you probably just need to pass all the CGI variables in the form. How about a simple usertag like this: UserTag form_hidden addAttr UserTag form_hidden Routine <<EOR sub { my ($opt) = @_; return unless $opt->{cgi}; my $cgi; if ($opt->{cgi} eq '1') { $cgi = $CGI; } else { $cgi = {}; for (split ' ', $opt->{cgi}) { $cgi->{$_} = $CGI->{$_} if defined $CGI->{$_}; } } my $form = ''; $form .= qq{<input type=hidden name="$_" value="$cgi->{$_}">\n} for keys %$cgi; return $form; } EOR Then change your form to look like this: <form action="[process]" method=post> [cgi name="mv_nextpage" set="[var MV_PAGE 1]" hide=1] [form_hidden cgi=1] [set test] [if scratch vat_display][set vat_display][/set][else][set vat_display]1[/set][/else][/if] mv_todo=return [/set] <input type=submit name="mv_click" value=test> </form> And if you don't actually want to pass on *all* CGI parameters, you can instead do: [form_hidden cgi="mv_nextpage some_cgi another_one"] and so on. I actually tested this, and it works. :) Jon From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 21 11:39:00 2001 Subject: [ic] More problems with Spreadsheet Export On Fri, Dec 21, 2001 at 09:52:17AM -0600, Jason Kohles wrote: > On Fri, Dec 21, 2001 at 11:09:54AM -0000, Jonathan Clark wrote: > > Mike Heins wrote: > > > > > > This is true of Excel '95, but not of '97 and above. I have actually > > > tested spreadsheet import and export of text fields greater than > > > 256 characters on Excel 2000 and '97. > > > > > > > Is this a case of the dbm type database field limitation of 256 chars then? > > > The only dbm implementation I am aware of that has a limit is SDBM on Solaris, > and while the limit is small enough to be annoying, it's larger than 256 > (although I don't remember off-hand what the limit is)... I missed the start of this. The DBI modules (parse and write spreadsheet AFAICR) have a 256 char limit in them for excel. DBD::Excel calls them, so it has the same limit. You need to hack the pm to raise the limit, at least on write. That's next to impossible to maintain if you are using a package manager (eg rpm or deb). The amount of data one can enter and save into an excel field in one recent version appears to be about 15362 chars. Might be version specific. At any rate, counting on more than 256 when the perl modules don't provide more is asking for trouble. The data is silently truncated. -- Note I'm not talking about 'dbm' at all. cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Dec 21 12:16:01 2001 Subject: [ic] More problems with Spreadsheet Export Quoting cfm@maine.com (cfm@maine.com): > On Fri, Dec 21, 2001 at 09:52:17AM -0600, Jason Kohles wrote: > > On Fri, Dec 21, 2001 at 11:09:54AM -0000, Jonathan Clark wrote: > > > Mike Heins wrote: > > > > > > > > This is true of Excel '95, but not of '97 and above. I have actually > > > > tested spreadsheet import and export of text fields greater than > > > > 256 characters on Excel 2000 and '97. > > > > > > > > > > Is this a case of the dbm type database field limitation of 256 chars then? > > > > > The only dbm implementation I am aware of that has a limit is SDBM on Solaris, > > and while the limit is small enough to be annoying, it's larger than 256 > > (although I don't remember off-hand what the limit is)... > > I missed the start of this. > > The DBI modules (parse and write spreadsheet AFAICR) have a 256 > char limit in them for excel. DBD::Excel calls them, so it has > the same limit. You need to hack the pm to raise the limit, at > least on write. That's next to impossible to maintain if you > are using a package manager (eg rpm or deb). > > The amount of data one can enter and save into an excel field in > one recent version appears to be about 15362 chars. Might be > version specific. > > At any rate, counting on more than 256 when the perl modules don't > provide more is asking for trouble. The data is silently truncated. This is not true. I cannot characterize all versions of Excel (and Gnumeric), but the import/export works fine with the ones I mentioned at arbitrary sizes. I provided a few options, and make the proper tweaks in the objects at the time of import or export. Neither uses DBD::Excel. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: interchange-users at interchange.redhat.com (Collin Condray) Date: Fri Dec 21 12:31:00 2001 Subject: [ic] Limiting access to item by user I have a problem that I hope that Interchange can solve. We have a client that has two different sets of items to sell on their website. One set of items is retail items for the public, anyone can order from this set of items. The other is a wholesale list of items that can only be accessed by our client's few dozen or so wholesellers. Our client needs to be able to limit who can see an item in the wholesale list by wholeseller so one wholeseller cannot see what another wholeseller is able to buy. I've seen a couple of references to wholesale items in the documentation but they seem to be geared only to lowering the price depending on how many items you buy. I've also read about how to limit access certain files but I don't see how to translate that into limiting access to items. Is there anything built into Interchange that I am missing that allows me to do this? If not, does anyone have any suggestions on approaching this problem? To let you know my technical background and experience with Interchange. I have set up 2 or 3 working Interchange stores for other clients by modifying the default store and have made a few minor customizations . however, I am not an Interchange expert by any means. I am a fairly good Perl programmer though. Please let me know if I can provide any more information about my problem. Any help would be appreciated. Thanks in advance! -- Collin Condray Webmaster Webbsite, Inc. www.webbsite.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 21 12:50:01 2001 Subject: [ic] More problems with Spreadsheet Export On Fri, Dec 21, 2001 at 12:15:53PM -0500, Mike Heins wrote: > Quoting cfm@maine.com (cfm@maine.com): > > > > > This is true of Excel '95, but not of '97 and above. I have actually > > > > > tested spreadsheet import and export of text fields greater than > > > > > 256 characters on Excel 2000 and '97. ... > > I missed the start of this. > > > > The DBI modules (parse and write spreadsheet AFAICR) have a 256 > > char limit in them for excel. DBD::Excel calls them, so it has > > the same limit. You need to hack the pm to raise the limit, at > > least on write. That's next to impossible to maintain if you > > are using a package manager (eg rpm or deb). > > > > The amount of data one can enter and save into an excel field in > > one recent version appears to be about 15362 chars. Might be > > version specific. > > > > At any rate, counting on more than 256 when the perl modules don't > > provide more is asking for trouble. The data is silently truncated. > > This is not true. I cannot characterize all versions of Excel (and Gnumeric), > but the import/export works fine with the ones I mentioned at arbitrary > sizes. I provided a few options, and make the proper tweaks in the > objects at the time of import or export. > > Neither uses DBD::Excel. <------ That's the ticket, I stand corrected. For future reference, someone using DBD::Excel or Spreadsheet perl modules to access same files will run into issues here: >From Spreadsheet::WriteExcel.pm: =item * Move to Excel97/2000 format as standard. This will allow strings greater than 255 characters and hope fully Unicode. The Excel 5 format will be optional. This will be in the next major release of the module. All other features are on hold. This is limit it package Spreadsheet::WriteExcel::Worksheet.pm: my $rowmax = 65536; # cfm change from 16384 in Excel 5 > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > Being against torture ought to be sort of a bipartisan thing. > -- Karl Lehenbauer > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Peter Jakl) Date: Fri Dec 21 12:58:01 2001 Subject: [ic] memory usage > >>>> In analyzing some speed problems, redhat linux indicates that the > >>>> interchange process itself is using 204mb of memory. We have a > catalog > >>>> of over 100,000 items. Is this typical? Could some of the speed > issues > >>>> we have be attributed to having a system with 512mb of total memory > and > >>>> each interchange instance requiring 204mb (granted that a good chunk > >>>> appears to be shared)? > >>>> > >>> Are you sure that's 204MB and not 20.4MB? The memory usage you are > >>> seeing would not be typical. How are you measuring that amount? > >>> > >> I run the "top" utility in redhat and the memory clearly indicates 204M > >> where the next largest process has a value such as 12500 for something > like > >> mysqld. I'm assuming values are in units of 'K' so mysqld is using > 12.5mb > >> with interchange at 204mb. I'd like to see what other people have as a > >> value. I do have 150,000 items in the products table. Is interchange > caching > >> data? > >> > > Interchange doesn't cache resultsets or any other dynamic data between > > page requests, other than small things such as database connection > > handles, so that shouldn't be an issue. > > > > As a comparison, here are my largest interchange, httpd and mysql > > processes, as reported by top and then pasted here: > > > > PID USER PRI SIZE TRS RSS SHARE STAT %CPU %MEM TIME COMMAND > > 19634 centrewo 0 25252 636 24M 15032 S 0.0 1.6 0:08 > interchange > > 20712 nobody 0 5788 808 5396 4884 S 0.0 1.3 0:00 httpd > > 671 mysql 0 4380 1168 4076 1112 S 0.0 0.2 0:00 mysqld > > > > It looks like both your interchange and mysql processes are using > > around 10x the memory that mine do, which is why I asked whether > > you meant 20.4MB rather than 204MB. > > > > I'm at a loss to explain how your interchange process could sustain > > a size of 204MB, unless you are keeping your products table as an > > 'in-memory' table, or are running thousands of shops. Even then, > > your mysqld seems to be using more memory than it is entitled to. > > > > Can anyone else shed some light on this? > > mine is similar to above also... > > PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND > 13877 interch 9 0 24916 24M 14260 S 0.0 3.2 0:15 interchange > 13017 apache 9 0 3520 3520 3104 S 0.0 0.4 0:00 httpd > 610 mysql 5 0 3368 3368 1496 S 0.0 0.4 0:01 mysqld > I created the original post on this. Just to be clear, here's my pasted output from "top": PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND 4601 interch 9 0 205M 194M 1572 S 0 0.0 38.7 0:28 interchange 517 mysql 9 0 10740 10M 1544 S 0 0.0 2.0 0:00 mysqld 520 mysql 8 0 10740 10M 1544 S 0 0.0 2.0 0:01 mysqld 521 mysql 9 0 10740 10M 1544 S 0 0.0 2.0 4:31 mysqld Peter From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 21 13:25:01 2001 Subject: [ic] More problems with Spreadsheet Export > Quoting From: cfm@maine.com [mailto:cfm@maine.com] > > On Fri, Dec 21, 2001 at 12:15:53PM -0500, Mike Heins wrote: > > Quoting cfm@maine.com (cfm@maine.com): > > > > > > > This is true of Excel '95, but not of '97 and > above. I have actually > > > > > > tested spreadsheet import and export of text fields > greater than > > > > > > 256 characters on Excel 2000 and '97. > ... > > > I missed the start of this. > > > > > > The DBI modules (parse and write spreadsheet AFAICR) have a 256 > > > char limit in them for excel. DBD::Excel calls them, so it has > > > the same limit. You need to hack the pm to raise the limit, at > > > least on write. That's next to impossible to maintain if you > > > are using a package manager (eg rpm or deb). > > > > > > The amount of data one can enter and save into an excel field in > > > one recent version appears to be about 15362 chars. Might be > > > version specific. > > > > > > At any rate, counting on more than 256 when the perl modules don't > > > provide more is asking for trouble. The data is silently > truncated. > > > > This is not true. I cannot characterize all versions of > Excel (and Gnumeric), > > but the import/export works fine with the ones I mentioned > at arbitrary > > sizes. I provided a few options, and make the proper tweaks in the > > objects at the time of import or export. > > > > Neither uses DBD::Excel. <------ That's the ticket, I > stand corrected. > > For future reference, someone using DBD::Excel or Spreadsheet perl > modules to access same files will run into issues here: > > From Spreadsheet::WriteExcel.pm: > =item * Move to Excel97/2000 format as standard. This will allow > strings greater than 255 characters and hope fully Unicode. The > Excel 5 format will be optional. This will be in the next major > release of the module. All other features are on hold. > > This is limit it package Spreadsheet::WriteExcel::Worksheet.pm: > my $rowmax = 65536; # cfm change from > 16384 in Excel 5 The line I find more interesting is two below that line: my $strmax = 255; Makes me think that Worksheet.pm has 255 as the max length of the contents of any given cell. It uses this value in the code below: if ($strlen > $self->{_xls_strmax}) { # LABEL must be < 255 chars $str = substr($str, 0, $self->{_xls_strmax}); $length = 0x0008 + $self->{_xls_strmax}; $strlen = $self->{_xls_strmax}; $str_error = -3; } I'm a bit confused, though because it says the LABEL can't be more than 255 chars, which I would consider different than if the comment said that the CONTENT must be < 255 chars. It's truncating something to 255 char, I'm just not sure what. Patrick From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 21 13:32:01 2001 Subject: [ic] Change Database Type - How to? Hi, How can I change database type from default DBM database to MySQL database? I change variable in variable.txt, but it shows error Using MySQL, DSN=...table 'options' failed: connect failed (create) -- Can't connect( USER PASSWORD ), no database driver specified and DBI_DSN env var not set ..... where can I specify the dbi driver e.g. dbi:mysql:test_store anyone knows? _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Dec 21 13:44:01 2001 Subject: [ic] Limiting access to item by user > I have a problem that I hope that Interchange can solve. We have a > client that has two different sets of items to sell on their website. > One set of items is retail items for the public, anyone can > order from > this set of items. The other is a wholesale list of items > that can only > be accessed by our client's few dozen or so wholesellers. Our client > needs to be able to limit who can see an item in the > wholesale list by > wholeseller so one wholeseller cannot see what another wholeseller is > able to buy. > > I've seen a couple of references to wholesale items in the > documentation > but they seem to be geared only to lowering the price > depending on how > many items you buy. I've also read about how to limit access certain > files but I don't see how to translate that into limiting > access to items. > > Is there anything built into Interchange that I am missing > that allows > me to do this? If not, does anyone have any suggestions on > approaching > this problem? > > To let you know my technical background and experience with > Interchange. > I have set up 2 or 3 working Interchange stores for other > clients by > modifying the default store and have made a few minor > customizations . > however, I am not an Interchange expert by any means. I am a fairly > good Perl programmer though. > > Please let me know if I can provide any more information about my > problem. Any help would be appreciated. Thanks in advance! > > -- > Collin Condray See "affiliates". Should be fun. Dan Browning Sr. Tech Consultant Kavod Technologies <dan.browning@kavod.com> From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Fri Dec 21 14:38:00 2001 Subject: [ic] Single SKU in Multiple Categories > I am looking at alternatives of having a single SKU show up in multiple > categories. Looking through the archives, the best way to do this easily > is either to do a join in a separate table in the database, or to add a > second column in the products database table if the there are not going > to be an excessive amount, but this is clearly poor database design. > Someone had suggested seperating the category list by commas in the > products table, but this does not work to produce the desired result. > What you end up with is a new category with a name of the two categories > seperated by a comma on the results.html page. > By far the best way would be to have one table for your categories, one table for your products and a third "combination association" table to link the two. The third table would only need two columns: "category" and "sku". A non-unique index on each column will be useful. Coding multiple values into a single category column in the products table will prove more trouble than its worth. Any passing DBA will not be able to stop himself from yelling out strange terms like "Normalisation" and "1NF" whilst pointing at you in an "Invasion of the Body Snatchers" sort of way. :-) The complication will come in the administration: You will need a method of assigning SKUs to categories using this new table and, unless you use a database with cascade-delete facilities, you will need a method of removing the association records when either an SKU, or a category is deleted. I've done this before, and its no bother. Just plan what you want, and how you want to administer it, before you start. Best of luck. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 21 15:18:00 2001 Subject: [ic] Single SKU in Multiple Categories if you mess around with the table and/or UI, will there be any problems in the future when you want to upgrade the IC to a newer version? newbie, -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Kevin Walsh Sent: Friday, December 21, 2001 11:38 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Single SKU in Multiple Categories > I am looking at alternatives of having a single SKU show up in multiple > categories. Looking through the archives, the best way to do this easily > is either to do a join in a separate table in the database, or to add a > second column in the products database table if the there are not going > to be an excessive amount, but this is clearly poor database design. > Someone had suggested seperating the category list by commas in the > products table, but this does not work to produce the desired result. > What you end up with is a new category with a name of the two categories > seperated by a comma on the results.html page. > By far the best way would be to have one table for your categories, one table for your products and a third "combination association" table to link the two. The third table would only need two columns: "category" and "sku". A non-unique index on each column will be useful. Coding multiple values into a single category column in the products table will prove more trouble than its worth. Any passing DBA will not be able to stop himself from yelling out strange terms like "Normalisation" and "1NF" whilst pointing at you in an "Invasion of the Body Snatchers" sort of way. :-) The complication will come in the administration: You will need a method of assigning SKUs to categories using this new table and, unless you use a database with cascade-delete facilities, you will need a method of removing the association records when either an SKU, or a category is deleted. I've done this before, and its no bother. Just plan what you want, and how you want to administer it, before you start. Best of luck. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Dec 21 15:33:01 2001 Subject: [ic] memory usage Quoting Peter Jakl (peter@jakl.net): > > > > > > As a comparison, here are my largest interchange, httpd and mysql > > > processes, as reported by top and then pasted here: > > > > > > PID USER PRI SIZE TRS RSS SHARE STAT %CPU %MEM TIME COMMAND > > > 19634 centrewo 0 25252 636 24M 15032 S 0.0 1.6 0:08 > > interchange > > > 20712 nobody 0 5788 808 5396 4884 S 0.0 1.3 0:00 httpd > > > 671 mysql 0 4380 1168 4076 1112 S 0.0 0.2 0:00 mysqld > > > > > > It looks like both your interchange and mysql processes are using > > > around 10x the memory that mine do, which is why I asked whether > > > you meant 20.4MB rather than 204MB. > > > > > > I'm at a loss to explain how your interchange process could sustain > > > a size of 204MB, unless you are keeping your products table as an > > > 'in-memory' table, or are running thousands of shops. Even then, > > > your mysqld seems to be using more memory than it is entitled to. > > > > > > Can anyone else shed some light on this? > > > > mine is similar to above also... > > > > PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND > > 13877 interch 9 0 24916 24M 14260 S 0.0 3.2 0:15 > interchange > > 13017 apache 9 0 3520 3520 3104 S 0.0 0.4 0:00 httpd > > 610 mysql 5 0 3368 3368 1496 S 0.0 0.4 0:01 mysqld > > > > I created the original post on this. Just to be clear, here's my pasted > output from "top": > > PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME > COMMAND > 4601 interch 9 0 205M 194M 1572 S 0 0.0 38.7 0:28 > interchange > 517 mysql 9 0 10740 10M 1544 S 0 0.0 2.0 0:00 > mysqld > 520 mysql 8 0 10740 10M 1544 S 0 0.0 2.0 0:01 > mysqld > 521 mysql 9 0 10740 10M 1544 S 0 0.0 2.0 4:31 > mysqld > Nobody is mentioning operating system here. While it is possible to have large Interchange footprints (I have seen up to 100M with a couple of thousand subcatalogs) it should not approach that size. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> I am a great believer in luck, and I find that the harder I work the more luck I have. -- Thomas Jefferson From: interchange-users at interchange.redhat.com (Thomas J.M. Burton) Date: Fri Dec 21 15:39:00 2001 Subject: [ic] Using SQL Queries - Please Help Hello all, I know there's plenty of threads in the archive pertaining to various SQL questions, but searching through them has become frustrating. I've read a lot of them, as well as portions of the docs and still can't figure out how to do what I'm trying to do. Originally, I had a page containing: [query list=1 sql="SELECT p.*,b.brand_label,mc.mc_label,s1.sc1_label,s2.sc2_label FROM products p,brands b,maincat mc,subcat1 s1,subcat2 s2 WHERE p.mc_id=mc.mc_id AND p.sc1_id=s1.sc1_id AND p.sc2_id=s2.sc2_id AND p.brand_id = b.brand_id AND p.sc2_id='[value sc2]' ORDER BY b.brand_label" ml=20] Accessed using the URL: http://new.adadance.com/cgi-bin/ada/scan/va=sc2=2/sp=sqltest This worked just how I wanted it to until I tried the links generated by the [more] tag. If you try it, you'll see that it doesn't actually go to the next page but reloads the first page of the search instead. After searching through the docs and maillist archives, I decided to try the search as a link: (line breaks inserted for readability, sq is actually one line) [page scan st=sql sq="SELECT r.*,b.brand_label,mc.mc_label,s1.sc1_label,s2.sc2_label FROM products r,brands b,maincat mc,subcat1 s1,subcat2 s2 WHERE r.mc_id=mc.mc_id AND r.sc1_id=s1.sc1_id AND r.sc2_id=s2.sc2_id AND r.brand_id = b.brand_id AND r.sc2_id='2' ORDER BY b.brand_label" sp=sqltest3 ml=10 ]Page Method[/page] The link generated by this code and a couple of other attempts can be found at: http://new.adadance.com/cgi-bin/ada/linktest The result here was [more]-generated links that worked perfectly, but the wrong query. These links return all products in the database. Rather than passing on the mv_sql_query specified, it's just doing "select * from products". When clicking one of these links, the log shows: 011221 12:23:13 350562 Connect interch@localhost as anonymous on ada 350562 Query select * from products 011221 12:23:14 350562 Quit I've even tried setting it up as a search profile and got the same results as I did with the link method. I'm sure I'm just missing something simple here. Probably not formatting my link correctly. If you can help, please tell me what's missing. If there is a thread I should reference, please include a link in your reply. I've spent the last two days searching the archives and haven't found anything that's solved my problem. I really need to utilize the speed of SQL queries in this and another project, so I must know how to get this working properly. Thanks in advance, TJMB From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 21 15:42:29 2001 Subject: [ic] Single SKU in Multiple Categories > -----Original Message----- > From: Kevin Walsh [mailto:kevin@cursor.uk.com] > Sent: Friday, December 21, 2001 12:38 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Single SKU in Multiple Categories > > > > I am looking at alternatives of having a single SKU show up > in multiple > > categories. Looking through the archives, the best way to > do this easily [snip] > > > By far the best way would be to have one table for your categories, > one table for your products and a third "combination association" > table to link the two. The third table would only need two columns: > "category" and "sku". A non-unique index on each column will be > useful. > > Coding multiple values into a single category column in the products > table will prove more trouble than its worth. Any passing DBA will > not be able to stop himself from yelling out strange terms like > "Normalisation" and "1NF" whilst pointing at you in an "Invasion of > the Body Snatchers" sort of way. :-) > > The complication will come in the administration: You will need a > method of assigning SKUs to categories using this new table and, > unless you use a database with cascade-delete facilities, you will > need a method of removing the association records when either an SKU, > or a category is deleted. > > I've done this before, and its no bother. Just plan what you want, > and how you want to administer it, before you start. > > Best of luck. I've done this with the site I'm working on and it works great. The tables are called section and section_product. The section has a name, a description and an image, and section_product has section_id and sku. I then created a PHP interface for the client to drop products into sections by sku (and to edit the description and attach the image). I also have a section_display table which allows me to link sections in any arbitrary hierarchy. The client wanted 3 levels of hierarchy, so it seemed the best way to go. Patrick From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Fri Dec 21 15:46:00 2001 Subject: [ic] customer add on-the-fly Hi everybody, Im struggling again with an OnFly ordering problem. I have successfully implemented on the fly ordering for items not in the products db for the admin section (entry page). However, I am now working on a new section where a customer will be able to add to their cart an item that is not in the db. Using the on the fly ordering tags I can successfully add the named item to the cart and the correct sku shows up. However, the description and the price will go through. Has anyone else run into this? Any ideas on the problem? Thanks a lot! Sincerely, Aaron Hazelton FixtureFactor.com V.P. 828.631.3477 We welcome your feedback! Please take 2 minutes and click here: http://www.fixturefactor.com/cgi-bin/ffactor.cgi/feedback.html From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Dec 21 15:49:19 2001 Subject: [ic] Single SKU in Multiple Categories > if you mess around with the table and/or UI, will there be > any problems in > the future when you want to upgrade the IC to a newer version? > > newbie, Probably not if you keep your lib/UI pages. Otherwise, merging your changes with a future UI version may or may not be so much fun. (Most likely it will be fun and easy). HTH, Dan Browning Sr. Tech Consultant Kavod Technologies <dan.browning@kavod.com> From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Dec 21 18:08:01 2001 Subject: [ic] customer add on-the-fly Quoting FixtureFactor.com (aaron@fixturefactor.com): > Hi everybody, > > Im struggling again with an OnFly ordering problem. I have successfully > implemented on the fly ordering for items not in the products db for the > admin section (entry page). However, I am now working on a new section > where a customer will be able to add to their cart an item that is not > in the db. Using the on the fly ordering tags I can successfully add > the named item to the cart and the correct sku shows up. I understand you right up to here. > However, the description and the price will go through. This completely lost me. I will tell you that if the description doesn't show up when you order the item, then the CGI parameters used to order the item are not done properly. Also, to use the standard onfly ordering routine you need: OnFly onfly in catalog.cfg. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: interchange-users at interchange.redhat.com (Thomas J.M. Burton) Date: Fri Dec 21 20:08:01 2001 Subject: [ic] Re: Using SQL Queries - Please Help I poked around a bit more in the archives after my first post and noticed I'd left out more=1 in my query tag. Solved my own problem. From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Sat Dec 22 05:52:02 2001 Subject: [ic] How to sett toggle ? Hi > I actually tested this, and it works. :) Well, not for me :-( Did you actually put this in LEFTONLY_TOP in the foundation template? Or is it supposed to work in another way? -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@kakidata.dk From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Sat Dec 22 06:00:01 2001 Subject: [ic] How to sett toggle ? Perhaps I'd better tell what happens when pressing the "test" button on the flypage. Then it will return the flypage looking like this: ...---... [item-field category] : [item-description] [if-item-field image] [/if-item-field] [if-item-data options o_enable] [/if-item-data] [if-item-data inventory quantity < 1] [else] [/else] [/if-item-data] [item-field comment] [if-item-data options o_enable] [if-item-data !options o_modular] [/if-item-data] [/if-item-data] [if-item-data options o_modular] [/if-item-data] Out Of Stock In-Stock Notification In Stock Quantity: Price: [item-price] ...---... With all the tags showing. -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@kakidata.dk From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Sat Dec 22 11:23:00 2001 Subject: [ic] customer add on-the-fly Hi again, Im sorry, I just realized that I messed up on my email. (thanks mike) What I meant was that I CANNOT get the price and description to add even though the sku will. Any help is greatly appreciated. Thanks Aaron -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of Mike Heins Sent: Friday, December 21, 2001 6:08 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] customer add on-the-fly Quoting FixtureFactor.com (aaron@fixturefactor.com): > Hi everybody, > > Im struggling again with an OnFly ordering problem. I have successfully > implemented on the fly ordering for items not in the products db for the > admin section (entry page). However, I am now working on a new section > where a customer will be able to add to their cart an item that is not > in the db. Using the on the fly ordering tags I can successfully add > the named item to the cart and the correct sku shows up. I understand you right up to here. > However, the description and the price will go through. This completely lost me. I will tell you that if the description doesn't show up when you order the item, then the CGI parameters used to order the item are not done properly. Also, to use the standard onfly ordering routine you need: OnFly onfly in catalog.cfg. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Dec 22 12:58:01 2001 Subject: [ic] customer add on-the-fly Quoting "FixtureFactor.com" <aaron@fixturefactor.com>: > Hi again, > > Im sorry, I just realized that I messed up on my email. (thanks mike) > What I meant was that I CANNOT get the price and description to add > even though the sku will. > > Any help is greatly appreciated. > Thanks > Aaron The form element syntax for description/price is: <input type=hidden name=mv_order_fly value="description=My item description|price=9.99"> If you are doing this and still not seeing the description in the cart, check the tags in the [item-list] of your cart code; there's a good chance that [item- field description] is being used for the item description. Change it to [item- description] and you should see your onlfy desc text. - Ed L. > > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of > Mike Heins > Sent: Friday, December 21, 2001 6:08 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] customer add on-the-fly > > > Quoting FixtureFactor.com (aaron@fixturefactor.com): > > Hi everybody, > > > > Im struggling again with an OnFly ordering problem. I have > successfully > > implemented on the fly ordering for items not in the products db for > the > > admin section (entry page). However, I am now working on a new > section > > where a customer will be able to add to their cart an item that is > not > > in the db. Using the on the fly ordering tags I can successfully > add > > the named item to the cart and the correct sku shows up. > > I understand you right up to here. > > > However, the description and the price will go through. > > This completely lost me. > > I will tell you that if the description doesn't show up when you order > the item, then the CGI parameters used to order the item are not > done properly. > > Also, to use the standard onfly ordering routine you need: > > OnFly onfly > > in catalog.cfg. > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > Being against torture ought to be sort of a bipartisan thing. > -- Karl Lehenbauer > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (David xxxxxxx) Date: Sat Dec 22 13:23:01 2001 Subject: [ic] GPG how-to for hosted servers Patrick, This was a great how-to! Thank you so much for posting it. I've been trying to locate instructions for setting this up for a few weeks now. I do have one additional question for the list. When I did the test, as noted below, it was successful. When I actually submit an order via interchange, the recipient receives only a single '0' (zero) in the body of the message. Do you have any suggestions? I have double and triple checked my entire configuration and there are no error messages in /tmp Thanks! David xxxxxxx dxxxxxxx@cyber3dnet.com -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Patrick J. Walsh Sent: Monday, December 17, 2001 3:26 PM To: interchange-users@interchange.redhat.com Subject: [ic] GPG how-to for hosted servers Since I didn't find any help like this in the archives, I thought I would give a brief description of what I did to get GPG encryption working for me in a shared environemnt. I can't afford a nice hosting solution such as with RedHat, so I am using a hosting provider that uses CPanel to manage multiple virtual domains and services. One of the services that they offer is Interchange 4.8.2. They also have GPG 1.0.6 installed. Unfortunately, getting the provider to do things like install a key in the interch user's key file is next to impossible. Here's the workaround that worked for me: First, you need to make sure gpg is installed and available to you. Try using the command `whereis gpg`. Then create your keys for the account that you will encrypt to using a command like `/usr/bin/gpg --gen-key`. [Note: I created two keys, one to encrypt the orders to and one to encrypt the credit card info to. You may wish to do the same.] I'll assume that the key you made has the e-mail address orders@example.com. Make sure you know where your keys were placed. Probably they were put in this directory: /home/your-user-name/.gnupg/. Now make sure you can use the key properly by using this command: echo "testing" | /usr/bin/gpg --no-default-keyring --always-trust --keyring /home/your-user-name/.gnupg/pubring.gpg -e -a --batch -t -r 'orders@example.com' If it works, great, if not, you need to look into the gpg documentation and the gpg newsgroups and mailing lists to fix it before proceeding or bothering the interchange folks. The next step is setting your variables properly. To do this, use the admin interface and go to Administration->Preferences->Encryption. If you don't have all of the variables listed below there, then you should create them just to be consistent with these instructions. Use the New Entry submenu item. ENCRYPTOR <blank> PGP /usr/bin/gpg --no-default-keyring --always-trust --keyring /home/dyna-q/.gnupg/pubring.gpg -e -a --batch -t -r '%s' PGP_CC_KEY orders-cc@example.com PGP_KEY orders@example.com [Note: make the PGP_CC_KEY the same as PGP_KEY if you want to encrypt the credit card info to the same key as the overall message.] Finally, edit your catalog.cfg file. Search for the EncryptProgram and EncryptKey lines. If they exist, edit them, otherwise, add them before the routes start: EncryptProgram __PGP__ EncyptKey __PGP_KEY__ then search through the rest of your file for Route main and make sure the following entries are set: credit_card 1 encrypt 1 encrypt_program "__PGP__" email '__ORDERS_TO__' pgp_cc_key "__PGP_CC_KEY__" pgp_key "__PGP_KEY__" I also went through the etc/report file and removed all of the mime types as it was causing problems for me. GPG was encrypting the mime parts and separators and my e-mail software didn't see the message. If you're having problems at this point, you'll want to look at the gpg error messages. In my environment, this was not simple as I did not have root, or even interch access. The logs are stored in the tmp/ directory as pgp*.err. In my case, I didn't have permissions to read these files. To circumvent this, do the following: First, figure out which file is the most recent that you want to look at by typing `ls -lt *.err |head` -- probably the first entry is the one you're after. Next, go to the admin interface and navigate to Content. Select '..' then 'tmp' and choose the file you are interested in from the list. This will give you the details of any errors that gpg is spitting out. Ignore the insecure memory errors, the don't stop gpg from doing anything. And that's how you use your own keys in a hosted/shared environment. Good luck. ..Patrick Keywords: GPG, CPanel, Hosted, Shared, Virtual Domain, Permissions, Encrypt, PGP, ENCRYPTOR _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Rick Bragg) Date: Sat Dec 22 14:00:00 2001 Subject: [ic] Troubleshooting Interchange with suExec Hi, I have installed interchange, and everything seems fine. when I made a catalog, I got this message: "chown sampledata.xls: No such file or directory" the server starts fine with no errors in any log files, but when I access the foundation catalog it hangs, then gives me a message that the interchange server is unavailable. Any help would be appreciated!! Thanks rick From: interchange-users at interchange.redhat.com (David J Harmon) Date: Sat Dec 22 22:51:01 2001 Subject: [ic] DOCs Where can I find more information about the Admin and setting up the WebPages for IC and I would like to look at how some of you used IC. So can some of you send me your url so I can look at your pages. [Thank you in advance] David From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Sun Dec 23 00:05:00 2001 Subject: [ic] DOCs Hi, For sites using Interchange: http://interchange.redhat.com/cgi-bin/ic/hall.html For documentation look here: http://interchange.redhat.com/cgi-bin/ic/dev-4.8/index.html Regards Anton ******************** AddAction.net E-mail: info@addaction.net www.addaction.net -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of David J Harmon Sent: Sunday, December 23, 2001 12:58 AM To: interchange-users@interchange.redhat.com Subject: [ic] DOCs Where can I find more information about the Admin and setting up the WebPages for IC and I would like to look at how some of you used IC. So can some of you send me your url so I can look at your pages. [Thank you in advance] David _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Dec 23 00:42:01 2001 Subject: [ic] Re: shipping pulldown You know, I got curious, so I looked into it... One of the hints was to make sure the shipping was set in the admin pages. I hunted all over, and finally found a reference to shipping methods in the wizard portion of the admin pages. Kinda hard to find. After I ran the wizard, I guess I forgot to check the shipping pulldown. I just went in and created a new customer login, and the shipping options appear on the customer creation screen. I don't recall seeing this before. It was blank... So, running the wizard, in the admin section may have resolved the shipping pulldown issue... It works OK for me... Hope this helps.. On Sat, 22 Dec 2001, Kirill Sapelkin wrote: > Hello Tim ! > > Saw your post when you got Interchange to work. > > Did you ever figure out the empty shipping method pulldown in the > checkout screen? > > Be grateful for any pointer. I've got the same thing. > > Kirill > > > > > Kirill Sapelkin > znanie@best.com > -- -------------------- Timothy Burt Internet Specialist From: interchange-users at interchange.redhat.com (Your Name) Date: Sun Dec 23 04:08:00 2001 Subject: [ic] Displaying Items in Columns I've been working on my first production site with Interchange, and I must say time and time again I've been impressed with the product. I've modified the results_big page quite a bit, and now have the item display exactly how I want it. You can see the modifications here: http://toknowaveil.com/~toknowav/cgi-bin/cart.cgi/scan/fi=products/sp=results_big/st=db/co=yes/sf=category/se=Tiaras/sf=Crowns%20%26%20Bunwraps/se=/va=banner_image%3d/va=banner_text%3d.html I don't want the 6 products to be displayed one after another in a vertical manner however. I want them to be in rows of 3, with up to 9 products per page. I've searched through the list archives, and played around with the table-organize tag to display the options as I wanted. I don't see where I could start to start placing the items into a table-organize tag. In other words, How do I set [table organize]item 1, item 2, item 3, etc.[/table organize]? An example of what I'm looking for are the category displays on the Florist.com site. It was also made in Interchange. Any Ideas? Cameron From: interchange-users at interchange.redhat.com (Your Name) Date: Sun Dec 23 04:26:02 2001 Subject: [ic] Displaying Items in Rows I've been working on my first production site with Interchange, and I must say time and time again I've been impressed with the product. I've modified the results_big page quite a bit, and now have the item display exactly how I want it. You can see the modifications here: http://toknowaveil.com/~toknowav/cgi-bin/cart.cgi/scan/fi=products/sp=results_big/st=db/co=yes/sf=category/se=Tiaras/sf=Crowns%20%26%20Bunwraps/se=/va=banner_image%3d/va=banner_text%3d.html I don't want the 6 products to be displayed one after another in a vertical manner however. I want them to be in rows of 3, with up to 9 products per page. I've searched through the list archives, and played around with the table-organize tag to display the options as I wanted. I don't see where I could start to start placing the items into a table-organize tag. In other words, How do I set [table organize]item 1, item 2, item 3, etc.[/table organize]? An example of what I'm looking for are the category displays on the Florist.com site. It was also made in Interchange. Any Ideas? Cameron From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Sun Dec 23 12:15:01 2001 Subject: [ic] Displaying Items in Rows Cameron: I am new to IC and wanted to do the same thing that you are trying to do. When I asked the list I got alot of replies. The table-organize was one of them, but I never was able to get it working, I will send you code that I was able to get working, A guy named Patrick sent it to me, but I altered it a bit. [set column]0[/set] [search-list] <td> repeated content here </td> [if scratch column == 2] [then] [set column]0[/set] </tr> <tr> [/then] [else] [if scratch column == 1] [set column]2[/set] [else][set column]1[/set][/else][/if] [/else] [/if] [/search-list] [on_match] </tr> [/on_match] I used results.html but it should be similar. I also think you may be able to simplify the last if-else statement, I think I will try another day. put all new tags relative to the tags that look familiar, like search-list. hoped I helped. If you want patricks original code, let me know, but it is for 2 column not 3. Paul Jordan From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sun Dec 23 12:31:01 2001 Subject: [ic] DOCs On Sat, 22 Dec 2001, David J Harmon wrote: DJH>>WebPages for IC and I would like to look at how some of you used IC. So can DJH>>some of you send me your url so I can look at your pages. http://www.thediapersuperstore.com I'm quite happy with what is evolving there, but it's been posted to this list that his 2 kids can do much better. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, December 23, 2001 at 12:30 PM: To live in the hearts we leave behind, is not to die. ---------------------------------------------------------------- This Linux System has been up 669 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Sun Dec 23 12:37:01 2001 Subject: [ic] making columns in saved_carts I have converted my saved_carts page to a kind of favorites page. As I am sure most of you know, this page is mostly perl. With help from the list I was able to make my results.html page display in 3 columns after some modification. Well, know I want to display my saved_carts content in columns. I have tried several ways, but I think because it is surrounded by perl, my methods are not working. Like, you can't use ITL in the looped content of saved_carts. I get the feeling I need to integrate a perl method to make it display in columns. I know very little perl. I have tried "adding" perl functions that I thought would work but it wipes out any display. Can someone please give me a hint. Do I have to do it within the perl. I have tried every ITL way I can think of, but it just doesn't work. Where should I be looking in the perl. -------------------------------- [if cgi delete_cart] [delete_cart nickname="[cgi delete_cart]"] [/if] [userdb function=get_cart_names hide=1] [if value carts] [perl] $Scratch->{saved_carts_carts} = ''; push(@Vend::TmpScratch,qw/saved_carts_carts/); foreach my $var (split("\n",$Tag->value('carts'))) { my($name,$last_udate,$type) = split(':',$var); my $delink = $Tag->page({ href => "@@MV_PAGE@@", form => " delete_cart=$var mv_action=return ", }); my $row = <<"END"; <TD valign="top"> <table><tr> <td width="20" valign=top> $delink<img src="http://www.imagemogul.com/buttons/delete.gif" border=0></a> </td> <td width="40" align="center"><a class="c2" href="$name"> $name </A></td> </tr><tr> <td valign=top colspan="2" align="center"><a href="$name"> <img src="http://www.imagemogul.com/cart/images/thumb/$name.jpg" border="0"></a> </td> </tr> </table> </TD> END if($type eq 'c') { $Scratch->{saved_carts_carts} .= $row; } } return ''; [/perl] [/if] [loop list="saved_carts_carts"] [if scratch [loop-code]] <table width="699" border=0> <tr> <td><img src="http://www.imagemogul.com/logos/lightbox.gif"> </td> </tr> <tr> <td class="contentbar1" height="4" width="699"><img src="http://www.imagemogul.com/elements/clear.gif" height="2"></td> </tr> </table><br> <table width="699"><tr>[if value carts] [scratch [loop-code]][else]You have no images in your light box.[/else][/if] </tr></table> [else][/else] [/if] [/loop] ------------------------------------- IC 4.8.1 Thanks again all Paul Jordan From: interchange-users at interchange.redhat.com (Rick Bragg) Date: Sun Dec 23 12:41:01 2001 Subject: [ic] using Suexec I am using IP Aliasing, and SUEXEC. My catalog is "Unavailable" and I can't find any documentation as to how I should troubleshoot this. When I build a catalog, I get this message: "chown sampledata.xls: No such file or directory" The catalog is owned by user "catalog" I run suexec as user "interch" I run makecat as root. I get no errors when I start the interchange server. Any help would be great!! Thanks rick From: interchange-users at interchange.redhat.com (Tony Fraser) Date: Sun Dec 23 13:58:00 2001 Subject: [ic] using Suexec On Sun, Dec 23, 2001 at 12:40:52PM -0500, Rick Bragg wrote: > I am using IP Aliasing, and SUEXEC. > > My catalog is "Unavailable" and I can't find any documentation as to how > I should troubleshoot this. > > When I build a catalog, I get this message: > > "chown sampledata.xls: No such file or directory" I've never seen this error before, but it does not look serious. > > The catalog is owned by user "catalog" > I run suexec as user "interch" > I run makecat as root. > > I get no errors when I start the interchange server. > > Any help would be great!! > > Thanks > rick I believe that Suexec will refuse to run a cgi program that is suid. If you are sure that the link program will get run as interch via Suexec you should be able to: chmod u-s /path/to/your/link.cgi You can check if this is actually happening by examining you Apache error logs. From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Sun Dec 23 14:48:00 2001 Subject: [ic] More problems with Spreadsheet Export cfm@maine.com wrote: [DEL]... > > Neither uses DBD::Excel. <------ That's the ticket, I stand corrected. > > For future reference, someone using DBD::Excel or Spreadsheet perl > modules to access same files will run into issues here: > > >From Spreadsheet::WriteExcel.pm: > =item * Move to Excel97/2000 format as standard. This will allow > strings greater than 255 characters and hope fully Unicode. The > Excel 5 format will be optional. This will be in the next major > release of the module. All other features are on hold. > > This is limit it package Spreadsheet::WriteExcel::Worksheet.pm: > my $rowmax = 65536; # cfm change from 16384 in Excel 5 I'm unsure! Are you talking about p5-Spreadsheet-ParseExcel-0.2403 Get information from Excel file ? Thanks! Joachim Leidinger -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Salvador Caballe) Date: Sun Dec 23 14:59:01 2001 Subject: [ic] [if] [/if] inside loop list I need to include a [if] [/if] inside loop list in the order_detail.html page. somethink like this: loop list="[scratch arg]"] <TABLE BORDER=0> [html-table fr='class="contentbar1"'] <B>ORDER NUMBER [scratch arg] ....... ...... <B>Payment Method [if [loop-data transactions payment_method] eq COD] Cash on delivery [else] loop-data transactions payment_method] [/else][/if] I found [if-loop-data database fieldname] but only checks if it exists. best regards Salvador Caballé From: interchange-users at interchange.redhat.com (John D. Gorena) Date: Sun Dec 23 15:02:02 2001 Subject: [ic] page () was not found Just starting to install IC and the store seems to work except when I want to check out or enter the admin link. I get the following error. What is not configured? Sorry, the page () was not found The requested page (unspecified error) was not found. You can return to browsing our catalog, if you wish. -- John D. Gorena Office: 972-315-0496 Fax: 972-315-3104 From: interchange-users at interchange.redhat.com (Rick Bragg) Date: Sun Dec 23 18:33:01 2001 Subject: [ic] using Suexec Hi, Thats no it. The cgi runs fine. whenever I run makecat I get this message: "chown sampledata.xls: No such file or directory" and makecat exits. I can locate the file, but makecat can't. Please help with this thanks Rick From: interchange-users at interchange.redhat.com (RachGurl ) Date: Sun Dec 23 23:48:14 2001 Subject: [ic] 100% FREE WEBCAMS Hello :) Come watch me and my friends experimenting live on webcam... Everything is free and live at http://camgirls.boner.ca/ !! -------------------------------------------------------- All Free Webcams - All Live - All the time!! http://camgirls.boner.ca/ YOU COULD WIN $10,000 FOR BECOMING A FREE MEMBER -------------------------------------------------------- Cancel subscription: NoMoreMail@cammgirlsboner.ca.com From: interchange-users at interchange.redhat.com (Philip Booysen) Date: Mon Dec 24 02:43:01 2001 Subject: [ic] [Interchange] iVeri Hi Paul! I was wondering if you did found out or got that global sub of yours working within Interchange so as to communicate with iVeri? I started writing my own perl module for Interchange as part of the ~/lib/Vend/Payment modules. This module is based on iTransact and slightly modified to try and work with iVeri but no luck so far. Any help would be useful. Regards and Merry Christmas Philip -- Philip Booysen Obsidian Systems http://www.obsidian.co.za --=-=))((=-=-- Universe: is the aggregate of all humanity's consciously apprehended and communicated nonsimultaneous and only partially overlapping experiences. ----- Richard Buckminster Fuller --=-=))((=-=-- From: interchange-users at interchange.redhat.com (Ton Verhagen) Date: Mon Dec 24 04:37:00 2001 Subject: [ic] Displaying Items in Rows At 04:25 AM 12/23/01 -0500, Cameron wrote: [snip] >I don't want the 6 products to be displayed one after another in a >vertical manner however. I want them to be in rows of 3, with up to 9 >products per page. I've searched through the list archives, and played >around with the table-organize tag to display the options as I wanted. >I don't see where I could start to start placing the items into a >table-organize tag. [snip] It's all in the docs and in the pages that come with IC! Docs: http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=ictags06%2e20 But, hey, it's almost Christmas:) Cameron, Have a look at the code below. You can see this code in action at: http://www.verhagen.net/cgi-bin/tools/table-organize.html <table cellpadding=0 cellspacing=0 width="80%"> [table-organize cols=3 rows=3 pretty=1 tr.0='bgcolor="#EEEEEE"' tr.1='bgcolor="#FFFFFF"' td.0='align=right' td.1='align=center' td.2='align=left' embed=lc ] [loop search="fi=products/st=db/ra=yes/ml=9" more=1] <td> <TABLE border=1 width=90%> <TR><TD><b>[loop-code]</b></TD></TR> <TR><TD>[loop-description]</TD></TR> <TR><TD align=right>[loop-price]</TD></TR> </TABLE> </td> [more-list][more][/more-list] [/loop] [/table-organize] </table> Of course you have to change the code a little for a search page. I leave that to you as an exercise. Good luck, and Merry Xmass. Best Ton From: interchange-users at interchange.redhat.com (Cameron) Date: Mon Dec 24 05:16:03 2001 Subject: [ic] Re: Echo-Inc Payment Module? Ken, I don't believe there is an Echo-Inc payment model currently developed, however there is a good deal of documentation on Echo's development site: www.openecho.com. I'm not sure how difficult it is to write a payment model. I have no real programming experience, but will try and take a look at it later this week or this weekend. If anyone else would like to take a shot, I'd be quite greatful. Echo's development site also has information on setting up test transactions to test things out. I really would like to steer clients to Echo and save money over authorize.net, so hopefully someone has already come up with a solution and would be willing to share it, if not I'll see what I can do. -Cameron From: interchange-users at interchange.redhat.com (Ton Verhagen) Date: Mon Dec 24 10:26:01 2001 Subject: [ic] Displaying Items in Rows Made a little mistake in my previous posting. Using the rows option in the table-organize tag implies the table parameter! So, ommit the <table></table> tags in the html code and add: table='width="80%" cellpadding=0 cellspacing=0' to the table-organize tag. See below. [snip] [table-organize cols=3 rows=3 pretty=1 table='width="80%" cellpadding=0 cellspacing=0' tr.0='bgcolor="#EEEEEE"' tr.1='bgcolor="#FFFFFF"' td.0='align=right' td.1='align=center' td.2='align=left' embed=lc ] [loop search="fi=products/st=db/ra=yes/ml=9" more=1] <td> <TABLE border=1 width=90%> <TR><TD><b>[loop-code]</b></TD></TR> <TR><TD>[loop-description]</TD></TR> <TR><TD align=right>[loop-price]</TD></TR> </TABLE> </td> [more-list][more][/more-list] [/loop] [/table-organize] Regards, Ton From: interchange-users at interchange.redhat.com (ako pia) Date: Mon Dec 24 11:48:00 2001 Subject: [ic] FORUM - instead of Mailing List Hi All I vote that we create a User's Forum, rather than continuing to use the mailing list. The Forum approach is MUCH more helpful in every way you can think of. It's easier to follow threads, our email doesn't get loaded with stuff cuz the data is on the Forum site, and it's easy to search. There can even be things like FAQ, Examples, Private Messaging, and tons more. I've used forums for other scripts, and it's the best way to go. I happen to know of a great forum script that works with mysql. It's from Gossamer-Threads - http://www.gossamer-threads.com - and it's really super. So, what do you think? I'd love to see this happen as soon as possible. Thanks. -- _______________________________________________ 1 cent a minute calls anywhere in the U.S.! http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http://www.getpennytalk.com From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid) Date: Mon Dec 24 12:08:01 2001 Subject: [ic] Re: FORUM - instead of Mailing List Also, if you check out forums such as fatwallet.com, brighthand.com, etc. They have nice forumns, and I love the format. Not sure what they use though. I vote to use Forum also.. Nathan ako pia writes: > Hi All > > I vote that we create a User's Forum, rather than continuing to use the mailing list. > > The Forum approach is MUCH more helpful in every way you can think of. It's easier to follow threads, our email doesn't get loaded with stuff cuz the data is on the Forum site, and it's easy to search. > > There can even be things like FAQ, Examples, Private Messaging, and tons more. > > I've used forums for other scripts, and it's the best way to go. > > I happen to know of a great forum script that works with mysql. It's from Gossamer-Threads - http://www.gossamer-threads.com - and it's really super. > > So, what do you think? > > I'd love to see this happen as soon as possible. > > Thanks. > > -- > > _______________________________________________ > 1 cent a minute calls anywhere in the U.S.! > > http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http://www.getpennytalk.com > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- NAMI Solutions Nathan D. Olmscheid Partner - Phone: 612-237-9646 e-mail: nathan@namisolutions.com From: interchange-users at interchange.redhat.com (Rick Bragg) Date: Mon Dec 24 12:53:01 2001 Subject: [ic] Re: FORUM - instead of Mailing List I would love to see it tied to a news group. I find that newsgroups work best for me. Rick Nathan D. Olmscheid wrote: > Also, if you check out forums such as fatwallet.com, brighthand.com, > etc. They have nice forumns, and I love the format. Not sure what they > use though. I vote to use Forum also.. > Nathan > ako pia writes: > >> Hi All >> I vote that we create a User's Forum, rather than continuing to use >> the mailing list. >> The Forum approach is MUCH more helpful in every way you can think of. >> It's easier to follow threads, our email doesn't get loaded with stuff >> cuz the data is on the Forum site, and it's easy to search. >> There can even be things like FAQ, Examples, Private Messaging, and >> tons more. >> I've used forums for other scripts, and it's the best way to go. >> I happen to know of a great forum script that works with mysql. It's >> from Gossamer-Threads - http://www.gossamer-threads.com - and it's >> really super. >> So, what do you think? >> I'd love to see this happen as soon as possible. >> Thanks. >> -- >> _______________________________________________ >> 1 cent a minute calls anywhere in the U.S.! >> http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http://www.getpennytalk.com >> >> >> >> _______________________________________________ >> interchange-users mailing list >> interchange-users@interchange.redhat.com >> http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > -- > NAMI Solutions > Nathan D. Olmscheid > Partner > - > Phone: 612-237-9646 > e-mail: nathan@namisolutions.com > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (edmz) Date: Mon Dec 24 13:12:01 2001 Subject: [ic] Re: FORUM - instead of Mailing List i totally support a web based forum with a newsgroup (NNTP) interface... great suggestion... this will also help a lot with the message archive, no more htdig :P ----- Original Message ----- From: "Rick Bragg" <rbragg@rickbragg.net> To: <interchange-users@interchange.redhat.com> Sent: Monday, December 24, 2001 11:52 AM Subject: Re: [ic] Re: FORUM - instead of Mailing List > I would love to see it tied to a news group. > I find that newsgroups work best for me. > > Rick > > > > > Nathan D. Olmscheid wrote: > > > Also, if you check out forums such as fatwallet.com, brighthand.com, > > etc. They have nice forumns, and I love the format. Not sure what they > > use though. I vote to use Forum also.. > > Nathan > > ako pia writes: > > > >> Hi All > >> I vote that we create a User's Forum, rather than continuing to use > >> the mailing list. > >> The Forum approach is MUCH more helpful in every way you can think of. > >> It's easier to follow threads, our email doesn't get loaded with stuff > >> cuz the data is on the Forum site, and it's easy to search. > >> There can even be things like FAQ, Examples, Private Messaging, and > >> tons more. > >> I've used forums for other scripts, and it's the best way to go. > >> I happen to know of a great forum script that works with mysql. It's > >> from Gossamer-Threads - http://www.gossamer-threads.com - and it's > >> really super. > >> So, what do you think? > >> I'd love to see this happen as soon as possible. > >> Thanks. > >> -- > >> _______________________________________________ > >> 1 cent a minute calls anywhere in the U.S.! > >> http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http:// www.getpennytalk.com > >> > >> > >> > >> _______________________________________________ > >> interchange-users mailing list > >> interchange-users@interchange.redhat.com > >> http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > -- > > NAMI Solutions > > Nathan D. Olmscheid > > Partner > > - > > Phone: 612-237-9646 > > e-mail: nathan@namisolutions.com > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Dec 24 13:32:01 2001 Subject: [ic] More problems with Spreadsheet Export On Sun, Dec 23, 2001 at 08:47:52PM +0100, Joachim Leidinger wrote: > cfm@maine.com wrote: > [DEL]... > > > Neither uses DBD::Excel. <------ That's the ticket, I stand corrected. > > > > For future reference, someone using DBD::Excel or Spreadsheet perl > > modules to access same files will run into issues here: > > > > >From Spreadsheet::WriteExcel.pm: > > =item * Move to Excel97/2000 format as standard. This will allow > > strings greater than 255 characters and hope fully Unicode. The > > Excel 5 format will be optional. This will be in the next major > > release of the module. All other features are on hold. > > > > This is limit it package Spreadsheet::WriteExcel::Worksheet.pm: > > my $rowmax = 65536; # cfm change from 16384 in Excel 5 > > I'm unsure! Are you talking about > > p5-Spreadsheet-ParseExcel-0.2403 Get information from Excel file Sorry, I don't know what 'p5-Spreadsheet-ParseExcel-0.2403' is, probably. Check for the module itself to be sure. > > ? > > Thanks! > > Joachim Leidinger > > > -- > Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce > [Hans-Joachim.leidinger@bpanet.de] > Black Point Arts Internet Solutions GmbH > http://www.bpanet.de > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Mon Dec 24 15:07:01 2001 Subject: [ic] Re: FORUM - instead of Mailing List I fully agree and we are willing to sponsor a forum on one of our servers. We need moderators and ideas for the setup... categories and such. Please e-mail me directly if you are interested to help. We use XMB-forum which is very nice and if the forum becomes popular and has more traffic we will upgrade it to VBulltin (the best). We have the following domain available for the forum: www.interchangeville.com (not up yet) Anton ******************** AddAction.net PO Box 640962 Beverly Hills FL. 34465 United States of America E-mail: avdplas@addaction.net www.addaction.net -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of edmz Sent: Monday, December 24, 2001 1:03 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Re: FORUM - instead of Mailing List i totally support a web based forum with a newsgroup (NNTP) interface... great suggestion... this will also help a lot with the message archive, no more htdig :P ----- Original Message ----- From: "Rick Bragg" <rbragg@rickbragg.net> To: <interchange-users@interchange.redhat.com> Sent: Monday, December 24, 2001 11:52 AM Subject: Re: [ic] Re: FORUM - instead of Mailing List > I would love to see it tied to a news group. > I find that newsgroups work best for me. > > Rick > > > > > Nathan D. Olmscheid wrote: > > > Also, if you check out forums such as fatwallet.com, brighthand.com, > > etc. They have nice forumns, and I love the format. Not sure what they > > use though. I vote to use Forum also.. > > Nathan > > ako pia writes: > > > >> Hi All > >> I vote that we create a User's Forum, rather than continuing to use > >> the mailing list. > >> The Forum approach is MUCH more helpful in every way you can think of. > >> It's easier to follow threads, our email doesn't get loaded with stuff > >> cuz the data is on the Forum site, and it's easy to search. > >> There can even be things like FAQ, Examples, Private Messaging, and > >> tons more. > >> I've used forums for other scripts, and it's the best way to go. > >> I happen to know of a great forum script that works with mysql. It's > >> from Gossamer-Threads - http://www.gossamer-threads.com - and it's > >> really super. > >> So, what do you think? > >> I'd love to see this happen as soon as possible. > >> Thanks. > >> -- > >> _______________________________________________ > >> 1 cent a minute calls anywhere in the U.S.! > >> http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http:// www.getpennytalk.com > >> > >> > >> > >> _______________________________________________ > >> interchange-users mailing list > >> interchange-users@interchange.redhat.com > >> http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > -- > > NAMI Solutions > > Nathan D. Olmscheid > > Partner > > - > > Phone: 612-237-9646 > > e-mail: nathan@namisolutions.com > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Mon Dec 24 17:36:00 2001 Subject: [ic] Interchange Support Forum Hi all, We have setup a forum for Interchange support. We have added some categories, but would like input from the list and subscribers for changing and adding topics. We are also looking for moderators, preferably with advanced knowledge of Interchange. The forum URL: http://www.interchangeville.com/forum/index.php Please visit and review. We hope that this can help the development and use of Interchange software. (the best e-commerce software on the net) Regards Anton From: interchange-users at interchange.redhat.com (David xxxxxxx) Date: Mon Dec 24 19:28:01 2001 Subject: [ic] GPG how-to for hosted servers Wow, I finally got this to work! After following these instructions I was initially receiving a blank order. The headers were there, but there was no body in the message. I removed the mime types as you suggested, but the body then consisted of a single zero. I was reading back through the rest of the suggestions on this topic and noticed one from Simon that had a step I had made a mistake on. Here is a short clip from his instructions: *************************** Import this public key on the interch users ring on the server using: gpg --import [filename.asc] (as the interchange user) *************************** When I imported the key into the ring, I did it under the wrong account. As soon as I imported this into the interch account, I was able to receive the encrypted e-mail. I know part of the confusion is that never in my life have I actually used encrypted e-mail of any kind. On top of that, I didn't understand the concepts behind the rings, etc until I read about them on the gnupg website this afternoon. Thanks so much for your help. Now I just have to figure out how to use the private key to decrypt this thing in Outlook 2000. :o) Thanks! Regards, David xxxxxxx dxxxxxxx@cyber3dnet.com -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Patrick J. Walsh Sent: Monday, December 17, 2001 3:26 PM To: interchange-users@interchange.redhat.com Subject: [ic] GPG how-to for hosted servers Since I didn't find any help like this in the archives, I thought I would give a brief description of what I did to get GPG encryption working for me in a shared environemnt. I can't afford a nice hosting solution such as with RedHat, so I am using a hosting provider that uses CPanel to manage multiple virtual domains and services. One of the services that they offer is Interchange 4.8.2. They also have GPG 1.0.6 installed. Unfortunately, getting the provider to do things like install a key in the interch user's key file is next to impossible. Here's the workaround that worked for me: First, you need to make sure gpg is installed and available to you. Try using the command `whereis gpg`. Then create your keys for the account that you will encrypt to using a command like `/usr/bin/gpg --gen-key`. [Note: I created two keys, one to encrypt the orders to and one to encrypt the credit card info to. You may wish to do the same.] I'll assume that the key you made has the e-mail address orders@example.com. Make sure you know where your keys were placed. Probably they were put in this directory: /home/your-user-name/.gnupg/. Now make sure you can use the key properly by using this command: echo "testing" | /usr/bin/gpg --no-default-keyring --always-trust --keyring /home/your-user-name/.gnupg/pubring.gpg -e -a --batch -t -r 'orders@example.com' If it works, great, if not, you need to look into the gpg documentation and the gpg newsgroups and mailing lists to fix it before proceeding or bothering the interchange folks. The next step is setting your variables properly. To do this, use the admin interface and go to Administration->Preferences->Encryption. If you don't have all of the variables listed below there, then you should create them just to be consistent with these instructions. Use the New Entry submenu item. ENCRYPTOR <blank> PGP /usr/bin/gpg --no-default-keyring --always-trust --keyring /home/dyna-q/.gnupg/pubring.gpg -e -a --batch -t -r '%s' PGP_CC_KEY orders-cc@example.com PGP_KEY orders@example.com [Note: make the PGP_CC_KEY the same as PGP_KEY if you want to encrypt the credit card info to the same key as the overall message.] Finally, edit your catalog.cfg file. Search for the EncryptProgram and EncryptKey lines. If they exist, edit them, otherwise, add them before the routes start: EncryptProgram __PGP__ EncyptKey __PGP_KEY__ then search through the rest of your file for Route main and make sure the following entries are set: credit_card 1 encrypt 1 encrypt_program "__PGP__" email '__ORDERS_TO__' pgp_cc_key "__PGP_CC_KEY__" pgp_key "__PGP_KEY__" I also went through the etc/report file and removed all of the mime types as it was causing problems for me. GPG was encrypting the mime parts and separators and my e-mail software didn't see the message. If you're having problems at this point, you'll want to look at the gpg error messages. In my environment, this was not simple as I did not have root, or even interch access. The logs are stored in the tmp/ directory as pgp*.err. In my case, I didn't have permissions to read these files. To circumvent this, do the following: First, figure out which file is the most recent that you want to look at by typing `ls -lt *.err |head` -- probably the first entry is the one you're after. Next, go to the admin interface and navigate to Content. Select '..' then 'tmp' and choose the file you are interested in from the list. This will give you the details of any errors that gpg is spitting out. Ignore the insecure memory errors, the don't stop gpg from doing anything. And that's how you use your own keys in a hosted/shared environment. Good luck. ..Patrick Keywords: GPG, CPanel, Hosted, Shared, Virtual Domain, Permissions, Encrypt, PGP, ENCRYPTOR _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Cameron) Date: Mon Dec 24 20:00:00 2001 Subject: [ic] Undefined Catalog due to theme.cfg Thanks to both Patrick and Tom for their suggestions about the column display. I'm anxious to give them a try, but now I can't view the catalog to make any changes. When I go to either the customer or admin entrance, I get the following error: Undefined catalog: /~toknowav/cgi-bin/cart.cgi Now after searching through the archives, I've found this to be a common problem. I killed and restarted Interchange, and after opening up error.log, I noticed that the problem was this: - - - [24/December/2001:19:11:11 -0500] - - Config 'toknowav' at server startup - - - [24/December/2001:19:11:11 -0500] - - Syntax error > In line 43 of the configuration file 'templates/default/theme.cfg': > <<EOV>> > I had made numerous changes to theme.cfg a week ago, but none in the past few days. I thought this was weird, but nonetheless I reuploaded the original copy of them.cfg and then restarted Interchange. I checked the log again, but I received the same error message. I have no idea as to what caused the problems with theme.cfg, and have had no luck getting any further than diagnosing the problem. Does anyone have an idea of what the problem could be and how to fix it? Thanks, Cameron From: interchange-users at interchange.redhat.com (David xxxxxxx) Date: Mon Dec 24 20:35:01 2001 Subject: [ic] GPG how-to for hosted servers Hey guys! Okay, I lied... It didn't all work. I recieved the order, and yes, it was encrypted. The problem is, I need the credit card number so it can be manually entered into the credit card terminal. The order that I recieved contained the following information: Payment Method: Credit Card (visa) Account Number: 41**1111 Expiration: 10/02 I don't know where to start looking from here, do you guys have any suggestions? I'm finally starting to understand some of this, but this one has me stumped. Thanks! Regards, David xxxxxxx dxxxxxxx@cyber3dnet.com From: interchange-users at interchange.redhat.com (Jim Webster) Date: Mon Dec 24 20:44:01 2001 Subject: [ic] Masking the full domain to 'cart' I saw a while back a post that showed how to mask: http://www.818singles.com/~818singl/cgi-bin/cart.cgi/index.html To simply www.818singles.com or www.818singles.com/index.html I can't remember. I can not find that post, can someone repost? Jim. From: interchange-users at interchange.redhat.com (Chad Leigh -- Shire.Net LLC) Date: Mon Dec 24 20:56:01 2001 Subject: [ic] Masking the full domain to 'cart' On Monday, December 24, 2001, at 08:46 , Jim Webster wrote: > I saw a while back a post that showed how to mask: > > http://www.818singles.com/~818singl/cgi-bin/cart.cgi/index.html > > To simply www.818singles.com or www.818singles.com/index.html I can't > remember. > > I can not find that post, can someone repost? I don't know how it was posted here but a common "trick" is to set up a frameset with one large frame that takes up the whole browser window. The frameset shows in the URL line while the actual content is referenced in the frame content url which is not "shown" in a normal usual browser window (or more frames if you want) Chad From: interchange-users at interchange.redhat.com (Admin) Date: Mon Dec 24 23:29:01 2001 Subject: [ic] Interchange Support Forum <Oh My And here I thought it was a great idea, until a non- Red Hat company attempted it and them exploited as I thought would be the case when reading this thread :( To have a forum (yes great idea) and then have it maintained by non-Interchange company was my concern (unless the purpose was to bash interchange with another system). Now I see this attempt and see it contains an AD ("Powered by AddAction.net - Interchange Web Hosting") on the top is perplexing as why add personal gain to the situation, especially to expressly advertise one of the commodities that the traffic generated would produce.... So that is why you seem so gung ho to create another "cookie cut" forum and name it quickly and expose it to gain company exposure... this aint a newbie crowd. I know you mean well, but how 'bout a Red Hat maintained forum, with a few moderators from Interchange dev crew, maybe create a development category that they can keep folks tagged on the new development and get interactive user feedback and contributions. -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of AddAction New Media Sent: Monday, December 24, 2001 4:35 PM To: interchange-users@interchange.redhat.com Subject: [ic] Interchange Support Forum The forum URL: http://www.interchangeville.com/forum/index.php From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Tue Dec 25 00:37:00 2001 Subject: [ic] FORUM - instead of Mailing List On Tue, Dec 25, 2001 at 12:47:22AM +0800, ako pia wrote: > I vote that we create a User's Forum, rather than continuing to use the mailing list. > > The Forum approach is MUCH more helpful in every way you can think of. It's easier to follow threads, our email doesn't get loaded with stuff cuz the data is on the Forum site, and it's easy to search. > If it is hard for you to follow threads, then maybe you need a better mail client. Feel free to create a web based forum if you like, but like many people I find them far more annoying and far less useful than email, so you won't be seeing me there... -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Tue Dec 25 00:49:01 2001 Subject: [ic] Interchange Support Forum <Oh My Admin, I will comment on this only one time. AddAction.net does provide web hosting, which includes Cpanel, and therefore Interchange is pre-installed. We promote Interchange software since we think it is a great package that should be available to MORE people. Support seems to be a key issue in this and we hope to contribute by sponsoring this forum. Just like Redhat we advertise our services, but the forum is OPEN to everybody, including other web hosts or developers. We will setup a category were people can request and offer Interchange services, since there is a need for it. This forum will be in the view of the open source license and therefore unbiased towards any member or company. I invite you to join and help other (especially new) users of Interchange. Anton -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Admin Sent: Monday, December 24, 2001 11:22 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Interchange Support Forum <Oh My And here I thought it was a great idea, until a non- Red Hat company attempted it and them exploited as I thought would be the case when reading this thread :( To have a forum (yes great idea) and then have it maintained by non-Interchange company was my concern (unless the purpose was to bash interchange with another system). Now I see this attempt and see it contains an AD ("Powered by AddAction.net - Interchange Web Hosting") on the top is perplexing as why add personal gain to the situation, especially to expressly advertise one of the commodities that the traffic generated would produce.... So that is why you seem so gung ho to create another "cookie cut" forum and name it quickly and expose it to gain company exposure... this aint a newbie crowd. I know you mean well, but how 'bout a Red Hat maintained forum, with a few moderators from Interchange dev crew, maybe create a development category that they can keep folks tagged on the new development and get interactive user feedback and contributions. -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of AddAction New Media Sent: Monday, December 24, 2001 4:35 PM To: interchange-users@interchange.redhat.com Subject: [ic] Interchange Support Forum The forum URL: http://www.interchangeville.com/forum/index.php _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Michael Hall) Date: Tue Dec 25 01:45:01 2001 Subject: [ic] FORUM - instead of Mailing List On Mon, Dec 24, 2001 at 11:36:59PM -0600, Jason Kohles wrote: > On Tue, Dec 25, 2001 at 12:47:22AM +0800, ako pia wrote: > > I vote that we create a User's Forum, rather than continuing to use the mailing list. > > > > The Forum approach is MUCH more helpful in every way you can think of. It's easier to follow threads, our email doesn't get loaded with stuff cuz the data is on the Forum site, and it's easy to search. > > > If it is hard for you to follow threads, then maybe you need a better mail > client. Feel free to create a web based forum if you like, but like many > people I find them far more annoying and far less useful than email, so you > won't be seeing me there... Amen, Mutt works fine :-) PS: Happy Holidays everyone!! -- A farmer is a man outstanding in his field. Mike Hall, Unix Admin - Rock Island Communications <mikeh@rockisland.com> System Admin - riverside.org <mhall@riverside.org> From: interchange-users at interchange.redhat.com (John D. Gorena) Date: Tue Dec 25 02:08:00 2001 Subject: [ic] admin interface graphics not working When I go to the main directory for the cart, I get two choices: Customer Entrance & Admin Interface. The graphics for the Admin Interface do not seem to work. They should point to the shared directory for the region but the path does not seem to generate properly. What file creates this and how do I fix it? -- John From: interchange-users at interchange.redhat.com (Mike Stallion) Date: Tue Dec 25 10:43:00 2001 Subject: [ic] A new developer questions Hi, I've recently installed Interch 4.8.3 on a my box to begin testing it's scalibility for an e-comm project. I have successfully run the Commerce Launcher, installed a products.txt database and uploaded some product images. General questions for the community: A)I can search my products, and add them to the cart. I can't bring up any dynamically generated product information pages though (flypages). I get a page not found quoting my sku. Am I missing the obvious here? Can someone point out some tips or a good area in the manual? B)Is there any case where one would want to divide his product databases up by vendor or category? I am attempting to build a mall here. Any thoughts here would be appreciated. Thats it. Seasons Greetings All. Mike __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Tue Dec 25 11:10:01 2001 Subject: [ic] A new developer questions Mike, I assume you use the Foundation standard store. Is there a column in your products.txt named "sku" and has it unique product ID's in it? If you move over the link for the product what is the URL that appears at the bottom of your browser? Anton Interchange Support Forum: www.interchangeville.com/forum -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Mike Stallion Sent: Tuesday, December 25, 2001 10:42 AM To: interchange-users@interchange.redhat.com Subject: [ic] A new developer questions Hi, I've recently installed Interch 4.8.3 on a my box to begin testing it's scalibility for an e-comm project. I have successfully run the Commerce Launcher, installed a products.txt database and uploaded some product images. General questions for the community: A)I can search my products, and add them to the cart. I can't bring up any dynamically generated product information pages though (flypages). I get a page not found quoting my sku. Am I missing the obvious here? Can someone point out some tips or a good area in the manual? B)Is there any case where one would want to divide his product databases up by vendor or category? I am attempting to build a mall here. Any thoughts here would be appreciated. Thats it. Seasons Greetings All. Mike __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Tue Dec 25 11:19:00 2001 Subject: [ic] GPG how-to for hosted servers David, This is how your order e-mail should look like: Credit Card Info: -----BEGIN PGP MESSAGE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org hQIOA9fPcmmnuaLdEAf/bRNul2gu+mXnBYaSLXyPN9CctoLVGkJt4IkHkMYQEpEA z888qwIIfFuJzLkXNeeZaLVjq8Wuzw7Vh0scn9M9k6dEXxi3W9z/P9Aep/tEj1oF ZFC8VoogokSq89ebNbE2U8kyInXVugAFkNXLzcCNv3mlGKCuly7Rc+g6sPnj/pQ0 DWFR+sIuJUXBkyslAjaEzVXCcluEfOUtHnUJ0E62ccw7E0B4hNu2pPQjL7l6e0J6 mvni2rAmKXqrZYSB1ZK4Kvj81Ep2JPe/85BY1liuqAPbp32ZoRUbVQyVD/ZlyrEP RYAuifKVGXQ4e7bGj9i1IMukgGk/WfB/gEPkvZLrDwf+LMsRQvkGIoOhPheC9eO2 OQhc7cBLo1nO6DCFhIiCURFo7O5uw66I7iQiAGqbZZk2ezjwFDcV2XzR4/k6liKx BZ2bg3XyxSM31EC5Uz0MhNEhxChWES+ciMam2hON+0XBCq6dgTDYLWh/PeQYLpuu HuAxzx+xjJrnv5rQoCUQQHrvzFJbV8oo6ZQS66VN6E+wJY6eFvWoF6kHX/0yb57B 38WZ5JIbjIRwprP5lbxXHqhCZ1tp98gLWOBvP2LBMtd5MTpliIXY9Q/9KWEcc+3G idQTDKECY9KFPdafeMwMmEl3m+pdJdqBPb0DdomlSZiERIJ4mam77UFwDh7xpaRR gskndMV8VutiF+dZ7Wnmy4y5gRIenMvyeiamh1wpgKBDOs7UzZmw07C4 =8X7T -----END PGP MESSAGE----- Payment Method: Credit Card (visa) If you don't see this, the encryption failed. You can see the error log in the admin section, it will tell you that the Encryption failed. Do you have root access to your server or do you have a hosted account? Anton Interchange Support Forum: http://interchangeville.com/forum/index.php -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of David xxxxxxx Sent: Monday, December 24, 2001 8:34 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] GPG how-to for hosted servers Hey guys! Okay, I lied... It didn't all work. I recieved the order, and yes, it was encrypted. The problem is, I need the credit card number so it can be manually entered into the credit card terminal. The order that I recieved contained the following information: Payment Method: Credit Card (visa) Account Number: 41**1111 Expiration: 10/02 I don't know where to start looking from here, do you guys have any suggestions? I'm finally starting to understand some of this, but this one has me stumped. Thanks! Regards, David xxxxxxx dxxxxxxx@cyber3dnet.com _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (David xxxxxxx) Date: Tue Dec 25 11:49:00 2001 Subject: [ic] GPG how-to for hosted servers Merry Christmas Anton! The e-mail orders that I am receiving indeed are encrypted. When I decrypt the e-mail message, it still has *****'s in the middle of the credit card number. The "NEED ENCRYPTION ENABLED" message no longer appears since I successfully set the encryption up. Here is the encrypted order that I received: Wait, hold that thought. I just pulled my head out of my ass. Okay, here's what's happenening. The entire order is coming to me encrypted. I found a utility to decode it that is still in development. I thought it was working, but noticed there were two encrypted sections still in the order once it was decrypted. I guess I assumed that the decryption wasn't working 100% properly. I just decrypted this part and found the credit card numbers within. :o) I'm assuming that I can configure this to send only the credit card number as being encrypted which would be better for this customer as they generally need 'Fisher Price' procedures when using their computer. Thanks for pasting the clip below, the "Credit Card Info:" line tipped me of as to what was happening. I guess I was trying to hard last night. :o) I do, however, have one additional question for the list. Is there a utility for Outlook 2000 that will allow Outlook to automatically decrypt the credit card portion of this message without having to do anything besides type the password at most? Thanks! Regards, David xxxxxxx dxxxxxxx@cyber3dnet.com -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of AddAction New Media Sent: Tuesday, December 25, 2001 10:18 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] GPG how-to for hosted servers David, This is how your order e-mail should look like: Credit Card Info: -----BEGIN PGP MESSAGE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org hQIOA9fPcmmnuaLdEAf/bRNul2gu+mXnBYaSLXyPN9CctoLVGkJt4IkHkMYQEpEA z888qwIIfFuJzLkXNeeZaLVjq8Wuzw7Vh0scn9M9k6dEXxi3W9z/P9Aep/tEj1oF ZFC8VoogokSq89ebNbE2U8kyInXVugAFkNXLzcCNv3mlGKCuly7Rc+g6sPnj/pQ0 DWFR+sIuJUXBkyslAjaEzVXCcluEfOUtHnUJ0E62ccw7E0B4hNu2pPQjL7l6e0J6 mvni2rAmKXqrZYSB1ZK4Kvj81Ep2JPe/85BY1liuqAPbp32ZoRUbVQyVD/ZlyrEP RYAuifKVGXQ4e7bGj9i1IMukgGk/WfB/gEPkvZLrDwf+LMsRQvkGIoOhPheC9eO2 OQhc7cBLo1nO6DCFhIiCURFo7O5uw66I7iQiAGqbZZk2ezjwFDcV2XzR4/k6liKx BZ2bg3XyxSM31EC5Uz0MhNEhxChWES+ciMam2hON+0XBCq6dgTDYLWh/PeQYLpuu HuAxzx+xjJrnv5rQoCUQQHrvzFJbV8oo6ZQS66VN6E+wJY6eFvWoF6kHX/0yb57B 38WZ5JIbjIRwprP5lbxXHqhCZ1tp98gLWOBvP2LBMtd5MTpliIXY9Q/9KWEcc+3G idQTDKECY9KFPdafeMwMmEl3m+pdJdqBPb0DdomlSZiERIJ4mam77UFwDh7xpaRR gskndMV8VutiF+dZ7Wnmy4y5gRIenMvyeiamh1wpgKBDOs7UzZmw07C4 =8X7T -----END PGP MESSAGE----- Payment Method: Credit Card (visa) If you don't see this, the encryption failed. You can see the error log in the admin section, it will tell you that the Encryption failed. Do you have root access to your server or do you have a hosted account? Anton Interchange Support Forum: http://interchangeville.com/forum/index.php -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of David xxxxxxx Sent: Monday, December 24, 2001 8:34 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] GPG how-to for hosted servers Hey guys! Okay, I lied... It didn't all work. I recieved the order, and yes, it was encrypted. The problem is, I need the credit card number so it can be manually entered into the credit card terminal. The order that I recieved contained the following information: Payment Method: Credit Card (visa) Account Number: 41**1111 Expiration: 10/02 I don't know where to start looking from here, do you guys have any suggestions? I'm finally starting to understand some of this, but this one has me stumped. Thanks! Regards, David xxxxxxx dxxxxxxx@cyber3dnet.com _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Tue Dec 25 13:00:00 2001 Subject: [ic] GPG how-to for hosted servers Try these: http://www.pgpi.org/products/pgp/versions/freeware/ The windows versions have an automatic setup for Outlook. Anton -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of David xxxxxxx Sent: Tuesday, December 25, 2001 11:49 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] GPG how-to for hosted servers Merry Christmas Anton! The e-mail orders that I am receiving indeed are encrypted. When I decrypt the e-mail message, it still has *****'s in the middle of the credit card number. The "NEED ENCRYPTION ENABLED" message no longer appears since I successfully set the encryption up. Here is the encrypted order that I received: Wait, hold that thought. I just pulled my head out of my ass. Okay, here's what's happenening. The entire order is coming to me encrypted. I found a utility to decode it that is still in development. I thought it was working, but noticed there were two encrypted sections still in the order once it was decrypted. I guess I assumed that the decryption wasn't working 100% properly. I just decrypted this part and found the credit card numbers within. :o) I'm assuming that I can configure this to send only the credit card number as being encrypted which would be better for this customer as they generally need 'Fisher Price' procedures when using their computer. Thanks for pasting the clip below, the "Credit Card Info:" line tipped me of as to what was happening. I guess I was trying to hard last night. :o) I do, however, have one additional question for the list. Is there a utility for Outlook 2000 that will allow Outlook to automatically decrypt the credit card portion of this message without having to do anything besides type the password at most? Thanks! Regards, David xxxxxxx dxxxxxxx@cyber3dnet.com -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of AddAction New Media Sent: Tuesday, December 25, 2001 10:18 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] GPG how-to for hosted servers David, This is how your order e-mail should look like: Credit Card Info: -----BEGIN PGP MESSAGE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org hQIOA9fPcmmnuaLdEAf/bRNul2gu+mXnBYaSLXyPN9CctoLVGkJt4IkHkMYQEpEA z888qwIIfFuJzLkXNeeZaLVjq8Wuzw7Vh0scn9M9k6dEXxi3W9z/P9Aep/tEj1oF ZFC8VoogokSq89ebNbE2U8kyInXVugAFkNXLzcCNv3mlGKCuly7Rc+g6sPnj/pQ0 DWFR+sIuJUXBkyslAjaEzVXCcluEfOUtHnUJ0E62ccw7E0B4hNu2pPQjL7l6e0J6 mvni2rAmKXqrZYSB1ZK4Kvj81Ep2JPe/85BY1liuqAPbp32ZoRUbVQyVD/ZlyrEP RYAuifKVGXQ4e7bGj9i1IMukgGk/WfB/gEPkvZLrDwf+LMsRQvkGIoOhPheC9eO2 OQhc7cBLo1nO6DCFhIiCURFo7O5uw66I7iQiAGqbZZk2ezjwFDcV2XzR4/k6liKx BZ2bg3XyxSM31EC5Uz0MhNEhxChWES+ciMam2hON+0XBCq6dgTDYLWh/PeQYLpuu HuAxzx+xjJrnv5rQoCUQQHrvzFJbV8oo6ZQS66VN6E+wJY6eFvWoF6kHX/0yb57B 38WZ5JIbjIRwprP5lbxXHqhCZ1tp98gLWOBvP2LBMtd5MTpliIXY9Q/9KWEcc+3G idQTDKECY9KFPdafeMwMmEl3m+pdJdqBPb0DdomlSZiERIJ4mam77UFwDh7xpaRR gskndMV8VutiF+dZ7Wnmy4y5gRIenMvyeiamh1wpgKBDOs7UzZmw07C4 =8X7T -----END PGP MESSAGE----- Payment Method: Credit Card (visa) If you don't see this, the encryption failed. You can see the error log in the admin section, it will tell you that the Encryption failed. Do you have root access to your server or do you have a hosted account? Anton Interchange Support Forum: http://interchangeville.com/forum/index.php -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of David xxxxxxx Sent: Monday, December 24, 2001 8:34 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] GPG how-to for hosted servers Hey guys! Okay, I lied... It didn't all work. I recieved the order, and yes, it was encrypted. The problem is, I need the credit card number so it can be manually entered into the credit card terminal. The order that I recieved contained the following information: Payment Method: Credit Card (visa) Account Number: 41**1111 Expiration: 10/02 I don't know where to start looking from here, do you guys have any suggestions? I'm finally starting to understand some of this, but this one has me stumped. Thanks! Regards, David xxxxxxx dxxxxxxx@cyber3dnet.com _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (russ_marks) Date: Tue Dec 25 14:38:01 2001 Subject: [ic] Javascript image roll-overs Can someone tell me if documentation exists for the javascript image rollovers I've seen implemented by various ic users? I liberated the js code from 'Construct Something' demo. I can get the initial graphics to display but not the "over" images. I also tried Mike Heins suggestion in another post about Locale images where the __IMAGE_DIR__/ variable is substituted with "[calc]$Config->{ImageDir}[/calc]" to no avail... Russ Marks From: interchange-users at interchange.redhat.com (Jonathan Melhuish) Date: Tue Dec 25 17:53:00 2001 Subject: [ic] FORUM - instead of Mailing List On Tuesday 25 December 2001 00:36, you wrote: > > If it is hard for you to follow threads, then maybe you need a better mail > client. Feel free to create a web based forum if you like, but like many > people I find them far more annoying and far less useful than email, so you > won't be seeing me there... True, KMail does a fine job of threading mailing list discussions, and I find it quite easy to follow. I also send all my mailing lists to a separate email address, so that I can download them separately. I do agree, though, that the web-based archives are a bit crap. Whilst they hold a wealth of knowledge, I find them quite difficult to navigate and find the search facilities lacking. Perhaps a decent web interface to the email list would provide the best of both worlds? Jon From: interchange-users at interchange.redhat.com (Jonathan Melhuish) Date: Tue Dec 25 18:10:00 2001 Subject: [ic] Masking the full domain to 'cart' On Monday 24 December 2001 20:55, you wrote: > On Monday, December 24, 2001, at 08:46 , Jim Webster wrote: > > I saw a while back a post that showed how to mask: > > > > http://www.818singles.com/~818singl/cgi-bin/cart.cgi/index.html > > > > To simply www.818singles.com or www.818singles.com/index.html I can't > > remember. > > > > I can not find that post, can someone repost? I should imagine you could do that without frames by using an Apache 'Rewrite' rule. There's loads of info here: http://httpd.apache.org/docs/misc/rewriteguide.html If I do this, would I be able to "rewrite" a subdirectory of my normal domain to my secure domain (the one with the SSL cert)? Ie. rewite https://www.domain.com/secure to http://www.securedomain.com/shop1? Would the browser complain that the SSL cert doesn't match the domain name? It's not really essential, it's just that I can only install one cert (as I only have one IP) and hence will only have one secure domain; I just thought it might look neater this way. Merry Christmas and a happy new year to everybody! Jon From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Tue Dec 25 19:59:00 2001 Subject: [ic] GPG how-to for hosted servers Quoting David xxxxxxx: > I do, however, have one additional question for the list. Is there a > utility for Outlook 2000 that will allow Outlook to automatically decrypt > the credit card portion of this message without having to do anything > besides type the password at most? I have several clients using PGP with Outlook 2000. I exported the public key from PGP and then imported it into gpg. You could probably export your secret key from within gpg and then import it into PGP on the windows box. PGP has an auto-decrypt setting so typing the password once decrypts all encrypted emails. Good luck! Curt Hauge From: interchange-users at interchange.redhat.com (Jake Thompson) Date: Tue Dec 25 22:12:00 2001 Subject: [ic] admin interface graphics not working In the created sub-directory in the www directory so "~/www/catalog" for example, you need to ln -s /common/www/html/interchange That is, wherever the core distribution has it's files, you make a link to it. This is the directory that contains the correct internationalization directories such as EN_us. This help? Later, Jake T. -----Original Message----- From: John D. Gorena [mailto:Support@jmg-enterprises.com] Sent: Tuesday, December 25, 2001 2:07 AM To: interchange-users@interchange.redhat.com Subject: [ic] admin interface graphics not working When I go to the main directory for the cart, I get two choices: Customer Entrance & Admin Interface. The graphics for the Admin Interface do not seem to work. They should point to the shared directory for the region but the path does not seem to generate properly. What file creates this and how do I fix it? -- John _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (David xxxxxxx) Date: Tue Dec 25 23:05:00 2001 Subject: [ic] GPG how-to for hosted servers Thanks guys, I think I have everything figured out! The e-mail I'm receiving now contains an encrypted credit card number while the rest of the e-mail is not encrypted. I'm using phpkeys that Anton sent me the link for and it's doing a great job un-encrypting the messages. Thanks! ~ David -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Curt Hauge Sent: Tuesday, December 25, 2001 7:04 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] GPG how-to for hosted servers Quoting David xxxxxxx: > I do, however, have one additional question for the list. Is there a > utility for Outlook 2000 that will allow Outlook to automatically decrypt > the credit card portion of this message without having to do anything > besides type the password at most? I have several clients using PGP with Outlook 2000. I exported the public key from PGP and then imported it into gpg. You could probably export your secret key from within gpg and then import it into PGP on the windows box. PGP has an auto-decrypt setting so typing the password once decrypts all encrypted emails. Good luck! Curt Hauge _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (David xxxxxxx) Date: Wed Dec 26 00:40:01 2001 Subject: [ic] Setting up GPG with Interchange -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey guys, After quite a bit of tinkering in my spare time, I was finally able to get Interchange 4.8.3 to send me orders via e-mail. Yes, e-mail orders that actually contained the customers encrypted credit card number. I had the help of a few people on the interchange-users mailing list. (Thanks Guys!) I'm going to try to write a set of comprehensive instructions that will guide you step by step through setting up gpg to work with Interchange 4.8.3. This may be useful to you if you receive orders through your site via e-mail and manually enter the credit card information in a credit card terminal. I hope these instructions are accurate. This is my first time ever setting up Interchange, so I'm not too familiar with it. These are revised instructions that were originally sent to the list by Patrick J. Walsh. These instructions reflect the o/s's that I'm running, so you may have to modofy these to work for you. Server o/s: FreeBSD 4.2-STABLE (machine that Interchange is installed on) My o/s: Windows XP Professional (machine that will be receiving the orders) First, assuming that you're using a similar setup to what I am, you will need to acquire a copy of PGP Freeware for your Windoze machine. I downloaded version 6.5.8 from the following URL: http://www.pgpi.org/products/pgp/versions/freeware/ When you are finished installing the PGP application, you will need to generate a keypair to use for encrypting the orders. When you first launch the application, it will prompt you to create your keypair. This keypair needs to be generated for the e-mail address that will be receiving the orders from the server. When you create your keypair, it's best to use a password that contains uppercase letters, lowercase letters, and numbers at the very least, but I hope you already knew that. Don't lose this password. Don't forget this password. Don't use a password that you've used for anything else. Once you have successfully genereated the keypair on your Windoze box, you will need to make sure gpg is installed on the Server and available for you to use. Try using the command `whereis gpg`. If gpg is not installed on the system, you can get your very own copy from http://www.gnupg.org/ I'll assume that the key you made using the PGP application on the Windoze machine has the e-mail address 'orders@example.com'. The next step is to get your Public key on the server so gpg can use it to encrypt the credit card information. The first step is exporting the Public key from the PGP application on the Windoze machine. To do this, using the PGPkeys utility, select the key that you generated and wish to export. Next, choose the menu option "Keys-->Export". When prompted, choose a filename that you will not forget. We'll assume that you saved it too the root directory and named it public.asc. ( C:\public.asc ) Upload this file to your server via FTP. It doesn't matter where you save it, just don't forget the location. I saved mine as /home/interchange-user-name/public.asc The next step is to import this public key into the keyring of the Interchange user. I'm not going to try to explain what that means, but if you need to know, visit http://www.gnupg.org and read their faq. Telnet or SSH into your server as the Interchange user. Then, from the server prompt, you can import the public key using gpg. The command to do this is: gpg --import /home/interchange-user-name/public.asc Make sure you know where your keyring file was placed. It was probably put in this directory: /home/interchange-user-name/.gnupg/. Now make sure you can use the key properly by using this command: echo "testing" | gpg --no-default-keyring --always-trust --keyring /home/interchange-user-name/.gnupg/pubring.gpg -e -a --batch -t -r 'orders@example.com' Note: You may need to include the gpg path in this command (i.e. /usr/bin/gpg or /usr/local/bin/gpg) If it works, great, if not, you need to look into the gpg documentation and the gpg newsgroups and mailing lists to fix it before proceeding or bothering the interchange folks. The next step is setting your variables properly. To do this, use the Interchange admin interface and go to Administration->Preferences->Encryption. If you don't have all of the variables listed below, then you should create them. Use the New Entry submenu item if you need to create them. ENCRYPTOR <blank> PGP gpg --no-default-keyring --always-trust --keyring /home/interch/.gnupg/pubring.gpg -e -a --batch -t -r '%s' [Note: If you had to include the gpg path in the test that you just did, you will also need to include it in the above line for it to work.] PGP_KEY orders@example.com Next, edit your catalog.cfg file. Search for the EncryptProgram and EncryptKey lines. If they exist, edit them, otherwise, add them before the routes start: EncryptProgram __PGP__ EncyptKey __PGP_KEY__ Then search through the rest of your file for "Route main" and make sure the following entries are set in that section: credit_card 1 encrypt 0 encrypt_program "__PGP__" email '__ORDERS_TO__' pgp_key "__PGP_KEY__" Now you will want to restart the Interchange server. Before you try this out to see if it worked, you're probably going to want to configure the PGP application on the Windoze machine to decrypt the e-mail messages that you receive. To do this, open the PGPkeys application up again. Click on the Edit-->Options menu. Choose the Email tab from the dialog that appears. Make sure there is a check box in front of the option that says "Automatically decrypt/verify when opening messages". Click OK and exit the app. After I did this, Outlook 2000 automatically decrypted my orders after I typed the password that I hope you havn't forgotten. Okay, that's it. (I hope..) Go to your site and submit an order. If everything is set up correctly, you should receive the order via e-mail with the credit card number enclosed and encrypted. When you recieve the e-mail, Outlook should prompt you for the password that you chose. Once you enter it, you should see the decrypted credit card number. If you have problems decrypting the information, I would check the PGP documentation. If you're having problems receiving the order, or the encryption is not working properly, you'll want to look at the gpg error messages. In my environment, this was not simple as I did not have root, or even interch access. The logs are stored in the tmp/ directory as pgp*.err. In my case, I didn't have permissions to read these files. To circumvent this, do the following: First, figure out which file is the most recent that you want to look at by typing `ls -lt *.err |head` -- probably the first entry is the one you're after. Next, go to the admin interface and navigate to Content. Select '..' then 'tmp' and choose the file you are interested in from the list. This will give you the details of any errors that gpg is spitting out. Ignore the insecure memory errors, the don't stop gpg from doing anything. I wish you the best of luck! Regards, David xxxxxxx dxxxxxxx@cyber3dnet.com Webmaster of... something? -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com> iQA/AwUBPClim90DJ7UnV+soEQKSoACdF1Tuo2ZP6vdwyVWni0VddzomPtcAnA3U dPKbrtCHe1jcJeCYQhLUQfMh =llEq -----END PGP SIGNATURE----- From: interchange-users at interchange.redhat.com (ako pia) Date: Wed Dec 26 12:52:01 2001 Subject: [ic] Re: interchange-users digest, Vol 1 #810 - 20 msgs THANK YOU ANTON AND ADDACTION.NET FOR SETTING UP THE INTERCHANGEVILLE.COM FORUM !! I am a newbie user who is totally frustrated with Interchange. I am still having a hard time just getting it to install. I am really hoping that Interchangeville.com will make the difference. THANKS, AGAIN !! To Mike Hall: what is Mutt? Thanks, Mike. -- _______________________________________________ 1 cent a minute calls anywhere in the U.S.! http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http://www.getpennytalk.com From: interchange-users at interchange.redhat.com (Barry Treahy, Jr.) Date: Wed Dec 26 13:15:00 2001 Subject: [ic] FORUM - instead of Mailing List ako pia wrote: >Hi All > >I vote that we create a User's Forum, rather than continuing to use the mailing list. > I'm against this. With all of the other lists that I participate in, those that are news or forum related simply take too much time to handle and I do not want to have to rely on outside services (forums or news feeds) to particiate daily. I receive roughly 3000 messages per week, most do to the numerous lists I participate in, and I have worked out filters and other tools that keep this volume of traffic organized so that I can read what I need, respond to what I must, and easily discard the rest. Anyway, that is my two cents, keep the Interchange system 'as-is.' What may help is improving the archive system as well as the accuracy of the searching system and the ability to reduce filter searches... Barry -- Barry Treahy, Jr * Midwest Microwave * Vice President & CIO E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028 From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Wed Dec 26 13:41:00 2001 Subject: [ic] FORUM - instead of Mailing List Barry, It is not one or the other. E-mail list and forum has its own advantages. I don't know how familiar you are with the Forum software these days, but I works very well. You can subscribe and unsubscribe to a Thread. This way you get e-mail notifications if something new was posted. So, you would see the e-mail for the topic you are interested in and not a "newbie" questions you have seen 1000 times before. This will reduce your e-mail load :-) Besides this, we are working on a Knowledge Base FAQ. This should work real well for general topics so that new users don't have to ask the same question over and over again. (the search system for the "Mailman" list does not work very well. NOTE: The new forum is in NO way to compete or make this list disappear. It is just a way to promote the Interchange software by giving more support to those who need it. Regards Anton The Forum is at: http://interchangeville.com/forum -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Barry Treahy, Jr. Sent: Wednesday, December 26, 2001 1:14 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] FORUM - instead of Mailing List ako pia wrote: >Hi All > >I vote that we create a User's Forum, rather than continuing to use the mailing list. > I'm against this. With all of the other lists that I participate in, those that are news or forum related simply take too much time to handle and I do not want to have to rely on outside services (forums or news feeds) to particiate daily. I receive roughly 3000 messages per week, most do to the numerous lists I participate in, and I have worked out filters and other tools that keep this volume of traffic organized so that I can read what I need, respond to what I must, and easily discard the rest. Anyway, that is my two cents, keep the Interchange system 'as-is.' What may help is improving the archive system as well as the accuracy of the searching system and the ability to reduce filter searches... Barry -- Barry Treahy, Jr * Midwest Microwave * Vice President & CIO E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028 _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Marsiglio, Clifford) Date: Wed Dec 26 13:46:01 2001 Subject: [ic] FORUM - instead of Mailing List > I'm against this. With all of the other lists that I participate in, > those that are news or forum related simply take too much > time to handle I don't know...I'm a first time poster to this list, and I've been trying to get IC working for a while. I had one of the earlier versions working, but feel like a complete idiot now (should have NEVER uninstalled my old RH based server to upgrade to 7.2 and thus try to reinstall the latest IC...) A forum would be perfect for a newbie like myself. I too use to be against web forums. I help run a large music mailing list (since the early 90s) and a few years ago we decided to make a companion website to go along with the list. In that time, we talked about installing a web forum as well, which I was completely against as the mailing list worked perfectly. Now a days, our forum has more posters than our mailing list as most of the new users are happier with the web than the mailing list. You can log in when you want, and you can read through threads of what you want. Sure, most mail programs can do that, but it takes time to set it up and its not as intuative (heh! Ya can't talk about intuitition if you've gotten use to a way of doing something over the dozens of years you've taken to refine your way of doing things). Anywho, as I found out, there is a place for both mailing lists and web forums. They both serve different purposes and I for one am glad that someone set up some for interchange. Hopefully with enough resources, I'll figure out how to install this software again :-) clif OnTheCircle Communications . _ . _ . _ . _ soniK: mind + music + technology http://onthecircle.com _ . _ . _ . _ . _ . _ . _http://sonikmatter.com/clif ccmarsig@onthecircle.com _ . _ . _ . _ . _ . _ . _ ccmarsig@sonikmatter.com tel.317.916.1816 . _ . _ . _ . _ . _ . _ . _ . _ . _ . _ . cel.317.506.3970 From: interchange-users at interchange.redhat.com (Boyd Lynn Gerber) Date: Wed Dec 26 13:53:01 2001 Subject: [ic] FORUM - instead of Mailing List On Wed, 26 Dec 2001, Barry Treahy, Jr. wrote: > I'm against this. With all of the other lists that I participate in, > those that are news or forum related simply take too much time to handle > and I do not want to have to rely on outside services (forums or news > feeds) to particiate daily. I receive roughly 3000 messages per week, > most do to the numerous lists I participate in, and I have worked out > filters and other tools that keep this volume of traffic organized so > that I can read what I need, respond to what I must, and easily discard > the rest. > > Anyway, that is my two cents, keep the Interchange system 'as-is.' What > may help is improving the archive system as well as the accuracy of the > searching system and the ability to reduce filter searches... I agree totally with this! I too get a lot of email and I have all my newsgroups fed to me via a email/newsfeed gateway. Email is the only way. With all the tools available it is far easier to sort thing where you want them and to dump the rest! Lets keep it the way it is. Google and seach the archive very well. Thanks, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 3748 Valley Forge Road, Magna Utah 84044 From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Wed Dec 26 14:07:01 2001 Subject: [ic] FORUM - instead of Mailing List My 2 pennies.... The list is really convenient in that you do not have to GO anywhere to see what is going on.... The search system really STINKS.... You cannot find anything in my opinion. I think the forum works really well, AS LONG AS lots of people frequent it.....if no one is looking at it, then you arent going to get any replies and answers to your questions. I must say the board has been great in helping me get going. I think they can work good together and if everybody will support both, I think it would be great. My suggestion, post easier topics on the forum and discussions that are not as technical, and post the harder technical questions to the board so everyone gets it and for emergency problems too. Anyway, that's all I have to say.... Aaron -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of AddAction New Media Sent: Wednesday, December 26, 2001 1:40 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] FORUM - instead of Mailing List Barry, It is not one or the other. E-mail list and forum has its own advantages. I don't know how familiar you are with the Forum software these days, but I works very well. You can subscribe and unsubscribe to a Thread. This way you get e-mail notifications if something new was posted. So, you would see the e-mail for the topic you are interested in and not a "newbie" questions you have seen 1000 times before. This will reduce your e-mail load :-) Besides this, we are working on a Knowledge Base FAQ. This should work real well for general topics so that new users don't have to ask the same question over and over again. (the search system for the "Mailman" list does not work very well. NOTE: The new forum is in NO way to compete or make this list disappear. It is just a way to promote the Interchange software by giving more support to those who need it. Regards Anton The Forum is at: http://interchangeville.com/forum -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Barry Treahy, Jr. Sent: Wednesday, December 26, 2001 1:14 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] FORUM - instead of Mailing List ako pia wrote: >Hi All > >I vote that we create a User's Forum, rather than continuing to use the mailing list. > I'm against this. With all of the other lists that I participate in, those that are news or forum related simply take too much time to handle and I do not want to have to rely on outside services (forums or news feeds) to particiate daily. I receive roughly 3000 messages per week, most do to the numerous lists I participate in, and I have worked out filters and other tools that keep this volume of traffic organized so that I can read what I need, respond to what I must, and easily discard the rest. Anyway, that is my two cents, keep the Interchange system 'as-is.' What may help is improving the archive system as well as the accuracy of the searching system and the ability to reduce filter searches... Barry -- Barry Treahy, Jr * Midwest Microwave * Vice President & CIO E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028 _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jim Webster) Date: Wed Dec 26 14:31:01 2001 Subject: [ic] Filtering through a MySQL Field Hello, On my results page I'd like to only show records which have been approved. Example: I have a table in my database called 'members'. In this table is a field called 'member_approved'. Default value is set to '0'. When performing searches, I need my results page to only show records which are set to '1' in the 'member_approved' field. In my results page, I have tryed: [if item-data members member_approved=1 then] This does not work, any ideas? Jim From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Wed Dec 26 14:55:01 2001 Subject: [ic] FORUM - instead of Mailing List Frankly, if you're going to do a Forum, it should really be tied to the e-mail list as an alternative way of viewing the same information. When you start creating multiple repositories of information like this you can make it *harder* for people to find the answer to their question. ..Patrick From: interchange-users at interchange.redhat.com (Korey G.) Date: Wed Dec 26 15:59:01 2001 Subject: [ic] sql-query sort How do you define sort for sql-query? From: interchange-users at interchange.redhat.com (Salvador Caballe) Date: Wed Dec 26 17:29:01 2001 Subject: [ic] [if] [/if] inside loop list HELP I need to include a [if] [/if] inside loop list in the order_detail.html page. somethink like this: loop list="[scratch arg]"] <TABLE BORDER=0> [html-table fr='class="contentbar1"'] <B>ORDER NUMBER [scratch arg] ....... ...... <B>Payment Method [if [loop-data transactions payment_method] eq COD] Cash on delivery [else] [ loop-data transactions payment_method] [/else] [/if] I found [if-loop-data database fieldname] but only checks if it exists. best regards Salvador Caballé From: interchange-users at interchange.redhat.com (David J Harmon) Date: Wed Dec 26 20:42:00 2001 Subject: [ic] Editor I'm still new to IC and I would like to know what Editor most of you people are using. I'm using FrontPage 2002 right now, it works but I'm looking for something better, that will work with IC. Thank you in advance David From: interchange-users at interchange.redhat.com (Marty Tennison) Date: Wed Dec 26 22:09:00 2001 Subject: [ic] Editor > > I'm still new to IC and I would like to know what Editor most of > you people > are using. I'm using FrontPage 2002 right now, it works but I'm > looking for > something better, that will work with IC. > I use Multiedit 9.0 from http://www.multiedit.com/ Multiedit is a generic editor that works with a lot of different languages. It does not support ITL with templates but it does work fine with ITL embedded. From: interchange-users at interchange.redhat.com (Mike Stallion) Date: Thu Dec 27 01:36:01 2001 Subject: [ic] A new developer questions It seems you can't have spaces in your sku field. I simply replaced all spaces with dashes, and walla! Thanks. Mike ----------------- Mike, I assume you use the Foundation standard store. Is there a column in your products.txt named "sku" and has it unique product ID's in it? If you move over the link for the product what is the URL that appears at the bottom of your browser? Anton Interchange Support Forum: www.interchangeville.com/forum __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com From: interchange-users at interchange.redhat.com (Mike Stallion) Date: Thu Dec 27 01:46:00 2001 Subject: [ic] Splitting products database into several databases Hi all, I am beginning to import a large database of products into my relatively empty products.txt file. I wanted to know when, if ever, one would want to split this table up into several. I have an Interchange implementation that will end up like a mall. Some of my parameters: 1. Multiple product categories with different flypages for each. 2. Shop owners in the mall will want to edit their own databases (I heard the owner_field will solve this if I use one product database) 3. This thing is going to be BIG with LOTS of Matrix options for each product category. Anyone done similiar builds? I'd appreciate any help or comments... Top 'o' the season to ya. Mike. __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com From: interchange-users at interchange.redhat.com (Victor Nolton) Date: Thu Dec 27 03:35:01 2001 Subject: [ic] Editor >I'm still new to IC and I would like to know what Editor most of you people >are using. I'm using FrontPage 2002 right now, it works but I'm looking for >something better, that will work with IC. Windows I recommend UltraEdit Mac I recommend BBEdit Unix I recommend vi Frontpage has a nice tendency to mangle stuff. but then again I dont think I've seen a microsoft product that doesn't. Ven From: interchange-users at interchange.redhat.com (Twentys) Date: Thu Dec 27 07:00:01 2001 Subject: [ic] mail_receipt attach Does anyone know how to attach files (like gif or mpg) into mail_receipt? Thanks a lot Roland From: interchange-users at interchange.redhat.com (Marty Tennison) Date: Thu Dec 27 08:37:01 2001 Subject: [ic] Filtering through a MySQL Field > > On my results page I'd like to only show records which have been approved. > > Example: > I have a table in my database called 'members'. In this table is a field > called 'member_approved'. Default value is set to '0'. When performing > searches, I need my results page to only show records which are set to '1' > in the 'member_approved' field. > > In my results page, I have tryed: > [if item-data members member_approved=1 then] > > This does not work, any ideas? > > Jim [if type=data term="members::member_approved::[item-code]"] Approved [else] Not approved [/else] [/if] Jim, This assumes that your members table has a sku field that is the primary key and identical to your products table. The foundation demo has a members functionality built in that you might find helpfull. Look for this code in the demo. [if scratch members_only] [set members_only][/set] [snip for clarity........] [/if] [/if] From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Dec 27 08:47:01 2001 Subject: [ic] Darn 'o_value' in options table I am importing an existing database into the IC GDB format for use as a catalog. I am not crazy about the Interchanges option value format, specifically the o_value within the options table. What IC requires for Sizes for example (for either select or radio): small=Small,/rmedium=Medium,/rlarge=Large What I actually have in a 10,000+ database is this in that field: Small,Medium,Large Does anyone know of a good Perl script to parse this? OR even a good workaround using IC tags within my flypages? I'm thinking this has HAD to happen to someone else while porting over from another system - so I checked the archives & manuals but still, no dice. I might even pay the person who gets me out of this one - though I don't know to prove which of the replies worked best, and quickest for me. Oh well, the old honour system always works. Vince Alexander Guru Internet Communications 416-698-9633 From: interchange-users at interchange.redhat.com (Bill Carr) Date: Thu Dec 27 10:18:00 2001 Subject: [ic] sql-query sort On Wed, 2001-12-26 at 19:00, Korey G. wrote: > How do you define sort for sql-query? Use 'ORDER BY' in your sql query. -- Bill Carr Worldwide Impact bill@worldwideimpact.com 413-253-6700 From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Thu Dec 27 10:43:01 2001 Subject: [ic] Darn 'o_value' in options table On Thu, Dec 27, 2001 at 01:54:42PM +0000, info@gurugroup.net wrote: > I am importing an existing database into the IC > GDB format for use as a catalog. > Small,Medium,Large > > Does anyone know of a good Perl script to parse this? This is what I've used in the past: sub convert_size { return join(",\r", map { $_ = join('=',$_,$_) } split(',',shift))."\r"; } -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Todd Hight) Date: Thu Dec 27 11:32:01 2001 Subject: [ic] Editor > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > David J Harmon > Sent: Wednesday, December 26, 2001 9:49 PM > To: interchange-users@interchange.redhat.com > Subject: [ic] Editor > > > I'm still new to IC and I would like to know what Editor most of > you people > are using. I'm using FrontPage 2002 right now, it works but I'm > looking for > something better, that will work with IC. Working from a Linux X environment I use BlueFish HTML editor. http://bluefish.openoffice.nl/ It's an open source HTML editor but I use it to edit all my IC related files. Has many nice features and is pretty stable. For hard core code editing I would use NEdit. It has very good advanced search and replace features and it could be enhanced with a language template for ITL if someone were to write it. I don't know enough about NEdit templates or ITL to do it yet! Anyway that's my two cents worth. <>< Todd > > Thank you in advance > David > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Thu Dec 27 12:00:01 2001 Subject: [ic] Editor > I'm still new to IC and I would like to know what Editor most of > you people are using. I'm using FrontPage 2002 right now, it works but I'm > looking for something better, that will work with IC. I'm using HomeSite (I guess it belongs nowadays to Macromedia). I have also used Dreamviewer, but I prefer still HomeSite because of its nice feature where you can hide and unhide code while you edit your code :) Rene From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Dec 27 12:31:01 2001 Subject: [ic] "mode" is not defined in %Fcntl::EXPORT_TAGS Hi, I am trying to setup interchange but when I start it I've got this bad message: "mode" is not defined in %Fcntl::EXPORT_TAGS at /usr/lib/interchange/bin/interchange line 2753 If I'am trying the demo foundation : We're sorry, the Interchange server is unavailable... I check all the auth, and they are OK. An Idea ? The real message : # /usr/lib/interchange/bin/restart The Interchange server should not be run as root. It should run as a the user name you configured in when you set up the catalogs. The name we think should run it is: interch If you are starting the server from /etc/rc.local or another startup file, you can use this: su -f -c /usr/lib/interchange/bin/restart interch or if that fails: su interch <<EOF /usr/lib/interchange/bin/restart EOF Do you want me to start it as 'interch' now? [y] y The Interchange server was not running (/usr/lib/interchange/etc/interchange.pid). Low traffic settings. Calling UI......UI is loaded... Interchange V4.8.3 Configuring catalog foundation...Using default DBM database...done. Interchange server started in INET and UNIX mode(s) (process id 7441) -- Frédéric BERNOUD - ALTIVA SOLUTIONS tel: 04 76 52 56 11 fax: 04 76 52 56 12 From: interchange-users at interchange.redhat.com (Scott Andreas---Learning Services, Inc) Date: Thu Dec 27 13:01:01 2001 Subject: [ic] [if type=date term=HELP] I'm trying to output a graphic on a mysql database with a contacts table. We auto data into the database certain records for our salesreps. In the 'updated' column we insert a record of 1 into said column. What I want to do is... When the sales rep views the result list and see's a graphic which represents "1" in the column. Then, they goto that row record which will automatically change the 'updated' column record to the date viewed My problem is trying to get the graphic to display. I've tried many different variation but I'm stumped...Is what I have is [if type=data term="contacts::updated" op="eq" compare=1] <IMG src="newcon.gif" ALT="new contact"> [/if] Which, of course, displays nothing!! Any help would be appreciated Thanks J. Scott Andreas :) IS/Programmer/WebDevelopement Learning Services, Inc. e-mail: sandreas@learningservicesinc.com phone: 1-800-877-9378 ext. 146 fax: (541) 744-2056 | |__earning (__ __)ervices | |ncorporated --- __o --- _-\<,_ --- (_)/ (_) From: interchange-users at interchange.redhat.com (Marty Tennison) Date: Thu Dec 27 14:08:00 2001 Subject: [ic] [if type=date term=HELP] > > I'm trying to output a graphic on a mysql database with a contacts table. > > We auto data into the database certain records for our salesreps. > > In the 'updated' column we insert a record of 1 into said column. > > What I want to do is... > When the sales rep views the result list and see's a graphic which > represents "1" in the column. Then, they goto that row record which will > automatically change the 'updated' column record to the date viewed > > My problem is trying to get the graphic to display. > > I've tried many different variation but I'm stumped...Is what I have is > > [if type=data term="contacts::updated" op="eq" compare=1] > <IMG src="newcon.gif" ALT="new contact"> > [/if] > > Which, of course, displays nothing!! > To check for a true-false value you only need to specify the table, column and key. This is covered in the templates documents of the interchange documentation. http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_9.html example:[if type=data term="<TABLE>::<COLUMN/FIELD>::<CODE/SKU>"] Working example: Note, you must change "some-code" to a valid key in your table. [if type=data term="contracts::updated::[some-code]"] The field contains a value [else] The field does not contain a value [/else] [/if] From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Thu Dec 27 14:19:00 2001 Subject: [ic] [if type=date term=HELP] On Thu, Dec 27, 2001 at 11:07:25AM -0800, Marty Tennison wrote: > > In the 'updated' column we insert a record of 1 into said column. > > > > What I want to do is... > > When the sales rep views the result list and see's a graphic which > > represents "1" in the column. Then, they goto that row record which will > > automatically change the 'updated' column record to the date viewed > > > > To check for a true-false value you only need to specify the table, column > and key. This is covered in the templates documents of the interchange > documentation. > But in this case the updated column contains either a '1', or a date, which are both true. Changing the logic to check for a false value instead of a 1 would probably be better, but the problem here is that the term= does not contain a key, so it isn't returning a record... -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Scott Andreas---Learning Services, Inc) Date: Thu Dec 27 14:48:00 2001 Subject: [ic] [if type=date term=HELP] I agree... There has to be a simple solution to this problem I have tried adding in [item-code] to the tag but that result brought in the image for all records...not good. Other code I have tried are [if explicit] <----which displays a graphic for all records [condition] $updated = $values = {updated}; return 1 if $updated = 1; return 0; [/condition] <IMG src="newcon.gif" ALT="this is a new contact"> [else] <IMG src=blank.gif"> [/else] [/if] and [if type=data term=contacts::updated op="eq" compare="1"] <----which displays nothing <IMG src="newcon.gif" ALT="this is a new contact"> [/if] and [if value updated == 1] <----which displays nothing <IMG src="newcon.gif" ALT="this is a new contact"> [/if] and [if type=data term="contacts::updated::1 op="eq" compare='[item-param updated]'] <----which displays nothing <IMG src="newcon.gif" ALT="this is a new contact"> [/if] There should be a simple solution is all I want is to evaluate the result and if the column has a value of 1 in it then display the graphic else display nothing. The other problem is that the column could contain a NULL record so evaluating if the record is NULL would not work. Thanks for your help -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Scott Andreas---Learning Services, Inc Sent: Thursday, December 27, 2001 9:56 AM To: 'IC mailing list' Subject: [ic] [if type=date term=HELP] I'm trying to output a graphic on a mysql database with a contacts table. We auto data into the database certain records for our salesreps. In the 'updated' column we insert a record of 1 into said column. What I want to do is... When the sales rep views the result list and see's a graphic which represents "1" in the column. Then, they goto that row record which will automatically change the 'updated' column record to the date viewed My problem is trying to get the graphic to display. I've tried many different variation but I'm stumped...Is what I have is [if type=data term="contacts::updated" op="eq" compare=1] <IMG src="newcon.gif" ALT="new contact"> [/if] Which, of course, displays nothing!! Any help would be appreciated Thanks J. Scott Andreas :) IS/Programmer/WebDevelopement Learning Services, Inc. e-mail: sandreas@learningservicesinc.com phone: 1-800-877-9378 ext. 146 fax: (541) 744-2056 | |__earning (__ __)ervices | |ncorporated --- __o --- _-\<,_ --- (_)/ (_) _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Collin Condray) Date: Thu Dec 27 14:55:00 2001 Subject: [ic] RE: Limiting access to item by user > I have a problem that I hope that Interchange can solve. We have a > client that has two different sets of items to sell on their website. > One set of items is retail items for the public, anyone can > order from > this set of items. The other is a wholesale list of items > that can only > be accessed by our client's few dozen or so wholesellers. Our client > needs to be able to limit who can see an item in the > wholesale list by > wholeseller so one wholeseller cannot see what another wholeseller is > able to buy. > > I've seen a couple of references to wholesale items in the > documentation > but they seem to be geared only to lowering the price > depending on how > many items you buy. I've also read about how to limit access certain > files but I don't see how to translate that into limiting > access to items. > > Is there anything built into Interchange that I am missing > that allows > me to do this? If not, does anyone have any suggestions on > approaching > this problem? > > To let you know my technical background and experience with > Interchange. > I have set up 2 or 3 working Interchange stores for other > clients by > modifying the default store and have made a few minor > customizations . > however, I am not an Interchange expert by any means. I am a fairly > good Perl programmer though. > > Please let me know if I can provide any more information about my > problem. Any help would be appreciated. Thanks in advance! > > -- > Collin Condray > See "affiliates". Should be fun. > Dan Browning > Sr. Tech Consultant > Kavod Technologies > <dan.browning@kavod.com> Thank you for the response. If I understand how affiliates work, it allows you to place a link on another web site that connects directly to a product page on your site. The product page can be customized specifically for visitors from that affiliate. I don't think this is the feature I'm looking for, however. In this case, our client's wholesellers don't have or want their own individual sites. Our client wants to sell certain items to their wholesellers but each wholeseller will have their own set of items. The wholeseller should be able to see only their own items and no others. From the description of affiliates, it looks like anyone would be able to view any item no matter what. Also we don't need a customized page specifically for each wholeseller. They should look the same no matter the wholeseller. Any other ideas about how to approach this problem would be appreciated. Thanks! -- Collin Condray From: interchange-users at interchange.redhat.com (Marty Tennison) Date: Thu Dec 27 16:36:01 2001 Subject: [ic] [if type=date term=HELP] > > There should be a simple solution is all I want is to evaluate the result > and if the column has a value of 1 in it then display the graphic else > display nothing. The other problem is that the column could contain a NULL > record so evaluating if the record is NULL would not work. > The simple solution is to ensure that the field can only contain a 0 or 1 by setting your database field to not allow nulls and default to either 0 or 1, then you can do a simple check. If you need other test done then create additional database fields as needed. A clunky work-around is this. Set a scratch variable with the value of that field and then test the variable to see if the value is contained within. [seti tmp_var][data term="<TABLE>::<COLUMN/FIELD>::<CODE/SKU>"][/seti] [if scratch tmp_var =~ /1/] do this [else] do this [/else] [/if] This will also test true if tmp_var contains 10 or 11 or 21 etc... From: interchange-users at interchange.redhat.com (Scott Andreas---Learning Services, Inc) Date: Thu Dec 27 16:47:00 2001 Subject: [ic] RE: Limiting access to item by user IC foundation has a pre-built function in that it looks at the user data and if that user gets wholesale, retail, or... Look at the userdb as this would point you into the right direction for this type of implementation scott -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Collin Condray Sent: Thursday, December 27, 2001 11:55 AM To: interchange-users@interchange.redhat.com Subject: [ic] RE: Limiting access to item by user > I have a problem that I hope that Interchange can solve. We have a > client that has two different sets of items to sell on their website. > One set of items is retail items for the public, anyone can > order from > this set of items. The other is a wholesale list of items > that can only > be accessed by our client's few dozen or so wholesellers. Our client > needs to be able to limit who can see an item in the > wholesale list by > wholeseller so one wholeseller cannot see what another wholeseller is > able to buy. > > I've seen a couple of references to wholesale items in the > documentation > but they seem to be geared only to lowering the price > depending on how > many items you buy. I've also read about how to limit access certain > files but I don't see how to translate that into limiting > access to items. > > Is there anything built into Interchange that I am missing > that allows > me to do this? If not, does anyone have any suggestions on > approaching > this problem? > > To let you know my technical background and experience with > Interchange. > I have set up 2 or 3 working Interchange stores for other > clients by > modifying the default store and have made a few minor > customizations . > however, I am not an Interchange expert by any means. I am a fairly > good Perl programmer though. > > Please let me know if I can provide any more information about my > problem. Any help would be appreciated. Thanks in advance! > > -- > Collin Condray > See "affiliates". Should be fun. > Dan Browning > Sr. Tech Consultant > Kavod Technologies > <dan.browning@kavod.com> Thank you for the response. If I understand how affiliates work, it allows you to place a link on another web site that connects directly to a product page on your site. The product page can be customized specifically for visitors from that affiliate. I don't think this is the feature I'm looking for, however. In this case, our client's wholesellers don't have or want their own individual sites. Our client wants to sell certain items to their wholesellers but each wholeseller will have their own set of items. The wholeseller should be able to see only their own items and no others. From the description of affiliates, it looks like anyone would be able to view any item no matter what. Also we don't need a customized page specifically for each wholeseller. They should look the same no matter the wholeseller. Any other ideas about how to approach this problem would be appreciated. Thanks! -- Collin Condray _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Dec 27 16:55:00 2001 Subject: [ic] RE: Limiting access to item by user > Thank you for the response. If I understand how affiliates work, it > allows you to place a link on another web site that connects > directly to > a product page on your site. The product page can be customized > specifically for visitors from that affiliate. > > I don't think this is the feature I'm looking for, however. In this > case, our client's wholesellers don't have or want their own > individual > sites. Our client wants to sell certain items to their > wholesellers but > each wholeseller will have their own set of items. The wholeseller > should be able to see only their own items and no others. From the > description of affiliates, it looks like anyone would be able to view > any item no matter what. > > Also we don't need a customized page specifically for each > wholeseller. > They should look the same no matter the wholeseller. > > Any other ideas about how to approach this problem would be > appreciated. > > Thanks! > > -- > Collin Condray > My take on this would be that you will probably want to set up a shopping page that takes into account who the user is logged in as. My shopping page is a custom IC page that I wrote for my site. You don't need to take the out of the box one necessarily. The page you write could enforce having a valid userid, and then use that userid to look products up in the database. You would need what I call a "linker table" - there's probably a technical term for it. It would have the user_id and sku, and you then can fill it out with a list of users and the skus they are allowed to see. You may want to maintain it in a spreadsheet and load it into IC from there. Just an idea. Patrick From: interchange-users at interchange.redhat.com (Martin Abell) Date: Thu Dec 27 16:59:01 2001 Subject: [ic] Search: unique not working - for me either I saw several comments about trouble with the mv_unique, and thought I'd add my experience (Interchange version 4.8.1). I had the following code for an in-page search: [search-region prefix=subcats search=" fi=products st=db sf=category se=[scratch catgy] rf=subcategory un=1 tf=subcategory "] [search-list] Subcategory: [subcats-field subcategory] [/search-list] [/search-region] Based on the data I was searching and the number of times the word "Subcategory:" would display from within the search-list, I was sure the search definition was OK. But the name of the subcategory WOULD NOT DISPLAY. I'm yelling because of the frustration of many hours reading the archives and docs. Then I put a space in (rf =subcategory) and the subcategories printed!?! (rf=* worked too.) BUT THEN, un=1 no longer had an effect. So I gave up and used the "item-change" construct to pop up the unique subcategory designations. If this helps anyone, good. If anyone could help me understand (or maybe send Advil), I'd appreciate it. Martin Abell SpeedSpan From: interchange-users at interchange.redhat.com (Scott Andreas---Learning Services, Inc) Date: Thu Dec 27 17:51:00 2001 Subject: [ic] [if type=date term=HELP] That worked!! tweeked it a little however [seti tmp_var] [data base="contacts" field="updated" key="[item-code]"] [/seti] [if scratch tmp_var == 1] <IMG src="newcon.gif" ALT="this is a new contact"> [/if] IOU a BREWSKI THANKS A BAZILLION :-) Scott -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Marty Tennison Sent: Thursday, December 27, 2001 1:35 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] [if type=date term=HELP] > > There should be a simple solution is all I want is to evaluate the result > and if the column has a value of 1 in it then display the graphic else > display nothing. The other problem is that the column could contain a NULL > record so evaluating if the record is NULL would not work. > The simple solution is to ensure that the field can only contain a 0 or 1 by setting your database field to not allow nulls and default to either 0 or 1, then you can do a simple check. If you need other test done then create additional database fields as needed. A clunky work-around is this. Set a scratch variable with the value of that field and then test the variable to see if the value is contained within. [seti tmp_var][data term="<TABLE>::<COLUMN/FIELD>::<CODE/SKU>"][/seti] [if scratch tmp_var =~ /1/] do this [else] do this [/else] [/if] This will also test true if tmp_var contains 10 or 11 or 21 etc... _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Daniel P. Zepeda) Date: Thu Dec 27 20:46:01 2001 Subject: [ic] Need HELP w/ LONG-STANDING wizard problem Hi Folks, For those in the know: PLEASE DON'T IGNORE THIS. I'm seeking guidance on how to proceed, not asking you to do my work for me. I've researched and submitted a fix for at least one of my problems, I need guidance in doing so for another. I've been asking about a problem with the foundation demo wizard. The original post is here: http://interchange.redhat.com/archive/interchange-users/2001/msg10967.html Basically, I'm running into trouble with the Safe module when I try to set up a store on a stock 4.8.3 system with the foundation store on RH7.2 server. Is no-one using the wizard? This seems to be a basic problem with the wizard. I need some guidance on how to work around or fix the problem securely. Speaking of fixes: I submitted some diffs for another fix on an unrelated problem. I asked what the best way to submit fixes like these is, but again got no response. The original post is here: http://interchange.redhat.com/archive/interchange-users/2001/msg11090.html -- "Daniel P. Zepeda" <dzepeda@satx.net> From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Thu Dec 27 21:19:00 2001 Subject: [ic] Need HELP w/ LONG-STANDING wizard problem Daniel, Please post your fix on the forum for future reference: http://interchangeville.com/forum Thanks Anton -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Daniel P. Zepeda Sent: Thursday, December 27, 2001 8:44 PM To: interchange-users@interchange.redhat.com Subject: [ic] Need HELP w/ LONG-STANDING wizard problem Hi Folks, For those in the know: PLEASE DON'T IGNORE THIS. I'm seeking guidance on how to proceed, not asking you to do my work for me. I've researched and submitted a fix for at least one of my problems, I need guidance in doing so for another. I've been asking about a problem with the foundation demo wizard. The original post is here: http://interchange.redhat.com/archive/interchange-users/2001/msg10967.html Basically, I'm running into trouble with the Safe module when I try to set up a store on a stock 4.8.3 system with the foundation store on RH7.2 server. Is no-one using the wizard? This seems to be a basic problem with the wizard. I need some guidance on how to work around or fix the problem securely. Speaking of fixes: I submitted some diffs for another fix on an unrelated problem. I asked what the best way to submit fixes like these is, but again got no response. The original post is here: http://interchange.redhat.com/archive/interchange-users/2001/msg11090.html -- "Daniel P. Zepeda" <dzepeda@satx.net> _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Thu Dec 27 21:52:01 2001 Subject: [ic] Need HELP w/ LONG-STANDING wizard problem On Thu, Dec 27, 2001 at 09:18:33PM -0500, AddAction New Media wrote: > Daniel, > > Please post your fix on the forum for future reference: > Or, better yet, file a bug report at http://interchange.redhat.com/ so the problem can be fixed. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (The Marks Family) Date: Fri Dec 28 01:45:01 2001 Subject: [ic] Javascript menu rollovers ala "Construct Something" Does anyone know if documentation exists for the javascript menus which are in use on the "Construct Something" demo or in various ic users' web sites? I've searched the archives but cannot find a solution for the problem I'm having which is that the initial graphics appear but not the "over" images. I liberated the js code from the "Construct Something" demo and am using the __THEME_IMG_DIR__ variable to point to both the "off" and "over" images. I've placed some javascript alerts to help troubleshoot but nothing I've done so far is doing the trick. Do I need to calc the THEME_IMG_DIR variable somewhere? Russ Marks From: interchange-users at interchange.redhat.com (chad townsend) Date: Fri Dec 28 02:09:01 2001 Subject: [ic] searchable documentation? is there a site out there that has the interchange documentation that's searchable? i was about to download all the docs and hook up htdig to it, but thought i'd check first. has this been done or does it need to be done? ./chad& From: interchange-users at interchange.redhat.com (Chris Zavadowski) Date: Fri Dec 28 04:22:01 2001 Subject: [ic] PayPal? IBill? I was wondering if anyone knows if PayPal could be integrated with IC? I've seen it done with other carts. Also any clue with IBill? I'm pretty "new" to all this stuff...but these are two merchant services I'm looking at for various reasons. Thanks! Chris :) P.S. -- Please email me directly if possible. :) Lifetime Marketing Success http://www.zavadowski.com ----------------------------------------------------------------------------- BRAND NEW! Get it while it's HOT! FREE eBook with REPRINT/RESALE RIGHTS & Pre-Designed Web Page! Don't miss this... http://www.zavadowski.com ----------------------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Fri Dec 28 06:37:01 2001 Subject: [ic] GPG how-to for hosted servers > > (Vast amounts of lazy-quoted follow-ups removed) > > Okay, I lied... It didn't all work. I recieved the order, and yes, it was > encrypted. The problem is, I need the credit card number so it can be > manually entered into the credit card terminal. The order that I recieved > contained the following information: > > Payment Method: Credit Card (visa) > > Account Number: 41**1111 Expiration: 10/02 > > I don't know where to start looking from here, do you guys have any > suggestions? I'm finally starting to understand some of this, but this one > has me stumped. > I normally ignore threads where people have lost their email manual and resort to posting responses above the article they are responding to, but this thread seems to have gone on long enough. The Foundation demo's default etc/report file has a block of code that looks like this: [if value mv_credit_card_info] [tag op=mime interpolate=1 type=application/pgp-encrypted description="CreditCard_[value mv_order_number]"] [value mv_credit_card_info] [/tag] [/if] As your encrypted block has 'Account Number' and 'Expiration' text in it, I assume you have modified your block to look something like this: [if value mv_credit_card_info] [tag op=mime interpolate=1 type=application/pgp-encrypted description="CreditCard_[value mv_order_number]"] Account Number: [value mv_credit_card_reference] Expiration: [value mv_credit_card_exp_month]/[value mv_credit_card_exp_year] [/tag] [/if] Basically, I assume you are using [value mv_credit_card_reference] instead of [value mv_credit_card_info] or [value mv_credit_card_number] in your pgp/gnupg encrypted block. mv_credit_card_reference is a card number reference that will look like 41**1111, whereas mv_credit_card_info holds the full card number and the expiry date. Check your etc/report file for this. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Dec 28 09:10:00 2001 Subject: [ic] Interchange-users guidelines [semi-monthly posting] interchange-users@lists.akopia.com is a list for users who have questions about configuring, setting up, and fine tuning Interchange catalogs. Other topics will include: - announcements of Interchange releases and fixes - notification and submission of Interchange bugs - distributing pages which implement Interchange functions - discussing the future development of Interchange - any other topic relating *directly* to Interchange The list started January 5, 1997 as minivend-users. For an archive of past articles, see: http://developer.akopia.com/archive/interchange-users/ Also, because the list has high volume for one of its type, before posting to the list it is recommended that you use the search feature at: http://developer.akopia.com/ Many questions can be answered by trying some keywords at this facility. Try more than one combination. It is common courtesy when posting to a forum such as this to: 1. Include the version of software you are using, i.e. Interchange 4.6.1. Bugs are fixed and deficiencies corrected in each release of Interchange, as with almost any software. 2. Include relevant information where appropriate. The operating system in question is often relevant, as is the Perl version and database type in use. 3. When talking about tag problems, include a snippet of ITL tags which illustrates the problem. 4. When posting about PGP, Glimpse, or anything else that uses an external command, you need to state what happens when you run the same thing from the command line. 5. Include error log entries or a statement that there are none. If a post to this list doesn't include the relevant information, not only are you unlikely to get a reasonable answer, you will add to the volume of the list and make it less likely that reasonable questions are answered. All entries are archived and available via a web gateway. The "X-No-Archive: Yes" header is honored if you choose to use it. List etiquette issues: -- No HTML mail is allowed. Besides being improper email netiquette, it destroys the digest. -- Please try to keep your line size less than 80 characters. -- No PGP signatures should be used. This is not a legal record. -- No flame wars are tolerated. -- No "courtesy copies" unless specifically requested. It can be annoying to some people to receive two copies of the same message. -- If you must munge, make sure you mention this in the BODY of the message and not buried incomprehensibly in the header or in a cluttered signature attachment. -- The list changes the Reply-To: header to point to the list. While this is by popular demand, it is recognized that it is not always the best mode of operation. You should reply by email directly to the sender if the post will not be of general use. -- Contextual quoting is preferred, i.e. Quoting user1 (<user1@somedomain.redhat.com>): > Some limited text that will give context. > Your reply. versus Your reply, lazily put at the top. Quoting user1 (<user1@somedomain.redhat.com>): > The whole big blob of the previous posts, including > signatures and all In fact, the author of the program stops following a thread the moment this lazy quoting method is used. He figures that if you can't take half a minute of your time to save multiple minutes of the readers time, the heck with ya. For more information see the Netiquette RFC: http://www.faqs.org/rfcs/rfc1855.html Thanks for your cooperation. We believe we have one of the best user lists going, and we would like to keep it useful and pleasant to use. From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Dec 28 09:40:00 2001 Subject: [ic] Search: unique not working - for me either Quoting Martin Abell (abellmt@spsp.net): > I saw several comments about trouble with the mv_unique, and thought I'd add > my experience (Interchange version 4.8.1). I had the following code for an > in-page search: > > [search-region > prefix=subcats > search=" > fi=products > st=db > sf=category > se=[scratch catgy] > rf=subcategory > un=1 > tf=subcategory > "] > [search-list] > Subcategory: [subcats-field subcategory] > [/search-list] > [/search-region] > > Based on the data I was searching and the number of times the word > "Subcategory:" would display from within the search-list, I was sure the > search definition was OK. But the name of the subcategory WOULD NOT > DISPLAY. This is an FAQ. You wanted [subcats-param subcategory] -- subcats-field is pretty meaningless in this context, as you don't have the SKU in the return fields. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Fri Dec 28 10:00:01 2001 Subject: [ic] searchable documentation? The DOCS come in PDF, you can search those very easily Anton -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of chad townsend Sent: Friday, December 28, 2001 2:00 AM To: interchange-users@interchange.redhat.com Subject: [ic] searchable documentation? is there a site out there that has the interchange documentation that's searchable? i was about to download all the docs and hook up htdig to it, but thought i'd check first. has this been done or does it need to be done? ./chad& _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Kirill Sapelkin) Date: Fri Dec 28 16:16:01 2001 Subject: [ic] shipping pulldown in foundation Hello ! Am having a time with the shipping pulldown in the shopping cart screen of the foundation demo. It will only show me the shipping method that I have defined. All the others that I defined in the Admin/Preferences/Shipping do not appear in the cart screen. Even if I alter my shipping method in (customer) Account Maintanence, save and checkout, still only the shipping method that I had defined shows up on the shopping cart screen. Thanks for any help or direction. Kirill Sapelkin znanie@best.com From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Dec 28 16:27:00 2001 Subject: [ic] FORUM - instead of Mailing List Jason Kohles wrote: > > On Tue, Dec 25, 2001 at 12:47:22AM +0800, ako pia wrote: > > I vote that we create a User's Forum, rather than continuing to use the mailing list. > > > > The Forum approach is MUCH more helpful in every way you can think of. It's easier to follow threads, our email doesn't get loaded with stuff cuz the data is on the Forum site, and it's easy to search. > > > If it is hard for you to follow threads, then maybe you need a better mail > client. Feel free to create a web based forum if you like, but like many > people I find them far more annoying and far less useful than email, so you > won't be seeing me there... I agree! I dislike any kind of web based forum! I've a nice structur of my folders of my mail client. If I see a important email from the IC list, I can move this message into my mail archiv and with this archiv, I'm able to find the important information ASAP! ciao jojo -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Jerry) Date: Fri Dec 28 16:33:01 2001 Subject: [ic] shipping pulldown in foundation Check your country.txt file and make sure the shipping modes are there for the country or countries in question. Jerry > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Kirill Sapelkin > Sent: Friday, December 28, 2001 5:12 PM > To: interchange-users@interchange.redhat.com > Subject: [ic] shipping pulldown in foundation > > > Hello ! > > Am having a time with the shipping pulldown in the shopping cart > screen of the foundation demo. > > It will only show me the shipping method that I have defined. All the > others that I defined in the Admin/Preferences/Shipping do not appear > in the cart screen. > > Even if I alter my shipping method in (customer) Account Maintanence, > save and checkout, still only the shipping method that I had defined > shows up on the shopping cart screen. > > Thanks for any help or direction. > > > Kirill Sapelkin > znanie@best.com > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Dec 28 16:39:00 2001 Subject: [ic] More problems with Spreadsheet Export cfm@maine.com wrote: > > > >From Spreadsheet::WriteExcel.pm: > > > =item * Move to Excel97/2000 format as standard. This will allow > > > strings greater than 255 characters and hope fully Unicode. The > > > Excel 5 format will be optional. This will be in the next major > > > release of the module. All other features are on hold. > > > > > > This is limit it package Spreadsheet::WriteExcel::Worksheet.pm: > > > my $rowmax = 65536; # cfm change from 16384 in Excel 5 > > > > I'm unsure! Are you talking about > > > > p5-Spreadsheet-ParseExcel-0.2403 Get information from Excel file > > Sorry, I don't know what 'p5-Spreadsheet-ParseExcel-0.2403' is, probably. See http://www.samag.com/documents/s=1131/sam0504013/ and for example another articel about writing Excel file with perl in http://www.samag.com/documents/s=1272/sam05030004/ I use the ParseExcel Modul from CPAN! > Check for the module itself to be sure. I did do that and I've not found any hint about the length of any excel fields. But, I'm not well in perl. Which module with restrict length of excel fields did you talking about or which module is IC using for reading a excel file? Thanks! ciao Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (John D. Gorena) Date: Fri Dec 28 16:59:00 2001 Subject: [ic] Can't get permissions When I try to do simple things like change the Tax rate (in Administration - Tax Rate), it does not go through. In the error log, I see lines like: Attempt to set variable::Variable::TAXSHIPPING in read-only table Attempt to set variable::Variable::TAXRATE in read-only table Attempt to set variable::Variable::TAXAREA in read-only table I see that this information is in the catalog directory under /products/variable.txt. I even manually changed the data to see if it would display the information in the admin area and it does . . It does not change from the Administration - Tax Rate interface. How do we get permissions? -- John From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 28 17:07:01 2001 Subject: [ic] More problems with Spreadsheet Export On Fri, Dec 28, 2001 at 10:39:05PM +0100, Joachim Leidinger wrote: > cfm@maine.com wrote: > > > > >From Spreadsheet::WriteExcel.pm: > > > > =item * Move to Excel97/2000 format as standard. This will allow > > > > strings greater than 255 characters and hope fully Unicode. The > > > > Excel 5 format will be optional. This will be in the next major > > > > release of the module. All other features are on hold. > > > > > > > > This is limit it package Spreadsheet::WriteExcel::Worksheet.pm: > > > > my $rowmax = 65536; # cfm change from 16384 in Excel 5 > > > > > > I'm unsure! Are you talking about > > > > > > p5-Spreadsheet-ParseExcel-0.2403 Get information from Excel file > > > > Sorry, I don't know what 'p5-Spreadsheet-ParseExcel-0.2403' is, probably. > > See > > http://www.samag.com/documents/s=1131/sam0504013/ > > and for example another articel about writing Excel file with perl in > > http://www.samag.com/documents/s=1272/sam05030004/ > > I use the ParseExcel Modul from CPAN! > > > Check for the module itself to be sure. > > I did do that and I've not found any hint about the length of any excel > fields. But, I'm not well in perl. > Which module with restrict length of excel fields did you talking about > or which module is IC using for reading a excel file? IC is **NOT** using the perl modules to read/write excel; that is why it works. > > Thanks! > > ciao > > Joachim > > -- > Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce > [Hans-Joachim.leidinger@bpanet.de] > Black Point Arts Internet Solutions GmbH > http://www.bpanet.de > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Marco) Date: Fri Dec 28 17:21:00 2001 Subject: [ic] mac os x and Interchange Hi to everybody. I'm trying to install Interchange 4.8.3 on a G4 running mac OS X 10.1 with no success. When I do the ./configure I receive this error: server/unixmode.......ok 1 server/startup........ok 2 link/unixmode.........ok 3 server/inetmode.......ok 4 link/inetmode.........not ok 5 server/control........ok 6 6 tests run -- 1/6 failed. make: *** [test_dynamic] Error 1 Any suggestion is precious. Does anybody have tried this installation before? Thanks Marco -- From: interchange-users at interchange.redhat.com (Rick Bragg) Date: Fri Dec 28 17:26:00 2001 Subject: [ic] FORUM - instead of Mailing List I dislike the "rather than" part of that. If it were tied to this list and a newsgroup that would be the best of all worlds. Rick ako pia wrote: > Hi All > > I vote that we create a User's Forum, rather than continuing to use the mailing list. > > The Forum approach is MUCH more helpful in every way you can think of. It's easier to follow threads, our email doesn't get loaded with stuff cuz the data is on the Forum site, and it's easy to search. > > There can even be things like FAQ, Examples, Private Messaging, and tons more. > > I've used forums for other scripts, and it's the best way to go. > > I happen to know of a great forum script that works with mysql. It's from Gossamer-Threads - http://www.gossamer-threads.com - and it's really super. > > So, what do you think? > > I'd love to see this happen as soon as possible. > > Thanks. > > From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Dec 28 17:39:00 2001 Subject: [ic] FORUM - instead of Mailing List ako pia wrote: > I vote that we create a User's Forum, rather than continuing to use the mailing list. I not! ... > So, what do you think? In the business world, time is very expensive and I've no time, to search trought the web based forum. Any kind of the email to inform me about the new "email" in that forum need more time to get - the information or body of that new article online via the browser - go back to my mail client to choose newest next interesting article and so on.... It is very very easier to config your own mail reader so, you can - filter your emails into some folders - filter your incomming emails with your own rules - read the important emails (depend of your rules) or - read all emails offline or online - jump to the next newest email, if the current email is not important than to swith permanent (go and back) between your email client and browser and so on. In other case and without all the stuff of the filter in your email client or so, you will spent more times to read the relevant or important and to delete the nonrelevant emails with your email client than to read the articels in any kind of the web based forum with your browser. Other fact is, that you have to read all each article of the web based forum online with the current speed of your online connection. What is, if there is a "rush hour" (and the bandwidth is going down) in your country at the moment and you want to read a very very very important article at this moment and that important article was arrived a long time ago, before you are online in that "rush hour" time? In most common case, all the emails are always and still arrive you before the bandwith is going down and you are able to read all the whole new emails and you are able to read some emails carefulle or not. I'cant believe, that anybody will vote any kind of web based forum and have enough time to use it. I will not start any kind of war, but I've to do my work and I've to substantiate my working times. This can be done very very done with my email client. ciao Joachim PS: Sorry for my bad english! -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Dec 28 17:43:00 2001 Subject: [ic] More problems with Spreadsheet Export On Fri, Dec 28, 2001 at 05:06:25PM -0500, cfm@maine.com wrote: > On Fri, Dec 28, 2001 at 10:39:05PM +0100, Joachim Leidinger wrote: > > > > I did do that and I've not found any hint about the length of any excel > > fields. But, I'm not well in perl. > > Which module with restrict length of excel fields did you talking about > > or which module is IC using for reading a excel file? > > IC is **NOT** using the perl modules to read/write excel; that is why it works. Interchange uses both Spreadsheet::ParseExcel and Spreadsheet::WriteExcel for doing .xls conversion. See the backup_database and import_fields usertags. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Dec 28 17:49:01 2001 Subject: [ic] [if] [/if] inside loop list HELP Salvador Caballe wrote: > > I need to include a [if] [/if] inside loop list in the order_detail.html page. > > somethink like this: > > loop list="[scratch arg]"] > <TABLE BORDER=0> [html-table fr='class="contentbar1"'] > <B>ORDER NUMBER [scratch arg] > ....... > ...... > <B>Payment Method [if [loop-data transactions payment_method] eq COD] > Cash on delivery > [else] > [ loop-data transactions payment_method] > [/else] > [/if] > > I found [if-loop-data database fieldname] but only checks if it exists. > > best regards Salvador Caballé Try [seti checkpayment][loop-data transactions payment_method][/seti] [if scratch checkpayment =~ /COD/] Cash on delivery [else] [scratch checkpayment] [/else] [/if] Why not using such if condition in your profiles.order file at the section "checkout_profile" and subsection "fax_order" or so? Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Fri Dec 28 18:02:01 2001 Subject: [ic] FORUM - instead of Mailing List What if the forum sends out an e-mail digest of the posts once a day of the Thread you have subscribed to? Would that not serve the crowd? Anton www.interchangeville.com/forum -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Joachim Leidinger Sent: Friday, December 28, 2001 5:39 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] FORUM - instead of Mailing List ako pia wrote: > I vote that we create a User's Forum, rather than continuing to use the mailing list. I not! From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Dec 28 18:12:00 2001 Subject: [ic] FORUM - instead of Mailing List On Fri, 28 Dec 2001, Joachim Leidinger wrote: JL>>I'cant believe, that anybody will vote any kind of web based forum and JL>>have enough time to use it. I will not start any kind of war, but I've JL>>to do my work and I've to substantiate my working times. This can be JL>>done very very done with my email client. They will vote for it if they are very new to Unix-type OS's and still have a 'Bill Gates mindset' - in which case they will have a VERY difficult time in getting InterChange properly configured and operating. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, December 28, 2001 at 18:10 PM: He's ALIVE, Jim. Where did I go wrong? ---------------------------------------------------------------- This Linux System has been up 795 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Dec 28 18:16:01 2001 Subject: [ic] FORUM - instead of Mailing List On Fri, Dec 28, 2001 at 06:01:17PM -0500, AddAction New Media wrote: > What if the forum sends out an e-mail digest of the posts once a day of the > Thread you have subscribed to? > > Would that not serve the crowd? > No, if I wanted a digest I would have subscribed to the digest version of the mailing list. The mailing list the way it is now serves the crowd, the forum serves to confuse the crowd, by claiming to be 'Interchange Support' without any indication that it is unofficial, or telling visitors where to find official support. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Dec 28 18:19:59 2001 Subject: [ic] More problems with Spreadsheet Export cfm@maine.com wrote: > > > > > >From Spreadsheet::WriteExcel.pm: > > > > > =item * Move to Excel97/2000 format as standard. This will allow > > > > > strings greater than 255 characters and hope fully Unicode. The > > > > > Excel 5 format will be optional. This will be in the next major > > > > > release of the module. All other features are on hold. > > > > > > > > > > This is limit it package Spreadsheet::WriteExcel::Worksheet.pm: > > > > > my $rowmax = 65536; # cfm change from 16384 in Excel 5 > > > > > > > > I'm unsure! Are you talking about > > > > > > > > p5-Spreadsheet-ParseExcel-0.2403 Get information from Excel file > > > > > > Sorry, I don't know what 'p5-Spreadsheet-ParseExcel-0.2403' is, probably. > > > > See > > > > http://www.samag.com/documents/s=1131/sam0504013/ > > > > and for example another articel about writing Excel file with perl in > > > > http://www.samag.com/documents/s=1272/sam05030004/ > > > > I use the ParseExcel Modul from CPAN! > > > > > Check for the module itself to be sure. > > > > I did do that and I've not found any hint about the length of any excel > > fields. But, I'm not well in perl. > > Which module with restrict length of excel fields did you talking about > > or which module is IC using for reading a excel file? > > IC is **NOT** using the perl modules to read/write excel; that is why it works. Sorry! It seems to me, I'm not able to understand you right! It seems to me, we are talking about different module or I'm talking about a perl module and you are not. Right? I'm in a muddle. Can you point me to the codes, which is using to read the excel file by IC, please! Did you mean "Vend/Table/Common.pm" module of IC? Thank you very much! Joachim PS: Dear Christopher F. Miller, I'm a stupid old german boy and I've trouble with any kind of complex language and with english language too! Can you write your anwser with more simple information to me as a "red neck"? -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Boyd Lynn Gerber) Date: Fri Dec 28 18:23:25 2001 Subject: [ic] FORUM - instead of Mailing List On Fri, 28 Dec 2001, AddAction New Media wrote: > What if the forum sends out an e-mail digest of the posts once a day of the > Thread you have subscribed to? > > Would that not serve the crowd? > > Anton No. I want the email not a digest of emails. The Caldera (SCO) newsgroups have a email list that is gated... All emails to the list are also posted to the newsgroup and post to the newsgroup are then feed to the email list. There is not duplicates. I would almost nerver look at your forum. But if you did something like the way the SCO newsgroups are done. Then and only then would it really be useful. Those of us that refuse to be bothered with the web would get your stuff and those on the forum would get the stuff from the list. Contact me privately if you would like more information on how this is done. Good Luck, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 3748 Valley Forge Road, Magna Utah 84044 From: interchange-users at interchange.redhat.com (sphen) Date: Fri Dec 28 18:28:00 2001 Subject: [ic] mac os x and Interchange on 12/28/01 5:20 PM, Marco at marco@kc.rr.com wrote: > Hi to everybody. > > I'm trying to install Interchange 4.8.3 on a G4 running mac OS X 10.1 > with no success. > When I do the ./configure I receive this error: > > server/unixmode.......ok 1 > server/startup........ok 2 > link/unixmode.........ok 3 > server/inetmode.......ok 4 > link/inetmode.........not ok 5 > server/control........ok 6 > 6 tests run -- 1/6 failed. > make: *** [test_dynamic] Error 1 > > Any suggestion is precious. Does anybody have tried this installation before? > > Thanks > > Marco > hmm.. there must be a way to just disable that test in the configure script. interchange to my knowledge does not require that mode... i use unixmode myself i think, and if everything is running on the same machine, it runs faster. i would love to have interchnage running on my dual g4 myself... From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Dec 28 18:31:25 2001 Subject: [ic] More problems with Spreadsheet Export Jason Kohles wrote: > > On Fri, Dec 28, 2001 at 05:06:25PM -0500, cfm@maine.com wrote: > > On Fri, Dec 28, 2001 at 10:39:05PM +0100, Joachim Leidinger wrote: > > > > > > I did do that and I've not found any hint about the length of any excel > > > fields. But, I'm not well in perl. > > > Which module with restrict length of excel fields did you talking about > > > or which module is IC using for reading a excel file? > > > > IC is **NOT** using the perl modules to read/write excel; that is why it works. > Interchange uses both Spreadsheet::ParseExcel and Spreadsheet::WriteExcel > for doing .xls conversion. See the backup_database and import_fields > usertags. I'm in a muddle.... (108) mvend@BPA > bin/interchange -v Interchange version 4.8.3 Copyright 1996-2001 Red Hat, Inc. (109) mvend@BPA > grep -r excel * doc/icdatabase.8:security pretty quickly. It has excellent capability in that area, and lib/Vend/Table/Common.pm: my $excel = ''; lib/Vend/Table/Common.pm: my $excel_addl = ''; lib/Vend/Table/Common.pm: $excel = <<'EndOfExcel'; lib/Vend/Table/Common.pm: $excel_addl = <<'EndOfExcel'; lib/Vend/Table/Common.pm: $excel lib/Vend/Table/Common.pm: $excel lib/Vend/Table/Common.pm: $excel_addl lib/Vend/Table/Common.pm: $excel lib/Vend/Util.pm: xls application/vnd.ms-excel lib/DBI/FAQ.pm:and has excellent support. More information is available on the Hughes lib/DBI/FAQ.pm:Oracle's WWW site is an excellent source of more information. ... (110) mvend@BPA > ls -al usertag/ total 95 -rw-r--r-- 1 mvend mvend 374 Dec 2 22:35 bar_button.tag -rw-r--r-- 1 mvend mvend 5364 Dec 17 15:04 button.tag -rw-r--r-- 1 mvend mvend 1458 Dec 2 22:35 convert_date.tag -rw-r--r-- 1 mvend mvend 773 Dec 2 22:35 db_date.tag -rw-r--r-- 1 mvend mvend 192 Dec 2 22:35 delete_cart.tag -rw-r--r-- 1 mvend mvend 431 Dec 7 16:36 delete_record.tag -rw-r--r-- 1 mvend mvend 1172 Dec 2 22:35 email.tag -rw-r--r-- 1 mvend mvend 974 Dec 2 22:35 email_raw.tag -rw-r--r-- 1 mvend mvend 358 Dec 2 22:35 fcounter.tag -rw-r--r-- 1 mvend mvend 12568 Dec 2 22:35 fedex_query.tag -rw-r--r-- 1 mvend mvend 6304 Dec 2 22:35 formel.tag -rw-r--r-- 1 mvend mvend 924 Dec 2 22:35 fortune.tag -rw-r--r-- 1 mvend mvend 619 Dec 2 22:35 get_url.tag -rw-r--r-- 1 mvend mvend 8392 Dec 2 22:35 image.tag -rw-r--r-- 1 mvend mvend 400 Dec 2 22:35 load_cart.tag -rw-r--r-- 1 mvend mvend 637 Dec 2 22:35 loc.tag -rw-r--r-- 1 mvend mvend 331 Dec 2 22:35 rand.tag -rw-r--r-- 1 mvend mvend 543 Dec 2 22:35 reconfig.tag -rw-r--r-- 1 mvend mvend 302 Dec 2 22:35 reconfig_time.tag -rw-r--r-- 1 mvend mvend 623 Dec 2 22:35 reconfig_wait.tag -rw-r--r-- 1 mvend mvend 103 Dec 3 15:36 remote_addr.tag -rw-r--r-- 1 mvend mvend 0 Dec 3 15:32 remote_addr.tag~ -rw-r--r-- 1 mvend mvend 696 Dec 2 22:35 save_cart.tag -rw-r--r-- 1 mvend mvend 899 Dec 2 22:35 summary.tag -rw-r--r-- 1 mvend mvend 7441 Dec 2 22:35 table_organize.tag -rw-r--r-- 1 mvend mvend 662 Dec 2 22:35 title_bar.tag -rw-r--r-- 1 mvend mvend 811 Dec 2 22:35 ups_query.tag -rw-r--r-- 1 mvend mvend 93 Dec 2 22:35 usertrack.tag -rw-r--r-- 1 mvend mvend 836 Dec 2 22:35 var.tag -rw-r--r-- 1 mvend mvend 6413 Dec 2 22:35 xml_generator.tag Where is backup_database and import_fields usertags? Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Rick Bragg) Date: Fri Dec 28 18:34:45 2001 Subject: [ic] FORUM - instead of Mailing List I agree, However, I would still like to see this list webafied and put to a newsgroup. As I have said before newsgroups work best for me. You will find many opinions. some will say email is painful, some will say web forms are difficult. If someone could bring it all together, many would benefit. Rick Jason Kohles wrote: > On Fri, Dec 28, 2001 at 06:01:17PM -0500, AddAction New Media wrote: > >>What if the forum sends out an e-mail digest of the posts once a day of the >>Thread you have subscribed to? >> >>Would that not serve the crowd? >> >> > No, if I wanted a digest I would have subscribed to the digest version of > the mailing list. The mailing list the way it is now serves the crowd, the > forum serves to confuse the crowd, by claiming to be 'Interchange Support' > without any indication that it is unofficial, or telling visitors where to > find official support. > > From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 28 18:39:01 2001 Subject: [ic] FORUM - instead of Mailing List On Fri, Dec 28, 2001 at 06:17:06PM -0500, Jim Balcom wrote: > On Fri, 28 Dec 2001, Joachim Leidinger wrote: > > JL>>I'cant believe, that anybody will vote any kind of web based forum and > JL>>have enough time to use it. I will not start any kind of war, but I've > JL>>to do my work and I've to substantiate my working times. This can be > JL>>done very very done with my email client. > > They will vote for it if they are very new to Unix-type OS's and still have > a 'Bill Gates mindset' - in which case they will have a VERY difficult time > in getting InterChange properly configured and operating. What's the big deal? If anyone volunteers, fine. It's not going to **replace** the mailing list. Meanwhile, I vote for Purple. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Fri Dec 28 18:42:24 2001 Subject: [ic] FORUM - instead of Mailing List Jason, No offense but you are missing the point. A forum & a mailing list both have advantages and disadvantages. A forum that sends out digest e-mail would have two good elements of both mediums. Further, is this list official support? If so why are a lot of simple questions unanswered? ....I know open source... free software.... There is no claim on the forum to be "official support" and if Redhat would request so, we would mention the contact information on the site. The forum is to help people with Interchange, but for some reason you do not seem to be interested in that. Anton -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jason Kohles Sent: Friday, December 28, 2001 6:14 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] FORUM - instead of Mailing List On Fri, Dec 28, 2001 at 06:01:17PM -0500, AddAction New Media wrote: > What if the forum sends out an e-mail digest of the posts once a day of the > Thread you have subscribed to? > > Would that not serve the crowd? > No, if I wanted a digest I would have subscribed to the digest version of the mailing list. The mailing list the way it is now serves the crowd, the forum serves to confuse the crowd, by claiming to be 'Interchange Support' without any indication that it is unofficial, or telling visitors where to find official support. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Kirill Sapelkin) Date: Fri Dec 28 18:46:01 2001 Subject: [ic] RE shipping pulldown in foundation This is a follow on to my previous message about the pulldown. Just discovered that it works fine IF connected to the net. I set everything up to be local so that I could play around with the thing and not tie up the phone line. Still, it would be nice to not be connected to the net during those long hours when I pound on this program. Once I got it going, I like it more all the time. Kirill > Hello ! > > Am having a time with the shipping pulldown in the shopping cart > screen of the foundation demo. > > It will only show me the shipping method that I have defined. All the > others that I defined in the Admin/Preferences/Shipping do not appear > in the cart screen. > > Even if I alter my shipping method in (customer) Account Maintanence, > save and checkout, still only the shipping method that I had defined > shows up on the shopping cart screen. > > Thanks for any help or direction. znanie@best.com Kirill Sapelkin znanie@best.com From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Fri Dec 28 19:02:00 2001 Subject: [ic] FORUM - instead of Mailing List Anton, I think that your forum idea is great. It's just one additional way that people can get help using-working with-screwing up-and/or everything else with Interchange . . . I do like an email format - but simply because I like being reminded that - hey - there is this little place where Interchange people meet and this is what some of them are talking about right now. And so, if the web-based forum does incorporate some *optional* email features - then that would be great . . . since I might forget that it's there without being emailed!!! I forget things daily . . . and need reminders . . . ha! But, in addition, I do agree that the interchange.redhat.com search feature is in need of some improvement . . . I'm not being mean . . . but it pulls up posts that don't even talk about what I searched for . . . :) Justin > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > AddAction New Media > Sent: Friday, December 28, 2001 5:37 PM > To: interchange-users@interchange.redhat.com > Subject: RE: [ic] FORUM - instead of Mailing List > > > Jason, > > No offense but you are missing the point. A forum & a mailing > list both have > advantages and disadvantages. A forum that sends out digest e-mail would > have two good elements of both mediums. > > Further, is this list official support? If so why are a lot of simple > questions unanswered? ....I know open source... free software.... > > There is no claim on the forum to be "official support" and if > Redhat would > request so, we would mention the contact information on the site. > The forum > is to help people with Interchange, but for some reason you do not seem to > be interested in that. > > Anton > > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Jason Kohles > Sent: Friday, December 28, 2001 6:14 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] FORUM - instead of Mailing List > > > On Fri, Dec 28, 2001 at 06:01:17PM -0500, AddAction New Media wrote: > > What if the forum sends out an e-mail digest of the posts once a day of > the > > Thread you have subscribed to? > > > > Would that not serve the crowd? > > > No, if I wanted a digest I would have subscribed to the digest version of > the mailing list. The mailing list the way it is now serves the > crowd, the > forum serves to confuse the crowd, by claiming to be 'Interchange Support' > without any indication that it is unofficial, or telling visitors where to > find official support. > > -- > Jason Kohles jkohles@redhat.com > Senior System Architect (703)786-8036 (cellular) > Red Hat Professional Consulting (703)456-2940 (office) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Dec 28 19:06:00 2001 Subject: [ic] More problems with Spreadsheet Export On Sat, Dec 29, 2001 at 12:24:09AM +0100, Joachim Leidinger wrote: > Jason Kohles wrote: > > > > Interchange uses both Spreadsheet::ParseExcel and Spreadsheet::WriteExcel > > for doing .xls conversion. See the backup_database and import_fields > > usertags. > > I'm in a muddle.... > > (109) mvend@BPA > grep -r excel * Try this again with -i, since Excel is capitalized in the module names. > (110) mvend@BPA > ls -al usertag/ > Where is backup_database and import_fields usertags? > Wrong usertag, look in lib/UI/usertag -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Michael Stearne) Date: Fri Dec 28 19:10:01 2001 Subject: [ic] mac os x and Interchange I didn't get that error. I have had interchange (4.8.2 anyway) running on OS X.1. Are you doing this as root? I was. Michael sphen wrote: >on 12/28/01 5:20 PM, Marco at marco@kc.rr.com wrote: > >>Hi to everybody. >> >>I'm trying to install Interchange 4.8.3 on a G4 running mac OS X 10.1 >>with no success. >>When I do the ./configure I receive this error: >> >>server/unixmode.......ok 1 >>server/startup........ok 2 >>link/unixmode.........ok 3 >>server/inetmode.......ok 4 >>link/inetmode.........not ok 5 >>server/control........ok 6 >>6 tests run -- 1/6 failed. >>make: *** [test_dynamic] Error 1 >> >>Any suggestion is precious. Does anybody have tried this installation before? >> >>Thanks >> >>Marco >> >hmm.. there must be a way to just disable that test in the configure script. >interchange to my knowledge does not require that mode... i use unixmode >myself i think, and if everything is running on the same machine, it runs >faster. i would love to have interchnage running on my dual g4 myself... > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Marco) Date: Fri Dec 28 19:13:22 2001 Subject: [ic] mac os x and Interchange > >hmm.. there must be a way to just disable that test in the configure script. >interchange to my knowledge does not require that mode... i use unixmode >myself i think, and if everything is running on the same machine, it runs >faster. i would love to have interchnage running on my dual g4 myself... I'm not sure to have understood your suggestion. Could you please make yourself more clear? Have you tried to run IC on your G4? If you have an idea on how to make it work but never tried before, feel free to tell me any suggestion you have. I'll be glad to try some experiments and report to you. But my perl knowledge is close to O, so I need some extra hints. Than you Marco >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users -- From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Dec 28 19:19:00 2001 Subject: [ic] FORUM - instead of Mailing List On Fri, Dec 28, 2001 at 06:37:28PM -0500, AddAction New Media wrote: > > No offense but you are missing the point. A forum & a mailing list both have > advantages and disadvantages. A forum that sends out digest e-mail would > have two good elements of both mediums. > I am offended, and I am not missing the point. The point is that if everyone sets up their own support forum (you are certainly not the first person to do so, there are probably at least twenty such forums completely abandoned out on the net), then the number of unanswered questions will increase, not decrease, as people who know the answers will pick one or the other, not both. > Further, is this list official support? If so why are a lot of simple > questions unanswered? ....I know open source... free software.... > This is the official interchange-users list, and why simple questions go unanswered is irrelevant (and has been discussed at length), the same questions that don't get answered here aren't magically going to get answered just because you changed the discussion format. > There is no claim on the forum to be "official support" and if Redhat would > request so, we would mention the contact information on the site. The forum > is to help people with Interchange, but for some reason you do not seem to > be interested in that. > Go back through the list archives and look at the number of questions I have answered, keeping in mind that I have been assigned to a non-Interchange project and answering these questions on my own time since June, then decide whether I'm interested in helping people with Interchange. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Chad Leigh -- Shire.Net LLC) Date: Fri Dec 28 19:23:00 2001 Subject: [ic] FORUM - instead of Mailing List I've been trying to stay out of this. But if someone starts a forum, put up a 2 way email gateway with the list so that those who prefer the list (like me) can continue on the list and those who wantg the forum can use the forum and have their posts go to the list etc. There are already people out there who have set up their lists/forums like that and it is common with some netnews newsgroups. Chad From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Dec 28 19:27:00 2001 Subject: [ic] FORUM - instead of Mailing List AddAction New Media wrote: > > What if the forum sends out an e-mail digest of the posts once a day of the > Thread you have subscribed to? > > Would that not serve the crowd? No! First, I do not use any kind of e-mail digest. I get each email per each and not as a summary. The result is, that an e-mail digest need more time to get the needed relevant informations. I prefer to get an emails per each and not a summary of the whole emails. We have all the right solutions to make our own job well or to use our own times well. All the solutions are still there in the web, your own brain or in your own capabiltiy. The fact is, most new IC users are asking a lot of questions, which was answering many many times in the IC list. I know, IC is not easy for a newbie. This *is* the problem and can be solved by the simple guide to the right documentation or by conspicuous hints to the ocuments for any kind of questions. I'm missing a simple guide for newbies to install IC and using it and I'm missing a guide (offline) to direct that newbies to the next usefull informations. It seems to me, a lot ofaquestions are comming from newbies, who are very impatient to read the documents per web or the documents, who (or which?) was supplied by IC itself. Joachim PS: I've trouble to write my thought right! -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Bill) Date: Fri Dec 28 19:31:01 2001 Subject: [ic] mac os x and Interchange Hi Running 4.8.1 here all ok on my G4-350 - mode is Unix (default) and I did not log-in as root installed all ok. Just answered the locations with the correct OS X paths and all was well. Haven't upgraded to 4.8.3 as yet - time is short:) Bill >I didn't get that error. I have had interchange (4.8.2 anyway) >running on OS X.1. Are you doing this as root? I was. > >Michael > >sphen wrote: > >>on 12/28/01 5:20 PM, Marco at marco@kc.rr.com wrote: >> >>>Hi to everybody. >>> >>>I'm trying to install Interchange 4.8.3 on a G4 running mac OS X 10.1 >>>with no success. >>>When I do the ./configure I receive this error: >>> >>>server/unixmode.......ok 1 >>>server/startup........ok 2 >>>link/unixmode.........ok 3 >>>server/inetmode.......ok 4 >>>link/inetmode.........not ok 5 >>>server/control........ok 6 >>>6 tests run -- 1/6 failed. >>>make: *** [test_dynamic] Error 1 >>> >>>Any suggestion is precious. Does anybody have tried this >>>installation before? >>> >>>Thanks >>> >>>Marco >>> >>hmm.. there must be a way to just disable that test in the configure script. >>interchange to my knowledge does not require that mode... i use unixmode >>myself i think, and if everything is running on the same machine, it runs >>faster. i would love to have interchnage running on my dual g4 myself... >> >>_______________________________________________ >>interchange-users mailing list >>interchange-users@interchange.redhat.com >>http://interchange.redhat.com/mailman/listinfo/interchange-users >> > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users -- www.e-townsville.com - your portal to the fastest growing region in Australia online.e-townsville.com - THE place to find businesses on the Web in North Queensland. And now available: www.northqueensland.net - a domain to let the world know where you are. From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Dec 28 19:35:01 2001 Subject: [ic] FORUM - instead of Mailing List Jim Balcom wrote: > > On Fri, 28 Dec 2001, Joachim Leidinger wrote: > > JL>>I'cant believe, that anybody will vote any kind of web based forum and > JL>>have enough time to use it. I will not start any kind of war, but I've > JL>>to do my work and I've to substantiate my working times. This can be > JL>>done very very done with my email client. > > They will vote for it if they are very new to Unix-type OS's and still have > a 'Bill Gates mindset' - in which case they will have a VERY difficult time > in getting InterChange properly configured and operating. That will be the answer of the most question of me. But IC is a solution for any kind web based internet solution for e-commerce or so and a a real internet solution provider use unix. Or not? ciao Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Marco) Date: Fri Dec 28 19:39:00 2001 Subject: [ic] mac os x and Interchange Yes Michael, I did everything as root. By the way it doesn't let me run the script as root, I have to specify another user. Then when I input myself as a user, it goes into the same checking and testing mode with the same output: link/inetmode.... not ok 5 Is there a way I can make it skip that test? Really need help Marco >I didn't get that error. I have had interchange (4.8.2 anyway) >running on OS X.1. Are you doing this as root? I was. > >Michael > >sphen wrote: > >>on 12/28/01 5:20 PM, Marco at marco@kc.rr.com wrote: >> >>>Hi to everybody. >>> >>>I'm trying to install Interchange 4.8.3 on a G4 running mac OS X 10.1 >>>with no success. >>>When I do the ./configure I receive this error: >>> >>>server/unixmode.......ok 1 >>>server/startup........ok 2 >>>link/unixmode.........ok 3 >>>server/inetmode.......ok 4 >>>link/inetmode.........not ok 5 >>>server/control........ok 6 >>>6 tests run -- 1/6 failed. >>>make: *** [test_dynamic] Error 1 >>> >>>Any suggestion is precious. Does anybody have tried this >>>installation before? >>> >>>Thanks >>> >>>Marco >>> >>hmm.. there must be a way to just disable that test in the configure script. >>interchange to my knowledge does not require that mode... i use unixmode >>myself i think, and if everything is running on the same machine, it runs >>faster. i would love to have interchnage running on my dual g4 myself... >> >>_______________________________________________ >>interchange-users mailing list >>interchange-users@interchange.redhat.com >>http://interchange.redhat.com/mailman/listinfo/interchange-users >> > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users -- From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Dec 28 19:43:00 2001 Subject: [ic] More problems with Spreadsheet Export Jason Kohles wrote: > > On Sat, Dec 29, 2001 at 12:24:09AM +0100, Joachim Leidinger wrote: > > Jason Kohles wrote: > > > > > > Interchange uses both Spreadsheet::ParseExcel and Spreadsheet::WriteExcel > > > for doing .xls conversion. See the backup_database and import_fields > > > usertags. > > > > I'm in a muddle.... > > > > (109) mvend@BPA > grep -r excel * > > Try this again with -i, since Excel is capitalized in the module names. No success! :-( > > (110) mvend@BPA > ls -al usertag/ > > Where is backup_database and import_fields usertags? > > > Wrong usertag, look in lib/UI/usertag Found it! Thanks! :-)) Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Dec 28 20:03:00 2001 Subject: [ic] FORUM - instead of Mailing List Jason Kohles wrote: .... > > There is no claim on the forum to be "official support" and if Redhat would > > request so, we would mention the contact information on the site. The forum > > is to help people with Interchange, but for some reason you do not seem to > > be interested in that. > > > Go back through the list archives and look at the number of questions I have > answered, keeping in mind that I have been assigned to a non-Interchange > project and answering these questions on my own time since June, then decide > whether I'm interested in helping people with Interchange. Me too since July 1998! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Monte) Date: Fri Dec 28 20:15:00 2001 Subject: [ic] can anyone offer some help on how to install interchange? I cannot get the PDF file to load off the web site. It hangs every time and crashes my browser. Anyway I want to install and config it to see if it is the solution I am looking for on a Apache server and yes I have my own cgi-bin etc. From: interchange-users at interchange.redhat.com (Michael Stearne) Date: Fri Dec 28 20:19:01 2001 Subject: [ic] mac os x and Interchange Try to see if you can get 4.8.2 working. I think that's what I have/had running. You shouldn't have to skip that step. Michael Marco wrote: > Yes Michael, > I did everything as root. By the way it doesn't let me run the script > as root, I have to specify another user. Then when I input myself as a > user, it goes into the same checking and testing mode with the same > output: link/inetmode.... not ok 5 > Is there a way I can make it skip that test? > Really need help > > Marco > >> I didn't get that error. I have had interchange (4.8.2 anyway) >> running on OS X.1. Are you doing this as root? I was. >> >> Michael >> >> sphen wrote: >> >>> on 12/28/01 5:20 PM, Marco at marco@kc.rr.com wrote: >>> >>>> Hi to everybody. >>>> >>>> I'm trying to install Interchange 4.8.3 on a G4 running mac OS X 10.1 >>>> with no success. >>>> When I do the ./configure I receive this error: >>>> >>>> server/unixmode.......ok 1 >>>> server/startup........ok 2 >>>> link/unixmode.........ok 3 >>>> server/inetmode.......ok 4 >>>> link/inetmode.........not ok 5 >>>> server/control........ok 6 >>>> 6 tests run -- 1/6 failed. >>>> make: *** [test_dynamic] Error 1 >>>> >>>> Any suggestion is precious. Does anybody have tried this >>>> installation before? >>>> >>>> Thanks >>>> >>>> Marco >>>> >>> hmm.. there must be a way to just disable that test in the configure >>> script. >>> interchange to my knowledge does not require that mode... i use >>> unixmode >>> myself i think, and if everything is running on the same machine, it >>> runs >>> faster. i would love to have interchnage running on my dual g4 >>> myself... >>> >>> _______________________________________________ >>> interchange-users mailing list >>> interchange-users@interchange.redhat.com >>> http://interchange.redhat.com/mailman/listinfo/interchange-users >>> >> >> >> >> _______________________________________________ >> interchange-users mailing list >> interchange-users@interchange.redhat.com >> http://interchange.redhat.com/mailman/listinfo/interchange-users > > > From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Fri Dec 28 20:23:00 2001 Subject: [ic] E-commerce/Accounting Does anyone know of a great integrated e-commerce/accounting package that doesn't require an expensive database for $99 or less that runs on Linux (of course, I'd pay more . . . but I want something affordable for my clients that does both)? I'd like the link - if you do. I'm trying to find an integrated accounting/e-commerce solution. Or perhaps Interchange can do this - integrate accounting AND e-commerce easily and affordably?? Check out a great e-commerce/accounting package running on NT that starts at $99 for 1 user: http://www.icode.com/products/accware/ Another EXCELLENT and affordable solution - Oracle's Small Business Suite package for $99 per month: http://www.oracle.com/features/customers/index.html?mtnbuggy.html I'd like to find something similar to the above with those types of features and price point that I can host in-house. If anyone knows of something similar . . . :) Justin From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Dec 28 20:27:00 2001 Subject: [ic] can anyone offer some help On Fri, Dec 28, 2001 at 07:13:39PM -0600, Monte wrote: > on how to install interchange? I cannot get the PDF file to load off the web > site. It hangs every time and crashes my browser. > The easiest thing to do is right click the link and do 'Save As', then you can open it from your hard drive instead of letting the browser try and figure it out (which many browsers do poorly). -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Marco) Date: Fri Dec 28 20:31:02 2001 Subject: [ic] mac os x and Interchange OK Michael, I'll give it a try. Do you know where I can download older version of IC? On the RedHeat web site they seem to have only the latest version. Thanks Marco >Try to see if you can get 4.8.2 working. I think that's what I >have/had running. You shouldn't have to skip that step. >Michael -- From: interchange-users at interchange.redhat.com (Rick Bragg) Date: Fri Dec 28 20:41:01 2001 Subject: [ic] SUEXEC and I can't build a catalog with suexec. If I say "y" to "do you use SUEXEC" I can't build a catalog. When I finish the catalog, I get this message: "chown sampledata.xls: No such file or directory" and makecat exits. If I say "n" the catalog builds fine. It seems that I can't build catalogs for different users. Please Help Thanks Rick From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Fri Dec 28 20:45:01 2001 Subject: [ic] can anyone offer some help Try right-clicking and saving the file AND then opening the PDF from Adobe Reader . . . > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Monte > Sent: Friday, December 28, 2001 7:14 PM > To: interchange-users@interchange.redhat.com > Subject: [ic] can anyone offer some help > > > on how to install interchange? I cannot get the PDF file to load > off the web > site. It hangs every time and crashes my browser. > > Anyway I want to install and config it to see if it is the solution I am > looking for on a Apache server and yes I have my own cgi-bin etc. > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Michael Stearne) Date: Fri Dec 28 21:21:00 2001 Subject: [ic] mac os x and Interchange http://ftp.interchange.redhat.com/interchange/4.8/tar/ Actually if you give me telnet access I can try for you. ;-) Michael Marco wrote: > OK Michael, I'll give it a try. > Do you know where I can download older version of IC? On the RedHeat > web site they seem to have only the latest version. > > Thanks > > Marco > >> Try to see if you can get 4.8.2 working. I think that's what I >> have/had running. You shouldn't have to skip that step. >> Michael > > From: interchange-users at interchange.redhat.com (Steven Potter) Date: Fri Dec 28 22:24:01 2001 Subject: [ic] Creating forums using SQL queries I'm trying to setup an order page where the customers can select which charity they would like a portion of their order donated to. The first thing I would like them to do is select which state the charity is located in. This is what I am thinking: [loop list="[query sql="select distinct state from table where 1=1 order by state" type=list]"] <option>[sql-state]</option> [/loop] I'm sure there are some syntax errors in there. My question is, is this the best way to do it? Is there some way of accomplishing this without the query tag? Thanks Steven Potter From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Dec 28 22:52:01 2001 Subject: [ic] Creating forums using SQL queries On Fri, Dec 28, 2001 at 09:26:47PM -0600, Steven Potter wrote: > I'm trying to setup an order page where the customers can select which > charity they would like a portion of their order donated to. > > The first thing I would like them to do is select which state the > charity is located in. This is what I am thinking: > > [loop list="[query sql="select distinct state from table where 1=1 order > by state" type=list]"] > <option>[sql-state]</option> > [/loop] > > I'm sure there are some syntax errors in there. My question is, is this > the best way to do it? Is there some way of accomplishing this without > the query tag? > There is code on the checkout forms in the foundation demo (pages/ord/checkout.html) that creates a list of states. If you wanted to do it with a query though, 'select distinct state from table order by state' would be sufficient, you don't need a where clause in this instance. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (sphen) Date: Fri Dec 28 23:11:01 2001 Subject: [ic] mac os x and Interchange if you want to make it skip that, think this might work: in the same directory as configure, edit the file: test.pl you'll want to comment out line 258 like so: FROM: else { print "not ok $testnum\n"; $failed++; } TO: else { print "not ok $testnum\n"; #$failed++; } think that should do it, and make sure when you install it, you choose to use unixmode, not inetmode... > Yes Michael, > I did everything as root. By the way it doesn't let me run the script > as root, I have to specify another user. Then when I input myself as > a user, it goes into the same checking and testing mode with the same > output: link/inetmode.... not ok 5 > Is there a way I can make it skip that test? > Really need help > > Marco > >> I didn't get that error. I have had interchange (4.8.2 anyway) >> running on OS X.1. Are you doing this as root? I was. >> >> Michael >> >> sphen wrote: >> >>> on 12/28/01 5:20 PM, Marco at marco@kc.rr.com wrote: >>> >>>> Hi to everybody. >>>> >>>> I'm trying to install Interchange 4.8.3 on a G4 running mac OS X 10.1 >>>> with no success. >>>> When I do the ./configure I receive this error: >>>> >>>> server/unixmode.......ok 1 >>>> server/startup........ok 2 >>>> link/unixmode.........ok 3 >>>> server/inetmode.......ok 4 >>>> link/inetmode.........not ok 5 >>>> server/control........ok 6 >>>> 6 tests run -- 1/6 failed. >>>> make: *** [test_dynamic] Error 1 >>>> >>>> Any suggestion is precious. Does anybody have tried this >>>> installation before? >>>> >>>> Thanks >>>> >>>> Marco >>>> >>> hmm.. there must be a way to just disable that test in the configure script. >>> interchange to my knowledge does not require that mode... i use unixmode >>> myself i think, and if everything is running on the same machine, it runs >>> faster. i would love to have interchnage running on my dual g4 myself... >>> >>> _______________________________________________ >>> interchange-users mailing list >>> interchange-users@interchange.redhat.com >>> http://interchange.redhat.com/mailman/listinfo/interchange-users >>> >> >> >> >> _______________________________________________ >> interchange-users mailing list >> interchange-users@interchange.redhat.com >> http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Marco) Date: Fri Dec 28 23:17:00 2001 Subject: [ic] mac os x and Interchange Actually I'm behind a firewall and there is no way I can let you tellnet to my machine without taking the web server down. I need to check with the sys-admin guy, probably tomorrow. I'll try with the 4.8.2 and if I still have problems I'll find a way to open the firewall. Thanks Marco >http://ftp.interchange.redhat.com/interchange/4.8/tar/ > >Actually if you give me telnet access I can try for you. ;-) > >Michael > >Marco wrote: > >>OK Michael, I'll give it a try. >>Do you know where I can download older version of IC? On the >>RedHeat web site they seem to have only the latest version. >> >>Thanks >> >>Marco >> >>>Try to see if you can get 4.8.2 working. I think that's what I >>>have/had running. You shouldn't have to skip that step. >>>Michael >> >> > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users -- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Dec 28 23:37:01 2001 Subject: [ic] Xmas Presents Inside LOOK WHAT SANTA HAS LEFT UNDER YOUR CHRISTMAS TREE !!! 5 OF THE BEST SITES YOU HAVE EVER SEEN !!! SPECIAL XMAS OFFER FOR ANYONE WHO ACTS TODAY !!! #1 Teen Whore Juicy, barely legal babes who will do anything to please a man: --> CLICK HERE NOW http://www.southpacifichosting.com/users/leecar/barelylegal/ ***************************************************************** #2 Celebrity Lovers Your favorite celebs naked and playing in a sexual frenzy: --> CLICK HERE NOW http://www.southpacifichosting.com/users/leecar/celebrities/ ***************************************************************** #3 XXX Flesh Absolutely uncensored,explicit taboo and underground sexual acts: --> CLICK HERE NOW http://www.southpacifichosting.com/users/leecar/taboosex/ ***************************************************************** #4 Teen Cumshot Hot young models covered in gallons of cum - hot hardcore action: --> CLICK HERE NOW http://www.southpacifichosting.com/users/leecar/cumshotfrenzy/ ***************************************************************** #5 Pink Women Gorgeous young ladies + amazing sexual antics = sensational site: --> CLICK HERE NOW http://www.southpacifichosting.com/users/leecar/hotpinkbits/ ***************************************************************** REMEMBER!!! Special trial offers end soon so DON'T DELAY!!! ********************************************************************* REMOVAL INSTRUCTIONS: This message is being sent to you in compliance with the current Federal legislation. You must have either posted an AD to one of our FFA sites, signed up at one of our web-sites, requested information from us on any one of a number of our continually changing offers, or responded to one of our past email letters. ********************************************************************* From: interchange-users at interchange.redhat.com (Marco) Date: Fri Dec 28 23:41:00 2001 Subject: [ic] mac os x and Interchange Sphen, I tried what you proposed with this result: PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/System/Library/Perl/darwin -I/System/Library/Perl test.pl server/unixmode.......ok 1 server/startup........ok 2 link/unixmode.........ok 3 server/inetmode.......ok 4 link/inetmode.........not ok 5 server/control........ok 6 6 tests run, all tests successful. mkdir blib: Permission denied at /System/Library/Perl/ExtUtils/Install.pm line 112 make: *** [pure_perl_install] Error 255 Now, what do you think could be the problem? Marco >if you want to make it skip that, think this might work: > >in the same directory as configure, edit the file: test.pl >you'll want to comment out line 258 like so: > >FROM: >else { > print "not ok $testnum\n"; > $failed++; >} > >TO: >else { > print "not ok $testnum\n"; > #$failed++; >} > >think that should do it, and make sure when you install it, you choose to >use unixmode, not inetmode... -- From: interchange-users at interchange.redhat.com (Marco) Date: Fri Dec 28 23:45:00 2001 Subject: [ic] mac os x and Interchange Michael, I've tried to install Version 4.8.2 but seems like the result is not very different. Here is the error report: PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/System/Library/Perl/darwin -I/System/Library/Perl test.pl server/unixmode.......ok 1 server/startup........ok 2 link/unixmode.........ok 3 server/inetmode.......ok 4 link/inetmode.........not ok 5 server/control........ok 6 6 tests run -- 1/6 failed. make: *** [test_dynamic] Error 1 Need help. Marco >http://ftp.interchange.redhat.com/interchange/4.8/tar/ > >Actually if you give me telnet access I can try for you. ;-) > >Michael -- From: interchange-users at interchange.redhat.com (Steven Potter) Date: Fri Dec 28 23:49:12 2001 Subject: [ic] Creating forums using SQL queries Jason Kohles wrote: > On Fri, Dec 28, 2001 at 09:26:47PM -0600, Steven Potter wrote: > >>I'm trying to setup an order page where the customers can select which >>charity they would like a portion of their order donated to. >> >>The first thing I would like them to do is select which state the >>charity is located in. This is what I am thinking: >> >>[loop list="[query sql="select distinct state from table where 1=1 order >>by state" type=list]"] >><option>[sql-state]</option> >>[/loop] >> >>I'm sure there are some syntax errors in there. My question is, is this >>the best way to do it? Is there some way of accomplishing this without >>the query tag? >> >> > There is code on the checkout forms in the foundation demo > (pages/ord/checkout.html) that creates a list of states. If you wanted to > do it with a query though, 'select distinct state from table order by state' > would be sufficient, you don't need a where clause in this instance. > > If that is a sutable way of going about it, what is the appropriate syntax? Thanks Steven Potter From: interchange-users at interchange.redhat.com (sphen) Date: Sat Dec 29 00:02:01 2001 Subject: [ic] mac os x and Interchange hmm weird. definitely thinking its a problem with not being run as root. the user you are using doesnt have enough privileges it seems. damn. dont know why it has worked for others and not you, maybe version differences? dont know what version of the os you are using. i dont know what to tell you, i wish i had access to my osx machine right now, but its turned off and 7 states away for the next week or so. im gonna sleep on it. if you havent gotten it firgured out by then, ill take another stab at it. > Sphen, > I tried what you proposed with this result: > > PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib > -I/System/Library/Perl/darwin -I/System/Library/Perl test.pl > server/unixmode.......ok 1 > server/startup........ok 2 > link/unixmode.........ok 3 > server/inetmode.......ok 4 > link/inetmode.........not ok 5 > server/control........ok 6 > 6 tests run, all tests successful. > mkdir blib: Permission denied at > /System/Library/Perl/ExtUtils/Install.pm line 112 > make: *** [pure_perl_install] Error 255 > > Now, what do you think could be the problem? > > Marco > > > >> if you want to make it skip that, think this might work: >> >> in the same directory as configure, edit the file: test.pl >> you'll want to comment out line 258 like so: >> >> FROM: >> else { >> print "not ok $testnum\n"; >> $failed++; >> } >> >> TO: >> else { >> print "not ok $testnum\n"; >> #$failed++; >> } >> >> think that should do it, and make sure when you install it, you choose to >> use unixmode, not inetmode... From: interchange-users at interchange.redhat.com (vincenker) Date: Sat Dec 29 00:08:00 2001 Subject: [ic] Change Database Type - How to? Did you have MySQL DBD installed? If not, install it please. You can download it from mysql.com. -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of prasit_p@yahoo.com Sent: 2001?12?22? 5:28 To: interchange-users@interchange.redhat.com Subject: [ic] Change Database Type - How to? Hi, How can I change database type from default DBM database to MySQL database? I change variable in variable.txt, but it shows error Using MySQL, DSN=...table 'options' failed: connect failed (create) -- Can't connect( USER PASSWORD ), no database driver specified and DBI_DSN env var not set ..... where can I specify the dbi driver e.g. dbi:mysql:test_store anyone knows? _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Marco) Date: Sat Dec 29 00:22:01 2001 Subject: [ic] mac os x and Interchange Sphen, I'm running mac os x 10.1.2, last update. It has Perl 5.6 which I'm using to run other apps and everything always worked right. I've set my G4 with 3 users: one is root, one is me (admin privileges) and one is the mysql user for the entropy version of mysql 3.23.44. When I log as root and try to run ./configure it tells me that it cannot be run as root and I have to choose another user. So, when I select marco it shows me the same error. I will go on for a while, doing some more tests. Thank you very much for the help, but I still need more. Marco >hmm weird. definitely thinking its a problem with not being run as root. >the user you are using doesnt have enough privileges it seems. damn. dont >know why it has worked for others and not you, maybe version differences? >dont know what version of the os you are using. i dont know what to tell >you, i wish i had access to my osx machine right now, but its turned off and >7 states away for the next week or so. im gonna sleep on it. if you havent >gotten it firgured out by then, ill take another stab at it. > -- From: interchange-users at interchange.redhat.com (Tom Carroll) Date: Sat Dec 29 01:10:00 2001 Subject: [ic] Interchange question This question may have a simple answer, but I cannot determine it from what I can see on my system. What is the purpose/relationship of the usr/lib/interchange and the /var/lib/interchange directories? Is it correct to assume the /var/lib/interchange directory is in fact the operating directory that controls the web interface and the /usr/lib/interchange directory is the master directory (where everything is built from)? I'm making a custom RPM and I need to install the data files and application software into a different directory - /opt/interchange and want to know which directory should be placed there. Thanks and sorry if this is really simple. Tom Carroll Dataware Computers From: interchange-users at interchange.redhat.com (Fadi Chakik) Date: Sat Dec 29 02:32:01 2001 Subject: [ic] E-commerce/Accounting Hello, Take a look at http://www.bug-mall.com or http://www.bug-mall.org -Fadi ----- Original Message ----- From: Justin Bonds <justin@hypertech.net> To: <interchange-users@interchange.redhat.com> Sent: Saturday, December 29, 2001 3:18 AM Subject: [ic] E-commerce/Accounting > Does anyone know of a great integrated e-commerce/accounting package that > doesn't require an expensive database for $99 or less that runs on Linux (of > course, I'd pay more . . . but I want something affordable for my clients > that does both)? I'd like the link - if you do. I'm trying to find an > integrated accounting/e-commerce solution. Or perhaps Interchange can do > this - integrate accounting AND e-commerce easily and affordably?? > > Check out a great e-commerce/accounting package running on NT that starts at > $99 for 1 user: > > http://www.icode.com/products/accware/ > > Another EXCELLENT and affordable solution - Oracle's Small Business Suite > package for $99 per month: > > http://www.oracle.com/features/customers/index.html?mtnbuggy.html > > I'd like to find something similar to the above with those types of features > and price point that I can host in-house. If anyone knows of something > similar . . . > > :) Justin > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Monte) Date: Sat Dec 29 04:18:00 2001 Subject: [ic] Install HELP!!!!!!!! I have telneted the file up and untared it according to directions. I run configure and all is well until I enter a path to install interchange to then I get this "Can't install in software source directory" No matter what path I try to install to. Anyone have any ideas why I am getting this error? Thanks Monte From: interchange-users at interchange.redhat.com (Salvador Caballe) Date: Sat Dec 29 05:01:01 2001 Subject: [ic] BUTTON USER TAG in checkout.htm problem I have a problem with [button] images user tag , I use the default checkout.html foundation file, and this : [button name="mv_click" src="__THEME_IMAGE_DIR__recalculate_button.gif" text="Recalculate" hidetext=1 form=checkout ] mv_todo=refresh [/button] Always returns : <INPUT TYPE="submit" NAME="mv_click" VALUE="Recalculate"> I checked the usertag includes in interchange.cfg and also the path and the file name is OK and exists. Any idea ?? Best regards Salvador Caballe From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Sat Dec 29 05:19:01 2001 Subject: [ic] Install HELP!!!!!!!! > I have telneted the file up and untared it according to directions. I run > configure and all is well until I enter a path to install interchange to > then I get this "Can't install in software source directory" No > matter what > path I try to install to. Anyone have any ideas why I am getting > this error? First. Do you install as Root? If yes, then you have to enter the complete path where you want to install IC (e.g. /usr/local/interchnage). If you install as a normal user on your ISP:s server, then you should install it into your own accounts homedir (e.g. /home/your_usrid/interchange). Type pwd to check where your account lives :) Rene ps. It is difficult to answer to this kind of questions, when you don't give more specific information about your situatin (are you root, Linux distro etc.) From: interchange-users at interchange.redhat.com (ako pia) Date: Sat Dec 29 06:26:00 2001 Subject: [ic] Re: FORUM - instead of Mailing List LOTS-O-EMAIL With the Forum, you wouldn't have ANY email. Plus, the forum is much more organized. TECHNICAL QUESTIONS The technical questions I think should really be posted at the forum. It's so much easier to find the replies and follow the lines of reasoning. Plus, the answers can be added to a knowledge base or FAQ really easily and searched very quickly. ORGANIZATION The bottom line is that once you've tried a good forum system, everything else pales by comparison. It's the level of organization that is the key. Everything all at one location in an orderly manner. There's just no substitute that I am aware of. I certainly am not trying to step on anybody's toes, but the forum scripts are so good these days that you'll really like them once you try them. The old types of forums (which are still used by some folks) are almost as frustrating as mailing lists, but go over to Interchangeville.com, register, and then throw in a question or two, or respond to some, and you'll start to get used to it. It's great. Also, the fact that Anton and his folks are building a KB is super news. Imagine, all kinds of good stuff in a single location, all nicely organized, edited, etc. If this gets put together right, it's gonna be great! THANKS, AGAIN, ANTON !! -- _______________________________________________ 1 cent a minute calls anywhere in the U.S.! http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http://www.getpennytalk.com From: interchange-users at interchange.redhat.com (Doug Finley) Date: Sat Dec 29 11:34:01 2001 Subject: [ic] PayPal? IBill? > I was wondering if anyone knows if PayPal could be integrated with > IC? I've seen it done with other carts. Also any clue with IBill? > > I'm pretty "new" to all this stuff...but these are two merchant services > I'm looking at for various reasons. > > Thanks! > Chris :) Chris, Not sure about IBill, but I am currently using PayPal with IC and it works just fine. Check the archives for info on set-up. DF From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Sat Dec 29 12:30:01 2001 Subject: [ic] Re: FORUM - instead of Mailing List On Sat, Dec 29, 2001 at 07:25:38PM +0800, ako pia wrote: > > LOTS-O-EMAIL > With the Forum, you wouldn't have ANY email. Plus, the forum is much more organized. > I think you are missing the point. I WANT it as email, the forum is not as organized as my email is, I can't filter the forum, and I can't take the forum with me on my laptop. > TECHNICAL QUESTIONS > The technical questions I think should really be posted at the forum. It's so much easier to find the replies and follow the lines of reasoning. Plus, the answers can be added to a knowledge base or FAQ really easily and searched very quickly. > I completely disagree, with email I can tag a thread to be watched, and I can search all the email I've ever received in a matter of seconds. As I've said before, if your mail client can't follow threads then you need a new mail client, you don't need to try and replace the whole system to deal with the inadequacies of your own software choices. > ORGANIZATION > The bottom line is that once you've tried a good forum system, everything else pales by comparison. It's the level of organization that is the key. Everything all at one location in an orderly manner. There's just no substitute that I am aware of. > That's your opinion, and one I do not share for the reasons I've covered above, and many others, not the least of which is that a decent mail client does a much better job of organization by letting the reader, rather than the site administrator, determine how that information should be organized. > I certainly am not trying to step on anybody's toes, but the forum scripts are so good these days that you'll really like them once you try them. The old types of forums (which are still used by some folks) are almost as frustrating as mailing lists, but go over to Interchangeville.com, register, and then throw in a question or two, or respond to some, and you'll start to get used to it. It's great. > I did try it, for one thing postnuke generates some really hideous non-compliant HTML that makes many of the threads unreadable in Mozilla. At the time I tried it there were about 60 messages in the forum, and it took nearly 40 minutes to read them all with all of the navigation required to go through the forum format. Reading 60 messages in email generally takes me less than 5 minutes, and when I respond I can use a decent editor rather than an html textarea. > Also, the fact that Anton and his folks are building a KB is super news. Imagine, all kinds of good stuff in a single location, all nicely organized, edited, etc. If this gets put together right, it's gonna be great! > We already have all kinds of good stuff in a single location, nicely organized and edited at http://interchange.redhat.com/. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Austin Chapman) Date: Sat Dec 29 12:48:00 2001 Subject: [ic] Read-Only Errors Hi All Interchange 4.8.3 I have RTFM and searched the archives, but I cannot seem to figure this problem out. When I create options for a product and try to add inventory, I receive the following error message: store /cgi-bin/store/ui Attempt to set slice of CNKR325-BG in read-only table inventory Any ideas why this would happen? Austin Chapman BassNEdge.com Fishing is life... The rest is just details!!! -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Doug Finley Sent: Saturday, December 29, 2001 11:38 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] PayPal? IBill? > I was wondering if anyone knows if PayPal could be integrated with > IC? I've seen it done with other carts. Also any clue with IBill? > > I'm pretty "new" to all this stuff...but these are two merchant services > I'm looking at for various reasons. > > Thanks! > Chris :) Chris, Not sure about IBill, but I am currently using PayPal with IC and it works just fine. Check the archives for info on set-up. DF _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (intech) Date: Sat Dec 29 13:50:01 2001 Subject: [ic] I'm still new to IC and I would like to know what Editor most of you people > I'm still new to IC and I would like to know what Editor most of you > people > are using. I'm using FrontPage 2002 right now, it works but I'm > looking for > something better, that will work with IC. Windows I recommend UltraEdit Mac I recommend BBEdit Unix I recommend vi Frontpage has a nice tendency to mangle stuff. but then again I dont think I've seen a microsoft product that doesn't. Ven From: interchange-users at interchange.redhat.com (David xxxxxxx) Date: Sat Dec 29 14:00:00 2001 Subject: [ic] I'm still new to IC and I would like to know what Editor most of you people -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I agree with Ven, however, if you are new to unix/linux and have never used vi, pico may be a bit easier for you to learn. I usually use 'pico -w filename.ext' when using it. The -w will keep your lines that are wider than your terminal from wrapping. David - -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of intech Sent: Saturday, December 29, 2001 12:50 PM To: interchange-users@interchange.redhat.com Subject: [ic] I'm still new to IC and I would like to know what Editor most of you people > I'm still new to IC and I would like to know what Editor most of > you people > are using. I'm using FrontPage 2002 right now, it works but I'm > looking for > something better, that will work with IC. Windows I recommend UltraEdit Mac I recommend BBEdit Unix I recommend vi Frontpage has a nice tendency to mangle stuff. but then again I dont think I've seen a microsoft product that doesn't. Ven _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com> iQA/AwUBPC4Sed0DJ7UnV+soEQI/kQCfVyykEkgizmOWItb2Si1NWw110sIAn0ZU YdwLXOQKvHfNc5icFevxSG2K =fLrk -----END PGP SIGNATURE----- From: interchange-users at interchange.redhat.com (Michael Stearne) Date: Sat Dec 29 14:14:01 2001 Subject: [ic] mac os x and Interchange Hmm. You say you can't run ./configure as root? That doesn't make sense. I know you can't run the interchange server as root but whenever I have compiled it, I've done it as root. Let me know if you can hook up a way for me to telnet in. Can't you put your computer in the DMZ of the firewall for a while? Michael Marco wrote: > Michael, > I've tried to install Version 4.8.2 but seems like the result is not > very different. > Here is the error report: > > PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib > -I/System/Library/Perl/darwin -I/System/Library/Perl test.pl > server/unixmode.......ok 1 > server/startup........ok 2 > link/unixmode.........ok 3 > server/inetmode.......ok 4 > link/inetmode.........not ok 5 > server/control........ok 6 > 6 tests run -- 1/6 failed. > make: *** [test_dynamic] Error 1 > > Need help. > > Marco > >> http://ftp.interchange.redhat.com/interchange/4.8/tar/ >> >> Actually if you give me telnet access I can try for you. ;-) >> >> Michael > > From: interchange-users at interchange.redhat.com (Korey G.) Date: Sat Dec 29 14:35:00 2001 Subject: [IC] sql-queries in interchange Is there any way to 'head' (or to 'cat' or to 'pipe' ) the names of fields in an arbitrary database and to use that information in a list like so maybe <table> <tr> [loop list=[scratch NamesPulledFromDatabase]] <th>[item-list]</th> [/loop] </tr> [loop list=[scratch NamesPulledFromDatabase]] <tr> <td> From: interchange-users at interchange.redhat.com (Korey G.) Date: Sat Dec 29 14:42:00 2001 Subject: [IC] sql-queries in interchange Sorry for reposting I hit send by accident (Stupid Eudora) Is there any way to 'head' (or to 'cat' or to 'pipe' ) the names of fields in an arbitrary database and to use that information in a list like so maybe <table> <tr> [loop list=[scratch NamesPulledFromDatabase]] <th>[item-list]</th> [/loop] </tr> [query sql="select * from AbitraryTableNumber1" type=list list=1 more=1 ml=1000] [list] <tr> [loop list=[scratch NamesPulledFromDatabase]] <td> [sql-param [item-loop]]</td> [/loop] </tr> [/list] [/query] </table> Or Perhaps there is a better way of doing this with Just sql Queries ThXiA -Korey From: interchange-users at interchange.redhat.com (Steve Thomas) Date: Sat Dec 29 14:45:01 2001 Subject: [ic] PayPal? IBill? I can help you setup paypal. Email me direct at steve@moddepot.com . I can also customize interchange in anyway needed. I'll be willing to help so please email me. Thanks alot. ----- Original Message ----- From: "Doug Finley" <dfinleyhsd@earthlink.net> To: <interchange-users@interchange.redhat.com> Sent: Saturday, December 29, 2001 11:37 AM Subject: Re: [ic] PayPal? IBill? > > I was wondering if anyone knows if PayPal could be integrated with > > IC? I've seen it done with other carts. Also any clue with IBill? > > > > I'm pretty "new" to all this stuff...but these are two merchant services > > I'm looking at for various reasons. > > > > Thanks! > > Chris :) > > Chris, > > Not sure about IBill, but I am currently using PayPal with IC and it works > just fine. Check the archives for info on set-up. > > DF > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (William Borrelli) Date: Sat Dec 29 14:47:04 2001 Subject: [ic] Re: FORUM - instead of Mailing List I have to agree with the Forums. I have always found it much easier to plow my through forums (Vbulletin, UBB, PHPBB styles) than trying to serach through emails. Granted you can't take them with you on the laptop, but nowadays, you can reach them anywhere you can get an internet connection. And if you are taking your laptop with you for work, 9 times outta 10, you will have some sort of internet connection. I am still having problems getting Interchange setup with MySQL, and could not find anything searching through the past emails. A forum topic specifically for Database setups would be real handy right about now. And then like Jason Kohles was all like: > On Sat, Dec 29, 2001 at 07:25:38PM +0800, ako pia wrote: >> >> LOTS-O-EMAIL >> With the Forum, you wouldn't have ANY email. Plus, the forum is >> much more organized. >> > I think you are missing the point. I WANT it as email, the forum > is not as organized as my email is, I can't filter the forum, and > I can't take the forum with me on my laptop. > >> TECHNICAL QUESTIONS >> The technical questions I think should really be posted at the >> forum. It's so much easier to find the replies and follow the >> lines of reasoning. Plus, the answers can be added to a >> knowledge base or FAQ really easily and searched very quickly. >> > I completely disagree, with email I can tag a thread to be > watched, and I can search all the email I've ever received in a > matter of seconds. As I've said before, if your mail client > can't follow threads then you need a new mail client, you don't > need to try and replace the whole system to deal with the > inadequacies of your own software choices. > >> ORGANIZATION >> The bottom line is that once you've tried a good forum system, >> everything else pales by comparison. It's the level of >> organization that is the key. Everything all at one location in >> an orderly manner. There's just no substitute that I am aware >> of. >> > That's your opinion, and one I do not share for the reasons I've > covered above, and many others, not the least of which is that a > decent mail client does a much better job of organization by > letting the reader, rather than the site administrator, determine > how that information should be organized. > >> I certainly am not trying to step on anybody's toes, but the >> forum scripts are so good these days that you'll really like >> them once you try them. The old types of forums (which are still >> used by some folks) are almost as frustrating as mailing lists, >> but go over to Interchangeville.com, register, and then throw in >> a question or two, or respond to some, and you'll start to get >> used to it. It's great. >> > I did try it, for one thing postnuke generates some really > hideous non-compliant HTML that makes many of the threads > unreadable in Mozilla. At the time I tried it there were about > 60 messages in the forum, and it took nearly 40 minutes to read > them all with all of the navigation required to go through the > forum format. Reading 60 messages in email generally takes me > less than 5 minutes, and when I respond I can use a decent editor > rather than an html textarea. > >> Also, the fact that Anton and his folks are building a KB is >> super news. Imagine, all kinds of good stuff in a single >> location, all nicely organized, edited, etc. If this gets put >> together right, it's gonna be great! >> > We already have all kinds of good stuff in a single location, > nicely organized and edited at http://interchange.redhat.com/. > > -- > Jason Kohles jkohles@redhat.com > Senior System Architect (703)786-8036 > (cellular) Red Hat Professional Consulting > (703)456-2940 (office) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users ____________________________________________________________________ Disclaimer: The opinions expressed in this email are not necessarily mine, as I've not yet had my medication today. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ From: interchange-users at interchange.redhat.com (William Borrelli) Date: Sat Dec 29 14:50:03 2001 Subject: [ic] MySQL Setup. I have tried to find this out by looking trhough past articles, but no luck yet. I am getting this error in my new catalog errorlog file, and can't quite figure it out. I did learn that the username/password that is added during bin/makecat does not actually get written to the file, and fixed that.. but my quest continues. here is the error. > - - - [28/December/2001:23:27:40 -0500] - - table 'order_returns' failed: DBD::mysql::st execute failed: Table 'atapdb.order_returns' doesn't exist at /usr/lib/interchange/lib/Vend/Table/DBI.pm line 1370. > - - - [28/December/2001:23:27:40 -0500] - - table 'transactions' failed: DBD::mysql::st execute failed: Table 'atapdb.transactions' doesn't exist at /usr/lib/interchange/lib/Vend/Table/DBI.pm line 1370. > - - - [28/December/2001:23:27:40 -0500] - - table 'products' failed: DBD::mysql::st execute failed: Table 'atapdb.products' doesn't exist at /usr/lib/interchange/lib/Vend/Table/DBI.pm line 1370. > There are several of them, and it happens every time I restart the Interchange server. The tables in the database are never created. I am at least 1 step closer, since I am not getting the permission denied error anymore. Shouldn't something like this be in the FAQ? I can't be the only one having this problem. -Bill ____________________________________________________________________ Disclaimer: The opinions expressed in this email are not necessarily mine, as I've not yet had my medication today. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ From: interchange-users at interchange.redhat.com (Mike Heins) Date: Sat Dec 29 15:00:01 2001 Subject: [IC] sql-queries in interchange Quoting Korey G. (korey@awpg.com): > Is there any way to 'head' (or to 'cat' or to 'pipe' ) the names of fields > in an arbitrary database and to use that information in a list > > like so maybe > The UI defines a tag called [db-columns ...]. [loop list="[db-columns products]"] Column: [loop-code] [/loop] If you don't use the UI you can copy lib/UI/usertag/db_columns.tag to usertag/ instead, or do: [perl tables=products] $Scratch->{columns} = join " ", $Db{products}->columns; return; [/perl] [loop list="[scratch columns]"] Column: [loop-code] [/loop] If you just want a simple table display: <table border=1> [query html=1 sql="select * from products"][/query] </table> or <table border=1> [query html=1 sql="select sku,description,price,comment from products"][/query] </table> -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. -- Dick Feynman From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Sat Dec 29 15:04:00 2001 Subject: [IC] sql-queries in interchange On Sat, Dec 29, 2001 at 02:38:17PM -0800, Korey G. wrote: > Is there any way to 'head' (or to 'cat' or to 'pipe' ) the > names of fields in an arbitrary database and to use > that information in a list like so maybe > > Or Perhaps there is a better way of doing this with Just sql Queries > Depending on the database you are using, there is probably a query that can show this information. In MySQL you can use "show fields from table", and the results will include table name, type, and other information. Most sql servers have this capability, but the syntax varies... -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Marco) Date: Sat Dec 29 15:40:00 2001 Subject: [ic] Re:mac os x and Interchange Michael, sounds weird to me too, but it's happening. I've put my machine in the DMZ but I have a window of time of 1 hour, not more. Than I have to switch everything back. The IP address is 65.28.63.216 the lan IP address of my machine is 192.168.0.2 Tell me if you can do it now. Marco >Hmm. You say you can't run ./configure as root? That doesn't make >sense. I know you can't run the interchange server as root but >whenever I have compiled it, I've done it as root. > >Let me know if you can hook up a way for me to telnet in. Can't you >put your computer in the DMZ of the firewall for a while? > >Michael > -- From: interchange-users at interchange.redhat.com (Craig Burton) Date: Sat Dec 29 15:44:01 2001 Subject: [ic] MySQL Setup. At 07:49 PM 12/29/01, you wrote: >I have tried to find this out by looking trhough past articles, but >no luck yet. > >I am getting this error in my new catalog errorlog file, and can't >quite figure it out. > >I did learn that the username/password that is added during >bin/makecat does not actually get written to the file, and fixed >that.. but my quest continues. > >here is the error. > > > >- - - [28/December/2001:23:27:40 -0500] - - table 'order_returns' >failed: DBD::mysql::st execute failed: Table 'atapdb.order_returns' >doesn't exist at /usr/lib/interchange/lib/Vend/Table/DBI.pm line 1370. > > >- - - [28/December/2001:23:27:40 -0500] - - table 'transactions' >failed: DBD::mysql::st execute failed: Table 'atapdb.transactions' >doesn't exist at /usr/lib/interchange/lib/Vend/Table/DBI.pm line 1370. > > >- - - [28/December/2001:23:27:40 -0500] - - table 'products' failed: >DBD::mysql::st execute failed: Table 'atapdb.products' doesn't exist >at /usr/lib/interchange/lib/Vend/Table/DBI.pm line 1370. > > > >There are several of them, and it happens every time I restart the >Interchange server. The tables in the database are never created. I >am at least 1 step closer, since I am not getting the permission >denied error anymore. > >Shouldn't something like this be in the FAQ? I can't be the only one >having this problem. > >-Bill only just installed my first interchange server, but may be of help... Are you sure that: 1) the database atapdb exists 2) the user you set up with makecat to access the database has permissions (grant all on atapdb.* to username identified by 'password'; [in mysql]) for the atapdb? I wound up doing these bits manually through mysql and it worked after that (creating the tables next interchange server restart) hope that helps, Craig craig@rokitdesign.com From: interchange-users at interchange.redhat.com (Kirill Sapelkin) Date: Sat Dec 29 15:47:01 2001 Subject: [ic] shipping pulldown in foundation > Check your country.txt file and make sure > the shipping modes are there for the country > or countries in question. > Jerry, Thanks for your reply. Below is the line from country.txt. US 0 US 1DA 2DA GNDCOM ZNAN United States USA 840 The thing works fine IF my machine is connected to the internet. (i.e. all of the above shipping methods appear in the pulldown) If there is no internet connection, then only the method ZNAN appears in the pulldown. It may have something to do with the lookup tables that are probably required for the UPS methods to work. Method ZNAN requires no table. We are in zip code 94118, so I downloaded the UPS table for our zip: 940.csv and put in in the directory with all the others. (products) Even copied it to 941.csv. To no avail. Thanks again. Kirill > > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.com > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > > Kirill Sapelkin > > Sent: Friday, December 28, 2001 5:12 PM > > To: interchange-users@interchange.redhat.com > > Subject: [ic] shipping pulldown in foundation > > > > > > Hello ! > > > > Am having a time with the shipping pulldown in the shopping cart > > screen of the foundation demo. > > > > It will only show me the shipping method that I have defined. All the > > others that I defined in the Admin/Preferences/Shipping do not appear > > in the cart screen. > > > > Even if I alter my shipping method in (customer) Account Maintanence, > > save and checkout, still only the shipping method that I had defined > > shows up on the shopping cart screen. > > > > Thanks for any help or direction. > > Kirill Sapelkin znanie@best.com From: interchange-users at interchange.redhat.com (Barry Treahy, Jr.) Date: Sat Dec 29 16:59:01 2001 Subject: [ic] FORUM - instead of Mailing List Joachim Leidinger wrote: >>They will vote for it if they are very new to Unix-type OS's and still have >>a 'Bill Gates mindset' - in which case they will have a VERY difficult time >>in getting InterChange properly configured and operating. >> > >That will be the answer of the most question of me. But IC is a solution >for any kind web based internet solution for e-commerce or so and a a >real internet solution provider use unix. Or not? > My 2 cents, again, with the past 12 months of IIS explosions and exploits, anyone who is running IIS as a web server should really question their decision and anyone attempting to running e-commerce on IIS should really have their head examined! If you MUST use NT, 2K, or XP, then for gods sake at least run Apache, Roxen, or something else but not IIS! Barry -- Barry Treahy, Jr * Midwest Microwave * Vice President & CIO E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028 From: interchange-users at interchange.redhat.com (Barry Treahy, Jr.) Date: Sat Dec 29 17:04:00 2001 Subject: [ic] can anyone offer some help Monte wrote: >on how to install interchange? I cannot get the PDF file to load off the web >site. It hangs every time and crashes my browser. > >Anyway I want to install and config it to see if it is the solution I am >looking for on a Apache server and yes I have my own cgi-bin etc. > Then connect to the RH site and download it with FTP but you'll need the documentation if you have never deployed IC otherwise you'll get a lot of unanswered questions to ones like you just asked that are too vague and generic. Barry > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > > -- Barry Treahy, Jr * Midwest Microwave * Vice President & CIO E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028 From: interchange-users at interchange.redhat.com (Barry Treahy, Jr.) Date: Sat Dec 29 17:06:55 2001 Subject: [ic] FORUM - instead of Mailing List AddAction New Media wrote: >What if the forum sends out an e-mail digest of the posts once a day of the >Thread you have subscribed to? > >Would that not serve the crowd? > Not for me, I do not use digests for the simple reason that it makes it very hard to manage the messages received. I've been on this list for three years and I have never found a problem with the function of the list, categorizing of messages received from this list, or searching of my saved messages. If there is any one thing that does need improvement, it is the searching capabilities of past postings that I have not saved and therefore must resort back to RH for a quick lookup. I find it a bit ironic that the new names on this list appear to be those supporting the forum concept whereas the long term veterans are standing firm on the existing mailing list... My two cents? Let this rest and if Mike and crew at RH feel there is merit once everyone returns from the NY break, well then perhaps another temporary list can be setup for discussion but for right now, this type of discussion really doesn't belong here... Barry > >Anton > >www.interchangeville.com/forum > >-----Original Message----- >From: interchange-users-admin@interchange.redhat.com >[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of >Joachim Leidinger >Sent: Friday, December 28, 2001 5:39 PM >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] FORUM - instead of Mailing List > > >ako pia wrote: > >>I vote that we create a User's Forum, rather than continuing to use the >> >mailing list. > >I not! > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > > -- Barry Treahy, Jr * Midwest Microwave * Vice President & CIO E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028 From: interchange-users at interchange.redhat.com (Jerry) Date: Sat Dec 29 17:10:09 2001 Subject: [ic] shipping pulldown in foundation > > Check your country.txt file and make sure > > the shipping modes are there for the country > > or countries in question. > > > Jerry, > > Thanks for your reply. > > Below is the line from country.txt. > > US 0 US 1DA 2DA GNDCOM ZNAN United > States USA 840 > > The thing works fine IF my machine is connected to the internet. > (i.e. all of the above shipping methods appear in the pulldown) If > there is no internet connection, then only the method ZNAN appears in > the pulldown. Been a long time since I looked at the foundation demo, but I think it was set to use www lookups for UPS stuff. That would explain why it works when you have internet access. You'll need to change those methods to the local UPS style lookups and configure the zone and rate database(s) for your location. This is covered pretty well in the docs on shipping and I believe there is are demo files included. At least there used to be. From: interchange-users at interchange.redhat.com (Monte) Date: Sat Dec 29 17:16:00 2001 Subject: [ic] Install HELP path to install to........ Message: 58 From: "Rene Hertell" <rene@hertell.com> To: <interchange-users@interchange.redhat.com> Subject: RE: [ic] Install HELP!!!!!!!! Date: Sat, 29 Dec 2001 12:24:45 +0200 Reply-To: interchange-users@interchange.redhat.com > I have telneted the file up and untared it according to directions. I run > configure and all is well until I enter a path to install interchange to > then I get this "Can't install in software source directory" No > matter what > path I try to install to. Anyone have any ideas why I am getting > this error? First. Do you install as Root? If yes, then you have to enter the complete path where you want to install IC (e.g. /usr/local/interchnage). If you install as a normal user on your ISP:s server, then you should install it into your own accounts homedir (e.g. /home/your_usrid/interchange). Type pwd to check where your account lives :) Rene ps. It is difficult to answer to this kind of questions, when you don't give more specific information about your situatin (are you root, Linux distro etc.) Sorry Rene here is more info. Red Hat Linux release 7.1 (Seawolf) Kernel 2.2.19-6.2.1ensim-3.0.0-49 on an i686 /home/monte bash-2.04$ cd /home/monte bash-2.04$ ls _uid interchange-4.8.3.tar.gz mainwebsite_html interchange-4.8.3 mainwebsite_cgi as you can see I have installed it in my dir as you suggested. I run ./configure then here is what I get Copyright 1996-2001 Red Hat, Inc. <interchange@redhat.com> Interchange was originally based on Vend 0.2 and 0.3 Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> Distributed under the GNU General Public License. See the file LICENSE for license information. Found Perl 5.6.0 as /usr/bin/perl If you get a CPAN error, rerun the configuration and it should go away. Checking if your kit is complete... Looks good Interchange V4.8.3 Copyright (C) 1996-2001 Red Hat, Inc. <interchange@redhat.com> Interchange is free under the terms of the GNU General Public License. Where is your Interchange to be installed? /home/monte/interchange Can't install in software source directory! Where is your Interchange to be installed? I then get caught into this loop and not matter what path I seem to give it I get this error message. I have also tried to install on the root and get this same error. I have a private server that I lease and this is the main account I want to install it to on this server. Any help would be appreciated. Thanks Monte http://techarkservices.net From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Sat Dec 29 19:29:01 2001 Subject: [ic] Install HELP path to install to........ > /home/monte Have you extracted the IC tarball into its own directory? (e.g. /home/monte/interchange-4.8.3 ?) I suggest that you should move all interchange to that directory, and run the configure from there. René From: interchange-users at interchange.redhat.com (John Foster) Date: Sun Dec 30 10:18:04 2001 Subject: [ic] Editor David J Harmon wrote: > > I'm still new to IC and I would like to know what Editor most of you people > are using. I'm using FrontPage 2002 right now, it works but I'm looking for > something better, that will work with IC. ------------------------------------------------ I use IBM's WebSphere Studio Home Page Builder. There are versions for Linux, Windows and AIX. It is very useful to do the design & layout work and is superb as a site manager. It does NOT use any of the specialized files that FrontPage requires in order to manage the site. It also allows the use of templates and CSS style sheets which are extremely useful when doing large sites. I also use several other editors that allow specialized tags to insert the ITL code. My first choice is CoolEdit for this. These are all available for most Linux distros, I use Debian on my servers and RedHat for my clients who are less adventuresome :-) Happy Holidays! -- John Foster AdVance-Computing Systems Specializing in multi-processor based business software environments! From: interchange-users at interchange.redhat.com (Monte) Date: Sun Dec 30 12:22:00 2001 Subject: [ic] Install HELP!!!!! Yes I have it in it's own directory if you look you can see I did a ls command that listed all the dirs and then a cd to interchange_4.8.3 then ran ./configure Something has to be screwy in the Makefile.PL I have looked it over and see where it is getting caught in the loop at, but I do not know perl well enough to fix it. Is there a version of 4.8.2 I can download somewhere maybe this is a bug in 4.8.3. Or is there a way to configure this by hand? If so where could I find the instructions at? Sorry Rene here is more info. Red Hat Linux release 7.1 (Seawolf) Kernel 2.2.19-6.2.1ensim-3.0.0-49 on an i686 /home/monte bash-2.04$ cd /home/monte bash-2.04$ ls _uid interchange-4.8.3.tar.gz mainwebsite_html interchange-4.8.3 mainwebsite_cgi as you can see I have installed it in my dir as you suggested. I run ./configure then here is what I get Copyright 1996-2001 Red Hat, Inc. <interchange@redhat.com> Interchange was originally based on Vend 0.2 and 0.3 Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> Distributed under the GNU General Public License. See the file LICENSE for license information. Found Perl 5.6.0 as /usr/bin/perl If you get a CPAN error, rerun the configuration and it should go away. Checking if your kit is complete... Looks good Interchange V4.8.3 Copyright (C) 1996-2001 Red Hat, Inc. <interchange@redhat.com> Interchange is free under the terms of the GNU General Public License. Where is your Interchange to be installed? /home/monte/interchange Can't install in software source directory! Where is your Interchange to be installed? I then get caught into this loop and not matter what path I seem to give it I get this error message. I have also tried to install on the root and get this same error. I have a private server that I lease and this is the main account I want to install it to on this server. Any help would be appreciated. Thanks Monte http://techarkservices.net --__--__-- Message: 21 From: "Rene Hertell" <interchange@hertell.com> To: <interchange-users@interchange.redhat.com> Subject: RE: [ic] Install HELP path to install to........ Date: Sun, 30 Dec 2001 02:35:06 +0200 Reply-To: interchange-users@interchange.redhat.com > /home/monte Have you extracted the IC tarball into its own directory? (e.g. /home/monte/interchange-4.8.3 ?) I suggest that you should move all interchange to that directory, and run the configure from there. René From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Sun Dec 30 13:08:01 2001 Subject: [ic] Install HELP!!!!! On Sun, Dec 30, 2001 at 11:18:16AM -0600, Monte wrote: > Yes I have it in it's own directory if you look you can see I did a ls > command that listed all the dirs and then a cd to interchange_4.8.3 then ran > ./configure > > Something has to be screwy in the Makefile.PL I have looked it over and see > where it is getting caught in the loop at, but I do not know perl well > enough to fix it. > It appears you have found a bug. In looking at the code it will fail if the install directory matches the source directory, but doesn't anchor the regexp at the end, so it thinks /home/monte/interchange is the same as /home/monte/interchange-4.8.3. I'll check in a fix for this, but in the meantime you can work around it easily enough by renaming the source directory to something that does not start with 'interchange', such as ic-4.8.3... > Is there a version of 4.8.2 I can download somewhere maybe this is a bug in > 4.8.3. > Or is there a way to configure this by hand? If so where could I find the > instructions at? > Going to 4.8.2 won't help, as this bug seems to have existed since at least 4.6... -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Birgitt Funk) Date: Sun Dec 30 15:09:00 2001 Subject: [ic] Re: FORUM - instead of Mailing List In case you all start discussing a forum versus an email list for IC in the upcoming new year, I give you my vote upfront. One vote against a forum in the year 2001 and one vote against a forum for the year 2002. Have a happy New Year, everybody. :-) B.F. _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com From: interchange-users at interchange.redhat.com (Andrew Brown) Date: Sun Dec 30 15:42:00 2001 Subject: [ic] Icdebug file not showing up in my /tmp/ directory Ok i set up my debug file so i could debug why authorize.net is not working. I uncommented some log files in the Authorizenet.pm file. I went into interchange.cfg file and uncomment this line Variable DEBUG 1 When i start up interchange i get this: Sending debug to /tmp/icdebug. High traffic settings. Calling UI......UI is loaded... Vend::Payment::AuthorizeNet payment module initialized, using Net::SSLeay Interchange V4.8.2 Configuring catalog tools...Using MySQL, DSN=dbi:mysql:test_tools...done Which means that it knows to send stuff to /tmp/icdebug. When i look for that file on my system icdebug file is not there. I can't find the file, where is it? It should be in /tmp but its not. Did i miss something here!!!! Maybe someone can shed some light on the subject. I am using interchange 4.8.2 tar version Thanks Andrew Brown co-founder Toolfetch abrown@toolfetch.com From: interchange-users at interchange.redhat.com (Martin Abell) Date: Sun Dec 30 18:58:01 2001 Subject: [ic] Re: Search: unique not working - for me either. Thanks for tip. Thanks Mike. That works fine. > Date: Fri, 28 Dec 2001 09:17:36 -0500 > From: Mike Heins <mheins@redhat.com> > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Search: unique not working - for me either > Reply-To: interchange-users@interchange.redhat.com > Quoting Martin Abell (abellmt@spsp.net): >> I saw several comments about trouble with the mv_unique, and thought I'd add >> my experience (Interchange version 4.8.1). I had the following code for an >> in-page search: >> >> [search-region >> prefix=subcats >> search=" >> fi=products >> st=db >> sf=category >> se=[scratch catgy] >> rf=subcategory >> un=1 >> tf=subcategory >> "] >> [search-list] >> Subcategory: [subcats-field subcategory] >> [/search-list] >> [/search-region] >> >> Based on the data I was searching and the number of times the word >> "Subcategory:" would display from within the search-list, I was sure the >> search definition was OK. But the name of the subcategory WOULD NOT >> DISPLAY. > > This is an FAQ. You wanted [subcats-param subcategory] -- subcats-field > is pretty meaningless in this context, as you don't have the SKU in > the return fields. (Didn't notice "[prefix-param ...]" in the old docs I typically use. I see now that it is mentioned in the docs (REFERENCE GUIDE) that I paid Red Hat real bucks for, but not sure I could figure it out from that either.) Martin Abell SpeedSpan From: interchange-users at interchange.redhat.com (Richard Shade) Date: Sun Dec 30 19:09:00 2001 Subject: [ic] newbie help I am hving a few problems getting my catalogs to work on name base virtual domains does anyone know of a good and easy configuration tool for interchange. _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From: interchange-users at interchange.redhat.com (Korey G.) Date: Sun Dec 30 23:38:01 2001 Subject: [IC] sql-queries in interchange > <table border=1> > [query html=1 sql="select sku,description,price,comment from products"][/query] > </table> Is there any way to Display this Table with out Column Names? >-- >Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 >phone +1.513.523.7621 <mheins@redhat.com> > >For a successful technology, reality must take precedence over public >relations, for Nature cannot be fooled. -- Dick Feynman >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jurrie Overgoor) Date: Mon Dec 31 06:16:01 2001 Subject: [ic] [sql] And now without html=1 Hello, I'm having problems with my sql queries... (Yes, I did search this list for an awnser before posting this.) I have a query like this: [query html=1 sql="select sku from klantproduct where username='[value mv_username]'"] This works perfectly, it displays exactly what I want, so the problem isn't the query itself. Now, I want to do this without the html=1 argument, so I can make a link to the product page using the sku's. I tried this: [query sql="select sku from klantproduct where username='[value mv_username]'"] [list] [sql-param sku] [/list] [/query] And this doesn't work (no output at all). What am I doing wrong?? Please help, thanks in advance. Greetz -- Jurrie jurr@tref.nl From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Mon Dec 31 07:43:00 2001 Subject: [ic] [sql] And now without html=1 > [query sql="select sku from klantproduct where username='[value > mv_username]'"] list=1 -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@kakidata.dk From: interchange-users at interchange.redhat.com (Craig Burton) Date: Mon Dec 31 07:56:01 2001 Subject: [ic] WorldPay integration I've seen this topic pop up a couple of times in the archives, but no resolution. Anyone any further with worldpay integration than initial thoughts willing to share some knowledge to get this working? Or is there some out there already I should be looking at? thanks v much, Craig craig@rokitdesign.com From: interchange-users at interchange.redhat.com (Nigel Titley) Date: Mon Dec 31 08:41:00 2001 Subject: [ic] WorldPay integration I managed to get it working, but very badly, and with a number of intermediate screens that customers had to page through. I suspect that my knowledge of Interchange was more of a problem than the actual Worldpay interface. I'm happy to share what I did, although I must emphasise that I never did get it working well enough for me to consider it commercially usable. Perhaps you might be able to take it further. Also this was a year or so ago, and my memory has faded somewhat. However, I've still got the code, so perhaps something could come of it. Best contact me direct. Nigel On Mon, Dec 31, 2001 at 12:56:52PM +0000, Craig Burton wrote: > I've seen this topic pop up a couple of times in the archives, but no > resolution. > > Anyone any further with worldpay integration than initial thoughts willing > to share some knowledge to get this working? Or is there some out there > already I should be looking at? > > thanks v much, Craig > craig@rokitdesign.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- From: interchange-users at interchange.redhat.com (Joe Petrosky) Date: Mon Dec 31 08:56:00 2001 Subject: [ic] occasionally the mail will be missing the encrypted CC info I recently upgraded to IC 4.8. I presently use pgp encryption to send the CC info via email. It seems to work fine for the most part but then every once and a while the generated email will be missing the encrypted CC info. Fortunately the info is written to a pgptmp file. Could this be a Cookie problem or possibly something else? Any suggestions will be appreciated. From: interchange-users at interchange.redhat.com (Florian Schuler) Date: Mon Dec 31 09:40:01 2001 Subject: [ic] How to access the Administration Tool ? Hello list, I´ve created a new catalog and now want to access the admistration tool (UI??) Do I have to open a html file ? http://my_server/cgi-bin/my_shop/[?????].html Thanks in advance Florian From: interchange-users at interchange.redhat.com (Prasit P) Date: Mon Dec 31 09:59:01 2001 Subject: [ic] Change Database Type - How to? Yes, I tried setting up a new catalog with mysql and it works fine. but I cant' change DB type from the current GDBM to mysql. -------------------------------- Did you have MySQL DBD installed? If not, install it please. You can download it from mysql.com. -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of prasit_p@yahoo.com Sent: 2001?12?22? 5:28 To: interchange-users@interchange.redhat.com Subject: [ic] Change Database Type - How to? Hi, How can I change database type from default DBM database to MySQL database? I change variable in variable.txt, but it shows error Using MySQL, DSN=...table 'options' failed: connect failed (create) -- Can't connect( USER PASSWORD ), no database driver specified and DBI_DSN env var not set ..... where can I specify the dbi driver e.g. dbi:mysql:test_store anyone knows? ===== GROWTH - The rung of a ladder was never meant to rest upon, but only to hold your foot long enough to put the other foot higher. -anonymous __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com From: interchange-users at interchange.redhat.com (Korksoft Support Services) Date: Mon Dec 31 10:00:54 2001 Subject: [ic] How to access the Administration Tool ? http://my_server/cgi-bin/my_shop/admin/index.html Jason Korkin President Korksoft LLC Florian Schuler wrote: > > Hello list, > > I´ve created a new catalog and now want to access the admistration tool > (UI??) > Do I have to open a html file ? > http://my_server/cgi-bin/my_shop/[?????].html > > Thanks in advance > > Florian > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- --------------------------------------------------------------- **** Virtual Hosting w/ Interchange, $20/month! **** --------------------------------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com Tel: (561) 642-7005 x 201 From: interchange-users at interchange.redhat.com (john j) Date: Mon Dec 31 10:07:00 2001 Subject: [ic] Where do I start from? I've installed and built catalog database. I then bought 4 interchange books from redhat and read them all. However, I am still not clear how to work around with the code as a developer. Please help me where should I start from. Or let me know whether those 4 books are not very helpful. Or do I need to know anything before reading those books. john __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com From: interchange-users at interchange.redhat.com (john j) Date: Mon Dec 31 10:15:01 2001 Subject: [ic] Change Domain Name - How to ? where can I find tutorial? -------------------------------------- Variables.txt should have the answer for you. You should do the tutorial if you have not already and it will answer a lot of the questions that you will soon have. No I do not Yahoo. -- Fred Pope Satcom Resources 970-748-3094 fred@satcomresources.com http://www.satcomresources.com __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Mon Dec 31 10:42:00 2001 Subject: [ic] How to access the Administration Tool ? Sometimes with shared hosting you might have to put your account name in the URL as follows: http://mydonain.com/~myaccount/cgi-bin/cart.cgi/admin/login.html This will bring you to the login page. Anton (independent) Interchange Support Forum at http://interchangeville.com/forum -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Korksoft Support Services Sent: Monday, December 31, 2001 9:58 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] How to access the Administration Tool ? http://my_server/cgi-bin/my_shop/admin/index.html Jason Korkin President Korksoft LLC Florian Schuler wrote: > > Hello list, > > I´ve created a new catalog and now want to access the admistration tool > (UI??) > Do I have to open a html file ? > http://my_server/cgi-bin/my_shop/[?????].html > > Thanks in advance > > Florian > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- --------------------------------------------------------------- **** Virtual Hosting w/ Interchange, $20/month! **** --------------------------------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com Tel: (561) 642-7005 x 201 _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Mon Dec 31 10:45:46 2001 Subject: [ic] Re: FORUM - instead of Mailing List * William Borrelli wrote on Sat, Dec 29, 2001 at 14:44 -0500: > I have to agree with the Forums. I have always found it much easier > to plow my through forums (Vbulletin, UBB, PHPBB styles) than trying > to serach through emails. Well, maybe you have not a nice mail archive? > I am still having problems getting Interchange setup with MySQL, and > could not find anything searching through the past emails. oki, so you need a searchable mailinglist archive. Well, it's available already. > A forum topic specifically for Database setups would be real > handy right about now. Well, structuring information is usually a nice idea. But there may be a thread about installation in an installation forum which answers your database question, so you would need to search over any forum. Well, and so you can search over emails :) > > I think you are missing the point. I WANT it as email, the forum > > is not as organized as my email is, I can't filter the forum, and > > I can't take the forum with me on my laptop. Email can be sorted locally, for instance I may keep some messages only, or I can mark them with some flag and I can add comments. I really like email. I haven't seen that forum but I'm afraid there are a lot of things that cannot be done there. > >> lines of reasoning. Plus, the answers can be added to a > >> knowledge base or FAQ really easily and searched very quickly. I don't think that this is limited to a web based forum. > > matter of seconds. As I've said before, if your mail client > > can't follow threads then you need a new mail client, Yep, I saw some outlook users on this list and I think outlook is not able to process mail threads. Happily there are other mail user agents around :) > > I did try it, for one thing postnuke generates some really > > hideous non-compliant HTML that makes many of the threads > > unreadable in Mozilla. Hum, bad. Does it work in text mode? Many web sites _need_ graphics, but I don't see a reason for a graphical console to read text... > > forum format. Reading 60 messages in email generally takes me > > less than 5 minutes, and when I respond I can use a decent editor > > rather than an html textarea. Exactly, and you can limit the view to interesting mails and much more with email. > >> Also, the fact that Anton and his folks are building a KB is > >> super news. Well, a KnowledgeBase is nice to have, but it takes time to maintain it. But this is independed from mail or a forum, ain't? And finally, it's more easy to work on email offline than with web based anything. I can read mails on a PDA if desired and anything. There are internet news, but mail is just more easy to work with I think. Have a happy new year! oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Marty Tennison) Date: Mon Dec 31 13:10:00 2001 Subject: [ic] occasionally the mail will be missing the encrypted CC info > I recently upgraded to IC 4.8. I presently use pgp encryption to > send the CC > info via email. It seems to work fine for the most part but then > every once > and a while the generated email will be missing the encrypted CC info. > Fortunately the info is written to a pgptmp file. Could this be a Cookie > problem or possibly something else? Any suggestions will be appreciated. Wow! What a coincidence. I just had the same thing happen to me about 2 hours ago. I'm still using 4.8.1 and this is the first time it ever happened. The order came through fine but it was missing the pgp credit card info. Fortunately the customer was a return so I had the credit card info on file here in my office paperwork. Here is the error line from error. log process.html PGP failed with status 3072: I'm now in the process trying to figure it out. Any clues? I'm using: Debian GNU Linux 2.2 IC 4.8.1 Mysql 3.23.46 Pretty Good Privacy Version 6.5.8 btw.... Is there a command line switch to get a pgptmp file? Marty Tennison From: interchange-users at interchange.redhat.com (Monte) Date: Mon Dec 31 13:28:00 2001 Subject: [ic] MORE Install HELP Message: 1 From: "Monte" <monte@techark.com> To: <interchange-users@interchange.redhat.com> Date: Sun, 30 Dec 2001 11:18:16 -0600 Subject: [ic] Install HELP!!!!! Reply-To: interchange-users@interchange.redhat.com Yes I have it in it's own directory if you look you can see I did a ls command that listed all the dirs and then a cd to interchange_4.8.3 then ran ./configure Something has to be screwy in the Makefile.PL I have looked it over and see where it is getting caught in the loop at, but I do not know perl well enough to fix it. Is there a version of 4.8.2 I can download somewhere maybe this is a bug in 4.8.3. Or is there a way to configure this by hand? If so where could I find the instructions at? Sorry Rene here is more info. Red Hat Linux release 7.1 (Seawolf) Kernel 2.2.19-6.2.1ensim-3.0.0-49 on an i686 /home/monte bash-2.04$ cd /home/monte bash-2.04$ ls _uid interchange-4.8.3.tar.gz mainwebsite_html interchange-4.8.3 mainwebsite_cgi as you can see I have installed it in my dir as you suggested. I run ./configure then here is what I get Copyright 1996-2001 Red Hat, Inc. <interchange@redhat.com> Interchange was originally based on Vend 0.2 and 0.3 Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> Distributed under the GNU General Public License. See the file LICENSE for license information. Found Perl 5.6.0 as /usr/bin/perl If you get a CPAN error, rerun the configuration and it should go away. Checking if your kit is complete... Looks good Interchange V4.8.3 Copyright (C) 1996-2001 Red Hat, Inc. <interchange@redhat.com> Interchange is free under the terms of the GNU General Public License. Where is your Interchange to be installed? /home/monte/interchange Can't install in software source directory! Where is your Interchange to be installed? I then get caught into this loop and not matter what path I seem to give it I get this error message. I have also tried to install on the root and get this same error. I have a private server that I lease and this is the main account I want to install it to on this server. Any help would be appreciated. Thanks Monte http://techarkservices.net -- __--__-- Message: 21 From: "Rene Hertell" <interchange@hertell.com> To: <interchange-users@interchange.redhat.com> Subject: RE: [ic] Install HELP path to install to........ Date: Sun, 30 Dec 2001 02:35:06 +0200 Reply-To: interchange-users@interchange.redhat.com > /home/monte Have you extracted the IC tarball into its own directory? (e.g. /home/monte/interchange-4.8.3 ?) I suggest that you should move all interchange to that directory, and run the configure from there. René I have tried that and still the same thing. There has to be something else I am missing, too many people have this thing up and running for me NOT to be able to install it due to a bug. I have tried renaming the dir the files are in, I have tried to rename the dir I want to install it in. I have tried calling the actual path etc nothing I do seems to work around this problem. Any more suggestions? I hate to chunk the package at this point and give up. How much would an hours worth of phone support cost me? Anybody game to take this on and help me get this thing installed? --__--__-- Message: 2 Date: Sun, 30 Dec 2001 12:07:16 -0600 From: Jason Kohles <jkohles@redhat.com> To: interchange-users@interchange.redhat.com Subject: Re: [ic] Install HELP!!!!! Reply-To: interchange-users@interchange.redhat.com On Sun, Dec 30, 2001 at 11:18:16AM -0600, Monte wrote: > Yes I have it in it's own directory if you look you can see I did a ls > command that listed all the dirs and then a cd to interchange_4.8.3 then ran > ./configure > > Something has to be screwy in the Makefile.PL I have looked it over and see > where it is getting caught in the loop at, but I do not know perl well > enough to fix it. > It appears you have found a bug. In looking at the code it will fail if the install directory matches the source directory, but doesn't anchor the regexp at the end, so it thinks /home/monte/interchange is the same as /home/monte/interchange-4.8.3. I'll check in a fix for this, but in the meantime you can work around it easily enough by renaming the source directory to something that does not start with 'interchange', such as ic-4.8.3... > Is there a version of 4.8.2 I can download somewhere maybe this is a bug in > 4.8.3. > Or is there a way to configure this by hand? If so where could I find the > instructions at? > Going to 4.8.2 won't help, as this bug seems to have existed since at least 4.6... -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) --__--__-- From: interchange-users at interchange.redhat.com (Neil Diver) Date: Mon Dec 31 13:44:00 2001 Subject: [ic] We're sorry, the Interchange server is unavailable... I have installed the interchange server but when I access the cgi I get this message on screen We're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand. Please try again soon I have tried to restart the server but there is no change. Help Neil --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.310 / Virus Database: 171 - Release Date: 19/12/2001 From: interchange-users at interchange.redhat.com (JOHN WRONG) Date: Mon Dec 31 13:57:00 2001 Subject: [ic] Re: FORUM - instead of Mailing List just listen to yourself. Why do you do SO much work??? Is organized by yourself really that good? all the work? what is Web serices?? what is ASP? why use html or anything. I think u would be happy with just text. Why use XML.. you can have your own data organized. Why have a standard?? If you are so happy with your own way. >organized as my email is, I can't filter the forum, and I can't take the forum with me on my laptop. All you are doing is looking for a solution right?? Or try to help other right? I dont really want to say anything on the topics. But this is crazy. I think all of you agree if you find the answer you are looking for on the list or forum you will be a happy person. And here is another group of people who will help us. Be happy about it. Thanks for the list and forum. Resources is GOOD!! NO??? Stop the blah blah blah blah.. ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag ---- On Sat, 29 Dec 2001, Jason Kohles (jkohles@redhat.com) wrote: > On Sat, Dec 29, 2001 at 07:25:38PM +0800, ako pia wrote: > > > > LOTS-O-EMAIL > > With the Forum, you wouldn't have ANY email. Plus, the forum is much > more organized. > > > I think you are missing the point. I WANT it as email, the forum is not > as > organized as my email is, I can't filter the forum, and I can't take the > forum with me on my laptop. > > > TECHNICAL QUESTIONS > > The technical questions I think should really be posted at the forum. > It's so much easier to find the replies and follow the lines of > reasoning. Plus, the answers can be added to a knowledge base or FAQ > really easily and searched very quickly. > > > I completely disagree, with email I can tag a thread to be watched, and > I can > search all the email I've ever received in a matter of seconds. As I've > said > before, if your mail client can't follow threads then you need a new > mail > client, you don't need to try and replace the whole system to deal with > the > inadequacies of your own software choices. > > > ORGANIZATION > > The bottom line is that once you've tried a good forum system, > everything else pales by comparison. It's the level of organization that > is the key. Everything all at one location in an orderly manner. There's > just no substitute that I am aware of. > > > That's your opinion, and one I do not share for the reasons I've covered > above, and many others, not the least of which is that a decent mail > client > does a much better job of organization by letting the reader, rather > than the > site administrator, determine how that information should be organized. > > > I certainly am not trying to step on anybody's toes, but the forum > scripts are so good these days that you'll really like them once you try > them. The old types of forums (which are still used by some folks) are > almost as frustrating as mailing lists, but go over to > Interchangeville.com, register, and then throw in a question or two, or > respond to some, and you'll start to get used to it. It's great. > > > I did try it, for one thing postnuke generates some really hideous > non-compliant HTML that makes many of the threads unreadable in Mozilla. > At > the time I tried it there were about 60 messages in the forum, and it > took > nearly 40 minutes to read them all with all of the navigation required > to go > through the forum format. Reading 60 messages in email generally takes > me > less than 5 minutes, and when I respond I can use a decent editor rather > than an html textarea. > > > Also, the fact that Anton and his folks are building a KB is super > news. Imagine, all kinds of good stuff in a single location, all nicely > organized, edited, etc. If this gets put together right, it's gonna be > great! > > > We already have all kinds of good stuff in a single location, nicely > organized > and edited at http://interchange.redhat.com/. > > -- > Jason Kohles jkohles@redhat.com > Senior System Architect (703)786-8036 (cellular) > Red Hat Professional Consulting (703)456-2940 (office) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange- users > > From: interchange-users at interchange.redhat.com (Doug Alcorn) Date: Mon Dec 31 14:09:01 2001 Subject: [ic] Re: FORUM - instead of Mailing List JK> when I respond I can use a decent editor rather than an html JK> textarea. This can't be over stated enough. -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: interchange-users at interchange.redhat.com (Tech) Date: Mon Dec 31 14:10:36 2001 Subject: [ic] We're sorry, the Interchange server is unavailable... Check your error log and see what the errors are:. E-mail me back and let me know what your error log says Andrew Brown co-founder Toolfetch abrown@toolfetch.com -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Neil Diver Sent: Monday, December 31, 2001 1:41 PM To: interchange-users@interchange.redhat.com Subject: [ic] We're sorry, the Interchange server is unavailable... I have installed the interchange server but when I access the cgi I get this message on screen We're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand. Please try again soon I have tried to restart the server but there is no change. Help Neil --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.310 / Virus Database: 171 - Release Date: 19/12/2001 _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Korey G.) Date: Mon Dec 31 16:29:00 2001 Subject: [ic] sql-query sort On Wed, 2001-12-26 at 19:00, Korey G. wrote: >> How do you define sort for sql-query? >Use 'ORDER BY' in your sql query. What if I want to display the sql query in the same order as the database is (In which the Key Field is sorted in order of importance to me, but not in any algorithmic way) From: interchange-users at interchange.redhat.com (Gregg Doty) Date: Mon Dec 31 16:54:00 2001 Subject: [ic] Failed to parse error Hello, Perhaps someone has had this experience and can give me some direction. When using the wizard to set up a store, the last step is to select the data to import. When setting the Insert Product Data field to Yes the following is the response. FATAL error Failed to parse XLS file upload/C:\Excel Files\products.xls: No such file or directory Note: The products.xls was created by downloading the provided template.xls and adding my own items. Thank you, Gregg Doty From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 31 16:56:01 2001 Subject: [ic] occasionally the mail will be missing the encrypted CC info On Mon, Dec 31, 2001 at 10:09:53AM -0800, Marty Tennison wrote: > > > I recently upgraded to IC 4.8. I presently use pgp encryption to > > send the CC > > info via email. It seems to work fine for the most part but then > > every once > > and a while the generated email will be missing the encrypted CC info. > > Fortunately the info is written to a pgptmp file. Could this be a Cookie > > problem or possibly something else? Any suggestions will be appreciated. > > Wow! What a coincidence. I just had the same thing happen to me about 2 > hours ago. I'm still using 4.8.1 and this is the first time it ever > happened. The order came through fine but it was missing the pgp credit > card info. Fortunately the customer was a return so I had the credit card > info on file here in my office paperwork. > > Here is the error line from error. log > > process.html PGP failed with status 3072: > 3072 indicates the process died with status 12 (perl -e 'print 3072 >> 8,"\n"', see perldoc -f system) Error 12 is 'Cannot allocate memory'. Looks like the machine didn't have enough memory available to run PGP. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 31 16:58:01 2001 Subject: [ic] Re: FORUM - instead of Mailing List On Mon, Dec 31, 2001 at 02:05:17PM -0500, Doug Alcorn wrote: > > > JK> when I respond I can use a decent editor rather than an html > JK> textarea. > > This can't be over stated enough. > Sure it can, when it degrades into a vi vs. emacs argument, then it's been over stated too much. But then I did say 'decent', which rules out emacs. See, there it goes. =) -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 31 17:12:01 2001 Subject: [ic] Failed to parse error On Mon, Dec 31, 2001 at 03:53:29PM -0600, Gregg Doty wrote: > Hello, > > Perhaps someone has had this experience and can give me some direction. > > FATAL error > > Failed to parse XLS file upload/C:\Excel Files\products.xls: No such file or > directory > http://interchange.redhat.com/archive/interchange-users/2001/msg12013.html -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Peter Jakl) Date: Mon Dec 31 17:18:01 2001 Subject: [ic] Re: FORUM - instead of Mailing List Things that rule in 2002! 10. perl (starting at the bottom) 9. any linux 8. redhat linux 7.2 7. html 6. mysql 5. interchange 4. [query] tag 3. homesite 5.0 (for html editing) 2. vi 1. mailing list (don't touch what works!) Peter -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jason Kohles Sent: Monday, December 31, 2001 1:58 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Re: FORUM - instead of Mailing List On Mon, Dec 31, 2001 at 02:05:17PM -0500, Doug Alcorn wrote: > > > JK> when I respond I can use a decent editor rather than an html > JK> textarea. > > This can't be over stated enough. > Sure it can, when it degrades into a vi vs. emacs argument, then it's been over stated too much. But then I did say 'decent', which rules out emacs. See, there it goes. =) -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid) Date: Mon Dec 31 17:34:01 2001 Subject: [ic] Re: FORUM - instead of Mailing List OK, these posts are getting a little old now. I beleive this subject of this message was talked about several messages ago, and many agreed that it would not be smart to REPLACE (INSTEAD OF) the mailing list, but to have it as an addition. I think the first poster chose terrible subject line. Me, as a person who frequents forums, feels they have a lot to offer. Much more organized, and usually searching works much better. The feature to subscribe to a particular thread and then to be able to follow it in your email box is very nice also. To many people are shunning this idea as they don't like change, and I don't feel many people have even given it a chance. There are serveral posts a day in here saying that forums, are terrible, and if you think that so be it, your entitled to your opinion, but don't say they are terrible when you have not tried one. (I talked to a poster in this forum who said they suck, asked him what forums he uses, and said he doesn't, they "LOOK" like they would be a pain. Like I said, I do not think the mailing list should be REMOVED, but I think we could all asset from the addition of the forum as well. I personally do like the email list as well, but I feel that the searching the archive is pretty bad. I also really like Interhcangeville.com which has been started as everything is neatly organized and very easily searchable.....granted there are only 150 posts now. So, no, I do not think we should get RID of the list, but I think it would benefit a lot of people to post at Interchangeville as well. Nathan Peter Jakl writes: > Things that rule in 2002! > > 10. perl (starting at the bottom) > 9. any linux > 8. redhat linux 7.2 > 7. html > 6. mysql > 5. interchange > 4. [query] tag > 3. homesite 5.0 (for html editing) > 2. vi > 1. mailing list (don't touch what works!) > > Peter > > > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Jason Kohles > Sent: Monday, December 31, 2001 1:58 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Re: FORUM - instead of Mailing List > > > On Mon, Dec 31, 2001 at 02:05:17PM -0500, Doug Alcorn wrote: >> >> >> JK> when I respond I can use a decent editor rather than an html >> JK> textarea. >> >> This can't be over stated enough. >> > Sure it can, when it degrades into a vi vs. emacs argument, then it's > been over stated too much. But then I did say 'decent', which rules > out emacs. > > See, there it goes. =) > > -- > Jason Kohles jkohles@redhat.com > Senior System Architect (703)786-8036 (cellular) > Red Hat Professional Consulting (703)456-2940 (office) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- NAMI Solutions Nathan D. Olmscheid Partner - Phone: 612-237-9646 e-mail: nathan@namisolutions.com From: interchange-users at interchange.redhat.com (Kirill Sapelkin) Date: Mon Dec 31 17:47:00 2001 Subject: [ic] shipping pulldown in foundation > > > > The thing works fine IF my machine is connected to the internet. > > (i.e. all of the above shipping methods appear in the pulldown) If > > there is no internet connection, then only the method ZNAN appears in > > the pulldown. > > Been a long time since I looked at the foundation demo, but I think > it was set to use www lookups for UPS stuff. That would explain > why it works when you have internet access. You'll need to change > those methods to the local UPS style lookups and configure > the zone and rate database(s) for your location. > > This is covered pretty well in the docs on shipping and I believe > there is are demo files included. At least there used to be. > Jerry, Yep, in shipping.asc there is a [ups-query] which is a user-defined tag that uses the Business::UPS module. I guess that is what calls up ups and figures out the shipping. Probably that could be changed to a local file for lookup. This is hinted at in the Interchange Databases doc. In Foundation Store section 5.26, the shipping.asc is blank. Thanks. This is fun once it gets working. Kirill --Kirill Sapelkin znanie@best.com From: interchange-users at interchange.redhat.com (David J Harmon) Date: Mon Dec 31 17:52:01 2001 Subject: [ic] Editor On Thursday 27 December 2001 11:31 am, you wrote: > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.com > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > > David J Harmon > > Sent: Wednesday, December 26, 2001 9:49 PM > > To: interchange-users@interchange.redhat.com > > Subject: [ic] Editor > > > > > > I'm still new to IC and I would like to know what Editor most of > > you people > > are using. I'm using FrontPage 2002 right now, it works but I'm > > looking for > > something better, that will work with IC. > > Working from a Linux X environment I use BlueFish HTML editor. > http://bluefish.openoffice.nl/ It's an open source HTML editor > but I use it to edit all my IC related files. Has many nice features > and is pretty stable. For hard core code editing I would use NEdit. > It has very good advanced search and replace features and it could be > enhanced with a language template for ITL if someone were to write it. > I don't know enough about NEdit templates or ITL to do it yet! > > Anyway that's my two cents worth. I just loaded up Linux on my machine, because of the blue screen that windows allways show up, and I just downloaded BlueFish now I just got to figure out how to use it. but thanks for the comment. I'm hoping that I get use to Linux soon, but I do like what I seen so far. > <>< Todd > > > Thank you in advance > > David > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Barry Treahy, Jr.) Date: Mon Dec 31 18:01:01 2001 Subject: [ic] E-commerce/Accounting <div class="moz-text-flowed" style="font-family: -moz-fixed">Justin Bonds wrote: >Does anyone know of a great integrated e-commerce/accounting package that >doesn't require an expensive database for $99 or less that runs on Linux (of >course, I'd pay more . . . but I want something affordable for my clients >that does both)? I'd like the link - if you do. I'm trying to find an >integrated accounting/e-commerce solution. Or perhaps Interchange can do >this - integrate accounting AND e-commerce easily and affordably?? > >Check out a great e-commerce/accounting package running on NT that starts at >$99 for 1 user: > Well, if you are looking for something inexpensive and better yet, open source, take a look at SourceForge and consider integrating that into IC: Comprehensive ERP/CRM solution for small-medium enterprises (SME) in the global marketplace covering all areas from customer management, supply chain and accounting. For $2-200M revenue companies looking for "brick and click" first tier functionality. <http://sourceforge.net/images/sf-icon-foundry_member.gif> <http://sourceforge.net/about_foundries.php> :Java Foundry <http://sourceforge.net/foundry/java/> , GNOME Foundry <http://sourceforge.net/foundry/gnome-foundry/> * Development Status: 4 - Beta <http://sourceforge.net/softwaremap/trove_list.php?form_cat=10> , 5 - Production/Stable <http://sourceforge.net/softwaremap/trove_list.php?form_cat=11> * Environment: Web Environment <http://sourceforge.net/softwaremap/trove_list.php?form_cat=237> , Win32 (MS Windows) <http://sourceforge.net/softwaremap/trove_list.php?form_cat=230> , Gnome <http://sourceforge.net/softwaremap/trove_list.php?form_cat=231> * Intended Audience: Developers <http://sourceforge.net/softwaremap/trove_list.php?form_cat=3> , End Users/Desktop <http://sourceforge.net/softwaremap/trove_list.php?form_cat=2> , Other Audience <http://sourceforge.net/softwaremap/trove_list.php?form_cat=5> * License: Mozilla Public License 1.1 <http://sourceforge.net/softwaremap/trove_list.php?form_cat=305> * Natural Language: English <http://sourceforge.net/softwaremap/trove_list.php?form_cat=275> , French <http://sourceforge.net/softwaremap/trove_list.php?form_cat=276> , German <http://sourceforge.net/softwaremap/trove_list.php?form_cat=279> * Operating System: Windows NT/2000 <http://sourceforge.net/softwaremap/trove_list.php?form_cat=219> , Linux <http://sourceforge.net/softwaremap/trove_list.php?form_cat=201> , SunOS/Solaris <http://sourceforge.net/softwaremap/trove_list.php?form_cat=207> * Programming Language: Java <http://sourceforge.net/softwaremap/trove_list.php?form_cat=198> , JavaScript <http://sourceforge.net/softwaremap/trove_list.php?form_cat=280> , PL/SQL <http://sourceforge.net/softwaremap/trove_list.php?form_cat=254> * Topic: Accounting <http://sourceforge.net/softwaremap/trove_list.php?form_cat=76> , Point-Of-Sale <http://sourceforge.net/softwaremap/trove_list.php?form_cat=79> , Build Tools <http://sourceforge.net/softwaremap/trove_list.php?form_cat=46> Registered: 2001-06-08 19:37 Activity Percentile (last week): 99.8449% View project activity statistics <http://sourceforge.net/project/stats/?group_id=29057> Barry > >http://www.icode.com/products/accware/ > >Another EXCELLENT and affordable solution - Oracle's Small Business Suite >package for $99 per month: > >http://www.oracle.com/features/customers/index.html?mtnbuggy.html > >I'd like to find something similar to the above with those types of features >and price point that I can host in-house. If anyone knows of something >similar . . . > >:) Justin > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > > -- Barry Treahy, Jr * Midwest Microwave * Vice President & CIO E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028 </div> From: interchange-users at interchange.redhat.com (Marty Tennison) Date: Mon Dec 31 18:09:01 2001 Subject: [ic] sql-query sort > > >> How do you define sort for sql-query? > > >Use 'ORDER BY' in your sql query. > > What if I want to display the sql query in the same order as the > database is > (In which the Key Field is sorted in order of importance to me, > but not in any algorithmic way) One way (out of many) to do it... 1. Add a new column to the table 2. Add integers to that column that correspond to importance 3. Sort on that column. If you have already sorted your database so that a full table scan would produce the desired results then you could probably sort on ROWID or something similar. If the table is indexed you will need to take that into consideration also. From: interchange-users at interchange.redhat.com (Jim Sustacek) Date: Mon Dec 31 18:12:01 2001 Subject: [ic] Updating Database with Form Data I got this to work on the "order_view" page, updating the field "comments" in my database "transactions", but then it quit working. Why is this? Here is the section of code I added to the file, and "loop-code" is still the correct index for the order. Is there something I need to add or change to make this work consistently? <FORM METHOD=POST ACTION="[process]"> <INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="transactions"> <INPUT TYPE=HIDDEN NAME="mv_data_key" VALUE="code"> <INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="update"> <INPUT TYPE=HIDDEN NAME="mv_nextpage" VALUE="__UI_BASE__/order_view"> <INPUT TYPE=HIDDEN NAME="mv_data_fields" VALUE="code,comments"> <PRE> [loop arg="[loop-code]"] Sales Order <INPUT TYPE=TEXT NAME="code" SIZE=10 VALUE="[loop-code]"> Comments <INPUT TYPE=TEXT NAME="comments" SIZE=30 VALUE="[loop-field comments]"> [/loop] </PRE> <INPUT TYPE=hidden NAME="mv_todo" VALUE="set"> <INPUT TYPE=submit VALUE="Update table"> </FORM> -- Jim Sustacek jim@computercasesandcables.com From: interchange-users at interchange.redhat.com (John D. Gorena) Date: Mon Dec 31 18:13:21 2001 Subject: [ic] Export Items to Excel file How do we export ALL the products to an Excel spreadsheet? I see that we can import the Spread Sheet from the wizard and the fix in the archives does work. How do we export the current items that were changed - all the products. -- John From: interchange-users at interchange.redhat.com (David J Harmon) Date: Mon Dec 31 19:49:01 2001 Subject: [ic] Failed to parse error On Monday 31 December 2001 04:53 pm, you wrote: > Hello, > > Perhaps someone has had this experience and can give me some direction. > > When using the wizard to set up a store, the last step is to select the > data to import. > When setting the Insert Product Data field to Yes the following is the > response. > > FATAL error > > Failed to parse XLS file upload/C:\Excel Files\products.xls: No such file > or directory > > Note: The products.xls was created by downloading the provided template.xls > and > adding my own items. > > Thank you, > Gregg Doty I have something to ask (I'm a new Linux user) how do I view and edit xls files. Thank you in advance David From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Dec 31 20:16:01 2001 Subject: [ic] Failed to parse error On Mon, Dec 31, 2001 at 06:53:55PM -0500, David J Harmon wrote: > > I have something to ask (I'm a new Linux user) how do I view and edit xls > files. > I use gnumeric, although there are other applications (like StarOffice) that will edit them as well. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jonathan Melhuish) Date: Mon Dec 31 20:23:01 2001 Subject: [ic] Secure admin problems I want to have access to the admin interface go through another secure domain. I added the "AlwaysSecure" list as suggested in the FAQ, which seems to successfully secure several pages, including the admin login page. However, it forces me to log in every time I click on a link with the GUI. Additionally, it gets into an unending loop of logins if I try to view an order. I am going it securing the admin interface in the right way? If so, why am I getting this problem? Any help much appreciated! Cheers Jon PS: Here's the extract from the FAQ, if it's relevant; AlwaysSecure <<EOF account change_password customerservice login logout new_account ord/basket ord/checkout order process query/check_orders query/order_detail query/order_return returns saved_carts ship_addresses EOF