From: interchange at my-school.com (IC-Admin ) Date: Wed, 28 Feb 2001 14:02:15 -0500 (EST) Subject: Shameless Promotion Re: [ic] Slow searches (fwd) Mike Heins wrote: > If it is categories, you need to use the dl=string method of binary > searching, which will bring search times under a second. > If it is full-text, you need Glimpse, which will do much the same thing > for word-based full-text searches. It is quite possible to get > sub-second searches for 300,000 items depending uniqueness of term. > This is the type of thing where a few hours of outside consulting with a > company that really knows this stuff (like us) will go a long way toward > solving your problems. This is all database and physics 101, but you > have to have the knowledge. Hi, this is a shameless promotion, but as Mike Heins started it, I follow up with my 0.02 cents. Mike Heins handled (already in 1996) for me 850 000 records (an export of the complete Baker & Taylor database of books in print) with over 7000 categories (included two levels of subcategorization) on a miserable Pentium little machine over A MODEM line (!) and set up correct searches, indexing, static builts and the like in a lower two digit number of hours. I remember exactly the first time I was able to do the first ISBN search for a book and IT WAS FAST !! I was too ignorant to recognize at that time how good that "fastness" really was, but it was so amazing that I NEVER lost confidence in the whole MiniVend program later on even after (for completely other reasons) my project failed . In 1996 MV was still so small that it seemed to be easy to learn for a complete outsider (like me) to the web design and programmer community. Today it has grown, got all the stuff you can imagine to to build equals to the "other famous bookstores" out there and you have not only Mike Heins alone, but the whole heavy weight of the Akopia/RedHat team with it. So, if you are not the poorest of "schmocks" out there (like me) than my recommendation is to get this help. It's well worth it. Oh, and then today you could do the whole stuff with XML and that's REALLY *something*. 8-) Birgitt From: jon at akopia.com (Jon Jensen ) Date: Wed, 28 Feb 2001 13:16:05 -0600 (CST) Subject: [ic] Follow up: Follow up: Interchange runs, then dies On Wed, 28 Feb 2001, Jonathan Melhuish wrote: > I have finally managed to get my test server up and running by: > > * Deleting the RPM and installing from the tarball > * Changing the permissions on the catalogs > * Changing the permissions of the socket file > > Unfortunately, I now have to change the permissions on the socket file > every time I restart IC. Is there any way around this? Should I have > installed as the IC user or something? > > Thanks for your continued support > > Jon > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: jon at akopia.com (Jon Jensen ) Date: Wed, 28 Feb 2001 13:17:02 -0600 (CST) Subject: [ic] Follow up: Follow up: Interchange runs, then dies (Sorry to everyone about the previous blank reply I sent!) On Wed, 28 Feb 2001, Jonathan Melhuish wrote: > I have finally managed to get my test server up and running by: > > * Deleting the RPM and installing from the tarball > * Changing the permissions on the catalogs > * Changing the permissions of the socket file > > Unfortunately, I now have to change the permissions on the socket file > every time I restart IC. Is there any way around this? Should I have > installed as the IC user or something? See the SocketPerms setting: http://developer.akopia.com/cgi-bin/ic/dev/icconfig_68.html Jon From: chet at pressler.com (Chet Pressler ) Date: Wed, 28 Feb 2001 11:12:09 -0800 Subject: [ic] FedEx interface in catalog.cfg I have added this to my catalog.cfg to test out the fedex interface. UserTag fedex-query Order mode weight UserTag fedex-query attrAlias origin_zip origin UserTag fedex-query Routine <<EOR sub { require Business:Fedex; my( $mode, $weight, $opt) = @_; my $fedex = new Business::Fedex ( orig_country => 'US', # ISO code orig_zip => '89052', dest_country => 'US', dest_zip => '95054', weight=> '26', ); $fedex->packaging('My Packaging'); # your packaging ::logGlobal("calling with: " . join("|", $mode, $weight, )); my $rate = $fedex->getrate; # dies on error my %fe_index =( 'FPO' ,0, 'FSO' ,1, 'F2D' ,2, 'FES' ,3, ); my $index = $fe_index{$mode}; my @myar = $fedex->services; my $therate = $myar[$index]->{total}; return $therate; } EOR When I restart interchange I am receiving this error in the log. - - - [28/February/2001:10:32:14 -0800] - - ...UI is loaded.... - - - [28/February/2001:10:32:14 -0800] - - Interchange V4.6.3 - - - [28/February/2001:10:32:14 -0800] - - Using default DBM database. - - - [28/February/2001:10:32:17 -0800] - - Using MySQL, DSN=dbi:mysql:test_psg. - - - [28/February/2001:10:32:18 -0800] - - UserTag 'fedex_query' subroutine failed safe check: require trapped by operation mask at (eval 317) line 2, <CONFIG> chunk 375. > > In line 375 of the configuration file 'catalog.cfg': > UserTag fedex-query Routine <<EOR What are we missing here? From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Wed, 28 Feb 2001 11:32:38 -0800 Subject: [ic] Any experience of IC on RAQ3? Jon, Please search the mailing list at http://developer.akopia.com for past issues with RAQ3 systems. Thanks. -Ron ----- Original Message ----- From: "Jonathan Melhuish" <jonathanmelhuish@email.com> To: "Interchange User mail list" <interchange-users@minivend.com> Sent: Wednesday, February 28, 2001 10:38 AM Subject: [ic] Any experience of IC on RAQ3? > Does anybody have any experience of running IC on a Cobalt RAQ3? > > I know it is really just a RedHat install on a PC box in a fancy case, > but I have to pay 3 years rent on this server in advance, and it is > solely for the purpose of running IC cats, so I want to be certain I can > get it working when I have paid (a considerable amount) for it! > > Cheers > > Jon > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: mikeh at minivend.com (Mike Heins ) Date: Wed, 28 Feb 2001 14:42:16 -0500 Subject: [ic] FedEx interface in catalog.cfg Quoting Chet Pressler (chet@pressler.com): > I have added this to my catalog.cfg to test out the fedex interface. It is global, and needs to be in interchange.cfg. From: jonathanmelhuish at email.com (Jonathan Melhuish ) Date: Wed, 28 Feb 2001 19:42:28 +0000 Subject: [ic] Follow up: Follow up: Interchange runs, then dies Thanks! I reckon you replied quicker than I would have found it if I had looked! Sorry for the hassle, though - I should have looked harder. I have added the URL as a note in the relevant section of the FAQ to save lazy people like me the effort... :-) Cheers Jon Jon Jensen wrote: > (Sorry to everyone about the previous blank reply I sent!) > > On Wed, 28 Feb 2001, Jonathan Melhuish wrote: > > > I have finally managed to get my test server up and running by: > > > > * Deleting the RPM and installing from the tarball > > * Changing the permissions on the catalogs > > * Changing the permissions of the socket file > > > > Unfortunately, I now have to change the permissions on the socket file > > every time I restart IC. Is there any way around this? Should I have > > installed as the IC user or something? > > See the SocketPerms setting: > > http://developer.akopia.com/cgi-bin/ic/dev/icconfig_68.html > > Jon > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: jonathanmelhuish at email.com (Jonathan Melhuish ) Date: Wed, 28 Feb 2001 19:44:06 +0000 Subject: [ic] Any experience of IC on RAQ3? Ok, I will. Thanks, Jon Ron Phipps wrote: > Jon, > > Please search the mailing list at http://developer.akopia.com for past > issues with RAQ3 systems. Thanks. > > -Ron > > ----- Original Message ----- > From: "Jonathan Melhuish" <jonathanmelhuish@email.com> > To: "Interchange User mail list" <interchange-users@minivend.com> > Sent: Wednesday, February 28, 2001 10:38 AM > Subject: [ic] Any experience of IC on RAQ3? > > > Does anybody have any experience of running IC on a Cobalt RAQ3? > > > > I know it is really just a RedHat install on a PC box in a fancy case, > > but I have to pay 3 years rent on this server in advance, and it is > > solely for the purpose of running IC cats, so I want to be certain I can > > get it working when I have paid (a considerable amount) for it! > > > > Cheers > > > > Jon > > > > > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: mikeh at minivend.com (Mike Heins ) Date: Wed, 28 Feb 2001 14:55:47 -0500 Subject: [ic] Stopping the IC parser early - break(), exit() or document.done()? Quoting Dan B (db@cyclonehq.dnsalias.net): > I'd like to discover an IC tag that stops it from continuing to parse (it > just packs up the HTML and ships it off). Kind of like break(), exit() or > document.done() in other languages. > > [if !session logged_in] > <p><font __FFACE__ size="2" color="#669999"> > If you already have an account with us, please <a href="[area > login.html]">Login</a>.<BR> > <BR> > If you are new customer, please <a href="register.html">Register</a>. > </font></p> > > [include templates/regions/checkout_bottom] > [comment]Would like to stop here[/comment] > [/if] How about [goto]? It defaults to going to the end of the document. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: bruno at digi-land.com (Bruno Cantieni ) Date: Wed, 28 Feb 2001 15:04:38 -0500 Subject: [ic] Access manager question How can I disable the ability of an "Order Manager" to delete orders? I have spent oodles of time with the "Access Manager" and can't seem to figure this out. Simply turning off "Delete" doesn't seem to do it. (IC 4.6.3/RH Linux 7) My appologies for seeming impatient if my earlier post regarding this issue is still under review (02-27, "Problems restricting administrative users'). We are gung-ho on IC and if we can resolve this issue, we're ready to put IC into production. Thanks, Bruno Cantieni From: chris at vanoosterhout.com (Christopher VanOosterhout ) Date: Wed, 28 Feb 2001 15:24:04 -0500 Subject: [ic] results.html does not work but results_big.html does work I am working with the construct store and having some problems with the way the buy button is set up on the construct store. Every time I push the buy button from a products search listing (results.html) it sends me to the page: http://66.70.15.170/cgi-bin/westerbeke/expired.html (expired.html -- error) It does however put the product in my cart. When I push the buy button on a single item listing results_big.html it properly goes to the check out page. Any idea why I am being shipped off to the expired page when I try to buy from the results.html page? From: mikeh at minivend.com (Mike Heins ) Date: Wed, 28 Feb 2001 15:25:15 -0500 Subject: [ic] Access manager question Quoting Bruno Cantieni (bruno@digi-land.com): > How can I disable the ability of an "Order Manager" to delete orders? I think we would need to just use the [if-mm ...] tag to prevent showing the link. A "Delete" doesn't actually deal with deleting a record, just setting a flag. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Research is what I'm doing when I don't know what I'm doing. -- Wernher Von Braun From: lamine at secan.net (lamine ) Date: Wed, 28 Feb 2001 15:43:32 -0500 Subject: [ic] French user of interchange ? Salut; Je suis entrain de faire un dιveloppement de e-commerce en franηais ( traduction de interchange si tu veux). Fais moi part de tes projets et je vais voir si on peut travailler en collaboration. Lamine At 17:57 01-02-28 +0100, you wrote: >Hi all, > >Are there french users of akopia who can tell me their experiences with IC ? >espacially with the language and price translation. > >Thanks > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users From: db at cyclonehq.dnsalias.net (Dan B ) Date: Wed, 28 Feb 2001 12:46:50 -0800 Subject: Dreamweaver Extension & Jext Module (was: Re: [ic] checkout At 09:14 AM 2/28/2001 -0500, you wrote: > > > Mike, what is the status of the Dreamweaver module to deal with IC tags > > > that was discussed a while back? Ron Phipps thought that someone from > > > Akopia was working on them (in msg00282). > >I know Dreamweaver pretty well, but very new to Interchange. What kind of >tags need to be supported in Dreamweaver? I wouldn't say any tags *need* to be supported, but it sure would be nice. By supported, I mean color-coding and formatting (much like HTML is color-coded and formatted now). Would anyone be willing to volunteer to develop this? In a related vein, the lead developer of Jext (http://www.jext.org), Romain Guy, graciously volunteered to write a module to parse/colorize/format interchange tags after I asked him about it. I'm not sure when he'll be done with it though. FYI, Jext is a powerful 100% pure Java programmer's text editor. Mainly written for programmers, Jext was designed from the ground up to suit your needs. From beginner to skilled coder, everyone should find what they need in this editor. Jext is a lightweight, yet fully featured, software which will help you in almost any circumstance as it provides an open architecture and a lot of many different possibilities to manipulate text of any kind: source code, letters, etc.. (It's better than vi OR emacs). Mike wrote: >No status. I was the one thinking about working on it, but no progress >so far (other than buying the PowerMac G4). I wouldn't want anyone to >hold their breath, priorities are pushing it aside. If you can get a G4 for a single project, then you probably leap mainframes in a single bound. :-) Man, and I thought my 4-way IDE-RAID subsystem, with a P-3 800 and 384mb ram was a big dev desktop. Do you develop on S/390's? Or are they just your staging area and the production environment is a Cray Supercomputer? Later, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: doliver at hampshire.edu (Dylan Oliver ) Date: Wed, 28 Feb 2001 15:19:49 -0600 Subject: [ic] (expired) Seems that many people, myself included, are having this problem. I don't know the solution, but the command under the buy button in results.html is this: <td valign=top ><input type=submit value=Buy OnClick="this.form.mv_oi[item-increment].value='[item-code]'"></td> In the pages produced by flypage.html, the command is: <td align="center"> <input type="submit" value="Buy it Now!"> </td> Ordering works from flypages and reslts_big.html, but not results.html. I tried exchanging the buy command from flypage.html with results.html as a quick fix, but still got the (expired) page. -- Dylan Oliver Do you know how little you know? From: markj at redhat.com (Mark Johnson ) Date: Wed, 28 Feb 2001 16:19:43 -0500 Subject: [ic] Holding and then retrieving a variable. [calc] gets interpolated before it is eval'ed. Frankly, I'm surprised you didn't get a 'bareword' error by not having [item description] quoted. [calc] ... $MyFreeItems .= q{[item description]} . "\n"; ... $Scratch->{myfreeitem} = $MyFreeItems; [/calc] Glen and Rosanne Eustace wrote: > > I have a some code which includes the following, I thought it used to > work in MV4 but it certainly doesn't in IC. How is one supposed to do > this ? > > [calc] > ... > $MyFreeItems .= [item description] . "\n"; > ... > [set myfreeitem]$MyFreeItems[/set] > [/calc] > > in another part of etc/report I had > [scratch myfreeitem] > > I get the literal '$MyFreeItem' in the order not the list I had build > up. > > -- > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > -=-=-= > Glen and Rosanne Eustace, > GodZone Internet Services, a division of AGRE Enterprises Ltd., > P.O. Box 8020, Palmerston North, New Zealand 5301 > Ph/Fax: +64 6 357 8168, Mob: +64 21 424 015 > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: briank at nacs.net (Brian Kosick ) Date: Wed, 28 Feb 2001 16:08:12 -0500 Subject: [ic] Any experience of IC on RAQ3? I got it working, no problem, on a Raq3. Since you have to use CGI wrap (well you don't HAVE to), compile with INET mode enabled. make sure that you have a user created to run IC and that the IC files, are owned by that user The socket problem indicates incorrect permissions on the ?CGI? At 06:38 PM 2/28/01 +0000, you wrote: >Does anybody have any experience of running IC on a Cobalt RAQ3? > >I know it is really just a RedHat install on a PC box in a fancy case, >but I have to pay 3 years rent on this server in advance, and it is >solely for the purpose of running IC cats, so I want to be certain I can >get it working when I have paid (a considerable amount) for it! > >Cheers > >Jon > > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: rhertz at gyb.baits.com (Ryan Hertz ) Date: Wed, 28 Feb 2001 14:22:55 -0700 Subject: [ic] (expired) >Seems that many people, myself included, are having this problem. I don't >know the solution, but the command under the buy button in results.html is >this: > ><td valign=top ><input type=submit value=Buy >OnClick="this.form.mv_oi[item-increment].value='[item-code]'"></td> > >In the pages produced by flypage.html, the command is: > ><td align="center"> > <input type="submit" value="Buy it Now!"> ></td> > >Ordering works from flypages and reslts_big.html, but not results.html. I >tried exchanging the >buy command from flypage.html with results.html as a quick fix, but still >got the (expired) page. Well, what form is it submitting to? Perhaps you're missing a few bits. And instead of using a button, have you looked into the [order] tag, which generates an ordering link? Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: admin at sitemajic.net (Chris Jesseman ) Date: Wed, 28 Feb 2001 16:29:01 -0500 (EST) Subject: Dreamweaver Extension & Jext Module (was: Re: [ic] checkout expiration date problems) Dan, I'm in the process of making the XML edit mode for jEdit (jedit.sourceforge.net), which should work in Jext as Jext lifted Jedit's highlighting code... If I get it somewhat usable, I'll release it. -Chris Quoting Dan B <db@cyclonehq.dnsalias.net>: > At 09:14 AM 2/28/2001 -0500, you wrote: > > > > Mike, what is the status of the Dreamweaver module to deal with IC > tags > > > > that was discussed a while back? Ron Phipps thought that someone > from > > > > Akopia was working on them (in msg00282). > > > >I know Dreamweaver pretty well, but very new to Interchange. What kind > of > >tags need to be supported in Dreamweaver? > > I wouldn't say any tags *need* to be supported, but it sure would be > nice. By supported, I mean color-coding and formatting (much like HTML > is > color-coded and formatted now). Would anyone be willing to volunteer to > > develop this? > > In a related vein, the lead developer of Jext (http://www.jext.org), > Romain > Guy, graciously volunteered to write a module to parse/colorize/format > > interchange tags after I asked him about it. I'm not sure when he'll be > > done with it though. > > FYI, Jext is a powerful 100% pure Java programmer's text editor. Mainly > > written for programmers, Jext was designed from the ground up to suit > your > needs. From beginner to skilled coder, everyone should find what they > need > in this editor. Jext is a lightweight, yet fully featured, software > which > will help you in almost any circumstance as it provides an open > architecture and a lot of many different possibilities to manipulate > text > of any kind: source code, letters, etc.. > > (It's better than vi OR emacs). > > Mike wrote: > >No status. I was the one thinking about working on it, but no > progress > >so far (other than buying the PowerMac G4). I wouldn't want anyone to > >hold their breath, priorities are pushing it aside. > > If you can get a G4 for a single project, then you probably leap > mainframes > in a single bound. :-) Man, and I thought my 4-way IDE-RAID subsystem, > > with a P-3 800 and 384mb ram was a big dev desktop. Do you develop on > > S/390's? Or are they just your staging area and the production > environment > is a Cray Supercomputer? > > Later, > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: gina at sitediva.com (Gina K. Anderson ) Date: Wed, 28 Feb 2001 16:35:49 -0500 Subject: [ic] RE: John-Same Name Subcategories Please? Hi John! Thanks so *much* for your reply! I did the copy, paste, and edit routine on your settings there in the Complex search box, but I seem to be having a problem. I added another category called Figurines that also goes under both Sections (Hedgehog items & Prairie Dog Items)--I can't seem to give the "Figurines" category more than one um, "se" property (I copied and pasted your stuff in the Complex Search Box-I'm not sure what that "se" stands for just yet unless it's the "search term") I'm missing something and I'm not sure what it is. When in the admin section, I click on "Hedgehog Items", then click on "Figurines"-> category properties-> copy, paste, edit your stuff in Complex Search box to: fi=products st=db ac=0 co=1 sf=category se=Figurines op=rm nu=0 bs=1 sf=subcategory se=Hedgehog op=rm nu=0 bs=1 ml=10 tf=name to=x Then I try clicking "Prairie Dog Items"-->Figurines-->Category Properties--> and doing the same only changing "se" to Prairie. Doesn't work..both Figurines now have the "se"=Prairie, and an item I assigned under the Hedgehog section comes up under "Prairie Dog Items" and "Hedgehog Items" Figurine searches--(I didn't put any "prairie" words in the item title, description, etc) what am I doing wrong? http://sitediva.com/~sitediva/cgi-bin/cart.cgi/index.html Thanks, Gina |-----Original Message----- |From: interchange-users-admin@lists.akopia.com |[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of John K. |Nealy, III |Sent: Tuesday, February 27, 2001 11:58 PM |To: interchange-users@lists.akopia.com |Subject: Re: [ic] Same Name Subcategories Please? | | |Gina, I have a similar setup with a store I am creating at |http://www.wevegotitwireless.com (a work in progress). I have a |phones category |and a pagers category, each with Motorola in them. What you need to do is a |complex search where you first search the item category (Hedgehog) then the |subcategory (Food). It |seems you have already done the setup in admin, so here is an example of what I |have: | |For Phones/Motorola: |fi=products |st=db |ac=0 |co=1 |sf=category |se=Phones |op=rm |nu=0 |bs=1 |sf=subcategory |se=Motorola |op=rm |nu=0 |bs=1 |ml=10 |tf=name |to=x | |and for Two-Way Pagers/Motorola: |fi=products |st=db |ac=0 |co=1 |sf=category |se=twpagers |op=rm |nu=0 |bs=1 |sf=subcategory |se=Motorola |op=rm |nu=0 |bs=1 |ml=10 |tf=name |to=x | |"Gina K. Anderson" wrote: | |> Can anyone tell me how I can have subcategories that are the same name in |> different main categories? Interchange is really getting confused |with the way I |> am trying to do it. I can't find anything in the documentation. |> |> I have two categories set up: |> |> Hedgehog Items |> Prairie Dog Items |> |> Each category must have a subcategory "Food". Now, the main categories are on |> the left, no links. The subcategories I used these parameters: |> |> Hedgehog Items "Food": |> ---------------------- |> Name: Food |> Link Type: Simple Search |> Table: Products |> Field=Column Pairs: category=HH Food |> Results Page: Default |> Display Name: Name |> (everything else blank) |> |> Prairie Dog Items "Food": |> ---------------------- |> Name: Food |> Link Type: Simple Search |> Table: Products |> Field=Column Pairs: category=PD Food |> Results Page: Default |> Display Name: Name |> (everything else blank) |> |> But, Interchange seems to be getting confused between the two "Food" |categories. |> If you go to: |> |> http://www.sitediva.com/cart |> |> you'll see if you click on either 'Food' you get the same category |field=column |> pair names, even though I have named each differently, and assigned |each to it's |> rightful subcategory. I have deleted the subcats three times, and |the last one I |> create is always the one that shows up on the results page. Someone tried to |> help me with this before, but he hasn't gotten back with me. |> |> Thanks for any help, I really need to get this figured out before my client |> gives up on me. ;) |> |> Gina |> |> _______________________________________________ |> Interchange-users mailing list |> Interchange-users@lists.akopia.com |> http://lists.akopia.com/mailman/listinfo/interchange-users | | |_______________________________________________ |Interchange-users mailing list |Interchange-users@lists.akopia.com |http://lists.akopia.com/mailman/listinfo/interchange-users | | From: markj at redhat.com (Mark Johnson ) Date: Wed, 28 Feb 2001 16:41:36 -0500 Subject: [ic] installing..... Cameron Germein wrote: > > you need root. > Umm...Not exactly, though it makes life much easier. You must build your makefile to work in your home dir. Something like: PREFIX=~/usr/local \ INSTALLPRIVLIB=~/usr/local/lib/perl5 \ INSTALLSCRIPT=~/usr/local/bin \ INSTALLSITELIB=~/usr/local/lib/perl5/site_perl \ INSTALLBIN=~/usr/local/bin \ INSTALLMAN1DIR=~/usr/local/lib/perl5/man \ INSTALLMAN3DIR=~/usr/local/lib/perl5/man/man3 Put this in a file, say 'foo.cfg', and use it for the MakeFile.PL $ perl MakeFile.PL `cat foo.cfg` Then, forget ./config. Just run make make test (some may fail) make install And, don't forget to install Bundle::Interchange, which will need the same config data as you put into 'foo.cfg'. -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: bruno at digi-land.com (Bruno Cantieni ) Date: Wed, 28 Feb 2001 16:43:28 -0500 Subject: [ic] Access manager question Thanks Mike. Works like a charm!!! Bruno ***** Mike Heins wrote: > Quoting Bruno Cantieni (bruno@digi-land.com): > > How can I disable the ability of an "Order Manager" to delete orders? > > I think we would need to just use the [if-mm ...] tag to prevent showing > the link. A "Delete" doesn't actually deal with deleting a record, just > setting a flag. > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > Research is what I'm doing when I don't know what I'm doing. > -- Wernher Von Braun > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: gekko at gekko-inc.com (Gekko, Inc. ) Date: Wed, 28 Feb 2001 16:22:22 -0800 Subject: [ic] QUESTION the tutorial doesn't work. I am sure there's something wrong with the configuration, but I can't figure out what... I can try something different. I can take the original script and make the tutorial in those dirs. But that would mean to delete the Construct Something catalog. If you agree with that, I will go ahead and try it in the Construct Something directories... Can we delete the Construct catalog contents and use our own? What is the best way? We really want to use the same directories as Construct Something and of course add sub-directories. What is the best way? Regards, Eric Gadin Gekko, Inc. Tel: 713-527-9912 Fax: 713-527-0249 Houston, Texas e-mail: gekko@gekko-inc.com From: gekko at gekko-inc.com (Gekko, Inc. ) Date: Wed, 28 Feb 2001 16:23:48 -0800 Subject: [ic] (no subject) the tutorial doesn't work. I am sure there's something wrong with the configuration, but I can't figure out what... I can try something different. I can take the original script and make the tutorial in those dirs. But that would mean to delete the Construct Something catalog. If you agree with that, I will go ahead and try it in the Construct Something directories... Can we delete the Construct catalog contents and use our own? What is the best way? We really want to use the same directories as Construct Something and of course add sub-directories. What is the best way? Regards, Eric Gadin Gekko, Inc. Tel: 713-527-9912 Fax: 713-527-0249 Houston, Texas e-mail: gekko@gekko-inc.com From: kpullon at hotmail.com (Kristina Pullon ) Date: Wed, 28 Feb 2001 19:24:38 -0500 Subject: [ic] Removing "your online hardware store!" i cannot fint where to modify the ", your online hardware store!" line seen when there is no one logged in. please help kpullon@hotmail.com _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: mikeh at minivend.com (Mike Heins ) Date: Wed, 28 Feb 2001 20:11:20 -0500 Subject: Dreamweaver Extension & Jext Module (was: Re: [ic] checkout expiration date problems) Quoting Dan B (db@cyclonehq.dnsalias.net): > At 09:14 AM 2/28/2001 -0500, you wrote: > > > > Mike, what is the status of the Dreamweaver module to deal with IC tags > > > > that was discussed a while back? Ron Phipps thought that someone from > > > > Akopia was working on them (in msg00282). > > > >I know Dreamweaver pretty well, but very new to Interchange. What kind of > >tags need to be supported in Dreamweaver? > > I wouldn't say any tags *need* to be supported, but it sure would be > nice. By supported, I mean color-coding and formatting (much like HTML is > color-coded and formatted now). Would anyone be willing to volunteer to > develop this? That is one part, and the other part was to be some tag insertion stuff, like a table menu look-alike for loop/item-list/search-list which would generate a template like: <table> <!--[item-list]--> <tr class=foo> <td class=bar> [item-code] </td> <td class=bar> [item-field foo] </td> </tr> <!--[/item-list]--> </table> and understand that the item-list needed to be carried around with it; and/or some tag inserters that would do templates with the proper attribute names. One thing I am struggling with is just a definition of the feature set needed. If someone did that type of marketing requirements work for me, I could do quite a bit of the coding as I am getting better and better at JavaScript (which is the language used in the Dreamweaver SDK). > > In a related vein, the lead developer of Jext (http://www.jext.org), Romain > Guy, graciously volunteered to write a module to parse/colorize/format > interchange tags after I asked him about it. I'm not sure when he'll be > done with it though. > > FYI, Jext is a powerful 100% pure Java programmer's text editor. Mainly > written for programmers, Jext was designed from the ground up to suit your > needs. From beginner to skilled coder, everyone should find what they need > in this editor. Jext is a lightweight, yet fully featured, software which > will help you in almost any circumstance as it provides an open > architecture and a lot of many different possibilities to manipulate text > of any kind: source code, letters, etc.. > > (It's better than vi OR emacs). But certainly not better than....OK, no editor holy wars. 8-) -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> I have a cop friend who thinks he ought be able to give a new ticket; "too dumb for conditions". From: res087jh at verizon.net (Dan Garwood ) Date: Wed, 28 Feb 2001 20:41:09 -0500 Subject: [ic] Removing "your online hardware store!" if you will look in the catalog directory under templates/regions you will find the upper and lower templates you can change it there. It is a standard html document. The top and bottom go together to make the whole template. Any place else can be modified through the Admin interface under content Dan Garwood -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Kristina Pullon Sent: Wednesday, February 28, 2001 7:25 PM To: interchange-users@lists.akopia.com Subject: [ic] Removing "your online hardware store!" i cannot fint where to modify the ", your online hardware store!" line seen when there is no one logged in. please help kpullon@hotmail.com _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: gina at sitediva.com (Gina K. Anderson ) Date: Wed, 28 Feb 2001 21:47:41 -0500 Subject: [ic] Credit Card Info in Admin Order Info/PGP Hi all, Let me make sure I get this straight, Interchange doesn't store credit card numbers so you can view them in admin, right? Is there a way to configure IC to do this? I'm trying to figure out why my hoster installed Interchange, but didn't install PGP... If there is no way to do this in Interchange, then I'm basically SOL if PGP is not installed on the server, correct? Thanks, Gina From: mjs at blitz-technology.net (Mitchell ) Date: Thu, 1 Mar 2001 12:54:40 +1000 Subject: [ic] different pricing levels Is it possible to have different prices for each item. ie we are running a computer hardware web site, and there are different prices for end users and resellers. obviously the reseller area is accessed with a username and password. would we have to create 2 seperate catalogs to do this? -- Mitchell Smith Blitz Technology mjs@blitz-technology.net The software said it requires Windows 95 or better, so I installed Linux From: admin at sitemajic.net (Chris Jesseman ) Date: Wed, 28 Feb 2001 22:14:39 -0500 (EST) Subject: [ic] Credit Card Info in Admin Order Info/PGP Hi Gina, > Hi all, > > Let me make sure I get this straight, Interchange doesn't store credit > card > numbers so you can view them in admin, right? Is there a way to > configure IC to > do this? You *can* do this, it's just not very safe. In fact, I'm undoing a 4.04a site where the card numbers are stored encrypted on the server. > I'm trying to figure out why my hoster installed Interchange, but didn't > install > PGP... Ask them ;-) > If there is no way to do this in Interchange, then I'm basically SOL if > PGP is > not installed on the server, correct? > I believe you can install gnupg under your home space. I've never done it but I wouldn't operate without SSL or PGP. -Chris > Thanks, > Gina > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > Chris Jesseman, President http://www.sitemajic.net From: nickychips at yahoo.com (Nick Ohanian ) Date: Wed, 28 Feb 2001 19:24:28 -0800 Subject: [ic] newbie question: subroutines Hi- I'm having trouble getting local subroutines to work all. I seem to be defining them correctly in catalog.cfg, but they appear to not be running when called from [perl] tag in a page. Are they any special configurations settings that I should be aware of? Any suggestions as to why this could be happening? Thanks in advance, Nick nickychips@yahoo.com _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Wed, 28 Feb 2001 19:28:21 -0800 Subject: [ic] newbie question: subroutines At 07:24 PM 2/28/2001 -0800, you wrote: >Hi- > I'm having trouble getting local subroutines to work all. I seem > to be >defining them correctly in catalog.cfg, but they appear to not be running >when called from [perl] tag in a page. Are they any special configurations >settings that I should be aware of? Any suggestions as to why this could be >happening? But they do work when you define them globally in interchange.cfg? Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: kpullon at hotmail.com (Kristina Pullon ) Date: Wed, 28 Feb 2001 22:46:53 -0500 Subject: [ic] No New Categories when i add a product - i can add a new category and it reads it just fine... but that category does not show up in the "design" section or table. i would like to add the new categories to the left menu but i cant until this problem is resolved. From: interchange at my-school.com (IC-Admin ) Date: Thu, 1 Mar 2001 00:18:30 -0500 (EST) Subject: [ic] RE: John-Same Name Subcategories Please? Gina K. Anderson wrote: > --I can't seem to give the "Figurines" category more than one um, > "se" property (I copied and pasted your stuff in the > Complex Search Box-I'm not sure what that "se" stands for just yet > unless it's the "search term") http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=reference11%2e01 http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=reference12%2e07 http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=reference12%2e10 mv_searchspec = se BF From: mat at booksellersolutions.com (Mathew Jones ) Date: Wed, 28 Feb 2001 20:01:16 -0800 Subject: [ic] [if scratch...] Hi, I am trying to compare scratch values in an if/elsif statement, and tried the following code. I cannot get this to work. What I am trying do to is get the results of a loop search to organize into two columns. The first section is a loop to count the number of items in a list. if I replace the '[scratch count1]' variable with a number, this works fine, it just doesnt seem to recognise the [scratch] tag as part of the IF tag evaluation. Can anybody help me out. [loop.....] [seti count1][calc][scratch count1] + 1[/calc][/seti] [/loop] [seti count1][calc][scratch count1] / 2[/calc][/seti] [seti count][/seti] <table><tr><td> [loop ....] [seti count][calc][scratch count] + 1[/calc][/seti] [if scratch count < [scratch count1]] [loop-code]<br> [elsif scratch count == [scratch count1]] [loop-code]<br></td><td> [/elsif] [/else] [loop-code]<br>[/else][/if] [/loop] </td></tr></table> Thanks Mat From: tintones at hotmail.com (Marcelo F. De Paula ) Date: Thu, 01 Mar 2001 04:11:34 Subject: [ic] PGP error - credit card encryption error Hello, I'm new in PGP encrypitation. I have download the PGP from www.pgpi.org and have tested it okay thrue the console. I'm using a constructor demo store to test it. But i don't know how to make it works with IC. When i try to checkout something with credit card i receive a error message in the browser's credit card box: Credit card encryption error My catalogue.cfg is like: Variable ENCRYPTOR pgp -eat # Main route must be last to make default Route main attach 0 Route main credit_card 0 Route main cybermode "" Route main default 0 Route main email '__ORDERS_TO__' Route main encrypt 0 Route main encrypt_program '__ENCRYPTOR__' Route main errors_to '__ORDERS_TO__' Route main increment 0 Route main pgp_cc_key "0x0363868d" Route main pgp_key "0x0363868d" Route main receipt etc/receipt.html Route main report etc/report Route main supplant 1 Route main individual_track orders Route main track logs/tracking.asc Can anyone help me? Am i using the right version of free PGP? In the documentation the commands are like pgpe, and its not working with me. Thanks for any help. Marcelo _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From: mike at bill.minivend.com (Mike Heins ) Date: Wed, 28 Feb 2001 22:30:07 -0500 Subject: [ic] newbie question: subroutines I get so much spam from addresses at Yahoo! that I don't accept mail from them. Please send from another address if you really want to send mail to me. A good free mail address is hotmail.com -- though the occasional spam comes through with their envelope address they stomp on spammers hard, and the spammers have learned to be wary of them. If you are an innocent bystander, I am sorry. Other of your messages (not this one) *may* have been sent to Yahoo abuse and it is not inconceivable they will cancel your account. Probably not unless you sent it from somewhere else and had the envelope address somehow set to be from Yahoo. But who knows, my filter rules are not perfect. I do suggest you get on Yahoo!'s case about their failure to protect their From line, rendering Yahoo addresses unusable by serious people. And a sure bet to be ignored by me. Regards, Mike Heins -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown P.S.: If you are a spammer, shame on you for stealing time and money from people. From: bob at nleaudio.com (Bob Puff at NLE ) Date: Wed, 28 Feb 2001 23:50:17 -0500 Subject: [ic] Removing items drops secure server In testing my Interchange 4.6.3 store tonight, I noticed a little quirk. I added a few items to the shopping cart and proceeded to check out. Went to the secure page, all is well so far. I clicked on the check box to delete something from my cart. It re-displayed the page with the item deleted, but I was back on the (insecure) server URL. Got a little warning box too from the browser stating that I was submitting info to a non-secure site. Is this a config error or a program error? Bob From: Psirix at aol.com (Psirix at aol.com ) Date: Thu, 01 Mar 2001 01:31:24 EST Subject: [ic] Merchant Account question using the Construct Something template?? Dear Interchange users, I am using the "Construct Something" template to make my e-commerce site for my business. I would like to know whoever reads this if they have an e-commerce or any type of site using the Construct Something Template? I would like to see the possibilities of this template. If your site is e-commerce I have another question. I already have a merchant account now I just need to make the site. How do I "link" my homepage and my merchant account together so I can take credit cards in real time? Im confused about this. Or do I take the credit card info after the order is placed then when the order arrives to me via e-mail then go my virtual credit card machine on the net then charge it this way?? Does someone know how to intergrate the two? If anyone has information can you please send it my way? My e-mail is: Psirix@aol.com I appreciate your help. Thank you, Nick Gregory From: db at cyclonehq.dnsalias.net (Dan B ) Date: Wed, 28 Feb 2001 22:47:48 -0800 Subject: [ic] mailman feature request: 1st question always returned Idea (due to all the FAQ asked on this list): The first time a new subscribe posts to the list, the post is blocked and returned to sender, with the following text: ---- Before your first post can be sent to the list, you *must* research all the following materials to see if you question has been asked and answered before: 1. FAQ http://... 2. Docs (searchable) http://... 3. Mailing list archive (searchable) http://... Your first post has been returned, if you send it again it will get through. But please check if it is a FAQ. ---- If mailman has this feature already it would be nice to have turned on. If not, someone should take this to the mailman developers. Just a thought, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: soudant at home.nl (Guy Soudant ) Date: Thu, 01 Mar 2001 07:53:38 +0100 Subject: [ic] Help with Secure server setup!! Hi All, I run the 4.6.3 interchange server, and it all works fine on the normal webserver. But when I try to chech out using a secure server, or call pages on the secure server (except for the main index page) I get a 404 Error. The secure server itself works fine, and I can browse all folders on the secure server (has been activated for test purposes). I can access the main index page through the secure server (https://secure.myprovider.com/~myaccount/construct). If I try to view a different page on my secure server, then I also get a 404 error. In my opinion this is strange, since when I access http://www.mydomain.net/construct I see the same directory structure as when I call https://secure.myprovider.com/~myaccount/construct. I did notice, however, that the IP addresses of the regular server and the secure server are different, but since the hosting provider has installed the application themselves on two different virtual servers (two different IP's), it should work. Is there anyone who knows what I did wrong and how I can get this secure server to work properly with Interchange. I simply cannot figure out why I get this error. Help highly appreciated. Thanx in advance Guy Soudant From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Wed, 28 Feb 2001 22:55:33 -0800 Subject: [ic] Merchant Account question using the Construct Something template?? > I am using the "Construct Something" template to make my e-commerce site for my business. I would like > to know whoever reads this if they have an e-commerce or any type of site using the Construct Something > Template? I would like to see the possibilities of this template. You can view our most recent site at http://www.mygamewear.com This store started out as the consturct demo for code comparision but does not resemble it much anymore :) *Anything* is possible with IC! > If your site is e-commerce I have another question. I already have a merchant account now I just need to > make the site. How do I "link" my homepage and my merchant account together so I can take credit > cards in real time? Im confused about this. Or do I take the credit card info after the order is placed then > when the order arrives to me via e-mail then go my virtual credit card machine on the net then charge it this > way?? Does someone know how to intergrate the two? If anyone has information can you please send it > my way? My e-mail is: Psirix@aol.com Who is your merchant account through? You'd be best off to use a payment gateway like Verisign, CyberCash, or AuthorizeNet, there are modules already for these gateways. Your merchant account will need to be compatible with the gateway you choose. The system is setup so that when the user presses 'Checkout' the info is sent from IC to Payment Gateway (through a module). The response codes are then sent back to IC which interprets what to do (accept the order or fail with an error). The transaction is logged with the gateway which ultimately ends up in your merchant account. Good luck! -Ron From: res087jh at verizon.net (Dan Garwood ) Date: Thu, 1 Mar 2001 01:42:30 -0500 Subject: [ic] Merchant Account question using the Construct Something template?? Nick, There are several ways you can take the credit card information. #1. you can take the credit card information and leave the order as pending until you can manually authorize it. #2. You can do what is called a live capture or live authorization, whiuch takes the credit card info and transfers it through a gateway that you are useing, (such as cybercash or authorize net) Than if the card is approved the order is approved and money is put in your account and you ship the product. The only way to learn is roll up your sleves and dig in. Dan G -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Psirix@aol.com Sent: Thursday, March 01, 2001 1:31 AM To: interchange-users@lists.akopia.com Subject: [ic] Merchant Account question using the Construct Something template?? Dear Interchange users, I am using the "Construct Something" template to make my e-commerce site for my business. I would like to know whoever reads this if they have an e-commerce or any type of site using the Construct Something Template? I would like to see the possibilities of this template. If your site is e-commerce I have another question. I already have a merchant account now I just need to make the site. How do I "link" my homepage and my merchant account together so I can take credit cards in real time? Im confused about this. Or do I take the credit card info after the order is placed then when the order arrives to me via e-mail then go my virtual credit card machine on the net then charge it this way?? Does someone know how to intergrate the two? If anyone has information can you please send it my way? My e-mail is: Psirix@aol.com I appreciate your help. Thank you, Nick Gregory _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: rick at desertlord.com (Rick Lord ) Date: Wed, 28 Feb 2001 23:07:28 -0700 Subject: [ic] Interchange won't start Please help. I just installed Interchange on my server. I am running RedHat 7.0 with Apache. Apache uses /var/www/ for the document root, so my website is in /var/www/domain.com/html and interchange is installed in /var/www/domain.com/interchange. Forgive me if this is too much info, but I want to make sure I explain it completely. Anyway I ran ./configure which went fine, then makecat which also went fine. Then I tried to start Interchange and got this error. "Interchange not configured, no interchange.cfg." Any ideas? Thanks. -- Rick Lord Desert Lord Enterprises http://www.desertlord.com From: bordas at jeuxvideo.com (David Bordas ) Date: Thu, 1 Mar 2001 08:24:09 +0100 Subject: Fw: [ic] French user of interchange ? Bonjour, C'est sympa de ne pas κtre tout seul, je suis aussi en train de regarder pour traduire interchange avec gestion des 2 monnaies Franc et euro . Je regarde aussi comment intιgrer paybox ΰ interchange car la procιdure de billing par default ne me convient pas . Je suis ok si on peut travailler ensemble, ca permettra de faire gagner du temps ΰ tout le monde :) Cordialement David ----- Original Message ----- From: "lamine" <lamine@secan.net> To: <interchange-users@lists.akopia.com> Sent: Wednesday, February 28, 2001 9:43 PM Subject: Re: [ic] French user of interchange ? > Salut; > Je suis entrain de faire un dιveloppement de e-commerce en franηais ( > traduction de interchange si tu veux). > Fais moi part de tes projets et je vais voir si on peut travailler en > collaboration. > Lamine > At 17:57 01-02-28 +0100, you wrote: > >Hi all, > > > >Are there french users of akopia who can tell me their experiences with IC ? > >espacially with the language and price translation. > > > >Thanks > > > > > > > >_______________________________________________ > >Interchange-users mailing list > >Interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: al00283876 at academ01.slp.itesm.mx (al00283876 at academ01.slp.itesm.mx ) Date: Thu, 1 Mar 2001 01:21:37 -0600 Subject: [ic] Help with Secure server setup!! I think this is a problem with Internet Explorer.... try doing the same with Netscape, you should access the secure checkout.... i really dont know how to fix this, if you find it out please post it here.. regards! -- Original Message -- >Hi All, > >I run the 4.6.3 interchange server, and it all works fine on the normal > >webserver. But when I try to chech out using a secure server, or call >pages on the secure server (except for the main index page) I get a 404 > >Error. The secure server itself works fine, and I can browse all folders > >on the secure server (has been activated for test purposes). I can access > >the main index page through the secure server >(https://secure.myprovider.com/~myaccount/construct). If I try to view a > >different page on my secure server, then I also get a 404 error. In my >opinion this is strange, since when I access >http://www.mydomain.net/construct I see the same directory structure as > >when I call https://secure.myprovider.com/~myaccount/construct. > >I did notice, however, that the IP addresses of the regular server and >the secure server are different, but since the hosting provider has >installed the application themselves on two different virtual servers >(two different IP's), it should work. > >Is there anyone who knows what I did wrong and how I can get this secure > >server to work properly with Interchange. I simply cannot figure out why > >I get this error. Help highly appreciated. > >Thanx in advance > >Guy Soudant > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users > From: petri.pietola at nokia.com (petri.pietola at nokia.com ) Date: Thu, 1 Mar 2001 09:35:48 +0200 Subject: [ic] manually enter mv_todo=submit to URL-field Hello If I am playing with construct demo and place some items to basket and type in manually to URL field &mv_todo=submit (ie.http://xxx.xxx.xxx.xxx/cgi-bin/shop/ord/basket?mv_session_id=AWHAQLkb&mv _action=refresh&mv_todo=submit ) I will get receipt and basket will be cleared an order is done! Naturally I will not get receipt thru e-mail, because I am not logged in, but anyway. If i do everything normally via pages it will check addresses, phone numbers etc. but if I type parameters directly to URL field these check are not done!! So how can I avoid this situation so that order is not processed if I am not logged in or I try to cheat system thru URL-field in browser? Pete From: jojo at leidinger.net (Hans-Joachim Leidinger ) Date: Thu, 01 Mar 2001 08:44:36 +0100 Subject: [ic] mailman feature request: 1st question always returned Dan B wrote: > > Idea (due to all the FAQ asked on this list): > > The first time a new subscribe posts to the list, the post is blocked and > returned to sender, with the following text: > > ---- > Before your first post can be sent to the list, you *must* research all the > following materials to see if you question has been asked and answered before: > 1. FAQ http://... > 2. Docs (searchable) http://... > 3. Mailing list archive (searchable) http://... > Your first post has been returned, if you send it again it will get > through. But please check if it is a FAQ. > ---- > > If mailman has this feature already it would be nice to have turned on. If > not, someone should take this to the mailman developers. > > Just a thought, Hmmm...this is a idea, but if some MV/IC-Guru has a question and didn't find any answer from docs, archives, etc....should he or she always post his questions two times? Or what do you mean with "first post"? Joachim -- -------------Hans-Joachim Leidinger--------------------- From: c.singer at t-online.de (Christian Singer ) Date: Thu, 01 Mar 2001 10:20:18 +0100 Subject: [ic] Lost / changing session id using proxy server without cookies I am loosing track of my current session and basket content with the following set-up: - MiniVend 4.0.4 / RedHat 6.2 (German) - Web browser (Netscape 4.5) has cookies disabled and proxy server enabled - ISP for client access is T-Online with multiple, dynamically allocated proxies (IP addresses changing) - catalog.cfg entry: WideOpen Yes (effect verified) - Proxy caching disabled by meta tags (expires - 0; pragma - no-cache) With this configuration every new page sent by MiniVend comes with a different session id. So what else could be done to solve this problem. Especially, I'd like to know if anyone has got MiniVend / Interchange working properly with no cookies, proxy server enabled and client web access via T-Online. Any help highly appreciated. Regards, Christian Singer From: cpi at accxs.net (ACC&S ) Date: Thu, 1 Mar 2001 10:33:51 +0100 Subject: [ic] French user of interchange ? Enfin des franηais... Ils sont rares... Voici prθs d'un an que je travail avec Minivend puis Interchange... Si vous souhaitez un coup de main ou des ιchanges... Je ne suis toujours pas un expert mais bon... a++ Alban ----- Original Message ----- From: David Bordas <bordas@jeuxvideo.com> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 01, 2001 8:24 AM Subject: Fw: [ic] French user of interchange ? > Bonjour, > > C'est sympa de ne pas κtre tout seul, je suis aussi en train de regarder > pour traduire interchange avec gestion des 2 monnaies Franc et euro . > > Je regarde aussi comment intιgrer paybox ΰ interchange car la procιdure de > billing par default ne me convient pas . > > Je suis ok si on peut travailler ensemble, ca permettra de faire gagner du > temps ΰ tout le monde :) > > Cordialement > David > > ----- Original Message ----- > From: "lamine" <lamine@secan.net> > To: <interchange-users@lists.akopia.com> > Sent: Wednesday, February 28, 2001 9:43 PM > Subject: Re: [ic] French user of interchange ? > > > > Salut; > > Je suis entrain de faire un dιveloppement de e-commerce en franηais ( > > traduction de interchange si tu veux). > > Fais moi part de tes projets et je vais voir si on peut travailler en > > collaboration. > > Lamine > > At 17:57 01-02-28 +0100, you wrote: > > >Hi all, > > > > > >Are there french users of akopia who can tell me their experiences with > IC ? > > >espacially with the language and price translation. > > > > > >Thanks > > > > > > > > > > > >_______________________________________________ > > >Interchange-users mailing list > > >Interchange-users@lists.akopia.com > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: bordas at jeuxvideo.com (David Bordas ) Date: Thu, 1 Mar 2001 10:49:37 +0100 Subject: [ic] French user of interchange ? ah, encore qq'un :) si on pouvait tous s'entraider, ηa serait sympa. Moi j'ai des questions alors si je les poses :) poser aussi les votres si je peux y repondre ηa sera avec plaisir 1) peut-on interfacer un system comme paybox ou cybermut avec akopia ? 2) au sujet du moteur de recherche d'akopia, est-ce que je peux par exemple intιgrer une recherche par marque en + de la recherche par catιgorie ? 3) Est-il facile de traduire la boutique ( je penses que oui d'apres ce que j'ai pu voir, mais je voudrais κtre certain ) 4) derniθre question : la gestion de la double monnaie franc / euro, c'est facile ΰ intιgrer ? akopia peut-il faire la conversion ou faut'il le faire ΰ la main ds la base ? Merci ΰ tous PS: j'utilise akopia avec mysql, si ηa peut permettre d'aider qq'un David BORDAS / JEUXVIDEO.COM ---------------------------------------------------------------------------- http://www.jeuxvideo.com : Le site numιro 1 des jeux video en franηais http://boutique.jeuxvideo.com : Pour acheter tous ses jeux sur le net ---------------------------------------------------------------------------- ----- Original Message ----- From: "ACC&S" <cpi@accxs.net> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 01, 2001 10:33 AM Subject: Re: [ic] French user of interchange ? > Enfin des franηais... > Ils sont rares... > Voici prθs d'un an que je travail avec Minivend puis Interchange... > Si vous souhaitez un coup de main ou des ιchanges... > Je ne suis toujours pas un expert mais bon... > a++ > > Alban > > ----- Original Message ----- > From: David Bordas <bordas@jeuxvideo.com> > To: <interchange-users@lists.akopia.com> > Sent: Thursday, March 01, 2001 8:24 AM > Subject: Fw: [ic] French user of interchange ? > > > > Bonjour, > > > > C'est sympa de ne pas κtre tout seul, je suis aussi en train de regarder > > pour traduire interchange avec gestion des 2 monnaies Franc et euro . > > > > Je regarde aussi comment intιgrer paybox ΰ interchange car la procιdure de > > billing par default ne me convient pas . > > > > Je suis ok si on peut travailler ensemble, ca permettra de faire gagner du > > temps ΰ tout le monde :) > > > > Cordialement > > David > > > > ----- Original Message ----- > > From: "lamine" <lamine@secan.net> > > To: <interchange-users@lists.akopia.com> > > Sent: Wednesday, February 28, 2001 9:43 PM > > Subject: Re: [ic] French user of interchange ? > > > > > > > Salut; > > > Je suis entrain de faire un dιveloppement de e-commerce en franηais ( > > > traduction de interchange si tu veux). > > > Fais moi part de tes projets et je vais voir si on peut travailler en > > > collaboration. > > > Lamine > > > At 17:57 01-02-28 +0100, you wrote: > > > >Hi all, > > > > > > > >Are there french users of akopia who can tell me their experiences with > > IC ? > > > >espacially with the language and price translation. > > > > > > > >Thanks > > > > > > > > > > > > > > > >_______________________________________________ > > > >Interchange-users mailing list > > > >Interchange-users@lists.akopia.com > > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: dave.barr at cricinfo.com (Dave Barr ) Date: Thu, 1 Mar 2001 11:25:45 +0000 Subject: [ic] How to Call a GlobalSub? At 8:58 am -0800 27/2/01, Sam Hui wrote: >Hey Dave and Mike, > >I just tried the same exact code on another server, also RedHat 6.2, >Interchange 4.6.3 RPM, Perl 5.00503 and it just works. I'll try to >narrow it down and hopefully figure out what's going on. --------- At 9:34 pm +0100 27/2/01, Hans-Joachim Leidinger wrote: >Hmmmm....I've gotten the exact same error message with IC on FreeBSD. >This happen, if I add a sub into the catalog.cfg or interchange.cfg. But >if the sub is created as an UserTag, it works well. What is wrong? > IC 4.6.3, Debian 2.2.17, Perl 5.005-03, Hi Sam and Joachim, I'm still looking into this a well (been ill as a dog for last two days). If any of you come up with a solution could you post to the group? (I'll do the same). This is a bit of a cause for concern as my CreditCard checking routines will be using GlobalSubs extensively... Thanks Dave From: joachim.richter at usvideocenter.de (joachim.richter ) Date: Thu, 01 Mar 2001 12:43:06 +0100 Subject: [ic] Glimpse Search Docu ? Hi there, in the interchange databases manual on page 20 it says "...and a liberal dose of the glimpse documentation is suggested..." where do i find the glimpse documentation ? regards 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: cpi at accxs.net (ACC&S ) Date: Thu, 1 Mar 2001 13:48:57 +0100 Subject: [ic] French user of interchange ? je ne sais pas s'il est tres bon d'utiliser la mailing list pour une discussion en franηais... autant passer en direct... Pour rιpondre ΰ tes questions : 1. je pense qu'il est possible d'interfacer Paybox avec Akopia... jamais essayι pour l'instant... 2. Il suffit de faire une recherche avec une query SQL sur la marque et sur la catιgorie en mκme temps avec la clause WHERE et AND 3.Oui, il est facile de traduire... ΰ partir du moment oω tu arrives ΰ le mettre en place !!! Tu peux crιer plusieurs products.txt, chacun dans sa langue. Ensuite il suffit de mettre mv_locale au bon format... 4. Que souhaites-tu mettre soit le francs, soit l'euro ou les deux ΰ la fois ? a++ ----- Original Message ----- From: David Bordas <bordas@jeuxvideo.com> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 01, 2001 10:49 AM Subject: Re: [ic] French user of interchange ? > ah, encore qq'un :) > > si on pouvait tous s'entraider, ηa serait sympa. > > Moi j'ai des questions alors si je les poses :) > poser aussi les votres si je peux y repondre ηa sera avec plaisir > > 1) peut-on interfacer un system comme paybox ou cybermut avec akopia ? > 2) au sujet du moteur de recherche d'akopia, est-ce que je peux par exemple > intιgrer une recherche par marque en + de la recherche par catιgorie ? > 3) Est-il facile de traduire la boutique ( je penses que oui d'apres ce que > j'ai pu voir, mais je voudrais κtre certain ) > 4) derniθre question : la gestion de la double monnaie franc / euro, c'est > facile ΰ intιgrer ? > akopia peut-il faire la conversion ou faut'il le faire ΰ la main ds la base > ? > > Merci ΰ tous > > PS: j'utilise akopia avec mysql, si ηa peut permettre d'aider qq'un > > David BORDAS / JEUXVIDEO.COM > -------------------------------------------------------------------------- -- > http://www.jeuxvideo.com : Le site numιro 1 des jeux video en franηais > http://boutique.jeuxvideo.com : Pour acheter tous ses jeux sur le net > -------------------------------------------------------------------------- -- > ----- Original Message ----- > From: "ACC&S" <cpi@accxs.net> > To: <interchange-users@lists.akopia.com> > Sent: Thursday, March 01, 2001 10:33 AM > Subject: Re: [ic] French user of interchange ? > > > > Enfin des franηais... > > Ils sont rares... > > Voici prθs d'un an que je travail avec Minivend puis Interchange... > > Si vous souhaitez un coup de main ou des ιchanges... > > Je ne suis toujours pas un expert mais bon... > > a++ > > > > Alban > > > > ----- Original Message ----- > > From: David Bordas <bordas@jeuxvideo.com> > > To: <interchange-users@lists.akopia.com> > > Sent: Thursday, March 01, 2001 8:24 AM > > Subject: Fw: [ic] French user of interchange ? > > > > > > > Bonjour, > > > > > > C'est sympa de ne pas κtre tout seul, je suis aussi en train de regarder > > > pour traduire interchange avec gestion des 2 monnaies Franc et euro . > > > > > > Je regarde aussi comment intιgrer paybox ΰ interchange car la procιdure > de > > > billing par default ne me convient pas . > > > > > > Je suis ok si on peut travailler ensemble, ca permettra de faire gagner > du > > > temps ΰ tout le monde :) > > > > > > Cordialement > > > David > > > > > > ----- Original Message ----- > > > From: "lamine" <lamine@secan.net> > > > To: <interchange-users@lists.akopia.com> > > > Sent: Wednesday, February 28, 2001 9:43 PM > > > Subject: Re: [ic] French user of interchange ? > > > > > > > > > > Salut; > > > > Je suis entrain de faire un dιveloppement de e-commerce en franηais ( > > > > traduction de interchange si tu veux). > > > > Fais moi part de tes projets et je vais voir si on peut travailler en > > > > collaboration. > > > > Lamine > > > > At 17:57 01-02-28 +0100, you wrote: > > > > >Hi all, > > > > > > > > > >Are there french users of akopia who can tell me their experiences > with > > > IC ? > > > > >espacially with the language and price translation. > > > > > > > > > >Thanks > > > > > > > > > > > > > > > > > > > >_______________________________________________ > > > > >Interchange-users mailing list > > > > >Interchange-users@lists.akopia.com > > > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > _______________________________________________ > > > > Interchange-users mailing list > > > > Interchange-users@lists.akopia.com > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: bordas at jeuxvideo.com (David Bordas ) Date: Thu, 1 Mar 2001 14:01:47 +0100 Subject: [ic] French user of interchange ? oui c'est vrai que ηa peut gιner de discuter sur la ML en franηais, on peut se retrouver sur un forum non ? ηa pourait κtre sympa non ? 1) j'espere arriver ΰ interfacer paybox, le + difficile c'est pour revenir de paybox vers akopia pour que ηa inscrive les infos ds la base. 2) oui pour la requκte ( je ne savais pas qu'on pouvait via akopia ) mais peut'on crιer une table marque car pour le moment dans l'exemple construct, je n'ai que la table produit et catιgorie. 3) product.txt ?? j'utilises du mysql en fait ηa a peut κtre rien ΰ voir . sinon le mv_local on le definit oω dans un fichier de config ? 4) ben en fait je souhaiterais mettre les 2 monnaies ΰ la fois jusqu'au passage de l'euro merci encore pour ton aide. David ----- Original Message ----- From: "ACC&S" <cpi@accxs.net> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 01, 2001 1:48 PM Subject: Re: [ic] French user of interchange ? > je ne sais pas s'il est tres bon d'utiliser la mailing list pour une > discussion en franηais... autant passer en direct... > Pour rιpondre ΰ tes questions : > 1. je pense qu'il est possible d'interfacer Paybox avec Akopia... jamais > essayι pour l'instant... > 2. Il suffit de faire une recherche avec une query SQL sur la marque et sur > la catιgorie en mκme temps avec la clause WHERE et AND > 3.Oui, il est facile de traduire... ΰ partir du moment oω tu arrives ΰ le > mettre en place !!! Tu peux crιer plusieurs products.txt, chacun dans sa > langue. Ensuite il suffit de mettre mv_locale au bon format... > 4. Que souhaites-tu mettre soit le francs, soit l'euro ou les deux ΰ la fois > ? > > a++ > ----- Original Message ----- > From: David Bordas <bordas@jeuxvideo.com> > To: <interchange-users@lists.akopia.com> > Sent: Thursday, March 01, 2001 10:49 AM > Subject: Re: [ic] French user of interchange ? > > > > ah, encore qq'un :) > > > > si on pouvait tous s'entraider, ηa serait sympa. > > > > Moi j'ai des questions alors si je les poses :) > > poser aussi les votres si je peux y repondre ηa sera avec plaisir > > > > 1) peut-on interfacer un system comme paybox ou cybermut avec akopia ? > > 2) au sujet du moteur de recherche d'akopia, est-ce que je peux par > exemple > > intιgrer une recherche par marque en + de la recherche par catιgorie ? > > 3) Est-il facile de traduire la boutique ( je penses que oui d'apres ce > que > > j'ai pu voir, mais je voudrais κtre certain ) > > 4) derniθre question : la gestion de la double monnaie franc / euro, c'est > > facile ΰ intιgrer ? > > akopia peut-il faire la conversion ou faut'il le faire ΰ la main ds la > base > > ? > > > > Merci ΰ tous > > > > PS: j'utilise akopia avec mysql, si ηa peut permettre d'aider qq'un > > > > David BORDAS / JEUXVIDEO.COM > > -------------------------------------------------------------------------- > -- > > http://www.jeuxvideo.com : Le site numιro 1 des jeux video en franηais > > http://boutique.jeuxvideo.com : Pour acheter tous ses jeux sur le net > > -------------------------------------------------------------------------- > -- > > ----- Original Message ----- > > From: "ACC&S" <cpi@accxs.net> > > To: <interchange-users@lists.akopia.com> > > Sent: Thursday, March 01, 2001 10:33 AM > > Subject: Re: [ic] French user of interchange ? > > > > > > > Enfin des franηais... > > > Ils sont rares... > > > Voici prθs d'un an que je travail avec Minivend puis Interchange... > > > Si vous souhaitez un coup de main ou des ιchanges... > > > Je ne suis toujours pas un expert mais bon... > > > a++ > > > > > > Alban > > > > > > ----- Original Message ----- > > > From: David Bordas <bordas@jeuxvideo.com> > > > To: <interchange-users@lists.akopia.com> > > > Sent: Thursday, March 01, 2001 8:24 AM > > > Subject: Fw: [ic] French user of interchange ? > > > > > > > > > > Bonjour, > > > > > > > > C'est sympa de ne pas κtre tout seul, je suis aussi en train de > regarder > > > > pour traduire interchange avec gestion des 2 monnaies Franc et euro . > > > > > > > > Je regarde aussi comment intιgrer paybox ΰ interchange car la > procιdure > > de > > > > billing par default ne me convient pas . > > > > > > > > Je suis ok si on peut travailler ensemble, ca permettra de faire > gagner > > du > > > > temps ΰ tout le monde :) > > > > > > > > Cordialement > > > > David > > > > > > > > ----- Original Message ----- > > > > From: "lamine" <lamine@secan.net> > > > > To: <interchange-users@lists.akopia.com> > > > > Sent: Wednesday, February 28, 2001 9:43 PM > > > > Subject: Re: [ic] French user of interchange ? > > > > > > > > > > > > > Salut; > > > > > Je suis entrain de faire un dιveloppement de e-commerce en franηais > ( > > > > > traduction de interchange si tu veux). > > > > > Fais moi part de tes projets et je vais voir si on peut travailler > en > > > > > collaboration. > > > > > Lamine > > > > > At 17:57 01-02-28 +0100, you wrote: > > > > > >Hi all, > > > > > > > > > > > >Are there french users of akopia who can tell me their experiences > > with > > > > IC ? > > > > > >espacially with the language and price translation. > > > > > > > > > > > >Thanks > > > > > > > > > > > > > > > > > > > > > > > >_______________________________________________ > > > > > >Interchange-users mailing list > > > > > >Interchange-users@lists.akopia.com > > > > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > _______________________________________________ > > > > > Interchange-users mailing list > > > > > Interchange-users@lists.akopia.com > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > _______________________________________________ > > > > Interchange-users mailing list > > > > Interchange-users@lists.akopia.com > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: joachim.richter at usvideocenter.de (joachim.richter ) Date: Thu, 01 Mar 2001 13:54:51 +0100 Subject: [ic] Indexing Dictionary indexing with index although we do believe we put the info about the index in right, interchange will not build index files this is the indexing part of the config.cfg Database products products.txt TAB Database products INDEX xschauspi1:f Database products INDEX xschauspi2:f Database products INDEX xschauspi3:f Database products INDEX description:f Database products INDEX catgry:f Database products INDEX xdult:f Database products INDEX xstuo:f Database userdb userdb.txt TAB Database banner banner.txt TAB Database dvlds dvlds.txt TAB Database dvlds INDEX xschauspi1:f Database dvlds INDEX xschauspi2:f Database dvlds INDEX xschauspi3:f Database dvlds INDEX description:f Database dvlds INDEX catgry:f Database dvlds INDEX xdult:f Database dvlds INDEX xstuo:f ProductFiles products dvlds ClearCache NO PageCache YES SearchCache YES This is what we get, what did we miss ???????????????????? Configuring catalog usmc...Using default DBM database. ConfigDatabase scalar parameter INDEX redefined to 'xschauspi1:f', was category:c. In line 4 of the configuration file 'catalog.cfg': Database products INDEX xschauspi1:f ConfigDatabase scalar parameter INDEX redefined to 'xschauspi2:f', was xschauspi1:f. In line 5 of the configuration file 'catalog.cfg': Database products INDEX xschauspi2:f ConfigDatabase scalar parameter INDEX redefined to 'xschauspi3:f', was xschauspi2:f. In line 6 of the configuration file 'catalog.cfg': Database products INDEX xschauspi3:f ConfigDatabase scalar parameter INDEX redefined to 'description:f', was xschauspi3:f. In line 7 of the configuration file 'catalog.cfg': Database products INDEX description:f ConfigDatabase scalar parameter INDEX redefined to 'category:f', was description:f. In line 8 of the configuration file 'catalog.cfg': Database products INDEX catgry:f ConfigDatabase scalar parameter INDEX redefined to 'xadult:f', was category:f. In line 9 of the configuration file 'catalog.cfg': Database products INDEX xdult:f ConfigDatabase scalar parameter INDEX redefined to 'xstudio:f', was xadult:f. In line 10 of the configuration file 'catalog.cfg': Database products INDEX xstuo:f ConfigDatabase scalar parameter INDEX redefined to 'xschauspi2:f', was xschauspi1:f. In line 13 of the configuration file 'catalog.cfg': Database dvlds INDEX xschauspi2:f ConfigDatabase scalar parameter INDEX redefined to 'xschauspi3:f', was xschauspi2:f. In line 14 of the configuration file 'catalog.cfg': Database dvlds INDEX xschauspi3:f ConfigDatabase scalar parameter INDEX redefined to 'description:f', was xschauspi3:f. In line 15 of the configuration file 'catalog.cfg': Database dvlds INDEX description:f ConfigDatabase scalar parameter INDEX redefined to 'category:f', was description:f. In line 16 of the configuration file 'catalog.cfg': Database dvlds INDEX catgry:f ConfigDatabase scalar parameter INDEX redefined to 'xadult:f', was category:f. In line 17 of the configuration file 'catalog.cfg': Database dvlds INDEX xdult:f ConfigDatabase scalar parameter INDEX redefined to 'xstudio:f', was xadult:f. In line 18 of the configuration file 'catalog.cfg': Database dvlds INDEX xstuo:f thanks 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: tmcalees at discgolfcentral.com (Thomas McAlees ) Date: Thu, 1 Mar 2001 08:30:37 -0500 Subject: [ic] Accessories Problem I recently upgraded from Interchange 4.6.0 to 4.6.3 and I am now having a problem with the [accessories] functionality. I have the following tag in my flypage: ... [accessories [item-code] disc_weight] ... It is properly displaying a list of weights from the products table. However, when I add this product to my basket the selection is not carrying through. I see the list of weights, but the weight selected by the user on the flypage is not selected (the default value is always selected). My basket page has the following code: [if-item-field disc_weight] <font face="Verdana, Arial, Helvetica, sans-serif" size="1">Weight: </font> <FONT SIZE=1>[item-accessories disc_weight]</FONT> [/if-item-field] With 4.6.0 this all worked perfectly. I've searched the mail list archive, but did not find any references specific to the problem I am having. Any help with this problem would be greatly appreciated. Tom McAlees From: robert at ishoptech.com (Robert Trembath ) Date: Thu, 1 Mar 2001 07:35:18 -0600 Subject: [ic] Removing "your online hardware store!" Its in a page in the regions directory. ----- Original Message ----- From: "Kristina Pullon" <kpullon@hotmail.com> To: <interchange-users@lists.akopia.com> Sent: Wednesday, February 28, 2001 6:24 PM Subject: [ic] Removing "your online hardware store!" > i cannot fint where to modify the ", your online hardware store!" line seen > when there is no one logged in. > > please help > > kpullon@hotmail.com > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: chris at vanoosterhout.com (Christopher VanOosterhout ) Date: Thu, 01 Mar 2001 09:22:44 -0500 Subject: [ic] What is that "expires" page I am working to customize the "construct" template store. However I am having a specific problem that causes the expires.html page to appear. Every time I try to buy something from a search list (using the template included as part of "construct" I end up being sent to: http://66.70.15.170/cgi-bin/westerbeke/expired.html with the following message on the page: The requested item (expired) was not found. You can return to browsing our catalog, if you wish. (This is coming from the results.html page) Even though I get this error message, when I go back to check my cart, the product was in fact placed in the cart. The curious thing is that when I come from the single result page (results_big.html) the buy button works correctly. Thanks for any input. Below I have included the source code for what appears to be the problem page (results.html). SOURCE CODE FOR RESULTS.HTML::::: [comment] ui_template: Yes ui_template_name: leftright [/comment] [set bgcolor]#FFFFFF[/set] [set component_right]promo_vertical[/set] [set component_after]cross_horizontal[/set] [set members_only]0[/set] [set component_vsize]4[/set] [set page_banner] [/set] [set vbanner]Specials[/set] [set component_hsize]2[/set] [set hbanner]Also see...[/set] [set component_before][/set] [set hpromo_type]specials[/set] [set page_title]__COMPANY__ -- Search results[/set] [set vpromo_type]specials[/set] @_LEFTRIGHT_TOP_@ <!-- BEGIN CONTENT --> [if scratch did_order] [include file="templates/components/cart_display"] [/if] [set did_order][/set] [search-region] [set munge_quantity] [calc] $Scratch->{did_order} = 1; @q = split /\0/, $CGI->{mv_order_quantity}; for (@q) { next unless length $_; $_ = "=$_"; } @parms = grep /^mv_oi\d+/ && $CGI->{$_}, keys %{$CGI}; # If we have parms, means an individual buy. If we don't # we want to strip empty items unless (@parms) { @i = split "\0", $CGI->{mv_order_item}; for(my $i = 0; $i < @i; $i++) { next if length($q[$i]); $i[$i] = ''; } @i = grep length($_), @i; @q = grep length($_), @q; $CGI_array->{mv_order_quantity} = \@q; $CGI->{mv_order_quantity} = join "\0", @q; $CGI_array->{mv_order_item} = \@i; $CGI->{mv_order_item} = join "\0", @i; return; } my $item = $parms[0]; $item =~ /(\d+)/ or return; my $idx = $1; $idx--; $CGI->{mv_order_item} = $CGI->{$item}; $CGI->{mv_order_quantity} = "$q[$idx]"; return; [/calc] [bounce href="[history-scan exclude=nothing]"] [/set] [tmp cross_sale][value-extended name=mv_searchspec index=0][/tmp] [on-match] <FORM ACTION="[process-target]" METHOD=POST> <INPUT TYPE=hidden NAME="mv_separate_items" VALUE="0"> <INPUT TYPE=hidden NAME="mv_click" VALUE="munge_quantity"> <INPUT TYPE=hidden NAME="mv_doit" VALUE="refresh"> [/on-match] [search-list] [item-change 1][condition][item-field category][/condition] <table width="90%" border="0" cellspacing="0" cellpadding="0" bgcolor="red"> <tr> <td width="10"><img src="navigation/minime1.gif" width="10" height="20" align="top"></td> <td ><font __FFACE__ size="1"><b><i><font color="ffffff" size="2">[either][value banner_t ext][or][item-field category][/either]</font></i></b></font></td> <td width="10"><img src="navigation/minime2.gif" width="10" height="20" align="top"></td> </tr> </table> <table width="90%" border="1" cellspacing="0" cellpadding="0" bordercolor="0099ff"> <tr bgcolor="ffffff" valign="middle"> <td> <table border="0" cellspacing="2" cellpadding="3" bordercolor="#FFFFFF" align="center " width="100%"> <tr> <td width="100" align="center" bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff"> Product</font></td> <td width="30" align="center" bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">S ku</font></td> <td width="30" align="center" bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">S tock</font></td> <td width="30" align="center" bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">P rice</font></td> <td width="30" align="center" bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">Q ty</font></td> <td width="30" align="center" bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">B uy</font></td> </tr> </table> </td></tr> </table> [/item-change 1] <table width="90%" border="1" cellspacing="0" cellpadding="0" bordercolor="0099ff"> <tr bgcolor="ffffff" valign="middle"> <td align=center height="5"> <div align="left"> <table border="0" cellspacing="0" cellpadding="3" bordercolor="#FFFFFF" align="center " width="100%"> <INPUT TYPE=hidden NAME="mv_order_item" VALUE="[item-code]"> <tr> <td valign="top" width="100"><a href="[area [item-code]]"><font __FFACE__ size="1 "><b>[item-description]</b></font></a></td> <td valign="top" width="30"><font __FFACE__ size= "1">[item-code]</font></td> <td valign="top" width="30" align="center">[item- calc] my $q = q{[item-data inventory quantity]}; if($q > 0) { return <<EOF; <font __FFACE__ size="1" color="#008000"><b>Y</b></font> EOF } else { return <<EOF; <a href="[area stock-alert [item-code]]"><font __FFACE__ size="1" color="#FF0000"><b>N</b></font></a> EOF } [/item-calc]</td> <td valign="top" width="30"><font __FFACE__ size= "1">[item-price]</font></td> <td valign=top width=30><input type=hidden name=" mv_oi[item-increment]" value=""><input type=text name=mv_order_quantity size=2 value=""></td> <td valign=top width=30><FONT __FFACE__ size=2><i nput type=submit value=BuyIt onClick="this.form.mv_oi[item-increment].value='[item-code]'"></font></td> </tr> </table> <div align="center"><b><i></i></b></div> </div> </td> </tr> </table> [/search-list] [on-match] <div align=right><INPUT TYPE=submit VALUE="Buy list"> </FORM> [/on-match] [no-match] <BR><BR><BLOCKQUOTE> <font __FFACE__ size="2"> Sorry, no matches for <B>[calc] my $joiner = ' AND '; $joiner = ' OR ' if defined $Search->{''}->{mv_orsearch}[0] and $Search->{''}->{mv_orsearch}[0]; my @str = grep /\D/, @{$Values->{mv_searchspec}}; return join $joiner, @str; [/calc] [if value mv_search_error] <P><B>Errors: <BR> [value-extended name=mv_search_error joiner="<BR>"] </B> [/if] </font> <BR><BR></BLOCKQUOTE> [/no-match] <font __FFACE__ size="2"> <BR CLEAR=LEFT> [more-list] </font> <BLOCKQUOTE> <font __FFACE__ size="2"> Matches [matches] of [match-count] found. <BR>[more]<BR> </font> </BLOCKQUOTE> [/more-list] [/search-region] <!-- END CONTENT --> @_LEFTRIGHT_BOTTOM_@ From: interchange at my-school.com (IC-Admin ) Date: Thu, 1 Mar 2001 11:08:34 -0500 (EST) Subject: [ic] glimpse Search Docu http://glimpse.cs.arizona.edu/ Use google. BF From: interchange at my-school.com (IC-Admin ) Date: Thu, 1 Mar 2001 11:28:56 -0500 (EST) Subject: [ic] mailman feature request: 1st question always returned Dan wrote: > ---- > Before your first post can be sent to the list, you *must* research all > the following materials to see if you question has been asked and > answered before: > 1. FAQ http://... > 2. Docs (searchable) http://... > 3. Mailing list archive (searchable) http://... > Your first post has been returned, if you send it again it will get > through. But please check if it is a FAQ. ---- > If mailman has this feature already it would be nice to have turned > on. If not, someone should take this to the mailman developers. > > Just a thought, Might be a nice idea, but I doubt it would help much. People will start to read the FAQ or Docs and realize there is a lot to read and to comprehend. That's most probably too much for them and they will ask anyway. Just out of experience watching newbies on other lists and groups as well. Birgitt From: mikeh at minivend.com (Mike Heins ) Date: Thu, 1 Mar 2001 11:28:58 -0500 Subject: [ic] Indexing Quoting joachim.richter (joachim.richter@usvideocenter.de): > Dictionary indexing with index > > although we do believe we put the info about the index in right, interchange > will not build index files > > this is the indexing part of the config.cfg > It is a scalar parameter, i.e. can only be defined once. Database products INDEX <<EOF xschauspi1:f xschauspi2:f xschauspi3:f description:f catgry:f xdult:f xstuo:f EOF -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Experience is what allows you to recognize a mistake the second time you make it. -- unknown From: chris at vanoosterhout.com (Christopher VanOosterhout ) Date: Thu, 01 Mar 2001 11:29:28 -0500 Subject: [ic] Buy Button Sending People To Error Page I have reviewed the FAQs and docs for an answer to this ... but I just can not find it. When I click on the buy button ... on the search results page included in the construct demo store my users get sent to an error page: http://66.70.15.170/cgi-bin/westerbeke/expired.html with the following message on the page: The requested item (expired) was not found. You can return to browsing our catalog, if you wish. Here is the code for the page ... anyone have any ideas? SOURCE CODE FOR RESULTS.HTML::::: [comment] ui_template: Yes ui_template_name: leftright [/comment] [set bgcolor]#FFFFFF[/set] [set component_right]promo_vertical[/set] [set component_after]cross_horizontal[/set] [set members_only]0[/set] [set component_vsize]4[/set] [set page_banner] [/set] [set vbanner]Specials[/set] [set component_hsize]2[/set] [set hbanner]Also see...[/set] [set component_before][/set] [set hpromo_type]specials[/set] [set page_title]__COMPANY__ -- Search results[/set] [set vpromo_type]specials[/set] @_LEFTRIGHT_TOP_@ <!-- BEGIN CONTENT --> [if scratch did_order] [include file="templates/components/cart_display"] [/if] [set did_order][/set] [search-region] [set munge_quantity] [calc] $Scratch->{did_order} = 1; @q = split /\0/, $CGI->{mv_order_quantity}; for (@q) { next unless length $_; $_ = "=$_"; } @parms = grep /^mv_oi\d+/ && $CGI->{$_}, keys %{$CGI}; # If we have parms, means an individual buy. If we don't # we want to strip empty items unless (@parms) { @i = split "\0", $CGI->{mv_order_item}; for(my $i = 0; $i < @i; $i++) { next if length($q[$i]); $i[$i] = ''; } @i = grep length($_), @i; @q = grep length($_), @q; $CGI_array->{mv_order_quantity} = \@q; $CGI->{mv_order_quantity} = join "\0", @q; $CGI_array->{mv_order_item} = \@i; $CGI->{mv_order_item} = join "\0", @i; return; } my $item = $parms[0]; $item =~ /(\d+)/ or return; my $idx = $1; $idx--; $CGI->{mv_order_item} = $CGI->{$item}; $CGI->{mv_order_quantity} = "$q[$idx]"; return; [/calc] [bounce href="[history-scan exclude=nothing]"] [/set] [tmp cross_sale][value-extended name=mv_searchspec index=0][/tmp] [on-match] <FORM ACTION="[process-target]" METHOD=POST> <INPUT TYPE=hidden NAME="mv_separate_items" VALUE="0"> <INPUT TYPE=hidden NAME="mv_click" VALUE="munge_quantity"> <INPUT TYPE=hidden NAME="mv_doit" VALUE="refresh"> [/on-match] [search-list] [item-change 1][condition][item-field category][/condition] <table width="90%" border="0" cellspacing="0" cellpadding="0" bgcolor="red"> <tr> <td width="10"><img src="navigation/minime1.gif" width="10" height="20" align="top"></td> <td ><font __FFACE__ size="1"><b><i><font color="ffffff" size="2">[either][value banner_t ext][or][item-field category][/either]</font></i></b></font></td> <td width="10"><img src="navigation/minime2.gif" width="10" height="20" align="top"></td> </tr> </table> <table width="90%" border="1" cellspacing="0" cellpadding="0" bordercolor="0099ff"> <tr bgcolor="ffffff" valign="middle"> <td> <table border="0" cellspacing="2" cellpadding="3" bordercolor="#FFFFFF" align="center " width="100%"> <tr> <td width="100" align="center" bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff"> Product</font></td> <td width="30" align="center" bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">S ku</font></td> <td width="30" align="center" bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">S tock</font></td> <td width="30" align="center" bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">P rice</font></td> <td width="30" align="center" bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">Q ty</font></td> <td width="30" align="center" bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">B uy</font></td> </tr> </table> </td></tr> </table> [/item-change 1] <table width="90%" border="1" cellspacing="0" cellpadding="0" bordercolor="0099ff"> <tr bgcolor="ffffff" valign="middle"> <td align=center height="5"> <div align="left"> <table border="0" cellspacing="0" cellpadding="3" bordercolor="#FFFFFF" align="center " width="100%"> <INPUT TYPE=hidden NAME="mv_order_item" VALUE="[item-code]"> <tr> <td valign="top" width="100"><a href="[area [item-code]]"><font __FFACE__ size="1 "><b>[item-description]</b></font></a></td> <td valign="top" width="30"><font __FFACE__ size= "1">[item-code]</font></td> <td valign="top" width="30" align="center">[item- calc] my $q = q{[item-data inventory quantity]}; if($q > 0) { return <<EOF; <font __FFACE__ size="1" color="#008000"><b>Y</b></font> EOF } else { return <<EOF; <a href="[area stock-alert [item-code]]"><font __FFACE__ size="1" color="#FF0000"><b>N</b></font></a> EOF } [/item-calc]</td> <td valign="top" width="30"><font __FFACE__ size= "1">[item-price]</font></td> <td valign=top width=30><input type=hidden name=" mv_oi[item-increment]" value=""><input type=text name=mv_order_quantity size=2 value=""></td> <td valign=top width=30><FONT __FFACE__ size=2><i nput type=submit value=BuyIt onClick="this.form.mv_oi[item-increment].value='[item-code]'"></font></td> </tr> </table> <div align="center"><b><i></i></b></div> </div> </td> </tr> </table> [/search-list] [on-match] <div align=right><INPUT TYPE=submit VALUE="Buy list"> </FORM> [/on-match] [no-match] <BR><BR><BLOCKQUOTE> <font __FFACE__ size="2"> Sorry, no matches for <B>[calc] my $joiner = ' AND '; $joiner = ' OR ' if defined $Search->{''}->{mv_orsearch}[0] and $Search->{''}->{mv_orsearch}[0]; my @str = grep /\D/, @{$Values->{mv_searchspec}}; return join $joiner, @str; [/calc] [if value mv_search_error] <P><B>Errors: <BR> [value-extended name=mv_search_error joiner="<BR>"] </B> [/if] </font> <BR><BR></BLOCKQUOTE> [/no-match] <font __FFACE__ size="2"> <BR CLEAR=LEFT> [more-list] </font> <BLOCKQUOTE> <font __FFACE__ size="2"> Matches [matches] of [match-count] found. <BR>[more]<BR> </font> </BLOCKQUOTE> [/more-list] [/search-region] <!-- END CONTENT --> @_LEFTRIGHT_BOTTOM_@ From: ken at desktech.com (Ken Dailey ) Date: Thu, 1 Mar 2001 10:45:41 -0600 Subject: [ic] order reporting & purchase orders I am still unable to get orders that are placed with the Purchase Order option to show up on the Order report or the Customer report in the Admin area of the Construct demo. After looking in error.log and logs/log I found several errors. After taking Dan B's advice of setting NoAbsolute to No in the .cfg, I got rid of the error: {IP, DATE, TIME} construct /construct/construct.cgi/admin/genconfig Can't read file '/home/dtdemo/catalogs/construct/etc/status.construct' with NoAbsolute set However, I am still having having the problem with the Purchase Orders. In logs/log I am getting this message for all purchase orders: #### begin 000004 ##### There was an error adding to the transaction log. Logout auto-created user: 1 #### end 000004 ##### Sending email copy of order 000004 to ken@desktech.com: 1 And this message in error.log: {IP, DATE, TIME} construct /construct/construct.cgi/process.html Attempt to set userdb::password::U00005 in read-only table I also get this message in the error log when I first choose to checkout the shopping cart: {IP, DATE, TIME} construct /construct/construct.cgi/ord/checkout.html search error: Limit subroutine creation: bad limit creation code in coordinated search, probably search group without search specification. at /home/dtdemo/interchange/lib/Vend/Search.pm line 703. Any more ideas? Ken Dailey <ken@desktech.com> 612.825.0999 DeskTech Computer & Internet Services <http://www.desktech.com> From: edl at newmediaems.com (Ed LaFrance ) Date: Thu, 01 Mar 2001 09:09:56 -0800 Subject: [ic] [if scratch...] At 08:01 PM 02/28/2001 -0800, you wrote: >Hi, > >I am trying to compare scratch values in an if/elsif statement, and >tried the following code. I cannot get this to work. What I am trying do >to is get the results of a loop search to organize into two columns. The >first section is a loop to count the number of items in a list. if I >replace the '[scratch count1]' variable with a number, this works fine, >it just doesnt seem to recognise the [scratch] tag as part of the IF tag >evaluation. Can anybody help me out. > >[loop.....] >[seti count1][calc][scratch count1] + 1[/calc][/seti] >[/loop] >[seti count1][calc][scratch count1] / 2[/calc][/seti] >[seti count][/seti] ><table><tr><td> >[loop ....] >[seti count][calc][scratch count] + 1[/calc][/seti] >[if scratch count < [scratch count1]] [loop-code]<br> >[elsif scratch count == [scratch count1]] [loop-code]<br></td><td> >[/elsif] >[/else] [loop-code]<br>[/else][/if] >[/loop] ></td></tr></table> > >Thanks In these situations it is best to used the named syntax for the [if..]: [if type="scratch" term="count" op="<" compare="[scratch count1]"] .. [elsif type="scratch term="count" op="==" compare="[scratch count1]"] ... [/elsif] [else]...[/else] [/if] BTW - Have you looked into [loop-alternate]? You could simplify this code considerably. [if..]'s in looping code can slow page load time dramantically. - Ed L. From: edl at newmediaems.com (Ed LaFrance ) Date: Thu, 01 Mar 2001 09:16:34 -0800 Subject: [ic] Indexing At 01:54 PM 03/01/2001 +0100, you wrote: >Dictionary indexing with index > >although we do believe we put the info about the index in right, >interchange will not build index files > >this is the indexing part of the config.cfg > >Database products products.txt TAB >Database products INDEX xschauspi1:f >Database products INDEX xschauspi2:f >Database products INDEX xschauspi3:f >Database products INDEX description:f >Database products INDEX catgry:f >Database products INDEX xdult:f >Database products INDEX xstuo:f >Database userdb userdb.txt TAB >Database banner banner.txt TAB >Database dvlds dvlds.txt TAB >Database dvlds INDEX xschauspi1:f >Database dvlds INDEX xschauspi2:f >Database dvlds INDEX xschauspi3:f >Database dvlds INDEX description:f >Database dvlds INDEX catgry:f >Database dvlds INDEX xdult:f >Database dvlds INDEX xstuo:f > >ProductFiles products dvlds >ClearCache NO >PageCache YES >SearchCache YES > > >This is what we get, what did we miss ???????????????????? > > >Configuring catalog usmc...Using default DBM database. >ConfigDatabase scalar parameter INDEX redefined to 'xschauspi1:f', was >category:c. >In line 4 of the configuration file 'catalog.cfg': >Database products INDEX xschauspi1:f > >ConfigDatabase scalar parameter INDEX redefined to 'xschauspi2:f', was >xschauspi1:f. >In line 5 of the configuration file 'catalog.cfg': >Database products INDEX xschauspi2:f > >ConfigDatabase scalar parameter INDEX redefined to 'xschauspi3:f', was >xschauspi2:f. >In line 6 of the configuration file 'catalog.cfg': >Database products INDEX xschauspi3:f > >ConfigDatabase scalar parameter INDEX redefined to 'description:f', was >xschauspi3:f. >In line 7 of the configuration file 'catalog.cfg': >Database products INDEX description:f > >ConfigDatabase scalar parameter INDEX redefined to 'category:f', was >description:f. >In line 8 of the configuration file 'catalog.cfg': >Database products INDEX catgry:f > >ConfigDatabase scalar parameter INDEX redefined to 'xadult:f', was category:f. >In line 9 of the configuration file 'catalog.cfg': >Database products INDEX xdult:f > >ConfigDatabase scalar parameter INDEX redefined to 'xstudio:f', was xadult:f. >In line 10 of the configuration file 'catalog.cfg': >Database products INDEX xstuo:f > >ConfigDatabase scalar parameter INDEX redefined to 'xschauspi2:f', was >xschauspi1:f. >In line 13 of the configuration file 'catalog.cfg': >Database dvlds INDEX xschauspi2:f > >ConfigDatabase scalar parameter INDEX redefined to 'xschauspi3:f', was >xschauspi2:f. >In line 14 of the configuration file 'catalog.cfg': >Database dvlds INDEX xschauspi3:f > >ConfigDatabase scalar parameter INDEX redefined to 'description:f', was >xschauspi3:f. >In line 15 of the configuration file 'catalog.cfg': >Database dvlds INDEX description:f > >ConfigDatabase scalar parameter INDEX redefined to 'category:f', was >description:f. >In line 16 of the configuration file 'catalog.cfg': >Database dvlds INDEX catgry:f > >ConfigDatabase scalar parameter INDEX redefined to 'xadult:f', was category:f. >In line 17 of the configuration file 'catalog.cfg': >Database dvlds INDEX xdult:f > >ConfigDatabase scalar parameter INDEX redefined to 'xstudio:f', was xadult:f. >In line 18 of the configuration file 'catalog.cfg': >Database dvlds INDEX xstuo:f > > > >thanks guys > >joe I believe you need to specify all the indexes for a file in one entry: Database filename INDEX field_1 field_2 field_3 field_4 field_5 #... etcetra - ed L. From: mat at booksellersolutions.com (Mat Jones - booksellersolutions.com ) Date: Thu, 1 Mar 2001 09:34:32 -0800 Subject: [ic] [if scratch...] I tried both methods you suggested, but it still didnt read the [scratch count1] variable. With the loop-alternate it just printed [loop-alternate [scratch count1]] to the screen. Any other suggestions? Thanks Mat ----- Original Message ----- From: "Ed LaFrance" <edl@newmediaems.com> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 01, 2001 9:09 AM Subject: Re: [ic] [if scratch...] > At 08:01 PM 02/28/2001 -0800, you wrote: > >Hi, > > > >I am trying to compare scratch values in an if/elsif statement, and > >tried the following code. I cannot get this to work. What I am trying do > >to is get the results of a loop search to organize into two columns. The > >first section is a loop to count the number of items in a list. if I > >replace the '[scratch count1]' variable with a number, this works fine, > >it just doesnt seem to recognise the [scratch] tag as part of the IF tag > >evaluation. Can anybody help me out. > > > >[loop.....] > >[seti count1][calc][scratch count1] + 1[/calc][/seti] > >[/loop] > >[seti count1][calc][scratch count1] / 2[/calc][/seti] > >[seti count][/seti] > ><table><tr><td> > >[loop ....] > >[seti count][calc][scratch count] + 1[/calc][/seti] > >[if scratch count < [scratch count1]] [loop-code]<br> > >[elsif scratch count == [scratch count1]] [loop-code]<br></td><td> > >[/elsif] > >[/else] [loop-code]<br>[/else][/if] > >[/loop] > ></td></tr></table> > > > >Thanks > > In these situations it is best to used the named syntax for the [if..]: > > [if type="scratch" term="count" op="<" compare="[scratch count1]"] > .. > [elsif type="scratch term="count" op="==" compare="[scratch count1]"] > ... > [/elsif] > [else]...[/else] > [/if] > > BTW - Have you looked into [loop-alternate]? You could simplify this code > considerably. [if..]'s in looping code can slow page load time dramantically. > > - Ed L. > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: alex at integricity.com (Alex Lam ) Date: Fri, 2 Mar 2001 01:53:47 +0800 Subject: [ic] Limiting access to backend Is the entire Access feature working totally? I'm trying to set the permissions for store admins but am rather confused at the number of check boxes with various permissions set. Can anyone help me with giving pointers on whether the access feature it is fully functional ? Thanks. From: edl at newmediaems.com (Ed LaFrance ) Date: Thu, 01 Mar 2001 09:52:48 -0800 Subject: [ic] [if scratch...] At 09:34 AM 03/01/2001 -0800, you wrote: >I tried both methods you suggested, but it still didnt read the [scratch >count1] variable. >With the loop-alternate it just printed [loop-alternate [scratch count1]] to >the screen. >Any other suggestions? > >Thanks > >Mat Yes: read the docs for [loop-alternate] usage. Put [scratch count] and [scratch count1] on your page, inside and outside both loops, so you can see what the contain at each step, and is it what you expect? Use some troubleshooting techniques. - Ed L. >----- Original Message ----- >From: "Ed LaFrance" <edl@newmediaems.com> >To: <interchange-users@lists.akopia.com> >Sent: Thursday, March 01, 2001 9:09 AM >Subject: Re: [ic] [if scratch...] > > > > At 08:01 PM 02/28/2001 -0800, you wrote: > > >Hi, > > > > > >I am trying to compare scratch values in an if/elsif statement, and > > >tried the following code. I cannot get this to work. What I am trying do > > >to is get the results of a loop search to organize into two columns. The > > >first section is a loop to count the number of items in a list. if I > > >replace the '[scratch count1]' variable with a number, this works fine, > > >it just doesnt seem to recognise the [scratch] tag as part of the IF tag > > >evaluation. Can anybody help me out. > > > > > >[loop.....] > > >[seti count1][calc][scratch count1] + 1[/calc][/seti] > > >[/loop] > > >[seti count1][calc][scratch count1] / 2[/calc][/seti] > > >[seti count][/seti] > > ><table><tr><td> > > >[loop ....] > > >[seti count][calc][scratch count] + 1[/calc][/seti] > > >[if scratch count < [scratch count1]] [loop-code]<br> > > >[elsif scratch count == [scratch count1]] [loop-code]<br></td><td> > > >[/elsif] > > >[/else] [loop-code]<br>[/else][/if] > > >[/loop] > > ></td></tr></table> > > > > > >Thanks > > > > In these situations it is best to used the named syntax for the [if..]: > > > > [if type="scratch" term="count" op="<" compare="[scratch count1]"] > > .. > > [elsif type="scratch term="count" op="==" compare="[scratch count1]"] > > ... > > [/elsif] > > [else]...[/else] > > [/if] > > > > BTW - Have you looked into [loop-alternate]? You could simplify this code > > considerably. [if..]'s in looping code can slow page load time >dramantically. > > > > - Ed L. > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users From: mat at booksellersolutions.com (Mat Jones - booksellersolutions.com ) Date: Thu, 1 Mar 2001 10:10:09 -0800 Subject: [ic] [if scratch...] I was trouble shooting for 2 hours yesterday. I printed the value of scratch count1 to the page which was 30. When I replaced the [scratch count1] with a real number e.g [loop-alternate 30] instead of [loop-alternate [scratch count1]] it worked fine... just doesnt seem to like the [scratch] variables within loop alternate. ----- Original Message ----- From: "Ed LaFrance" <edl@newmediaems.com> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 01, 2001 9:52 AM Subject: Re: [ic] [if scratch...] > At 09:34 AM 03/01/2001 -0800, you wrote: > >I tried both methods you suggested, but it still didnt read the [scratch > >count1] variable. > >With the loop-alternate it just printed [loop-alternate [scratch count1]] to > >the screen. > >Any other suggestions? > > > >Thanks > > > >Mat > > Yes: read the docs for [loop-alternate] usage. Put [scratch count] and > [scratch count1] on your page, inside and outside both loops, so you can > see what the contain at each step, and is it what you expect? Use some > troubleshooting techniques. > > - Ed L. > > > > > > >----- Original Message ----- > >From: "Ed LaFrance" <edl@newmediaems.com> > >To: <interchange-users@lists.akopia.com> > >Sent: Thursday, March 01, 2001 9:09 AM > >Subject: Re: [ic] [if scratch...] > > > > > > > At 08:01 PM 02/28/2001 -0800, you wrote: > > > >Hi, > > > > > > > >I am trying to compare scratch values in an if/elsif statement, and > > > >tried the following code. I cannot get this to work. What I am trying do > > > >to is get the results of a loop search to organize into two columns. The > > > >first section is a loop to count the number of items in a list. if I > > > >replace the '[scratch count1]' variable with a number, this works fine, > > > >it just doesnt seem to recognise the [scratch] tag as part of the IF tag > > > >evaluation. Can anybody help me out. > > > > > > > >[loop.....] > > > >[seti count1][calc][scratch count1] + 1[/calc][/seti] > > > >[/loop] > > > >[seti count1][calc][scratch count1] / 2[/calc][/seti] > > > >[seti count][/seti] > > > ><table><tr><td> > > > >[loop ....] > > > >[seti count][calc][scratch count] + 1[/calc][/seti] > > > >[if scratch count < [scratch count1]] [loop-code]<br> > > > >[elsif scratch count == [scratch count1]] [loop-code]<br></td><td> > > > >[/elsif] > > > >[/else] [loop-code]<br>[/else][/if] > > > >[/loop] > > > ></td></tr></table> > > > > > > > >Thanks > > > > > > In these situations it is best to used the named syntax for the [if..]: > > > > > > [if type="scratch" term="count" op="<" compare="[scratch count1]"] > > > .. > > > [elsif type="scratch term="count" op="==" compare="[scratch count1]"] > > > ... > > > [/elsif] > > > [else]...[/else] > > > [/if] > > > > > > BTW - Have you looked into [loop-alternate]? You could simplify this code > > > considerably. [if..]'s in looping code can slow page load time > >dramantically. > > > > > > - Ed L. > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > >_______________________________________________ > >Interchange-users mailing list > >Interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: markj at redhat.com (Mark Johnson ) Date: Thu, 01 Mar 2001 13:25:42 -0500 Subject: [ic] [if scratch...] Any sort of complexity in evaluating a conditional should be done explicitly: [if type=explicit condition="[calc]$Scratch->{count} < $Scratch->{count1} [/calc]"]Do something [elsif type=explicit condition="[calc]$Scratch->{count} == $Scratch->{count1} [/calc]"]Do something else [/elsif] [else]Do default [/else] [/if] "Mat Jones - booksellersolutions.com" wrote: > > I tried both methods you suggested, but it still didnt read the [scratch > count1] variable. > With the loop-alternate it just printed [loop-alternate [scratch count1]] to > the screen. > Any other suggestions? > > Thanks > > Mat -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: markj at redhat.com (Mark Johnson ) Date: Thu, 01 Mar 2001 13:28:30 -0500 Subject: [ic] [if scratch...] "Mat Jones - booksellersolutions.com" wrote: > > I was trouble shooting for 2 hours yesterday. I printed the value of scratch > count1 to the page which was 30. When I replaced the [scratch count1] with > a real number e.g [loop-alternate 30] instead of [loop-alternate [scratch > count1]] it worked fine... just doesnt seem to like the [scratch] variables > within loop alternate. > Interpolation order is catching you. You can't do what you're trying to do. [loop-alternate [scratch foobar]] will try to evaluate the literal string '[scratch foobar]' because the [loop-..] tags parse *completely* first, then the resulting output is reparsed, at which point [scratch foobar] would interpolate. -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: nickychips at yahoo.com (Nick Ohanian ) Date: Thu, 1 Mar 2001 10:25:35 -0800 Subject: [ic] RE: newbie question: subroutines > At 07:24 PM 2/28/2001 -0800, you wrote: > >Hi- > > I'm having trouble getting local subroutines to work > all. I seem > > to be > >defining them correctly in catalog.cfg, but they appear to not be running > >when called from [perl] tag in a page. Are they any special > configurations > >settings that I should be aware of? Any suggestions as to why > this could be > >happening? > > But they do work when you define them globally in interchange.cfg? > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > End of Interchange-users Digest No, global subroutines don't seem to be working either. Any suggestions? Thanks again, Nick nickychips@yahoo.com _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: markj at redhat.com (Mark Johnson ) Date: Thu, 01 Mar 2001 13:33:20 -0500 Subject: [ic] RE: newbie question: subroutines With no more information than you've provided, there's little hope of anyone helping you. Try to post some examples of a sub that doesn't work and where/how you're calling it in a page. Nick Ohanian wrote: > > > At 07:24 PM 2/28/2001 -0800, you wrote: > > >Hi- > > > I'm having trouble getting local subroutines to work > > all. I seem > > > to be > > >defining them correctly in catalog.cfg, but they appear to not be running > > >when called from [perl] tag in a page. Are they any special > > configurations > > >settings that I should be aware of? Any suggestions as to why > > this could be > > >happening? > > > > But they do work when you define them globally in interchange.cfg? > > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > > End of Interchange-users Digest > > No, global subroutines don't seem to be working either. Any suggestions? > > Thanks again, > Nick > nickychips@yahoo.com > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: bruno at digi-land.com (Bruno Cantieni, Digital Landscape ) Date: Thu, 1 Mar 2001 13:53:59 -0500 Subject: [ic] Multi store administration We are planning to use IC to run multiple stores. Single server, individual domains, virtually hosted, probably but not necessarily using MySql. (We have test stores successfully running with internal and MySql db's). We setup and maintain the stores and content for the vendors/clients. The remuneration model is commission based. We get a commission on each completed sale/transaction by any of the stores/vendors. Scenario 1 (what we are doing now): In order to track commissions earned, we allow each of the vendors to mange their own orders but do not allow them to delete orders from the database. We log on to each store once a month, download all the orders, calculate commissions offline and delete completed orders subsequently. Scenario 2 (what we would like to do): Similar to above but mirror all the orders from all the stores in a separate database so we don't have to log on to each store/catalog separately. This "consolidated" order database is not accessible by the individual store owners but should reflect any changes the store owners make to their own order databases (e.g. order status). Once we have our commission numbers, we delete the completed/fulfilled orders from the "consolidated" database and this process should then automatically delete the corresponding order from the appropriate vendor database. Scenario 3 (just fishing): All the vendors share a common order database but can view/edit/mange only their own store specific orders (via some vendor ID field/identifier?). If there are no security issues with this approach, it might be the most elegant. Is anyone doing anything similar? Is there an altogether better way? And how would one implement such a solution in IC? (IC 4.6.3 / Apache / RH Linux7) Thanks in advance for any tips or advice. Bruno Cantieni Digital Landscape From: db at cyclonehq.dnsalias.net (Dan B ) Date: Thu, 01 Mar 2001 10:57:06 -0800 Subject: [ic] mailman feature request: 1st question always returned At 08:44 AM 3/1/2001 +0100, Hans-Joachim Leidinger wrote: >Dan B wrote: > > > > Idea (due to all the FAQ asked on this list): > > > > The first time a new subscribe posts to the list, the post is blocked and > > returned to sender, with the following text: > > > > ---- > > Before your first post can be sent to the list, you *must* research all the > > following materials to see if you question has been asked and answered > before: > > 1. FAQ http://... > > 2. Docs (searchable) http://... > > 3. Mailing list archive (searchable) http://... > > Your first post has been returned, if you send it again it will get > > through. But please check if it is a FAQ. > > ---- > > > > If mailman has this feature already it would be nice to have turned on. If > > not, someone should take this to the mailman developers. > > > > Just a thought, > >Hmmm...this is a idea, but if some MV/IC-Guru has a question and didn't >find any answer from docs, archives, etc....should he or she always post >his questions two times? Nah. >Or what do you mean with "first post"? Only the first time they have posted (only once after subscribing). From then on, we assume they got the message and will check those resources first. I've noticed that about 30-50% of the traffic is FAQ. Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Thu, 01 Mar 2001 11:01:20 -0800 Subject: [ic] What is that "expires" page At 09:22 AM 3/1/2001 -0500, you wrote: >I am working to customize the "construct" template store. > >However I am having a specific problem that causes the expires.html page >to appear. Every time I try to buy something from a search list (using >the template included as part of "construct" I end up being sent to: >http://66.70.15.170/cgi-bin/westerbeke/expired.html with the following >message on the page: > >The requested item (expired) was not found. You can return to browsing our >catalog, if you wish. > >(This is coming from the results.html page) Even though I get this error >message, when I go back to check my cart, the product was in fact placed >in the cart. > >The curious thing is that when I come from the single result page >(results_big.html) the buy button works correctly. > >Thanks for any input. Below I have included the source code for what >appears to be the problem page (results.html). Well, since you said "any" input, I can mention it: Do you get anything in error.log? (catalog/error.log and interchange/error.log) Sounds like a fun problem, though. At least you aren't bored. -Dan >SOURCE CODE FOR RESULTS.HTML::::: > >[comment] >ui_template: Yes >ui_template_name: leftright >[/comment] > >[set bgcolor]#FFFFFF[/set] >[set component_right]promo_vertical[/set] >[set component_after]cross_horizontal[/set] >[set members_only]0[/set] >[set component_vsize]4[/set] >[set page_banner] [/set] >[set vbanner]Specials[/set] >[set component_hsize]2[/set] >[set hbanner]Also see...[/set] >[set component_before][/set] >[set hpromo_type]specials[/set] >[set page_title]__COMPANY__ -- Search results[/set] >[set vpromo_type]specials[/set] >@_LEFTRIGHT_TOP_@ > ><!-- BEGIN CONTENT --> >[if scratch did_order] >[include file="templates/components/cart_display"] >[/if] >[set did_order][/set] >[search-region] >[set munge_quantity] >[calc] > $Scratch->{did_order} = 1; > @q = split /\0/, $CGI->{mv_order_quantity}; > for (@q) { > next unless length $_; > $_ = "=$_"; > } > @parms = grep /^mv_oi\d+/ && $CGI->{$_}, keys %{$CGI}; > > # If we have parms, means an individual buy. If we don't > # we want to strip empty items > unless (@parms) { > @i = split "\0", $CGI->{mv_order_item}; > for(my $i = 0; $i < @i; $i++) { > next if length($q[$i]); > $i[$i] = ''; > } > @i = grep length($_), @i; > @q = grep length($_), @q; > $CGI_array->{mv_order_quantity} = \@q; > $CGI->{mv_order_quantity} = join "\0", @q; > $CGI_array->{mv_order_item} = \@i; > $CGI->{mv_order_item} = join "\0", @i; > return; > } > my $item = $parms[0]; > $item =~ /(\d+)/ or return; > my $idx = $1; > $idx--; > $CGI->{mv_order_item} = $CGI->{$item}; > $CGI->{mv_order_quantity} = "$q[$idx]"; > return; >[/calc] > [bounce href="[history-scan exclude=nothing]"] >[/set] >[tmp cross_sale][value-extended name=mv_searchspec index=0][/tmp] > >[on-match] ><FORM ACTION="[process-target]" METHOD=POST> ><INPUT TYPE=hidden NAME="mv_separate_items" VALUE="0"> ><INPUT TYPE=hidden NAME="mv_click" VALUE="munge_quantity"> ><INPUT TYPE=hidden NAME="mv_doit" VALUE="refresh"> >[/on-match] > >[search-list] > >[item-change 1][condition][item-field category][/condition] > <table width="90%" border="0" cellspacing="0" > cellpadding="0" bgcolor="red"> > <tr> > <td width="10"><img src="navigation/minime1.gif" > width="10" height="20" align="top"></td> > <td ><font __FFACE__ size="1"><b><i><font > color="ffffff" size="2">[either][value banner_t >ext][or][item-field category][/either]</font></i></b></font></td> > <td width="10"><img src="navigation/minime2.gif" > width="10" height="20" align="top"></td> > </tr> > </table> > > <table width="90%" border="1" cellspacing="0" > cellpadding="0" bordercolor="0099ff"> > <tr bgcolor="ffffff" valign="middle"> > <td> > <table border="0" cellspacing="2" > cellpadding="3" bordercolor="#FFFFFF" align="center >" width="100%"> > <tr> > <td width="100" align="center" > bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff"> >Product</font></td> > <td width="30" align="center" > bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">S >ku</font></td> > <td width="30" align="center" > bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">S >tock</font></td> > <td width="30" align="center" > bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">P >rice</font></td> > <td width="30" align="center" > bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">Q >ty</font></td> > <td width="30" align="center" > bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">B >uy</font></td> > </tr> > </table> > </td></tr> > </table> > >[/item-change 1] > > <table width="90%" border="1" cellspacing="0" > cellpadding="0" bordercolor="0099ff"> > <tr bgcolor="ffffff" valign="middle"> > <td align=center height="5"> > <div align="left"> > <table border="0" cellspacing="0" > cellpadding="3" bordercolor="#FFFFFF" align="center >" width="100%"> > ><INPUT TYPE=hidden NAME="mv_order_item" VALUE="[item-code]"> > > <tr> > <td valign="top" width="100"><a > href="[area [item-code]]"><font __FFACE__ size="1 >"><b>[item-description]</b></font></a></td> > <td > valign="top" width="30"><font __FFACE__ size= >"1">[item-code]</font></td> > <td > valign="top" width="30" align="center">[item- >calc] > my $q = q{[item-data inventory quantity]}; > if($q > 0) { > return <<EOF; ><font __FFACE__ size="1" color="#008000"><b>Y</b></font> >EOF > } > else { > return <<EOF; ><a href="[area stock-alert [item-code]]"><font __FFACE__ size="1" >color="#FF0000"><b>N</b></font></a> >EOF > } >[/item-calc]</td> > <td > valign="top" width="30"><font __FFACE__ size= >"1">[item-price]</font></td> > <td > valign=top width=30><input type=hidden name=" >mv_oi[item-increment]" value=""><input type=text name=mv_order_quantity >size=2 value=""></td> > <td > valign=top width=30><FONT __FFACE__ size=2><i >nput type=submit value=BuyIt >onClick="this.form.mv_oi[item-increment].value='[item-code]'"></font></td> > > > > </tr> > </table> > <div align="center"><b><i></i></b></div> > </div> > </td> > </tr> > </table> > >[/search-list] >[on-match] ><div align=right><INPUT TYPE=submit VALUE="Buy list"> ></FORM> >[/on-match] > >[no-match] ><BR><BR><BLOCKQUOTE> ><font __FFACE__ size="2"> >Sorry, no matches for <B>[calc] > my $joiner = ' AND '; > $joiner = ' OR ' if > defined > $Search->{''}->{mv_orsearch}[0] > and $Search->{''}->{mv_orsearch}[0]; > my @str = grep /\D/, @{$Values->{mv_searchspec}}; > return join $joiner, @str; > [/calc] >[if value mv_search_error] ><P><B>Errors: ><BR> [value-extended name=mv_search_error joiner="<BR>"] ></B> >[/if] ></font> ><BR><BR></BLOCKQUOTE> >[/no-match] ><font __FFACE__ size="2"> ><BR CLEAR=LEFT> >[more-list] ></font> ><BLOCKQUOTE> ><font __FFACE__ size="2"> >Matches [matches] of [match-count] found. ><BR>[more]<BR> ></font> ></BLOCKQUOTE> >[/more-list] > >[/search-region] ><!-- END CONTENT --> > >@_LEFTRIGHT_BOTTOM_@ > > > > > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: mikeofholmes at hotmail.com (Mike Holmes ) Date: Thu, 01 Mar 2001 11:02:50 -0800 Subject: [ic] sort problem using more Hello list, I am trying to sort a results list using a field in the products table called seq. The following code works, except if there are more than 10 products to be listed they get broken up by the "more" and seem to be ordered one page at a time not all of the results. That is the first 10 results will be alphabetized, and then the next 10 will be alphabetized and so on, but it does not take all say 30 results alphabetized them by "field seq" and display them 10 at a time. [search-region more=1 search=" ra=yes st=sql sq=[scratch query] ml=10 tf=seq "] [search-list] Thanks Michael Holmes _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: chris at vanoosterhout.com (Christopher VanOosterhout ) Date: Thu, 01 Mar 2001 14:21:52 -0500 Subject: [ic] Support and Training Options for Interchange Greetings, Can anyone tell me who may provide support / training for Interchange. I do not want to contract out the set up of our store ... because I really do want to learn this stuff. However there have been times when I have a question that this list just can not seem to answer. So I am wondering if there is anyone out there who provides the type of support where I can say ... hey this is my problem, don't fix it for me, but tell me what is going on here so I can know how to fix it in the future. Christopher VanOosterhout From: znanie at best.com (Kirill Sapelkin ) Date: Thu, 01 Mar 2001 11:56:56 +0000 Subject: [ic] loop-code, loop-field Selection question: OPTION VALUE [loop-code] selects, [loop-field name] doesn't This is from the simple demo. The category selection (code below) seems to look for the first field in the cat.txt file and select it. Later the simple demo searchs the products file for items belonging to the category selected from cat. The problem seems to be that the field selected in cat and searched for in products does not exist in products. The "name" field does. When I change <OPTION VALUE="[loop-code]">[loop-data cat name] to: <OPTION VALUE="[loop-field name]">[loop-data cat name] all categories are returned. Maybe OPTION VALUE is left with the previously assigned value: "" I can add the "code" field to products or change the "code" field in cat to match a field in products to make the search work right but neither is really satisfactory. What I would like to do is to make OPTION VALUE be the "name" and not the "code" field. Code follows: <OPTION VALUE="">All categories __TIMED_CATOPT__ [loop search="fi=cat.txt/ra=yes/un=yes"] <OPTION VALUE="[loop-code]">[loop-data cat name] [/loop] __END_TIMED__ </SELECT> cat.txt follows: code sel name which_page sort display_type image image_prop banner_image banner_text link_type url tab page search selector link_template O1 O1 Abstract 00 Abstract Gallery simple products category=Abstract O2 O1 Expressionists 00 Expressionist Gallery simple products category=Expressionists O3 O1 Impressionists 00 simple products category=Impressionists O4 O1 Americana 00 Americana Gallery simple products category=Americana O5 O1 Renaissance 00 simple products category=Renaissance O6 O1 Surrealists 00 name Surrealist Gallery complex products fi=products st=db co=1 sf=category se=Surrealists op=eq nu=0 ml=5 tf=artist to=x category=Surrealists O7 O3 MOMA -1 external http://www.moma.org products O8 O3 Museum of Bad Art 02 external http://glyphs.com/moba/ products O9 O3 Artchive 00 external http://www.artchive.com products fi=products co=1 sf=title se=y op=rm nu=0 su=1 ml=50 O10 O2 Documentation 00 Interchange Documentation simple products category=docs O11 O2 T-Shirts 00 Wearables simple http://store.steppenwolf.com products category=shirts Kirill Sapelkin znanie@best.com From: lamine at secan.net (lamine ) Date: Thu, 01 Mar 2001 15:04:40 -0500 Subject: [ic] French user of interchange ? Salut les amis Comme je disait dans mon message prιcιdent, je suis prιs ΰ travail avec tout le monde dans un exprit d'entreaide. Donc si nous avons des questions, nous ne devons les poser en expιrants y avoir des rιponses. Pour rιpoindre ΰ vos questions, Je trouve qu'il est trιs facile de faire la traduction de Interchange (boutique) en franηais. Pour le moment c'est dans ce sens que je travaille pour mon ecommerce. Par la divise que croix qu'il est ιgalement de la mettre en FF quoi que j'utilise le dollars canadien. Bonne chance Lamine At 10:33 01-03-01 +0100, you wrote: >Enfin des franηais... >Ils sont rares... >Voici prθs d'un an que je travail avec Minivend puis Interchange... >Si vous souhaitez un coup de main ou des ιchanges... >Je ne suis toujours pas un expert mais bon... >a++ > >Alban > >----- Original Message ----- >From: David Bordas <bordas@jeuxvideo.com> >To: <interchange-users@lists.akopia.com> >Sent: Thursday, March 01, 2001 8:24 AM >Subject: Fw: [ic] French user of interchange ? > > > > Bonjour, > > > > C'est sympa de ne pas κtre tout seul, je suis aussi en train de regarder > > pour traduire interchange avec gestion des 2 monnaies Franc et euro . > > > > Je regarde aussi comment intιgrer paybox ΰ interchange car la procιdure de > > billing par default ne me convient pas . > > > > Je suis ok si on peut travailler ensemble, ca permettra de faire gagner du > > temps ΰ tout le monde :) > > > > Cordialement > > David > > > > ----- Original Message ----- > > From: "lamine" <lamine@secan.net> > > To: <interchange-users@lists.akopia.com> > > Sent: Wednesday, February 28, 2001 9:43 PM > > Subject: Re: [ic] French user of interchange ? > > > > > > > Salut; > > > Je suis entrain de faire un dιveloppement de e-commerce en franηais ( > > > traduction de interchange si tu veux). > > > Fais moi part de tes projets et je vais voir si on peut travailler en > > > collaboration. > > > Lamine > > > At 17:57 01-02-28 +0100, you wrote: > > > >Hi all, > > > > > > > >Are there french users of akopia who can tell me their experiences with > > IC ? > > > >espacially with the language and price translation. > > > > > > > >Thanks > > > > > > > > > > > > > > > >_______________________________________________ > > > >Interchange-users mailing list > > > >Interchange-users@lists.akopia.com > > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users From: cpi at accxs.net (ACC&S ) Date: Thu, 1 Mar 2001 21:04:47 +0100 Subject: [ic] French user of interchange ? Nous avons dιjΰ bien commencι les ιchanges... n'est-ce pas David... Nous nous sommes dit qu'il ιtait peut κtre gιnant d'ιchanger directement sur la ML d'interchange puisque nous parlons en franηais... et avons directement ιchanger par mail... donc peut κtre a ++ ----- Original Message ----- From: lamine <lamine@secan.net> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 01, 2001 9:04 PM Subject: Re: [ic] French user of interchange ? > Salut les amis > Comme je disait dans mon message prιcιdent, je suis prιs ΰ travail avec > tout le monde dans un exprit d'entreaide. Donc si nous avons des > questions, nous ne devons les poser en expιrants y avoir des rιponses. > > Pour rιpoindre ΰ vos questions, > Je trouve qu'il est trιs facile de faire la traduction de Interchange > (boutique) en franηais. Pour le moment c'est dans ce sens que je travaille > pour mon ecommerce. > Par la divise que croix qu'il est ιgalement de la mettre en FF quoi que > j'utilise le dollars canadien. > Bonne chance > Lamine > At 10:33 01-03-01 +0100, you wrote: > >Enfin des franηais... > >Ils sont rares... > >Voici prθs d'un an que je travail avec Minivend puis Interchange... > >Si vous souhaitez un coup de main ou des ιchanges... > >Je ne suis toujours pas un expert mais bon... > >a++ > > > >Alban > > > >----- Original Message ----- > >From: David Bordas <bordas@jeuxvideo.com> > >To: <interchange-users@lists.akopia.com> > >Sent: Thursday, March 01, 2001 8:24 AM > >Subject: Fw: [ic] French user of interchange ? > > > > > > > Bonjour, > > > > > > C'est sympa de ne pas κtre tout seul, je suis aussi en train de regarder > > > pour traduire interchange avec gestion des 2 monnaies Franc et euro . > > > > > > Je regarde aussi comment intιgrer paybox ΰ interchange car la procιdure de > > > billing par default ne me convient pas . > > > > > > Je suis ok si on peut travailler ensemble, ca permettra de faire gagner du > > > temps ΰ tout le monde :) > > > > > > Cordialement > > > David > > > > > > ----- Original Message ----- > > > From: "lamine" <lamine@secan.net> > > > To: <interchange-users@lists.akopia.com> > > > Sent: Wednesday, February 28, 2001 9:43 PM > > > Subject: Re: [ic] French user of interchange ? > > > > > > > > > > Salut; > > > > Je suis entrain de faire un dιveloppement de e-commerce en franηais ( > > > > traduction de interchange si tu veux). > > > > Fais moi part de tes projets et je vais voir si on peut travailler en > > > > collaboration. > > > > Lamine > > > > At 17:57 01-02-28 +0100, you wrote: > > > > >Hi all, > > > > > > > > > >Are there french users of akopia who can tell me their experiences with > > > IC ? > > > > >espacially with the language and price translation. > > > > > > > > > >Thanks > > > > > > > > > > > > > > > > > > > >_______________________________________________ > > > > >Interchange-users mailing list > > > > >Interchange-users@lists.akopia.com > > > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > _______________________________________________ > > > > Interchange-users mailing list > > > > Interchange-users@lists.akopia.com > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > >_______________________________________________ > >Interchange-users mailing list > >Interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: db at cyclonehq.dnsalias.net (Dan B ) Date: Thu, 01 Mar 2001 12:28:23 -0800 Subject: [ic] [if scratch...] At 01:25 PM 3/1/2001 -0500, you wrote: >Any sort of complexity in evaluating a conditional should be done >explicitly: > >[if type=explicit > condition="[calc]$Scratch->{count} < $Scratch->{count1} > [/calc]"]Do something >[elsif type=explicit > condition="[calc]$Scratch->{count} == $Scratch->{count1} > [/calc]"]Do something else >[/elsif] >[else]Do default >[/else] >[/if] What is the performance difference between an explicit if (with [calc]) and a regular [if]? (Assuming we are concerned about [if]'s inside [loop]'s)? Is there no difference if they are doing the same thing? >"Mat Jones - booksellersolutions.com" wrote: > > > > I tried both methods you suggested, but it still didnt read the [scratch > > count1] variable. > > With the loop-alternate it just printed [loop-alternate [scratch > count1]] to > > the screen. > > Any other suggestions? > > > > Thanks > > > > Mat > >-- >Mark Johnson >Senior Developer - Professional Services >Red Hat, Inc. >E-Business Solutions >markj@redhat.com >703-456-2912 > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: howells at siliconcty.com (Howell Silverman ) Date: Thu, 1 Mar 2001 15:47:36 -0500 Subject: [ic] Changing the domain name of a catalog Can someone help with this? Do I have to re-run makecat with the new domain perameters in order to change the domain name used in a catalog, or can I just edit the catalog.cfg file (or some other one) with the new domain name? If I must re-run makecat and I choose not to copy the "construct" templates will makecat just leave everything that's in the catalog directory as it is and just create a new catalog.cfg? Thanks for your help. From: joachim.richter at usvideocenter.de (joachim.richter ) Date: Thu, 01 Mar 2001 21:42:14 +0100 Subject: [ic] [set SearchbyKeyword] [set SearchByKeyword] mv_search_field=xschauspi1 mv_search_field=xschauspi2 mv_search_field=xschauspi3 mv_matchlimit=15 mv_substring_match=yes [/set] this search works fine, but why is it , if i want to specify another database "dvus2" I use "mv_search_file value=dvus2" we get no results although the products and the "dvus2" database are identical ? [set SearchByKeyword] mv_search_file value=dvus2 mv_search_field=xschauspi1 mv_search_field=xschauspi2 mv_search_field=xschauspi3 mv_matchlimit=15 mv_substring_match=yes [/set] US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: db at cyclonehq.dnsalias.net (Dan B ) Date: Thu, 01 Mar 2001 12:46:10 -0800 Subject: [ic] French user of interchange ? At 09:04 PM 3/1/2001 +0100, you wrote: >Nous avons dιjΰ bien commencι les ιchanges... n'est-ce pas David... >Nous nous sommes dit qu'il ιtait peut κtre gιnant d'ιchanger directement sur >la ML d'interchange puisque nous parlons en franηais... et avons directement >ιchanger par mail... >donc peut κtre a ++ N'oubliez pas que vous pouvez ιgalement utiliser la liste ιchange-internationale pour converser en votre langage primaire. (je sais, mon Franηais rouillι. Ou vous pourriez l'appeler " de poisson ", comme dans " babelfishy "). :-) -Dan >----- Original Message ----- >From: lamine <lamine@secan.net> >To: <interchange-users@lists.akopia.com> >Sent: Thursday, March 01, 2001 9:04 PM >Subject: Re: [ic] French user of interchange ? > > > > Salut les amis > > Comme je disait dans mon message prιcιdent, je suis prιs ΰ travail avec > > tout le monde dans un exprit d'entreaide. Donc si nous avons des > > questions, nous ne devons les poser en expιrants y avoir des rιponses. > > > > Pour rιpoindre ΰ vos questions, > > Je trouve qu'il est trιs facile de faire la traduction de Interchange > > (boutique) en franηais. Pour le moment c'est dans ce sens que je travaille > > pour mon ecommerce. > > Par la divise que croix qu'il est ιgalement de la mettre en FF quoi que > > j'utilise le dollars canadien. > > Bonne chance > > Lamine > > At 10:33 01-03-01 +0100, you wrote: > > >Enfin des franηais... > > >Ils sont rares... > > >Voici prθs d'un an que je travail avec Minivend puis Interchange... > > >Si vous souhaitez un coup de main ou des ιchanges... > > >Je ne suis toujours pas un expert mais bon... > > >a++ > > > > > >Alban > > > > > >----- Original Message ----- > > >From: David Bordas <bordas@jeuxvideo.com> > > >To: <interchange-users@lists.akopia.com> > > >Sent: Thursday, March 01, 2001 8:24 AM > > >Subject: Fw: [ic] French user of interchange ? > > > > > > > > > > Bonjour, > > > > > > > > C'est sympa de ne pas κtre tout seul, je suis aussi en train de >regarder > > > > pour traduire interchange avec gestion des 2 monnaies Franc et euro . > > > > > > > > Je regarde aussi comment intιgrer paybox ΰ interchange car la >procιdure de > > > > billing par default ne me convient pas . > > > > > > > > Je suis ok si on peut travailler ensemble, ca permettra de faire >gagner du > > > > temps ΰ tout le monde :) > > > > > > > > Cordialement > > > > David > > > > > > > > ----- Original Message ----- > > > > From: "lamine" <lamine@secan.net> > > > > To: <interchange-users@lists.akopia.com> > > > > Sent: Wednesday, February 28, 2001 9:43 PM > > > > Subject: Re: [ic] French user of interchange ? > > > > > > > > > > > > > Salut; > > > > > Je suis entrain de faire un dιveloppement de e-commerce en franηais >( > > > > > traduction de interchange si tu veux). > > > > > Fais moi part de tes projets et je vais voir si on peut travailler >en > > > > > collaboration. > > > > > Lamine > > > > > At 17:57 01-02-28 +0100, you wrote: > > > > > >Hi all, > > > > > > > > > > > >Are there french users of akopia who can tell me their experiences >with > > > > IC ? > > > > > >espacially with the language and price translation. > > > > > > > > > > > >Thanks > > > > > > > > > > > > > > > > > > > > > > > >_______________________________________________ > > > > > >Interchange-users mailing list > > > > > >Interchange-users@lists.akopia.com > > > > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > _______________________________________________ > > > > > Interchange-users mailing list > > > > > Interchange-users@lists.akopia.com > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > _______________________________________________ > > > > Interchange-users mailing list > > > > Interchange-users@lists.akopia.com > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > >_______________________________________________ > > >Interchange-users mailing list > > >Interchange-users@lists.akopia.com > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: joachim.richter at usvideocenter.de (joachim.richter ) Date: Thu, 01 Mar 2001 21:50:48 +0100 Subject: [ic] [set SearchbyKeyword] - SOLUTION [set SearchByKeyword] mv_search_field=xschauspi1 mv_search_field=xschauspi2 mv_search_field=xschauspi3 mv_matchlimit=15 mv_substring_match=yes [/set] this search works fine, but why is it , if i want to specify another database "dvus2" I use "mv_search_file value=dvus2" we get no results although the products and the "dvus2" database are identical ? DELETE VALUE ---> "mv_search_file=dvus2" WORKS GREAT THANK YA ANYWAY !!!!!!!!!!!!!!! [set SearchByKeyword] mv_search_file value=dvus2 mv_search_field=xschauspi1 mv_search_field=xschauspi2 mv_search_field=xschauspi3 mv_matchlimit=15 mv_substring_match=yes [/set] regards 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: db at cyclonehq.dnsalias.net (Dan B ) Date: Thu, 01 Mar 2001 13:10:18 -0800 Subject: [ic] Changing the domain name of a catalog At 03:47 PM 3/1/2001 -0500, you wrote: >Can someone help with this? > >Do I have to re-run makecat with the new domain perameters in order to >change the domain name used in a catalog, or can I just edit the catalog.cfg >file (or some other one) with the new domain name? No, you do not have to re-run makecat. Yes, you can edit the catalog.cfg. >If I must re-run makecat and I choose not to copy the "construct" templates >will makecat just leave everything that's in the catalog directory as it is >and just create a new catalog.cfg? > >Thanks for your help. > > > > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: chris at vanoosterhout.com (Christopher VanOosterhout ) Date: Thu, 01 Mar 2001 16:12:03 -0500 Subject: [ic] What is that "expires" page Dan, Thanks for the suggestion Now that you mention it ... I did review the catalog error log and found the following type of error each time I "try to buy": 209.176.195.235 ItbSDYnT:209.176.195.235 - [01/March/2001:12:17:43 -0500] westerbeke /cgi-bin/westerbeke/process.html WARNING: POSSIBLE BAD ROBOT. 51 accesses with no 30 second pause. Does that mean anything to anyone? What is a ROBOT (as far as Interchange is concerned) and what can I do about a bad one. By the way, another interesting thing is that in Netscape I end up with a URL like this: http://127.0.0.1/process.html?mv_session_id=ItbSDYnT&mv_separate_items=0&mv_click=munge_quantity&mv_doit=refresh&mv_username=&mv_oi1=11014&mv_order_item=11014&mv_order_quantity=%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d1 But in IE i end up with a simple: http://66.70.15.170/cgi-bin/westerbeke/expired.html Any MORE input? Chris >Well, since you said "any" input, I can mention it: Do you get anything in error.log? (catalog/error.log and interchange/error.log) > >Sounds like a fun problem, though. At least you aren't bored. > >-Dan At 11:01 AM 3/1/01 -0800, Dan B wrote: >At 09:22 AM 3/1/2001 -0500, you wrote: > >>I am working to customize the "construct" template store. >> >>However I am having a specific problem that causes the expires.html page >>to appear. Every time I try to buy something from a search list (using >>the template included as part of "construct" I end up being sent to: >>http://66.70.15.170/cgi-bin/westerbeke/expired.html with the following >>message on the page: >> >>The requested item (expired) was not found. You can return to browsing >>our catalog, if you wish. >> >>(This is coming from the results.html page) Even though I get this error >>message, when I go back to check my cart, the product was in fact placed >>in the cart. >> >>The curious thing is that when I come from the single result page >>(results_big.html) the buy button works correctly. >> >>Thanks for any input. Below I have included the source code for what >>appears to be the problem page (results.html). > > > > > > >>SOURCE CODE FOR RESULTS.HTML::::: >> >>[comment] >>ui_template: Yes >>ui_template_name: leftright >>[/comment] >> >>[set bgcolor]#FFFFFF[/set] >>[set component_right]promo_vertical[/set] >>[set component_after]cross_horizontal[/set] >>[set members_only]0[/set] >>[set component_vsize]4[/set] >>[set page_banner] [/set] >>[set vbanner]Specials[/set] >>[set component_hsize]2[/set] >>[set hbanner]Also see...[/set] >>[set component_before][/set] >>[set hpromo_type]specials[/set] >>[set page_title]__COMPANY__ -- Search results[/set] >>[set vpromo_type]specials[/set] >>@_LEFTRIGHT_TOP_@ >> >><!-- BEGIN CONTENT --> >>[if scratch did_order] >>[include file="templates/components/cart_display"] >>[/if] >>[set did_order][/set] >>[search-region] >>[set munge_quantity] >>[calc] >> $Scratch->{did_order} = 1; >> @q = split /\0/, $CGI->{mv_order_quantity}; >> for (@q) { >> next unless length $_; >> $_ = "=$_"; >> } >> @parms = grep /^mv_oi\d+/ && $CGI->{$_}, keys %{$CGI}; >> >> # If we have parms, means an individual buy. If we don't >> # we want to strip empty items >> unless (@parms) { >> @i = split "\0", $CGI->{mv_order_item}; >> for(my $i = 0; $i < @i; $i++) { >> next if length($q[$i]); >> $i[$i] = ''; >> } >> @i = grep length($_), @i; >> @q = grep length($_), @q; >> $CGI_array->{mv_order_quantity} = \@q; >> $CGI->{mv_order_quantity} = join "\0", @q; >> $CGI_array->{mv_order_item} = \@i; >> $CGI->{mv_order_item} = join "\0", @i; >> return; >> } >> my $item = $parms[0]; >> $item =~ /(\d+)/ or return; >> my $idx = $1; >> $idx--; >> $CGI->{mv_order_item} = $CGI->{$item}; >> $CGI->{mv_order_quantity} = "$q[$idx]"; >> return; >>[/calc] >> [bounce href="[history-scan exclude=nothing]"] >>[/set] >>[tmp cross_sale][value-extended name=mv_searchspec index=0][/tmp] >> >>[on-match] >><FORM ACTION="[process-target]" METHOD=POST> >><INPUT TYPE=hidden NAME="mv_separate_items" VALUE="0"> >><INPUT TYPE=hidden NAME="mv_click" VALUE="munge_quantity"> >><INPUT TYPE=hidden NAME="mv_doit" VALUE="refresh"> >>[/on-match] >> >>[search-list] >> >>[item-change 1][condition][item-field category][/condition] >> <table width="90%" border="0" cellspacing="0" >> cellpadding="0" bgcolor="red"> >> <tr> >> <td width="10"><img src="navigation/minime1.gif" >> width="10" height="20" align="top"></td> >> <td ><font __FFACE__ size="1"><b><i><font >> color="ffffff" size="2">[either][value banner_t >>ext][or][item-field category][/either]</font></i></b></font></td> >> <td width="10"><img src="navigation/minime2.gif" >> width="10" height="20" align="top"></td> >> </tr> >> </table> >> >> <table width="90%" border="1" cellspacing="0" >> cellpadding="0" bordercolor="0099ff"> >> <tr bgcolor="ffffff" valign="middle"> >> <td> >> <table border="0" cellspacing="2" >> cellpadding="3" bordercolor="#FFFFFF" align="center >>" width="100%"> >> <tr> >> <td width="100" align="center" >> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff"> >>Product</font></td> >> <td width="30" align="center" >> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">S >>ku</font></td> >> <td width="30" align="center" >> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">S >>tock</font></td> >> <td width="30" align="center" >> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">P >>rice</font></td> >> <td width="30" align="center" >> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">Q >>ty</font></td> >> <td width="30" align="center" >> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">B >>uy</font></td> >> </tr> >> </table> >> </td></tr> >> </table> >> >>[/item-change 1] >> >> <table width="90%" border="1" cellspacing="0" >> cellpadding="0" bordercolor="0099ff"> >> <tr bgcolor="ffffff" valign="middle"> >> <td align=center height="5"> >> <div align="left"> >> <table border="0" cellspacing="0" >> cellpadding="3" bordercolor="#FFFFFF" align="center >>" width="100%"> >> >><INPUT TYPE=hidden NAME="mv_order_item" VALUE="[item-code]"> >> >> <tr> >> <td valign="top" width="100"><a >> href="[area [item-code]]"><font __FFACE__ size="1 >>"><b>[item-description]</b></font></a></td> >> <td >> valign="top" width="30"><font __FFACE__ size= >>"1">[item-code]</font></td> >> <td >> valign="top" width="30" align="center">[item- >>calc] >> my $q = q{[item-data inventory quantity]}; >> if($q > 0) { >> return <<EOF; >><font __FFACE__ size="1" color="#008000"><b>Y</b></font> >>EOF >> } >> else { >> return <<EOF; >><a href="[area stock-alert [item-code]]"><font __FFACE__ size="1" >>color="#FF0000"><b>N</b></font></a> >>EOF >> } >>[/item-calc]</td> >> <td >> valign="top" width="30"><font __FFACE__ size= >>"1">[item-price]</font></td> >> <td >> valign=top width=30><input type=hidden name=" >>mv_oi[item-increment]" value=""><input type=text name=mv_order_quantity >>size=2 value=""></td> >> <td >> valign=top width=30><FONT __FFACE__ size=2><i >>nput type=submit value=BuyIt >>onClick="this.form.mv_oi[item-increment].value='[item-code]'"></font></td> >> >> >> >> </tr> >> </table> >> <div align="center"><b><i></i></b></div> >> </div> >> </td> >> </tr> >> </table> >> >>[/search-list] >>[on-match] >><div align=right><INPUT TYPE=submit VALUE="Buy list"> >></FORM> >>[/on-match] >> >>[no-match] >><BR><BR><BLOCKQUOTE> >><font __FFACE__ size="2"> >>Sorry, no matches for <B>[calc] >> my $joiner = ' AND '; >> $joiner = ' OR ' if >> defined >> $Search->{''}->{mv_orsearch}[0] >> and $Search->{''}->{mv_orsearch}[0]; >> my @str = grep /\D/, @{$Values->{mv_searchspec}}; >> return join $joiner, @str; >> [/calc] >>[if value mv_search_error] >><P><B>Errors: >><BR> [value-extended name=mv_search_error joiner="<BR>"] >></B> >>[/if] >></font> >><BR><BR></BLOCKQUOTE> >>[/no-match] >><font __FFACE__ size="2"> >><BR CLEAR=LEFT> >>[more-list] >></font> >><BLOCKQUOTE> >><font __FFACE__ size="2"> >>Matches [matches] of [match-count] found. >><BR>[more]<BR> >></font> >></BLOCKQUOTE> >>[/more-list] >> >>[/search-region] >><!-- END CONTENT --> >> >>@_LEFTRIGHT_BOTTOM_@ >> >> >> >> >> >> >> >>_______________________________________________ >>Interchange-users mailing list >>Interchange-users@lists.akopia.com >>http://lists.akopia.com/mailman/listinfo/interchange-users > >Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users From: db at cyclonehq.dnsalias.net (Dan B ) Date: Thu, 01 Mar 2001 13:20:47 -0800 Subject: [ic] What is that "expires" page At 04:12 PM 3/1/2001 -0500, you wrote: >Dan, > >Thanks for the suggestion > >Now that you mention it ... I did review the catalog error log and found >the following type of error each time I "try to buy": > >209.176.195.235 ItbSDYnT:209.176.195.235 - [01/March/2001:12:17:43 -0500] >westerbeke /cgi-bin/westerbeke/process.html WARNING: POSSIBLE BAD ROBOT. >51 accesses with no 30 second pause. > >Does that mean anything to anyone? What is a ROBOT (as far as Interchange >is concerned) and what can I do about a bad one. Search the mailing list and the devloper's page for it. It might help to change your RobotLimit value in catalog.cfg. -Dan >By the way, another interesting thing is that in Netscape I end up with a >URL like this: >http://127.0.0.1/process.html?mv_session_id=ItbSDYnT&mv_separate_items=0&mv_click=munge_quantity&mv_doit=refresh&mv_username=&mv_oi1=11014&mv_order_item=11014&mv_order_quantity=%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d1 > >But in IE i end up with a simple: >http://66.70.15.170/cgi-bin/westerbeke/expired.html > >Any MORE input? > >Chris > > > >Well, since you said "any" input, I can mention it: Do you get anything > in error.log? (catalog/error.log and interchange/error.log) > > > >Sounds like a fun problem, though. At least you aren't bored. > > > >-Dan > >At 11:01 AM 3/1/01 -0800, Dan B wrote: >>At 09:22 AM 3/1/2001 -0500, you wrote: >> >>>I am working to customize the "construct" template store. >>> >>>However I am having a specific problem that causes the expires.html page >>>to appear. Every time I try to buy something from a search list (using >>>the template included as part of "construct" I end up being sent to: >>>http://66.70.15.170/cgi-bin/westerbeke/expired.html with the following >>>message on the page: >>> >>>The requested item (expired) was not found. You can return to browsing >>>our catalog, if you wish. >>> >>>(This is coming from the results.html page) Even though I get this >>>error message, when I go back to check my cart, the product was in fact >>>placed in the cart. >>> >>>The curious thing is that when I come from the single result page >>>(results_big.html) the buy button works correctly. >>> >>>Thanks for any input. Below I have included the source code for what >>>appears to be the problem page (results.html). >> >> >> >> >> >> >>>SOURCE CODE FOR RESULTS.HTML::::: >>> >>>[comment] >>>ui_template: Yes >>>ui_template_name: leftright >>>[/comment] >>> >>>[set bgcolor]#FFFFFF[/set] >>>[set component_right]promo_vertical[/set] >>>[set component_after]cross_horizontal[/set] >>>[set members_only]0[/set] >>>[set component_vsize]4[/set] >>>[set page_banner] [/set] >>>[set vbanner]Specials[/set] >>>[set component_hsize]2[/set] >>>[set hbanner]Also see...[/set] >>>[set component_before][/set] >>>[set hpromo_type]specials[/set] >>>[set page_title]__COMPANY__ -- Search results[/set] >>>[set vpromo_type]specials[/set] >>>@_LEFTRIGHT_TOP_@ >>> >>><!-- BEGIN CONTENT --> >>>[if scratch did_order] >>>[include file="templates/components/cart_display"] >>>[/if] >>>[set did_order][/set] >>>[search-region] >>>[set munge_quantity] >>>[calc] >>> $Scratch->{did_order} = 1; >>> @q = split /\0/, $CGI->{mv_order_quantity}; >>> for (@q) { >>> next unless length $_; >>> $_ = "=$_"; >>> } >>> @parms = grep /^mv_oi\d+/ && $CGI->{$_}, keys %{$CGI}; >>> >>> # If we have parms, means an individual buy. If we don't >>> # we want to strip empty items >>> unless (@parms) { >>> @i = split "\0", $CGI->{mv_order_item}; >>> for(my $i = 0; $i < @i; $i++) { >>> next if length($q[$i]); >>> $i[$i] = ''; >>> } >>> @i = grep length($_), @i; >>> @q = grep length($_), @q; >>> $CGI_array->{mv_order_quantity} = \@q; >>> $CGI->{mv_order_quantity} = join "\0", @q; >>> $CGI_array->{mv_order_item} = \@i; >>> $CGI->{mv_order_item} = join "\0", @i; >>> return; >>> } >>> my $item = $parms[0]; >>> $item =~ /(\d+)/ or return; >>> my $idx = $1; >>> $idx--; >>> $CGI->{mv_order_item} = $CGI->{$item}; >>> $CGI->{mv_order_quantity} = "$q[$idx]"; >>> return; >>>[/calc] >>> [bounce href="[history-scan exclude=nothing]"] >>>[/set] >>>[tmp cross_sale][value-extended name=mv_searchspec index=0][/tmp] >>> >>>[on-match] >>><FORM ACTION="[process-target]" METHOD=POST> >>><INPUT TYPE=hidden NAME="mv_separate_items" VALUE="0"> >>><INPUT TYPE=hidden NAME="mv_click" VALUE="munge_quantity"> >>><INPUT TYPE=hidden NAME="mv_doit" VALUE="refresh"> >>>[/on-match] >>> >>>[search-list] >>> >>>[item-change 1][condition][item-field category][/condition] >>> <table width="90%" border="0" cellspacing="0" >>> cellpadding="0" bgcolor="red"> >>> <tr> >>> <td width="10"><img >>> src="navigation/minime1.gif" width="10" height="20" align="top"></td> >>> <td ><font __FFACE__ size="1"><b><i><font >>> color="ffffff" size="2">[either][value banner_t >>>ext][or][item-field category][/either]</font></i></b></font></td> >>> <td width="10"><img >>> src="navigation/minime2.gif" width="10" height="20" align="top"></td> >>> </tr> >>> </table> >>> >>> <table width="90%" border="1" cellspacing="0" >>> cellpadding="0" bordercolor="0099ff"> >>> <tr bgcolor="ffffff" valign="middle"> >>> <td> >>> <table border="0" cellspacing="2" >>> cellpadding="3" bordercolor="#FFFFFF" align="center >>>" width="100%"> >>> <tr> >>> <td width="100" align="center" >>> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff"> >>>Product</font></td> >>> <td width="30" align="center" >>> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">S >>>ku</font></td> >>> <td width="30" align="center" >>> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">S >>>tock</font></td> >>> <td width="30" align="center" >>> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">P >>>rice</font></td> >>> <td width="30" align="center" >>> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">Q >>>ty</font></td> >>> <td width="30" align="center" >>> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">B >>>uy</font></td> >>> </tr> >>> </table> >>> </td></tr> >>> </table> >>> >>>[/item-change 1] >>> >>> <table width="90%" border="1" cellspacing="0" >>> cellpadding="0" bordercolor="0099ff"> >>> <tr bgcolor="ffffff" valign="middle"> >>> <td align=center height="5"> >>> <div align="left"> >>> <table border="0" cellspacing="0" >>> cellpadding="3" bordercolor="#FFFFFF" align="center >>>" width="100%"> >>> >>><INPUT TYPE=hidden NAME="mv_order_item" VALUE="[item-code]"> >>> >>> <tr> >>> <td valign="top" width="100"><a >>> href="[area [item-code]]"><font __FFACE__ size="1 >>>"><b>[item-description]</b></font></a></td> >>> <td >>> valign="top" width="30"><font __FFACE__ size= >>>"1">[item-code]</font></td> >>> <td >>> valign="top" width="30" align="center">[item- >>>calc] >>> my $q = q{[item-data inventory quantity]}; >>> if($q > 0) { >>> return <<EOF; >>><font __FFACE__ size="1" color="#008000"><b>Y</b></font> >>>EOF >>> } >>> else { >>> return <<EOF; >>><a href="[area stock-alert [item-code]]"><font __FFACE__ size="1" >>>color="#FF0000"><b>N</b></font></a> >>>EOF >>> } >>>[/item-calc]</td> >>> <td >>> valign="top" width="30"><font __FFACE__ size= >>>"1">[item-price]</font></td> >>> <td >>> valign=top width=30><input type=hidden name=" >>>mv_oi[item-increment]" value=""><input type=text name=mv_order_quantity >>>size=2 value=""></td> >>> <td >>> valign=top width=30><FONT __FFACE__ size=2><i >>>nput type=submit value=BuyIt >>>onClick="this.form.mv_oi[item-increment].value='[item-code]'"></font></td> >>> >>> >>> >>> </tr> >>> </table> >>> <div align="center"><b><i></i></b></div> >>> </div> >>> </td> >>> </tr> >>> </table> >>> >>>[/search-list] >>>[on-match] >>><div align=right><INPUT TYPE=submit VALUE="Buy list"> >>></FORM> >>>[/on-match] >>> >>>[no-match] >>><BR><BR><BLOCKQUOTE> >>><font __FFACE__ size="2"> >>>Sorry, no matches for <B>[calc] >>> my $joiner = ' AND '; >>> $joiner = ' OR ' if >>> defined >>> $Search->{''}->{mv_orsearch}[0] >>> and >>> $Search->{''}->{mv_orsearch}[0]; >>> my @str = grep /\D/, @{$Values->{mv_searchspec}}; >>> return join $joiner, @str; >>> [/calc] >>>[if value mv_search_error] >>><P><B>Errors: >>><BR> [value-extended name=mv_search_error joiner="<BR>"] >>></B> >>>[/if] >>></font> >>><BR><BR></BLOCKQUOTE> >>>[/no-match] >>><font __FFACE__ size="2"> >>><BR CLEAR=LEFT> >>>[more-list] >>></font> >>><BLOCKQUOTE> >>><font __FFACE__ size="2"> >>>Matches [matches] of [match-count] found. >>><BR>[more]<BR> >>></font> >>></BLOCKQUOTE> >>>[/more-list] >>> >>>[/search-region] >>><!-- END CONTENT --> >>> >>>@_LEFTRIGHT_BOTTOM_@ >>> >>> >>> >>> >>> >>> >>> >>>_______________________________________________ >>>Interchange-users mailing list >>>Interchange-users@lists.akopia.com >>>http://lists.akopia.com/mailman/listinfo/interchange-users >> >>Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com >> >> >>_______________________________________________ >>Interchange-users mailing list >>Interchange-users@lists.akopia.com >>http://lists.akopia.com/mailman/listinfo/interchange-users > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: thomas at prometheas.gr (Thomas N. Stefanidis ) Date: Thu, 01 Mar 2001 23:22:37 +0200 Subject: [ic] Silly question! I'm trying many days to have items with several sizes and each size to have a different price.. Since i can't find a sollution(..yet...)......i have a silly question... When u add a new product,in the field where u add the sizes, can u add something like 30=M,40=L,50=LX and instead of the price being displayed as text,to be displayed in a text box and somehow(javascript),when u choose a new size,the value of each size(30,40,50) will be displayed in the text box? duh!! Silly question....but sounds so simple........!(but don't know if it will work!) If anyone has managed sizes and different prices,could someone explain it how he did it? Thank u in advance. Thomas From: cpi at accxs.net (ACC&S ) Date: Thu, 1 Mar 2001 22:15:51 +0100 Subject: [ic] discount and components Hi all, Do you know why, when i use this code into a component (for example : promo_vertical) [discount [item-code]] $s * .8 [/discount] [loop-price] || [price code="[loop-code]" discount=1] Discount doesn't applied ! Another hand, in the simple html page, it works. Do you have an idea ? thanks From: tintones at hotmail.com (Marcelo F. De Paula ) Date: Thu, 01 Mar 2001 21:27:53 Subject: [ic] GPG problem ,with interchange Hello everybody, I'm using IC 4.6.1 and now i'm testing the gpg. I have installed gpg as interchange user. I'm having a problem with gpg. I have put the following gpg command in catalog.cfg: Variable ENCRYPTOR /usr/bin/gpg --always-trust --batch -fa -r tintones@hotmail.com 2>/tmp/debug_gpg but no errors are reported to the debug_gpg when a checkout is done. If i run from console it gives a error that -fa is not valid option. I presume that interchange is not running the gpg. Am i correct? When I receive the order e-mail it has sibject but body content???? Please someone help me because I don't how to fix it. Thanks in advance, Marcelo _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From: mikeh at minivend.com (Mike Heins ) Date: Thu, 1 Mar 2001 16:40:54 -0500 Subject: [ic] GPG problem ,with interchange Quoting Marcelo F. De Paula (tintones@hotmail.com): > Hello everybody, > > I'm using IC 4.6.1 and now i'm testing the gpg. > > I have installed gpg as interchange user. > > I'm having a problem with gpg. I have put the following gpg command in > catalog.cfg: > Variable ENCRYPTOR /usr/bin/gpg --always-trust --batch -fa -r > tintones@hotmail.com 2>/tmp/debug_gpg The documentation to the contrary, I think a proper encryptor would be: Variable ENCRYPTOR /usr/bin/gpg --always-trust --batch -ea -r tintones@hotmail.com 2>/tmp/debug_gpg Typo, I think. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: markj at redhat.com (Mark Johnson ) Date: Thu, 01 Mar 2001 17:24:51 -0500 Subject: [ic] [if scratch...] Very little compared to doing a bunch of if's inside a loop. But, each interpolation does take resources. Incidentally, even to do what you were trying to do, should you restructure it in a way to make it work, would require two interpolations since you were trying to compare the values of two scratch variables: the [if..] interpolation, and the "[scratch count1]" interpolation. Dan B wrote: > > What is the performance difference between an explicit if (with [calc]) and > a regular [if]? (Assuming we are concerned about [if]'s inside > [loop]'s)? Is there no difference if they are doing the same thing? > -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: bob at nleaudio.com (Bob Puff at NLE ) Date: Thu, 01 Mar 2001 17:40:19 -0500 Subject: [ic] displaying items in order After entering a bunch of new items to my catalog, I noticed that they seem not to be sorted in any specific order. I tried arranging them in the products.txt file according to SKU #, but this didn't seem to help. If possible, I would like a certain order, but alphabetically or by SKU # would both work. Also, in the construct demo, when you click on a category on the left, it displays the contents of that directory in the middle of the sceeen. How can I make this go all the way to the right edge? It looks like the page is using the left/center/right template, but I don't know what page is used to edit. I'd like to add a "Checkout" button on the page too... Bob From: shui at lunamedium.com (Sam Hui ) Date: Thu, 1 Mar 2001 15:51:34 -0800 Subject: [ic] How to Call a GlobalSub? Hi Dave, I am actually setting up a 3rd server and in the middle of installing mysql and interchange right now. As soon as I narrow down whatever it is, I will post my findings. -Sam -----Original Message----- Date: Thu, 1 Mar 2001 11:25:45 +0000 To: interchange-users@lists.akopia.com From: Dave Barr <dave.barr@cricinfo.com> Subject: Re: [ic] How to Call a GlobalSub? Reply-To: interchange-users@lists.akopia.com At 8:58 am -0800 27/2/01, Sam Hui wrote: >Hey Dave and Mike, > >I just tried the same exact code on another server, also RedHat 6.2, >Interchange 4.6.3 RPM, Perl 5.00503 and it just works. I'll try to >narrow it down and hopefully figure out what's going on. --------- At 9:34 pm +0100 27/2/01, Hans-Joachim Leidinger wrote: >Hmmmm....I've gotten the exact same error message with IC on FreeBSD. >This happen, if I add a sub into the catalog.cfg or interchange.cfg. But >if the sub is created as an UserTag, it works well. What is wrong? > IC 4.6.3, Debian 2.2.17, Perl 5.005-03, Hi Sam and Joachim, I'm still looking into this a well (been ill as a dog for last two days). If any of you come up with a solution could you post to the group? (I'll do the same). This is a bit of a cause for concern as my CreditCard checking routines will be using GlobalSubs extensively... Thanks Dave From: jud-lists at copernica.com (Jud Harris ) Date: Thu, 1 Mar 2001 17:52:38 -0600 Subject: [ic] GPG problem ,with interchange Hey folks, Did I read correctly (I forgot where) that the __ENCRYPTOR__ option will not be required in future releases of Interchange? If so, this is great news, because it is quite frustrating having to set up gpg to encrypt something I'm not going to keep on-site OR transmit via e-mail. On that note, when will that be implemented and released? I literally want *nothing* to do with the customer's credit card number after it's sent to our payment processor (authorizenet) - this seems like a good idea to me, but am I missing something? Thanks! -Jud From: nickychips at yahoo.com (Nick Ohanian ) Date: Thu, 1 Mar 2001 16:18:48 -0800 Subject: [ic] newbie question: subroutines Hello again- Here is an example of my problem, regarding GlobalSubs. There was one already in my interchange.cfg file, and it looks likes this: GlobalSub sub test_global_sub { return 'Test of global subroutine OK.'; } Pretty easy, eh? So I use a perl tag in a page that looks like this: [perl] return test_global_sub(); [/perl]<br> Now when I try to serve this page, nothing is displayed. I get the following in error.log (in the catalog directory): 66.12.71.6 rbuCIMHW:66.12.71.6 - [01/March/2001:16:06:29 -0800] imp /cgi-bin/imp/catalog.html Safe: Unable to create sub named "*MVSAFE::test_global_sub" at (eval 236) line 2. > > > return test_global_sub(); > > I can't figure out what is causing this error. Any suggestions would be greatly appreciated. Thanks so much. Nick nickychips@yahoo.com > From: Mark Johnson <markj@redhat.com> > Organization: Red Hat E-Business Solutions > To: interchange-users@lists.akopia.com > Subject: Re: [ic] RE: newbie question: subroutines > Reply-To: interchange-users@lists.akopia.com > > With no more information than you've provided, there's little hope of > anyone helping you. Try to post some examples of a sub that doesn't > work and where/how you're calling it in a page. > > Nick Ohanian wrote: > > > > > At 07:24 PM 2/28/2001 -0800, you wrote: > > > >Hi- > > > > I'm having trouble getting local subroutines to work > > > all. I seem > > > > to be > > > >defining them correctly in catalog.cfg, but they appear to > not be running > > > >when called from [perl] tag in a page. Are they any special > > > configurations > > > >settings that I should be aware of? Any suggestions as to why > > > this could be > > > >happening? > > > > > > But they do work when you define them globally in interchange.cfg? > > > > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > > > > End of Interchange-users Digest > > > > No, global subroutines don't seem to be working either. Any > suggestions? > > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: support at integricity.com (Integricity Support Team ) Date: Fri, 2 Mar 2001 10:09:13 +0800 Subject: Re[2]: [ic] Gift Cert and discount coupons Hi!! Just wondering what other solutions there are out there with regards to the gift certs and discount coupons. Basically there could be the % discount ones - unique number to ident so no reusage of coupon And the gift certs are like value based - USD10, USD20 - also no reusage, for obvious reasons. But, there are also storewide discounts for a limited period of time or so... Anyone done this to a catalog of yours? Wednesday, February 28, 2001, 9:55:09 PM, you wrote: cmc> On Wed, Feb 28, 2001 at 11:43:34AM +0800, Alex Lam wrote: >> Hi interchange-users, >> >> I'm just a little bit confused here. How is the best way to issue and >> give out discount coupons and gift certs? >> >> Thanks cmc> Leaving aside the code, there are **lots** of different ways that cmc> merchants issue coupons and even gift certificates. You really need cmc> to outline the business concept you want before you dig into the code. >> >> >> Best regards, >> Alex Lam >> Integricity Corporation Sdn. Bhd. >> Mobile : +6017-8800044 >> E-mail : alex@integricity.com >> >> >> >> _______________________________________________ >> Interchange-users mailing list >> Interchange-users@lists.akopia.com >> http://lists.akopia.com/mailman/listinfo/interchange-users Best regards, Alex Lam mailto:support@integricity.com Integricity Corporation From: murahashi at ayayu.com (Shozo Murahashi ) Date: Fri, 2 Mar 2001 11:29:45 +0900 Subject: [ic] Undefined catalog error on RAQ3 Thanks for your workatound. I tried it but SCRIPT error on bin/interchnage when bin/interchange -r -u. if($Global::Variable->{CGIWRAP_WORKAROUND}) { $CGI::path_info =~ s!^$CGI::script_name::; How can I change? as below? $CGI::path_info =~ s!^$CGI::script_name!!; ~~ Please help me. ----- Original Message ----- From: Mike Heins <mikeh@minivend.com> To: <interchange-users@lists.akopia.com> Sent: Tuesday, February 27, 2001 8:08 PM Subject: Re: [ic] Undefined catalog error on RAQ3 > Quoting Shozo Murahashi ayayu.com (murahashi@ayayu.com): > > Mike, Thank you very much for your responding. > > > > I can run your test-cgi and got output below now. > > Could you please review this and let me know what's wrong? > > > > PATH_INFO = /main/cgibin/test-cgi.cgi > > SCRIPT_NAME = /main/cgibin/test-cgi.cgi > > Bingo. This is exactly wrong -- PATH_INFO is supposed to > be empty. > > The only way to fix this that I know of is to get the > web server and CGIwrap set up properly. Beyond that, it would be a > hack to the Interchange core, perhaps enabled by a patch > in Server.pm or bin/interchnage like: > > if($Global::Variable->{CGIWRAP_WORKAROUND}) { > $CGI::path_info =~ s!^$CGI::script_name::; > } > > This could go in ::adjust_cgi() in bin/interchange or the bottom > of Vend::Server::populate(), and be enabled with the interchange.cfg line: > > Variable CGIWRAP_WORKAROUND 1 > > In fact, I think it belongs in ::adjust_cgi(), and I will put it there > for future releases. > > Actually, I think that if CGIwrap is set up properly with > the --with-chroot=PATH this will not be a problem. Though I > cannot understand why they would have a problem figuring out > PATH_INFO if they know what SCRIPT_NAME is..... > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > Light travels faster than sound. This is why some people appear bright > until you hear them speak. -- unknown > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: cfm at maine.com (cfm at maine.com ) Date: Thu, 1 Mar 2001 21:11:35 -0500 Subject: [ic] Gift Cert and discount coupons On Fri, Mar 02, 2001 at 10:09:13AM +0800, Integricity Support Team wrote: > Hi!! > > Just wondering what other solutions there are out there with regards > to the gift certs and discount coupons. > Basically there could be the % discount ones - unique number to ident > so no reusage of coupon > > And the gift certs are like value based - USD10, USD20 - also no > reusage, for obvious reasons. > > But, there are also storewide discounts for a limited period of time > or so... And there are gift certificates for product, whole or in part, free shipping, etc. etc.... Some are reusable. What do you WANT? > > Wednesday, February 28, 2001, 9:55:09 PM, you wrote: > > cmc> On Wed, Feb 28, 2001 at 11:43:34AM +0800, Alex Lam wrote: > >> Hi interchange-users, > >> > >> I'm just a little bit confused here. How is the best way to issue and > >> give out discount coupons and gift certs? > >> > >> Thanks > > cmc> Leaving aside the code, there are **lots** of different ways that > cmc> merchants issue coupons and even gift certificates. You really need > cmc> to outline the business concept you want before you dig into the code. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: mheins at redhat.com (Mike Heins ) Date: Thu, 1 Mar 2001 21:20:05 -0500 Subject: [ic] Undefined catalog error on RAQ3 Quoting Shozo Murahashi (murahashi@ayayu.com): > Thanks for your workatound. > I tried it but SCRIPT error on bin/interchnage when > bin/interchange -r -u. > > if($Global::Variable->{CGIWRAP_WORKAROUND}) { > $CGI::path_info =~ s!^$CGI::script_name::; > > How can I change? as below? > $CGI::path_info =~ s!^$CGI::script_name!!; > Yes, typo. I tested it one way and entered into CVS another. I fixed it in CVS yesterday. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Research is what I'm doing when I don't know what I'm doing. -- Wernher Von Braun From: Pray at netnitco.net (RMS ) Date: Thu, 1 Mar 2001 22:02:41 -0500 Subject: [ic] can some one explain in plain english Can someone help me to understand how to go about the modification of the demo. I can change the selections, and get my information to appear, I can not change the top, left and bottom information _________________________________ Enjoy the blessings of this day, if God sends them, & the evils bear patiently, and sweetly; for this day only is ours;- we are dead to yesterday and are not born to-morrow - Jeremy Taylor Rachel Szilagyi Word Gallery http://wordgallery.net/index.htm Roman Express http://ww2.netnitco.net/users/pray/index.htm From: Psirix at aol.com (Psirix at aol.com ) Date: Thu, 01 Mar 2001 21:58:48 EST Subject: [ic] Credit Card question? & Does anyone have a WebPage using Construct Something? Dear interchange users: Im a new user to the Construct Something web tool. I was wondering if anyone has made their homepage with it and does anyone have their Home Page, either e-commerce or non-e-commerce site, on the web?? I would like to see what the Construct Something can do!! I appreciate it! If anyone has an e-commerce site, how do you take credit cards? I already have a merchant account through EPenzio (epenzio.com) but I dont know how to link the two so I can accept credit cards. Does anyone have advice? Once someone places their order should I take their credit card info then charge the card myself with my administrator part of my merchant account? One more thing when someone places their order does their address, credit card info etc sent directly to me? I truely appreciate anyones help! If anyone can e-mail me my address is: Psirix@aol.com Thanks, Nick From: support at integricity.com (Integricity Support Team ) Date: Fri, 2 Mar 2001 11:13:33 +0800 Subject: Re[2]: [ic] Gift Cert and discount coupons Hi!! What I'd like is to have available a variety of coupons and certs. 1. Reusable - discount coupons 2. Non-reusable - discount coupons and gift certs Have you implemented it for your site? Thanks a lot, dude. Friday, March 02, 2001, 10:11:35 AM, you wrote: cmc> On Fri, Mar 02, 2001 at 10:09:13AM +0800, Integricity Support Team wrote: >> Hi!! >> >> Just wondering what other solutions there are out there with regards >> to the gift certs and discount coupons. >> Basically there could be the % discount ones - unique number to ident >> so no reusage of coupon >> >> And the gift certs are like value based - USD10, USD20 - also no >> reusage, for obvious reasons. >> >> But, there are also storewide discounts for a limited period of time >> or so... cmc> And there are gift certificates for product, whole or in part, cmc> free shipping, etc. etc.... Some are reusable. cmc> What do you WANT? >> >> Wednesday, February 28, 2001, 9:55:09 PM, you wrote: >> >> cmc> On Wed, Feb 28, 2001 at 11:43:34AM +0800, Alex Lam wrote: >> >> Hi interchange-users, >> >> >> >> I'm just a little bit confused here. How is the best way to issue and >> >> give out discount coupons and gift certs? >> >> >> >> Thanks >> >> cmc> Leaving aside the code, there are **lots** of different ways that >> cmc> merchants issue coupons and even gift certificates. You really need >> cmc> to outline the business concept you want before you dig into the code. Best regards, Alex Lam mailto:support@integricity.com Integricity Corporation From: doliver at hampshire.edu (Dylan Oliver ) Date: Thu, 1 Mar 2001 21:27:55 -0600 Subject: [ic] can some one explain in plain english On Thu, 1 Mar 2001 22:02:41 -0500 "RMS" <Pray@netnitco.net> wrote: > Can someone help me to understand how to go about the modification of the > demo. I can change the selections, and get my information to appear, I can > not change the top, left and bottom information Look at the @_xxxxx_@ lines in pages/*.html to see which templates you're using, and modify them in templates/regions. The left area is included in the TOP template. If you want to change their names, or break them up into smaller components, see the template section in catalog.cfg. -- Dylan Oliver http://stout.hampshire.edu/~dao99 Do you know how little you know? From: jon at icaust.com (Jon Pamment ) Date: Fri, 2 Mar 2001 16:28:46 +1100 Subject: [ic] How do I set Discounts I have just started on the interchange journey so please excuse what may be a dumb question. I'm going to use the "Construct Something" templates to create my own site. I have dealers and customers and I want the to each get different prices. When you enter the demo site from an affiliate site there is a box explaining that if a "dealer" logs in they will/can see discounted prices. In the administration area I found the check box to set if a customer is a dealer or not, but I cant find how to set the discount they are entitled to. I've looked in each of the pdf manuals, the faq and used the search but I cant find the answer. What do I do? Thanks Jon From: db at cyclonehq.dnsalias.net (Dan B ) Date: Thu, 01 Mar 2001 22:06:23 -0800 Subject: [ic] can some one explain in plain english At 10:02 PM 3/1/2001 -0500, you wrote: >Can someone help me to understand how to go about the modification of the >demo. I can change the selections, and get my information to appear, I can >not change the top, left and bottom information Vat!? You are to be callink my inklysh hordible-sky!? I am goink to be tellink you vat iz hordible! Ihr Vater war ein Schweinlandwirt und Ihr Mutterschmelz der Holunderbeeren!!!! I'm glad Dyan Oliver explained things for you. :) Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: alex at integricity.com (Alex Lam ) Date: Fri, 2 Mar 2001 15:05:23 +0800 Subject: [ic] Save Template in Page Hi!! Just been wondering, what does the "save template in page" feature do? Does it embed the entire layout, links to graphic files in header to a html doc? Would appreciate any light on this... Alex From: george at 1stomni.com (George Schindler ) Date: Fri, 2 Mar 2001 09:45:46 +0100 Subject: [ic] menu of items problem Hello, 1)I have small problem with menu, I need to change menu list (on construct something menu) and get only names of categories), I'm using [loop prefix=box search=" fi=area st=db tf=sort ac=0 ac=0 co=yes sf=sel op=eq [if scratch left_bar] se=[scratch left_bar][set left_bar][/set] [else] se=left [/else] [/if] sf=which_page op=rm [if scratch page_class] se=all|[scratch page_class][set page_class][/set] [else] se=all|@@MV_PAGE@@ [/else] [/if] "] [set deb_item][box-exec bar_link]area[/box-exec][/set] addItem('&nbsp;[box-exec bar_link]area[/box-exec]', '#top', '', '[deb_item]'); //this is javascript function [set found_cat][/set] [/loop] endMenu(); I need to get out all spaces from [box-exec bar_link]area[/box-exec] - category name, I can do it in perl, but I don;t know how send this variable to perl. Can you help? 2) This loop implement to previous loop for looking into categories and list all items, but [cat-exec bar_link]cat[/cat-exec] shows all(fonts, a href, ....) and I need to get only item name in one parametr and in another get ahref. How can I do this? [set found_cat][/set] [loop prefix=cat search="fi=cat st=db tf=sort tf=name rf=code, name sf=sel se=[box-code] " ] addItem('[cat-exec bar_link]cat[/cat-exec]', ''); [/loop] Thanks a lot! George From: murahashi at ayayu.com (Shozo Murahashi ) Date: Fri, 2 Mar 2001 18:29:08 +0900 Subject: [ic] Undefined catalog error on RAQ3 > Quoting Shozo Murahashi (murahashi@ayayu.com): > > Thanks for your workatound. > > I tried it but SCRIPT error on bin/interchnage when > > bin/interchange -r -u. > > > > if($Global::Variable->{CGIWRAP_WORKAROUND}) { > > $CGI::path_info =~ s!^$CGI::script_name::; > > > > How can I change? as below? > > $CGI::path_info =~ s!^$CGI::script_name!!; > > > > Yes, typo. I tested it one way and entered into CVS another. > I fixed it in CVS yesterday. > Waoh! I Installed whole of interchane from CVS again. I found below in bin/interchnag modified. # Fix Cobalt/CGIwrap problem if($Global::Variable->{CGIWRAP_WORKAROUND}) { $CGI::path_info =~ s!^$CGI::script_name!!; } I also add belw in my interchange.cfg ### Special patch from MHeins for RAQ3J # EMAILED from MHeins as of 2001/2/27 Titled "Undefined catalog error on RAQ3" Variable CGIWRAP_WORKAROUND 1 # ### END of Special patch from MHeins for RAQ3J Also chmod 775 cgibin and .cgi. And interchnage restarting. I executed below url on Flash page. http://www.outdoor-w.com/users/main/cgibin/outdoor-w.cgi/index.html - - - [02/March/2001:17:42:50 +0900] - - Low traffic settings. - - - [02/March/2001:17:42:50 +0900] - - Calling UI.... - - - [02/March/2001:17:42:51 +0900] - - ...UI is loaded.... - - - [02/March/2001:17:42:51 +0900] - - Interchange V4.6.4 - - - [02/March/2001:17:42:51 +0900] - - Config 'outdoor-w' at server startup - - - [02/March/2001:17:42:51 +0900] - - Using default DBM database. - - - [02/March/2001:17:42:52 +0900] - - START server (20504) (UNIX) - - - [02/March/2001:17:42:53 +0900] - - START server (20531) (UNIX) 211.124.191.118 - - [02/March/2001:17:44:40 +0900] - /main/cgibin/outdoor-w.cgi/ aboutus.html Undefined catalog: /main/cgibin/outdoor-w.cgi/aboutus.html 211.124.191.118 - - [02/March/2001:17:45:18 +0900] - /main/cgibin/outdoor-w.cgi/ index.html Undefined catalog: /main/cgibin/outdoor-w.cgi/index.html 211.124.191.118 - - [02/March/2001:17:45:21 +0900] - /main/cgibin/outdoor-w.cgi/ admin/index.html Undefined catalog: /main/cgibin/outdoor-w.cgi/admin/index.html WORKAROUND looks good but still Undefined catalog error. When I don't specify 'Variable CGIWRAP_WORKAROUND 1', errolog is as follows. 211.124.191.118 - - [02/March/2001:18:04:07 +0900] - /main/cgibin/outdoor-w.cgi/ admin/index.html/main/cgibin/outdoor-w.cgi/admin/index.html Undefined catalog: / main/cgibin/outdoor-w.cgi/admin/index.html 211.124.191.118 - - [02/March/2001:18:04:11 +0900] - /main/cgibin/outdoor-w.cgi/ index.html/main/cgibin/outdoor-w.cgi/index.html Undefined catalog: /main/cgibin/ outdoor-w.cgi/index.html [test-cgi] CGI/1.0 test script report: argc is 0. argv is . SERVER_SOFTWARE = Apache/1.3.6 (Unix) mod_perl/1.21 mod_ssl/2.2.8 OpenSSL/0.9.2b SERVER_PROTOCOL = HTTP/1.0 SERVER_NAME = www.outdoor-w.com SERVER_PORT = 80 HTTP_FROM = HTTP_REFERRER = HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/pdf, */* HTTP_USER_AGENT = Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt) PATH = /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin GATEWAY_INTERFACE = CGI/1.1 REQUEST_METHOD = GET PATH_INFO = /main/cgibin/test-cgi.cgi PATH_TRANSLATED = /home/sites/home/users/main/web/cgibin/test-cgi.cgi SCRIPT_NAME = /main/cgibin/test-cgi.cgi QUERY_STRING = REMOTE_HOST = REMOTE_ADDR = 211.124.191.118 REMOTE_USER = REMOTE_IDENT = AUTH_TYPE = CONTENT_TYPE = CONTENT_LENGTH = From: sprich at ato.de (Torsten Sprich ) Date: Fri, 02 Mar 2001 10:33:42 +0100 Subject: [ic] can some one explain in plain english > > Ihr Vater war ein Schweinlandwirt und Ihr Mutterschmelz der > Holunderbeeren!!!! > > *prust* wasissn Mutterschmelz biddeschoen? Torsten > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- use strict; ### # ts@ato.de # Torsten Sprich # ATO media.design # Flughafenallee 3 # 28199 Bremen # Fon.: 0421/596678-0 # Fax.: 0421/596678-9 ### From: thomas at prometheas.gr (Thomas N. Stefanidis ) Date: Fri, 02 Mar 2001 15:25:59 +0200 Subject: [ic] suddenly the IP of the UI and the shop become 127.0.0.1!! That's nice!! Yes!! Both UI and the site itself! I still have the site on an ip,haven't moved it to the real domain,but what on earth was this?? I was wondering if it would be better to change from the "Low traffic" to "high". Is this as simple as uncomment the : #Variable TRAFFIC high Thomas From: joachim.richter at usvideocenter.de (joachim.richter ) Date: Fri, 02 Mar 2001 14:31:22 +0100 Subject: [ic] Database Hi we are on the flypage we would like to have the name of the database shown of which the article(which is shown at this very moment on the flypage) comes from. we could not find an interchange tag such as [item-database] is there such a thing ? US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: kestutis.lasys at delfi.lt (Kestutis Lasys ) Date: Fri, 02 Mar 2001 15:44:19 +0200 Subject: [ic] Problem with Berkeley DB_File on FreeBSD - continue > Hello, > > I have problem when using Berkeley DB_File for interchange databases on > FreeBSD. > > I've installed interchange 4.6.3 on my Linux box and it runs without > problem. > But if I try it on FreeBSD box (hosting company) which use Berkeley > DB_File > instead of GDBM, I am getting the following error in item_edit: > > Bad SQL, query was: select DISTINCT category, category FROM products > ORDER BY category > > > I have found from list archive that somebody had the same problem: > > > http://developer.akopia.com/archive/interchange-users/2000/msg10420.html > > But I can't find how to fix this problem. Please advise. > > Sorry for my English. > > Kestutis Lasys Hello, After my hosting company installed GDBM for me, I found that this problem doesn't depend on database type. :) After day of debugging I found that SQL::Statement.pm (Statement.xs) doesn't behave as documented on FreeBSD system. > where > > This method is used to examine the syntax tree of the C<WHERE> clause. > It returns undef (if no WHERE clause was used) or an instance of > SQL::Statement::Op. If no WHERE clause is used it doesn't return undef but number. I'm unfamiliar with xs, so here is my fix: --- /usr/local/interchange/lib/Vend/Scan.pm Sat Dec 2 19:49:10 2000 +++ lib/Vend/Scan.pm Fri Mar 2 13:28:23 2001 @@ -663,7 +663,8 @@ my @where; my $numeric; @where = $stmt->where(); - if(defined $where[0]) { + #if(defined $where[0]) { + if(CORE::ref $where[0]) { my $or; push_spec('co', 'yes', $ary, $hash); do { Thank you for your patience. Kestutis Lasys From: tony at leedsnet.com (Tony Crooks ) Date: Fri, 2 Mar 2001 14:13:35 gmt Subject: [ic] Weight: Changing pounds to kilos We have successfully set up the interchange software on our server. However, there is one item that we wish to alter, that being the weight. Currently it is calculated in pounds, and we would like to know if there is any way to change this to kilo's. We have looked on the website and through the documentation but can find no way to do this. A speedy reply to this query would be appreciated. From: interchange at my-school.com (IC-Admin ) Date: Fri, 2 Mar 2001 10:42:26 -0500 (EST) Subject: [ic] can some one explain in plain english > Vat!? You are to be callink my inklysh hordible-sky!? I am goink to be > tellink you vat iz hordible! Ihr Vater war ein Schweinlandwirt und Ihr > Mutterschmelz der Holunderbeeren!!!! >. > I'm glad Dyan Oliver explained things for you. :) > > *prust* > wasissn Mutterschmelz biddeschoen? > > Torsten an American effort to teach a plain lesson with not so plain German to someone who can't understand Perl on an English list, because he got mixed up with too much French lately. Birgitt From: tony at leedsnet.com (Tony Crooks ) Date: Fri, 2 Mar 2001 14:27:55 gmt Subject: [ic] Error in SQL Syntax When I try to 'upsell' an item, I get the following error message. Does anyone know how to fix this please? Sorry, there was an error in processing this form action. Please report the error or try again later. (You have an error in your SQL syntax near '= NULL where sku = '1000008' ' at line 1 ) Many thanks for any help Tony Crooks www.leedsnet.com From: robert at icardigital.com (Robert Trembath ) Date: Fri, 2 Mar 2001 08:38:11 -0600 Subject: [ic] can some one explain in plain english You can edit those pages in plain HTML. There under templates/regions/ RObert ----- Original Message ----- From: "RMS" <Pray@netnitco.net> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 01, 2001 9:02 PM Subject: [ic] can some one explain in plain english > Can someone help me to understand how to go about the modification of the > demo. I can change the selections, and get my information to appear, I can > not change the top, left and bottom information > _________________________________ > Enjoy the blessings of this day, if God sends them, & the evils bear > patiently, and sweetly; for this day only is ours;- we are dead to yesterday > and are not born to-morrow - Jeremy Taylor > Rachel Szilagyi > Word Gallery > http://wordgallery.net/index.htm > Roman Express > http://ww2.netnitco.net/users/pray/index.htm > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: karidnet at aviso.ci (Vaali FOFANA ) Date: Fri, 02 Mar 2001 14:45:59 +0000 Subject: [ic] Echange en Francais, Bonjour, Je viens d'etre agreablement surpris par vos messages en francais, Je pourrais me joindre a vous pour echaner en francais su IC. Bon courage From: Pray at netnitco.net (RMS ) Date: Fri, 2 Mar 2001 10:12:27 -0500 Subject: [ic] can some one explain in plain english thank you - I hit the archive board last night and learned alot. I first thought it was CGI script and went and bought two books and read them as I am not that familiar with CGI -bins. I am glad there is a list to come to and that I found it. Is there a way to get some of the foreign emails translated to English or am I better off not? Again thank you From: rene at hertell.com (Rene Hertell ) Date: Fri, 2 Mar 2001 17:54:26 +0200 Subject: [ic] suddenly the IP of the UI and the shop become 127.0.0.1!! Read the docs or search the list before you post... This question regarding your problem is asked every second week... Rene > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of > Thomas N. Stefanidis > Sent: 02 March 2001 15:26 > To: Interchange Mailing List > Subject: [ic] suddenly the IP of the UI and the shop become 127.0.0.1!! > > > That's nice!! > Yes!! > Both UI and the site itself! > I still have the site on an ip,haven't moved it to the real domain,but > what on earth was this?? > I was wondering if it would be better to change from the "Low traffic" > to "high". > Is this as simple as uncomment the : > #Variable TRAFFIC high > > > > Thomas > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: rene at hertell.com (Rene Hertell ) Date: Fri, 2 Mar 2001 18:00:03 +0200 Subject: [ic] Echange en Francais, I did not understand a word of what you were asking... I would prefer English as the language spoken/written on this list. Rene > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Vaali > FOFANA > Sent: 02 March 2001 16:46 > To: interchange-users@lists.akopia.com > Subject: [ic] Echange en Francais, > > > Bonjour, > Je viens d'etre agreablement surpris par vos messages en francais, > Je pourrais me joindre a vous pour echaner en francais su IC. > Bon courage > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: jeffd at evcom.net (Jeff Dafoe ) Date: Fri, 2 Mar 2001 11:05:34 -0500 Subject: [ic] Help? > (You should not have to know how to build a car in order to drive it). What if you were driving a car that was specifically designed to be driven by people who knew how to build cars? Jeff From: thomas at prometheas.gr (Thomas N. Stefanidis ) Date: Fri, 02 Mar 2001 18:14:48 +0200 Subject: [ic] Ergent..Please help. Is it so hard to get an anwser? I have asked this question a thousand times.Can someone please tell me how to add different prices on a sizes(in the same product). Thank u in advance. Thomas From: hwm at newportharbornet.com (Bob Lorenzini ) Date: Fri, 2 Mar 2001 08:30:00 -0800 (PST) Subject: [ic] Ergent..Please help. On Fri, 2 Mar 2001, Thomas N. Stefanidis wrote: > Is it so hard to get an anwser? > I have asked this question a thousand times.Can someone please tell me > how to add different prices on a sizes(in the same product). One solution would be to give each size a different sku. From: chris at vanoosterhout.com (Christopher VanOosterhout ) Date: Fri, 02 Mar 2001 11:34:12 -0500 Subject: [ic] Buy Button Seems to Create Bad Robot Error and redirects to Greetings, I am still trying to tackle a buy button problem on the results.html page in the construct demo. The buy button on my results(.html) page when clicked on product "11014" in Netscape creates the following URL: http://127.0.0.1/process.html?mv_session_id=DyjixJQd&mv_click=munge_quantity&mv_separate_items=0&mv_username=&mv_doit=refresh&mv_oi1=11014&mv_order_quantity=%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d1&mv_order_item=11014 A couple of interesting things here: 1) first the number of "%d3" in the URL is 51. That happens to be one more than the 50 limit set on the RobotLimit directive in my catalog.cfg file. 2) when ever I do this, I get the error in the logs saying: westerbeke /cgi-bin/westerbeke/process.html WARNING: POSSIBLE BAD ROBOT. 51 accesses with no 30 second pause. (that relates to the number above) 3) Notice also that the host URL resolves out to my local host 127.0.0.1 instead of my standard URL. 4) This does not happen in IE. IE does not work either, however when I use IE I get sent to the expired.html page. I have read over the RobotLimit messages in the archive and it appears that increasing this limit will only increase the amount of time needed before I get the error. Do you think that the setting for RobotLimit is the problem? Any ideas why I get two different erroneous responses from two different browsers? The responses do not "seem" related. Why would this error resolve out to 127.0.0.1? Is there a setting I should change in my catalog.cfg? Thanks for any input. Christopher VanOosterhout From: jeffd at evcom.net (Jeff Dafoe ) Date: Fri, 2 Mar 2001 11:42:10 -0500 Subject: [ic] Merchant Account question using the Construct Something template?? > You can view our most recent site at http://www.mygamewear.com This store > started out as the consturct demo for code comparision but does > not resemble Incredible example of what can be done with Interchange. Jeff From: mikeh at minivend.com (Mike Heins ) Date: Fri, 2 Mar 2001 11:44:50 -0500 Subject: [ic] Echange en Francais, Quoting Rene Hertell (rene@hertell.com): > I did not understand a word of what you were asking... I would prefer > English as the language spoken/written on this list. > > Rene > > > -----Original Message----- > > From: interchange-users-admin@lists.akopia.com > > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Vaali > > FOFANA > > Sent: 02 March 2001 16:46 > > To: interchange-users@lists.akopia.com > > Subject: [ic] Echange en Francais, > > > > > > Bonjour, > > Je viens d'etre agreablement surpris par vos messages en francais, > > Je pourrais me joindre a vous pour echaner en francais su IC. > > Bon courage > > We have a list set up to take non-english discussions to: http://lists.akopia.com/mailman/listinfo/interchange-intl -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Light travels faster than sound. This is why some people appear bright until you hear them speak. -- unknown From: mikeh at minivend.com (Mike Heins ) Date: Fri, 2 Mar 2001 11:46:34 -0500 Subject: [ic] Help? Quoting Jeff Dafoe (jeffd@evcom.net): > > (You should not have to know how to build a car in order to drive it). > > What if you were driving a car that was specifically designed to be driven > by people who knew how to build cars? > Interchange is less of a car and more of an engine. It has some vehicle features, but it doesn't sport all models from motor-scooter to semi-trailer. You can build any of those out of the engine. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> I have a cop friend who thinks he ought be able to give a new ticket; "too dumb for conditions". From: rsmith at crepsunited.com (Robert Smith ) Date: Fri, 2 Mar 2001 11:42:29 -0500 Subject: [ic] [ANSWER TO] Directive ProductFiles returned default setting error: No default search Just for everyone's future reference: I was moving my Interchange store from one server to another and was doing some cleaning up... in the process I deleted the dbconf directory in my catalog, thinking I wouldn't need it.... DO NOT DELETE THE dbconf DIRECTORY IF YOU'RE USING AN EXTERNAL DATABASE! I spent the WHOLE DAY trying to find out why my server was saying: > Directive ProductFiles returned default setting error: No default search file! > In line 0 of the configuration file '': > ActionMap ui_edit <<EOR > > catalog_name config error: Directive ProductFiles returned default setting error: No default search file! > In line 0 of the configuration file '': > ActionMap ui_edit <<EOR I searched and searched the archives and came up with a multitude of answers, but none really worked. When I copied the dbconf directory, everything worked fine. I felt like an idiot, but now i'm an informed idiot :-) I hope this saves someone lots of aggravation. :-) Robert Smith From: mikeh at minivend.com (Mike Heins ) Date: Fri, 2 Mar 2001 11:56:08 -0500 Subject: [ic] Database Quoting joachim.richter (joachim.richter@usvideocenter.de): > Hi > > we are on the flypage > > we would like to have the name of the database shown of which the > article(which is shown at this very moment on the flypage) comes from. we > could not find an interchange tag such as [item-database] > > is there such a thing ? No, I don't think so. And I don't exactly know how to get at it from there, either. This would get it, though: [perl tables=`join " ", @{$Config->{ProductFiles}}`] # This is not general, only for flypage my $key = q{[item-code]}; for(@{$Config->{ProductFiles}}) { return $_ if $Db{$_}->record_exists($key); } return "NONE"; [/perl] NONE could happen in on-the-fly situations or if it was called explicitly. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers From: markj at redhat.com (Mark Johnson ) Date: Fri, 02 Mar 2001 12:16:01 -0500 Subject: [ic] Help? I think there's a MS product with this guy's name on it. (Oooh, did I say that?) Jeff Dafoe wrote: > > > (You should not have to know how to build a car in order to drive it). > > What if you were driving a car that was specifically designed to be driven > by people who knew how to build cars? > > Jeff > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: markj at redhat.com (Mark Johnson ) Date: Fri, 02 Mar 2001 12:17:45 -0500 Subject: [ic] Ergent..Please help. Bob Lorenzini wrote: > > On Fri, 2 Mar 2001, Thomas N. Stefanidis wrote: > > > Is it so hard to get an anwser? > > I have asked this question a thousand times.Can someone please tell me > > how to add different prices on a sizes(in the same product). > > One solution would be to give each size a different sku. > Another would be to read the docs regarding accessories and item modifiers. -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: bob at nleaudio.com (Bob Puff at NLE ) Date: Fri, 02 Mar 2001 12:33:33 -0500 Subject: [ic] Ergent..Please help. > Is it so hard to get an anwser? I was wondering the same about quantity discounts... I have searched the site, and still see no reference on exactly how to set up an item so that anyone purchasing it will receive quantity discounts. This has to be simple. Please IC people, help us! Bob From: mschick at brightredproductions.com (Matthew Schick ) Date: Fri, 02 Mar 2001 17:41:29 +0000 Subject: [ic] Ergent..Please help. markj@redhat.com wrote: > >Bob Lorenzini wrote: >> >> On Fri, 2 Mar 2001, Thomas N. Stefanidis wrote: >> >> > Is it so hard to get an anwser? >> > I have asked this question a thousand times.Can someone please tell me >> > how to add different prices on a sizes(in the same product). >> >> One solution would be to give each size a different sku. >> >Another would be to read the docs regarding accessories and item >modifiers. >-- Yet another would be to search the archives of this mailing list.... I've seen several solutions in the past couple of weeks alone. Matthew Schick Bright Red Productions From: valankar at nmo.net (Lord Valankar ) Date: Fri, 02 Mar 2001 12:48:59 -0500 Subject: [ic] Ergent..Please help. "Thomas N. Stefanidis" wrote: > > Is it so hard to get an anwser? > I have asked this question a thousand times.Can someone please tell me > how to add different prices on a sizes(in the same product). > > Thank u in advance. > > Thomas *snip* Hi Thomas, I am answering you off list because I am not the most knowledgeable interchange person but I believe that the answer you seek has already been given, either to you or someone else in the archives. At some point I recall Mike saying that the easiest way to do this would be to create different products for each of the various sizes. For example--- Say you sell a sweatshirt with a penguin on it. It comes in Small, Medium, Large, and Extra Large. The easiest way of handling this is to create separate sku's (part numbers or products) for each different size. This may sound silly at first, but it actually makes sense because it allows you and their for the system to track properly the sales of the individual sizes. (Think for a moment of inventory tracking - If all the sizes were lumped into one sum quantity, how would you know if you were out of Extra Large?) If it was absolutely necessary to use only one sku for the penguin shirt the only way I can think of maintaining and linking the quantities on hand as well as the different sizes would be some kind of convolution with a joined query. (And sorry I can't help, I'm not that good with Interchange yet, but it would be something to bounce off someone with a little more experience =) Anyway, hope this helps you a little, and best of luck! -- 0==----------=^=----------==0 Valankar (aka Dwagon) <humor> "Just remember: If life didn't suck we would all fly off the earth." </humor> From: bappliance1 at qwest.net (Bappliance1 ) Date: Fri, 2 Mar 2001 11:50:10 -0800 Subject: [ic] Help? You know, I thought this board was here to help others, not criticize them? Mark: You probably could not afford the car in the first place so don't let it bug you :) ----- Original Message ----- From: "Mark Johnson" <markj@redhat.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 02, 2001 9:16 AM Subject: Re: [ic] Help? > I think there's a MS product with this guy's name on it. > > (Oooh, did I say that?) > > Jeff Dafoe wrote: > > > > > (You should not have to know how to build a car in order to drive it). > > > > What if you were driving a car that was specifically designed to be driven > > by people who knew how to build cars? > > > > Jeff > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > -- > Mark Johnson > Senior Developer - Professional Services > Red Hat, Inc. > E-Business Solutions > markj@redhat.com > 703-456-2912 > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: denis at artofmusicproject.com (Denis Heinrichs ) Date: Fri, 02 Mar 2001 10:08:40 -0800 Subject: [ic] Is this a bug? I have a site based upon the "construct something" example. In template/components/random_vertical is the line: [loop random="[either][scratch component_vsize][or]3[/either]" search="ra=yes/ml=1000" ] This works fine on my development server, but when I post to my production server, it didn't work. My development and production server both use mysql, although the production server has the database on a remote machine. I got everything working with: [loop random="[either][scratch component_vsize][or]3[/either]" search="fi=products/ra=yes/ml=1000" ] Is this a bug in the way that IC works with mysql and tables? -- Denis Heinrichs Director of Technology The Art of Music Project From: webmaster at aboron.com (Greg Gaskill ) Date: Fri, 2 Mar 2001 13:30:01 -0500 Subject: Idea for developer's list. Was: Re: [ic] Echange en Francais, ----- Original Message ----- From: "Mike Heins" <mikeh@minivend.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 02, 2001 11:44 AM Subject: Re: [ic] Echange en Francais, <..snip..> > > We have a list set up to take non-english discussions to: > > http://lists.akopia.com/mailman/listinfo/interchange-intl > > -- I was wondering if it would be a good idea to set up an 'interchange-developers' list for people to discuss more advanced implementations and solutions using Interchange. The '-developers' would hopefully scare the newbies away, or keep them in the '-users' list. I've got plenty of unused space on my server to put this (but I've never set-up a mailing list before, so I might not be the best choice for administering it). > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > Light travels faster than sound. This is why some people appear bright > until you hear them speak. -- unknown > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > Greg Gaskill Aboron, Inc. webmaster@aboron.com From: bappliance1 at qwest.net (Bappliance1 ) Date: Fri, 2 Mar 2001 12:30:49 -0800 Subject: [ic] Help? Sorry. My last message was ment for jeff, not Mark! You know, I thought this board was here to help others, not criticize them? jeff dafoe: You probably could not afford the car in the first place so don't let it bug you :) ----- Original Message ----- From: "Mark Johnson" <markj@redhat.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 02, 2001 9:16 AM Subject: Re: [ic] Help? > I think there's a MS product with this guy's name on it. > > (Oooh, did I say that?) > > Jeff Dafoe wrote: > > > > > (You should not have to know how to build a car in order to drive it). > > > > What if you were driving a car that was specifically designed to be driven > > by people who knew how to build cars? > > > > Jeff > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > -- > Mark Johnson > Senior Developer - Professional Services > Red Hat, Inc. > E-Business Solutions > markj@redhat.com > 703-456-2912 > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: edl at newmediaems.com (Ed LaFrance ) Date: Fri, 02 Mar 2001 10:34:28 -0800 Subject: [ic] Ergent..Please help. At 06:14 PM 03/02/2001 +0200, you wrote: >Is it so hard to get an anwser? >I have asked this question a thousand times.Can someone please tell me >how to add different prices on a sizes(in the same product). > >Thank u in advance. > >Thomas Thomas - http://developer.akopia.com/cgi-bin/ic/dev/ictemplates_17.html unfortunately the documentation used to be a better on this, in my opininion. You might want to get your hands on the Minivend docs - I think you can still get the Minivend tarballs at the Interchange site. - Ed L. >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users From: jeffd at evcom.net (Jeff Dafoe ) Date: Fri, 2 Mar 2001 13:48:26 -0500 Subject: [ic] Help? > You know, I thought this board was here to help others, not > criticize them? There was absolutely nothing critical in my reply. The Interchange solution is currently far from a plug-and-play solution and does require a level of technical skill that the average person looking to install a shopping cart may not possess. This does not mean that this person is a worthless individual, there is nothing odd about looking for a simple ecommerce solution, and this implication was not made. The implication that the Interchange solution may not currently be geared to a user looking for a plug-and-play solution is certainly not a criticizing comment against either Interchange or the user attempting to implement it. Jeff From: jeffd at evcom.net (Jeff Dafoe ) Date: Fri, 2 Mar 2001 13:57:30 -0500 Subject: Idea for developer's list. Was: Re: [ic] Echange en Francais, > I was wondering if it would be a good idea to set up an > 'interchange-developers' list for people to discuss more advanced > implementations and solutions using Interchange. The problem then is it becomes like the blind leading the blind. All the knowledgeable users are in the devel list and everyone in the normal list is left helpless. I think a better solution would be to use canned responses. When someone asks a question that has been answered in the discusssion forum before, just reply with something like: That issue was discussed in the mailing list previously, you can search the archive at http://developer.akopia.com/cgi-bin/htsearch . If you don't find the information you are looking for, let us know and we will try to help from there. I think this would work fine for everyone involved. I am certain that the people asking the question would have no problem checking the archive first (I suspect many do not know the archive exists, finding the archive search from developer.akopia.com is not very intuitive) and then if they still have a question they can post on the list again. Jeff From: mschick at brightredproductions.com (Matthew Schick ) Date: Fri, 2 Mar 2001 12:54:59 -0600 Subject: Idea for developer's list. Was: Re: [ic] Echange en Francais, On Friday March 02 2001 12:30, you wrote: I would love to see such a seperation..... Keep from having to wade thru the same questions and answers every day to get to the real "meat" of the discussion...... just my two cents <g> > > I was wondering if it would be a good idea to set up an > 'interchange-developers' list for people to discuss more advanced > implementations and solutions using Interchange. > > The '-developers' would hopefully scare the newbies away, or keep > them in the '-users' list. I've got plenty of unused space on my server > to put this (but I've never set-up a mailing list before, so I might not > be the best choice for administering it). > > > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > > > Light travels faster than sound. This is why some people appear bright > > until you hear them speak. -- unknown > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > Greg Gaskill > Aboron, Inc. > webmaster@aboron.com > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Matthew Schick Owner Bright Red Productions, LLC mschick@brightredproductions.com www.brightredproductions.com From: ton at verhagen.net (Ton Verhagen ) Date: Fri, 02 Mar 2001 19:57:19 +0100 Subject: [ic] IC dies when configuring catalog with large mySQL table at Hi All, We have a mySQL table (subscriber) with about 5.5 million records which we would like to integrate in an IC catalog. Because the table is rather large we put the directive: 'NoImportExternal yes' in catalog.cfg There is no content in the table subscriber.txt (except for the field names) in the products directory. Product directory also contains: subscriber.sql Directory dbconf/mysql contains table description in subscriber.mysql with contents: ----- Begin subscriber.mysql ----- # MiniVend database definition Database subscriber subscriber.txt __SQLDSN__ #ifdef SQLUSER Database subscriber USER __SQLUSER__ #endif #ifdef SQLPASS Database subscriber PASS __SQLPASS__ #endif ----- End subscriber.mysql ----- SQLDSN, SQLUSER, and SQLPASS are being set properly in catalog.cfg (they work with other mySQL tables in same catalog) However, it still seems that IC tries to read the table at startup time and waits (hang up?) forever. What could be wrong here? Has anyone experienced the same problem? Thanks for your help. Best regards, Ton From: rsmith at crepsunited.com (Robert Smith ) Date: Fri, 2 Mar 2001 13:50:14 -0500 Subject: [ic] Encrypting credit card numbers, then putting them in a database? Hey all... I have a simple question that I would like some input on: I want to store orders in my PostgreSQL database, along with the credit card #'s (encrypted, of course). I don't want to send the number to anything like CyberCash, authorize.net, and etc. (We're doing that in-house) Now how would I go about reconfiguring Interchange to accomplish this task? I'm guessing I need to change the order routing... do I need to do any perl tweaking? Most importantly, has anyone else done this, or is this something in the norm? What are YOU doing on YOUR site? :-) Thanks for any input you can provide! Robert Smith From: bappliance1 at qwest.net (Bappliance1 ) Date: Fri, 2 Mar 2001 13:06:58 -0800 Subject: [ic] Help? I apoligise. I guess I took your statements the wrong way. And yes, maybe I would seek the plug-n-play way out if there was one as good as Interchange looks! ----- Original Message ----- From: "Jeff Dafoe" <jeffd@evcom.net> To: <interchange-users@lists.akopia.com> Sent: Friday, March 02, 2001 10:48 AM Subject: RE: [ic] Help? > > You know, I thought this board was here to help others, not > > criticize them? > > There was absolutely nothing critical in my reply. The Interchange > solution is currently far from a plug-and-play solution and does require a > level of technical skill that the average person looking to install a > shopping cart may not possess. This does not mean that this person is a > worthless individual, there is nothing odd about looking for a simple > ecommerce solution, and this implication was not made. The implication that > the Interchange solution may not currently be geared to a user looking for a > plug-and-play solution is certainly not a criticizing comment against either > Interchange or the user attempting to implement it. > > > Jeff > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: joachim.richter at usvideocenter.de (joachim.richter ) Date: Fri, 02 Mar 2001 19:46:22 +0100 Subject: [ic] Database Hi Mike, thanks for the help, however we cant seem to get the output into a scratch field [cross_file] are we totally mistaken or are we overseeing something ? [set cross_file][perl tables=`join " ", @{$Config->{ProductFiles}}`] # This is not general, only for flypage my $key = q{[item-code]}; for(@{$Config->{ProductFiles}}) { return $_ if $Db{$_}->record_exists($key); } return "NONE"; [/perl][/set] if we scratch the cross_file we actually get the perl code back ?? [scratch cross_file] thanks and a good weekend 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: cfm at maine.com (cfm at maine.com ) Date: Fri, 2 Mar 2001 14:25:56 -0500 Subject: [ic] Database On Fri, Mar 02, 2001 at 07:46:22PM +0100, joachim.richter wrote: > Hi Mike, > > thanks for the help, however we cant seem to get the output into a scratch field [cross_file] > are we totally mistaken or are we overseeing something ? > > > [set cross_file][perl tables=`join " ", @{$Config->{ProductFiles}}`] ^ ^ -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: edl at newmediaems.com (Ed LaFrance ) Date: Fri, 02 Mar 2001 11:29:09 -0800 Subject: [ic] Database At 07:46 PM 03/02/2001 +0100, you wrote: >Hi Mike, > >thanks for the help, however we cant seem to get the output into a scratch >field [cross_file] >are we totally mistaken or are we overseeing something ? > > >[set cross_file][perl tables=`join " ", @{$Config->{ProductFiles}}`] > # This is not general, only for flypage > my $key = q{[item-code]}; > > for(@{$Config->{ProductFiles}}) { > return $_ if $Db{$_}->record_exists($key); > } > return "NONE"; > [/perl][/set] > >if we scratch the cross_file we actually get the perl code back ?? >[scratch cross_file] Use [seti cross_file][/seti] instead - the "i" is for "interpolate". - Ed L. From: markj at redhat.com (Mark Johnson ) Date: Fri, 02 Mar 2001 14:34:47 -0500 Subject: [ic] Database [seti cross_file][perl tables=`join " ", @{$Config->{ProductFiles}}`] ^ # This is not general, only for flypage my $key = q{[item-code]}; for(@{$Config->{ProductFiles}}) { return $_ if $Db{$_}->record_exists($key); } return "NONE"; [/perl][/seti] ^ "joachim.richter" wrote: > > Hi Mike, > > thanks for the help, however we cant seem to get the output into a scratch field [cross_file] > are we totally mistaken or are we overseeing something ? > > [set cross_file][perl tables=`join " ", @{$Config->{ProductFiles}}`] > # This is not general, only for flypage > my $key = q{[item-code]}; > > for(@{$Config->{ProductFiles}}) { > return $_ if $Db{$_}->record_exists($key); > } > return "NONE"; > [/perl][/set] > > if we scratch the cross_file we actually get the perl code back ?? [scratch cross_file] > > thanks and a good weekend > > 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@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: db at cyclonehq.dnsalias.net (Dan B ) Date: Fri, 02 Mar 2001 11:37:14 -0800 Subject: [ic] Is this a bug? At 10:08 AM 3/2/2001 -0800, you wrote: >I have a site based upon the "construct something" example. > >In template/components/random_vertical is the line: >[loop > random="[either][scratch component_vsize][or]3[/either]" > search="ra=yes/ml=1000" > ] > >This works fine on my development server, but when I post to my >production server, it didn't work. My development and production >server both use mysql, although the production server has the database >on a remote machine. > >I got everything working with: >[loop > random="[either][scratch component_vsize][or]3[/either]" > search="fi=products/ra=yes/ml=1000" > ] > >Is this a bug in the way that IC works with mysql and tables? Does your development run Mysql? When you are using a SQL db, I think you either have to have st=db or fi=products. Also, make sure your production server has... ProductFiles products My .0185 (adjusted for inflation) -Dan Browning >-- >Denis Heinrichs >Director of Technology >The Art of Music Project > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Fri, 02 Mar 2001 11:41:04 -0800 Subject: Idea for developer's list. Was: Re: [ic] Echange en At 01:57 PM 3/2/2001 -0500, you wrote: > > I was wondering if it would be a good idea to set up an > > 'interchange-developers' list for people to discuss more advanced > > implementations and solutions using Interchange. > > The problem then is it becomes like the blind leading the > blind. All the >knowledgeable users are in the devel list and everyone in the normal list is >left helpless. > I think a better solution would be to use canned responses. When > someone >asks a question that has been answered in the discusssion forum before, just >reply with something like: > > That issue was discussed in the mailing list previously, you can > search the >archive at http://developer.akopia.com/cgi-bin/htsearch . If you don't find >the information you are looking for, let us know and we will try to help >from there. > > I think this would work fine for everyone involved. I am certain > that the >people asking the question would have no problem checking the archive first >(I suspect many do not know the archive exists, finding the archive search >from developer.akopia.com is not very intuitive) and then if they still have >a question they can post on the list again. I agree with Jeff. But we should also mention URL's to the searchable documention, the PDF download URL, the FAQ, in addition to the mailing list search. Look at the linux-kernel mailing list. There is no "linux-kernel-users". For me personally, it doesn't cause pain to have the newbies on the list (though I've suggested ways to reduce redundant questions). Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: stevep at sga.org (Steve Palm ) Date: Fri, 2 Mar 2001 14:22:16 -0600 Subject: [ic] searching in simple 4.6 demo >This is a newbie question. Mine too, a follow up.... >Has anybody used simple 4.6 demo page with interchange 4.6.3? The search would not work for me. Nor for me. I sort of got it working by changing some of the code so it was searching by actual category name instead of the code it was using. But now I have a problem.... I can not get coordinated searches to actually coordinate. From my reading of the documentation, I should use mv_search_map to specify the variable names being used to hold the searchspecs, and turn on mv_coordinate, and then set the mv_search_fields... I would think this would end up searching the first field specified (category) for the value in input field "search1", and the second field(s) (:title,author,comment,display) for the value in the second input field "search2". Instead, it seems to be searching all fields for either value. is each field in the ":title,author,comment,display" consdidered to be separate, and therefore require that I provide a unique search value for each one instead of just one for the group? The docs on using this ":field,field" notation is really vague. The code is below: <INPUT TYPE=hidden NAME=mv_search_map VALUE=" mv_searchspec=search1 mv_searchspec=search2 "> <INPUT TYPE=hidden NAME=mv_coordinate VALUE=1> <INPUT TYPE=hidden NAME=mv_search_field VALUE=category> <INPUT TYPE=hidden NAME=mv_search_field VALUE=":author,title,comment,display"> <INPUT TYPE=hidden NAME=mv_sort_field VALUE=category> &nbsp;&nbsp;<FONT SIZE=1 FACE="Tahoma, Arial, Helvetica"> <SELECT NAME=search1 SIZE=1> <OPTION VALUE="">All categories __TIMED_CATOPT__ [loop search="fi=cat.txt/se=simple/sf=link_type/un=yes"] <OPTION VALUE="[loop-data cat name]">[loop-data cat name] [/loop] __END_TIMED__ </SELECT> </FONT><BR> <IMG SRC="clear.gif" WIDTH=1 ALT="" HEIGHT=4 BORDER=0><BR> &nbsp;&nbsp; <INPUT MAXLENGTH=30 NAME=search2 ALIGN=LEFT SIZE=10 VALUE=""> &nbsp; <INPUT TYPE=image SRC="template/go.png" WIDTH=25 ALT="Go for it !!!" HEIGHT=25 ALIGN=top BORDER=0> -- Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * http://www.sga.org From: nwcorp at helpwizard.com (nwcorp at helpwizard.com ) Date: Fri, 02 Mar 2001 12:30:43 -0800 Subject: [ic] Categories - one product in multiple categories Does anyone know the magic trick for allowing one product to appear in multiple categories? Can't seem to find any info in the .pdf files or here among the users. Thank you! Jami Engebretson http://www.gogogourmet.com Your Source for Pacific Northwest Gourmet Foods From: cfm at maine.com (cfm at maine.com ) Date: Fri, 2 Mar 2001 16:27:00 -0500 Subject: [ic] Categories - one product in multiple categories On Fri, Mar 02, 2001 at 12:30:43PM -0800, nwcorp@helpwizard.com wrote: > Does anyone know the magic trick for allowing one product to appear in > multiple categories? Can't seem to find any info in the .pdf files or > here among the users. keep the list of categories in which any particular product belongs in a separate table and JOIN products table sku product 1 Foo 2 Bar 3 Gletch categories table cc description 1 Big shiny things 2 Dull drab things 3 Everything else 4 The universe relations sku cc 1 1 # Foo is a big shiny thing 1 4 # everything is in The Universe 2 2 2 4 3 3 3 4 Pandora's box.... -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: doliver at hampshire.edu (Dylan Oliver ) Date: Fri, 2 Mar 2001 15:41:55 -0600 Subject: [ic] can some one explain in plain english On Fri, 2 Mar 2001 10:12:27 -0500 "RMS" <Pray@netnitco.net> wrote: > thank you - I hit the archive board last night and learned alot. I first > thought it was CGI script and went and bought two books and read them as I > am not that familiar with CGI -bins. I am glad there is a list to come to > and that I found it. > Is there a way to get some of the foreign emails translated to English or am > I better off not? > Again thank you See babelfish.altavista.com -- Dylan Oliver http://stout.hampshire.edu/~dao99 Do you know how little you know? From: cpi at accxs.net (ACC&S ) Date: Fri, 2 Mar 2001 22:38:15 +0100 Subject: [ic] Edit Permissions Hi all, i'm trying to install a new administrator, but i have a problem with permission. this administrator need only read information about product, customers and transaction. No delete and no write ! I changed all permission to do that but it doesn't applied... what is the problem ?? URGENT.... PLEASE... From: jojo at blackpoint.de (jojo at blackpoint.de ) Date: Fri, 2 Mar 2001 22:59:39 +0100 (CET) Subject: [ic] suddenly the IP of the UI and the shop become 127.0.0.1!! On 2 Mar, Thomas N. Stefanidis wrote: > That's nice!! > Yes!! > Both UI and the site itself! > I still have the site on an ip,haven't moved it to the real domain,but > what on earth was this?? > I was wondering if it would be better to change from the "Low traffic" > to "high". > Is this as simple as uncomment the : > #Variable TRAFFIC high Look at RobotLimit and increase it. Look into the error.log file too. Joachim -- -------------<FreeBsd>-------------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: stevep at sga.org (Steve Palm ) Date: Fri, 2 Mar 2001 16:29:55 -0600 Subject: [ic] Shipping: Bad zone? Please help. I can't figure this one out... When I start interchange, I get this error.... ----------------------------------------------------------------------------- Configuring catalog Store...Bad shipping file for zone 'u', lookup disabled. ----------------------------------------------------------------------------- Where can I figure out what file/information is bad? Nothing more informative is in the error.log, just the same thing. -- Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * http://www.sga.org From: stevep at sga.org (Steve Palm ) Date: Fri, 2 Mar 2001 16:32:56 -0600 Subject: [ic] Secure / Normal store Okay, I want to have a secured checkout page, but normal browsing. Our web server is set up so that the CGI-BIN for secure pages is different from the one for insecure pages. I have set AlwaysSecure ord/checkout, and have defined SecureURL. It tries to switch to https mode, but then complains that the catalog is undefined. I have put a copy of the same vlink program over in the secure cgi-bin directory as is in the main directory. I tried to put a duplicate catalog line in the interchange.cfg, but it appears that it only looks at the first one for a given store name. If I set this up as a different store name, won't it loose access to the basket/etc they were browsing in when they were in insecure mode? Help, open to pointers. ;-) -- Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * http://www.sga.org From: chc at mninter.net (Curt Hauge ) Date: Fri, 2 Mar 2001 16:32:46 -0500 Subject: [ic] mailman feature request: 1st question always returned or maybe an online form to post questions with fields like: IC Version: Error log(s): etc., with certain required fields (like IC version) just my 2 cents Curt Hauge -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Hans-Joachim Leidinger Sent: Thursday, March 01, 2001 2:45 AM To: interchange-users@lists.akopia.com Subject: Re: [ic] mailman feature request: 1st question always returned Dan B wrote: > > Idea (due to all the FAQ asked on this list): > > The first time a new subscribe posts to the list, the post is blocked and > returned to sender, with the following text: > > ---- > Before your first post can be sent to the list, you *must* research all the > following materials to see if you question has been asked and answered before: > 1. FAQ http://... > 2. Docs (searchable) http://... > 3. Mailing list archive (searchable) http://... > Your first post has been returned, if you send it again it will get > through. But please check if it is a FAQ. > ---- > > If mailman has this feature already it would be nice to have turned on. If > not, someone should take this to the mailman developers. > > Just a thought, Hmmm...this is a idea, but if some MV/IC-Guru has a question and didn't find any answer from docs, archives, etc....should he or she always post his questions two times? Or what do you mean with "first post"? Joachim -- -------------Hans-Joachim Leidinger--------------------- _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: rapier at psc.edu (Chris Rapier ) Date: Fri, 02 Mar 2001 17:48:58 -0500 Subject: [ic] Categories - one product in multiple categories cfm@maine.com wrote: > > On Fri, Mar 02, 2001 at 12:30:43PM -0800, nwcorp@helpwizard.com wrote: > > Does anyone know the magic trick for allowing one product to appear in > > multiple categories? Can't seem to find any info in the .pdf files or > > here among the users. > > keep the list of categories in which any particular product belongs > in a separate table and JOIN Alrternatively, a somewhat simpler way of doing this is to set up multiple category columns eg sku desc cat_1 cat_2 cat_3 1 this none blue 2 that all red 3 other all blue Then you just search against all three categories for the key word. In this case a search on blue would return products 1 and 3, a search on all would return 2 and 3. A search on this and blue would return only 1. Assuming that you disabled or searching. The problem is that this only works well with smaller catalogs and a low number of categories columns. If you have 16 category columns and 27,000 items this is simply not the right way to do it. Mr. Miller's example seems more versatile to me. From: rapier at psc.edu (Chris Rapier ) Date: Fri, 02 Mar 2001 17:51:41 -0500 Subject: [ic] Ergent..Please help. Good documentation is difficult to find. More places need to hire skilled technical writers instead of drafting developers to do this sort of work. Its easy to write a manual but damn near impossible to write a good one. Ed LaFrance wrote: > > At 06:14 PM 03/02/2001 +0200, you wrote: > >Is it so hard to get an anwser? > >I have asked this question a thousand times.Can someone please tell me > >how to add different prices on a sizes(in the same product). > > > >Thank u in advance. > > > >Thomas > > Thomas - > > http://developer.akopia.com/cgi-bin/ic/dev/ictemplates_17.html > > unfortunately the documentation used to be a better on this, in my > opininion. You might want to get your hands on the Minivend docs - I think > you can still get the Minivend tarballs at the Interchange site. > > - Ed L. > > >_______________________________________________ > >Interchange-users mailing list > >Interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: rapier at psc.edu (Chris Rapier ) Date: Fri, 02 Mar 2001 17:54:49 -0500 Subject: [ic] Ergent..Please help. Matthew Schick wrote: > > markj@redhat.com wrote: > > > >Bob Lorenzini wrote: > >> > >> On Fri, 2 Mar 2001, Thomas N. Stefanidis wrote: > >> > >> > Is it so hard to get an anwser? > >> > I have asked this question a thousand times.Can someone please tell me > >> > how to add different prices on a sizes(in the same product). > >> > >> One solution would be to give each size a different sku. > >> > >Another would be to read the docs regarding accessories and item > >modifiers. > >-- > Yet another would be to search the archives of this mailing list.... I've seen > several solutions in the past couple of weeks alone. The only problem with searching the mailing list is that you still need to know how to phrase the question. Without the right language you'll get buried in your results. Users need to read the documentation as fully as possible first, the search the archive. Also, WRT to the on line documentation. Is is possible to give us the option of having the entire document in one file (and could we do this with the old minivend 4 docs like they used to be)? It gives us the option of being able to do keyword searches. Frames and documents that are broken down into small pages simply suck for searching like that. Chris From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Fri, 2 Mar 2001 14:49:42 -0800 Subject: [ic] Secure / Normal store Hey Steve, I had to do just something like this when we had our secure server with a different domain then the customer's domain. I ended up just copying the cgi program into the secure directory and it worked as designed without the undefined catalog error. If that in fact doesn't work for you may try a symbolic link from your secure-cgi-dir/cat-program -> nonsecure-cgi-dir/cat-program. Good luck! -Ron ---------------------------------------------------------------------------- --------------------------- Checkout http://www.mygamewear.com to see Interchange in Action! ---------------------------------------------------------------------------- --------------------------- -----Original Message----- From: Steve Palm <stevep@sga.org> To: interchange-users@lists.akopia.com <interchange-users@lists.akopia.com> Date: Friday, March 02, 2001 2:37 PM Subject: [ic] Secure / Normal store > >Okay, I want to have a secured checkout page, but normal browsing. > >Our web server is set up so that the CGI-BIN for secure pages is different from the one for insecure pages. > >I have set AlwaysSecure ord/checkout, and have defined SecureURL. > >It tries to switch to https mode, but then complains that the catalog is undefined. I have put a copy of the same vlink program over in the secure cgi-bin directory as is in the main directory. > >I tried to put a duplicate catalog line in the interchange.cfg, but it appears that it only looks at the first one for a given store name. If I set this up as a different store name, won't it loose access to the basket/etc they were browsing in when they were in insecure mode? > >Help, open to pointers. ;-) > >-- >Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * >http://www.sga.org > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users From: robert at icardigital.com (Robert Trembath ) Date: Fri, 2 Mar 2001 17:14:53 -0600 Subject: [ic] Problem connecting to MySQL My DBI and DBD are uptodate but for some reason I cannot connect to mysql using localhost, only the actual machine name. Please help or tell me if I can change the host setting somewhere to fix this. Robert From: jon at akopia.com (Jon Jensen ) Date: Fri, 2 Mar 2001 17:24:19 -0600 (CST) Subject: [ic] Ergent..Please help. On Fri, 2 Mar 2001, Chris Rapier wrote: > Also, WRT to the on line documentation. Is is possible to give us the > option of having the entire document in one file (and could we do this > with the old minivend 4 docs like they used to be)? It gives us the > option of being able to do keyword searches. Frames and documents that > are broken down into small pages simply suck for searching like that. I'll do that. I find it handy too. Greatly improved documentation will come with the 4.8 release. It won't be perfect, but it should be a lot better. Jon From: db at cyclonehq.dnsalias.net (Dan B ) Date: Fri, 02 Mar 2001 15:29:52 -0800 Subject: [ic] Problem connecting to MySQL At 05:14 PM 3/2/2001 -0600, you wrote: >My DBI and DBD are uptodate but for some reason I cannot connect to mysql >using localhost, only the actual machine name. Please help or tell me if I >can change the host setting somewhere to fix this. Does 127.0.0.1 work? Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: robert at icardigital.com (Robert Trembath ) Date: Fri, 2 Mar 2001 17:51:21 -0600 Subject: [ic] Problem connecting to MySQL I don't know because I don't know where to change the host setting. It's not in the makecat script. ----- Original Message ----- From: "Dan B" <db@cyclonehq.dnsalias.net> To: <interchange-users@lists.akopia.com> Sent: Friday, March 02, 2001 5:29 PM Subject: Re: [ic] Problem connecting to MySQL > At 05:14 PM 3/2/2001 -0600, you wrote: > >My DBI and DBD are uptodate but for some reason I cannot connect to mysql > >using localhost, only the actual machine name. Please help or tell me if I > >can change the host setting somewhere to fix this. > > Does 127.0.0.1 work? > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: support at integricity.com (Integricity Support Team ) Date: Sat, 3 Mar 2001 08:18:28 +0800 Subject: Re[2]: [ic] Ergent..Please help. Hi!! Any idea what the schedule is like for releases of 4.7 and 4.8 ? It'll be nice for us to be able to do that. There was discussion saying that it's hard to search thru the mailing list. I agree. Would using a forum help instead? We can set up forums if need be. At least all discussions can be divided according to threads and yes, you can still subscribe to be mailed all the discussions. Alex From: db at cyclonehq.dnsalias.net (Dan B ) Date: Fri, 02 Mar 2001 16:00:11 -0800 Subject: [ic] Problem connecting to MySQL At 05:51 PM 3/2/2001 -0600, you wrote: >I don't know because I don't know where to change the host setting. It's not >in the makecat script. There should be a line in catalog.cfg where you can set the $dbi thingy. (hostname/port/etc.). -Dan >----- Original Message ----- >From: "Dan B" <db@cyclonehq.dnsalias.net> >To: <interchange-users@lists.akopia.com> >Sent: Friday, March 02, 2001 5:29 PM >Subject: Re: [ic] Problem connecting to MySQL > > > > At 05:14 PM 3/2/2001 -0600, you wrote: > > >My DBI and DBD are uptodate but for some reason I cannot connect to mysql > > >using localhost, only the actual machine name. Please help or tell me if >I > > >can change the host setting somewhere to fix this. > > > > Does 127.0.0.1 work? > > > > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: markj at redhat.com (Mark Johnson ) Date: Fri, 02 Mar 2001 19:21:13 -0500 Subject: [ic] Problem connecting to MySQL If mysql is on the same machine as interchange, just remove the host (and port if it's set) and try that. That is, in catalog.cfg: SQLDSN dbi:mysql:dbname Dan B wrote: > > At 05:51 PM 3/2/2001 -0600, you wrote: > >I don't know because I don't know where to change the host setting. It's not > >in the makecat script. > > There should be a line in catalog.cfg where you can set the $dbi > thingy. (hostname/port/etc.). > > -Dan > > >----- Original Message ----- > >From: "Dan B" <db@cyclonehq.dnsalias.net> > >To: <interchange-users@lists.akopia.com> > >Sent: Friday, March 02, 2001 5:29 PM > >Subject: Re: [ic] Problem connecting to MySQL > > > > > > > At 05:14 PM 3/2/2001 -0600, you wrote: > > > >My DBI and DBD are uptodate but for some reason I cannot connect to mysql > > > >using localhost, only the actual machine name. Please help or tell me if > >I > > > >can change the host setting somewhere to fix this. > > > > > > Does 127.0.0.1 work? > > > > > > > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > >_______________________________________________ > >Interchange-users mailing list > >Interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange at my-school.com (IC-Admin ) Date: Fri, 2 Mar 2001 20:33:12 -0500 (EST) Subject: Idea for developer's list. Was: Re: [ic] Echange en Francais, Jeff Dafoe wrote: > I am certain that the people asking the question would have no problem > checking the archive first (I suspect many do not know the archive > exists, finding the archive search from developer.akopia.com is not very > intuitive) What would you consider intuitive ? If you go to developer.akopia.com, there is a clearly marked section for "Documentation". That's one click (and even an unpatented one..:-). There is another clearly marked section "Mail list archives". That's aother one click. (Now two for one and still for half the price of free). Are you saying people access the mailing list from somewhere, where they don't come in over the developer.akopia.com page ? Or do you expect a zero click option for the documentation ? (How do you then expect it to ever click in user's minds ? :-)) > There was absolutely nothing critical in my reply. The Interchange > solution is currently far from a plug-and-play solution and does require > a level of technical skill that the average person looking to install a > shopping cart may not possess. I think Mike Heins said it quite nicely this morning : Interchange is less of a car and more of an engine. It has some vehicle features, but it doesn't sport all models from motor-scooter to semi-trailer. You can build any of those out of the engine. It is obvious that IC was not designed to be a plug and play intuitive solution (though its UI makes a strong effort in that direction). May be that's now backfiring. The UI is that convincingly click, cut and paste that people mistakenly don't "look under the hood" anymore. May be the top banner on the mailing list should be redesigned. Instead of putting Akopia's Logo up there, it would be a place where a big, fat link to the docs and FAQs should stare into our face all the time. Then the only canned answers left to give out would be : 'I hear you' said the deaf guru 'I see' answered the blind newbie Birgitt From: support at integricity.com (Integricity Support Team ) Date: Sat, 3 Mar 2001 08:37:37 +0800 Subject: [ic] Weight: Changing pounds to kilos Hi!! Whether you use kgs or pounds is not really an issue. If you standardise and only use one convention and not the other, then it is not a problem. I personally have entered my data in kgs, despite it saying pounds. As long as you key in the shipping tables according to kg and not pounds, there is no problem. I have actually got a script where customers can convert kgs to pounds, etc... You click on it and it pops up in a new page for anyone to calculate stuff. You can mail me if you'd like it. Best regards, Alex Lam mailto:support@integricity.com Integricity Corporation Friday, March 02, 2001, 10:13:35 PM, you wrote: TC> We have successfully set up the interchange software on our server. However, TC> there is one item that we wish to alter, that being the weight. Currently it TC> is calculated in pounds, and we would like to know if there is any way to change TC> this to kilo's. We have looked on the website and through the documentation TC> but can find no way to do this. TC> A speedy reply to this query would be appreciated. TC> _______________________________________________ TC> Interchange-users mailing list TC> Interchange-users@lists.akopia.com TC> http://lists.akopia.com/mailman/listinfo/interchange-users From: Psirix at aol.com (Psirix at aol.com ) Date: Fri, 02 Mar 2001 19:23:02 EST Subject: [ic] Credit Card Number Encrypting Problem! Can anyone help? Dear Intechange Users: I am using Construct Something Software to make my e-commerce website and Im having a problem with the Credit Card encrypting. Can anyone help? I read on here about using PGP on the developer.akopia.com home page. What is this? I also I have to put /usr/local/bin/pgp -feat orders@company.com somewhere. Do I need software to encrypt it? If so which & where can I get it & how do I go about installing on my server/site? When I tested placing an order on my site I received this error "Credit Card Information (Credit card encryption failed:)" I honestly dont know how to do any of this. I thought I knew how to do this but I guess not. I would appreciate anyone's help with this and pointing me in the right direction. MY e-mail address is: Psirix@aol.com Thank you all, Nick Gregory From: rhertz at gyb.baits.com (Ryan Hertz ) Date: Fri, 02 Mar 2001 17:30:03 -0700 Subject: [ic] Buy Button Seems to Create Bad Robot Error and At 09:34 AM 3/2/01 , you wrote: >Greetings, > >I am still trying to tackle a buy button problem on the results.html page >in the construct demo. The buy button on my results(.html) page when >clicked on product "11014" in Netscape creates the following URL: > >http://127.0.0.1/process.html?mv_session_id=DyjixJQd&mv_click=munge_quantit >y&mv_separate_items=0&mv_username=&mv_doit=refresh&mv_oi1=11014&mv_order_qu >antity=%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3 >d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3 >d%3d%3d%3d1&mv_order_item=11014 Why are you generating that URL? >A couple of interesting things here: > >1) first the number of "%d3" in the URL is 51. That happens to be one >more than the 50 limit set on the RobotLimit directive in my catalog.cfg file. > >2) when ever I do this, I get the error in the logs saying: westerbeke >/cgi-bin/westerbeke/process.html WARNING: POSSIBLE BAD ROBOT. 51 accesses >with no 30 second pause. (that relates to the number above) Yup. >3) Notice also that the host URL resolves out to my local host 127.0.0.1 >instead of my standard URL. That's the robot defense. This is a feature. >4) This does not happen in IE. IE does not work either, however when I >use IE I get sent to the expired.html page. Don't know, but probably related. >I have read over the RobotLimit messages in the archive and it appears >that increasing this limit will only increase the amount of time needed >before I get the error. RobotLimit is the maximum number of single page loads within 30 seconds. Why you have a URL that creates 51 accesses, I can't imagine. >Do you think that the setting for RobotLimit is the problem? >Any ideas why I get two different erroneous responses from two different >browsers? The responses do not "seem" related. > >Why would this error resolve out to 127.0.0.1? Is there a setting I >should change in my catalog.cfg? > >Thanks for any input. > >Christopher VanOosterhout > Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: rhertz at gyb.baits.com (Ryan Hertz ) Date: Fri, 02 Mar 2001 17:35:28 -0700 Subject: [ic] Categories - one product in multiple categories >cfm@maine.com wrote: > > > > On Fri, Mar 02, 2001 at 12:30:43PM -0800, nwcorp@helpwizard.com wrote: > > > Does anyone know the magic trick for allowing one product to appear in > > > multiple categories? Can't seem to find any info in the .pdf files or > > > here among the users. > > > > keep the list of categories in which any particular product belongs > > in a separate table and JOIN > >Alrternatively, a somewhat simpler way of doing this is to set up >multiple category columns > >eg > >sku desc cat_1 cat_2 cat_3 >1 this none blue >2 that all red >3 other all blue Couldn't you just have: sku desc category foobar 10 Voop can,bottle blah The categories separated by commas? Sure seems logical to me, but I have not tested it. Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: fuhrmann at cs.tu-berlin.de (Karsten Fuhrmann ) Date: Sat, 03 Mar 2001 01:40:01 +0100 Subject: [ic] shipping cost problem Hello I have a problem with my shipping cost calculations. I wanted to have a simple check if the total amount of ordered articles is above a fixed value (say 600 USD) when this is the case no shipping costs should evolve, otherwise the shipping costs should be a fixed value (say 13.92 USD) Now i set up a shipping.asc and put the file into the products dir. The file content is : mode description criteria min max cost next zone query qual perl total opt default Standard Versand price 0 0 e 0 default Standard Versand price 0 600 f 13.92 default Standard Versand price 601 999999 e 0 And in my catalog.cfg i have the line ValuesDefault mv_shipmode default and thats it i thought. but it is not working, the shipping costs are always zero. Where is my mistake. Thx Karsten Fuhrmann From: rhertz at gyb.baits.com (Ryan Hertz ) Date: Fri, 02 Mar 2001 17:41:36 -0700 Subject: [ic] GPG problem ,with interchange > >I literally want *nothing* to do with the customer's credit card number after >it's sent to our payment processor (authorizenet) - this seems like a good >idea >to me, but am I missing something? Yes, set the encryptor to something like "| cat > /dev/null" Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: rhertz at gyb.baits.com (Ryan Hertz ) Date: Fri, 02 Mar 2001 17:45:07 -0700 Subject: [ic] newbie question: subroutines >Hello again- > Here is an example of my problem, regarding GlobalSubs. There > was one >already in my interchange.cfg file, and it looks likes this: > >GlobalSub sub test_global_sub { return 'Test of global subroutine OK.'; } > >Pretty easy, eh? So I use a perl tag in a page that looks like this: > >[perl] >return test_global_sub(); >[/perl]<br> > >Now when I try to serve this page, nothing is displayed. I get the >following in error.log (in the catalog directory): > >66.12.71.6 rbuCIMHW:66.12.71.6 - [01/March/2001:16:06:29 -0800] imp >/cgi-bin/imp/catalog.html Safe: Unable to create sub named >"*MVSAFE::test_global_sub" at (eval 236) line 2. In your interchange.cfg -- make sure that AllowGlobalSubs is Yes. :-) Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: fuhrmann at cs.tu-berlin.de (Karsten Fuhrmann ) Date: Sat, 03 Mar 2001 02:10:57 +0100 Subject: [ic] Price Format Problem Hello i dont know if it helps, but i had a similar problem with the locale stuff for my german page weinundglas.com there i wasnt able to see prices with fractional part like 1,67 DM was changed to 2,00 DM . I think the problem was that Locale de_DE LC_CTYPE de_DE should be Locale de_DE these LC_CTYPE seems to be wrong but i am not absolutely shure but after removing it my catalog worked. From: cfm at maine.com (cfm at maine.com ) Date: Fri, 2 Mar 2001 22:05:46 -0500 Subject: [ic] Categories - one product in multiple categories On Fri, Mar 02, 2001 at 05:35:28PM -0700, Ryan Hertz wrote: > > >cfm@maine.com wrote: > > > > > > On Fri, Mar 02, 2001 at 12:30:43PM -0800, nwcorp@helpwizard.com wrote: > > > > Does anyone know the magic trick for allowing one product to appear in > > > > multiple categories? Can't seem to find any info in the .pdf files or > > > > here among the users. > > > > > > keep the list of categories in which any particular product belongs > > > in a separate table and JOIN > > > >Alrternatively, a somewhat simpler way of doing this is to set up > >multiple category columns > > > >eg > > > >sku desc cat_1 cat_2 cat_3 > >1 this none blue > >2 that all red > >3 other all blue > > Couldn't you just have: > > sku desc category foobar > 10 Voop can,bottle blah Voop? :-) Is that available in tall boys or just 16 oz cans? -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: tintones at hotmail.com (Marcelo F. De Paula ) Date: Sat, 03 Mar 2001 05:21:28 Subject: [ic] GPG problem ,with interchange >The documentation to the contrary, I think a proper encryptor would >be: > >Variable ENCRYPTOR /usr/bin/gpg --always-trust --batch -ea -r > >tintones@hotmail.com 2>/tmp/debug_gpg > >Typo, I think. Mike, I did what you what you said, it works fine. But the encrypted credit card number was in the body of the e-mail, between the order information. is that correct? I have seen so many e-mails saying that the encryption comes as an attachement. Another thing is, I try to use PGP instead of GPG because GPG do not work with email clients for windows as I have noticed. (as most of my clients will use windows). I use: PGP -ea marcelo But the e-mail arrives empty. Is there another configuration somewhere else? Hope you can help because, I have run almost all interchange mailing list trying to find something to help me with no success. Thanks, Marcelo _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From: ton at verhagen.net (Ton Verhagen ) Date: Sat, 03 Mar 2001 10:32:37 +0100 Subject: [ic] Large mySQL tables kill IC startup Hi All, We have a mySQL table (subscriber) with about 5.5 million records which we would like to integrate in an IC catalog. Because the table is rather large we put the directive: 'NoImport subscriber' in catalog.cfg There is no content in the table subscriber.txt (except for the field names) in the products directory. Product directory also contains: subscriber.sql Directory dbconf/mysql contains table description in subscriber.mysql with contents: ----- Begin subscriber.mysql ----- # MiniVend database definition Database subscriber subscriber.txt __SQLDSN__ #ifdef SQLUSER Database subscriber USER __SQLUSER__ #endif #ifdef SQLPASS Database subscriber PASS __SQLPASS__ #endif ----- End subscriber.mysql ----- SQLDSN, SQLUSER, and SQLPASS are being set properly in catalog.cfg (they work with other mySQL tables in same catalog). We have successfully used this same table definition for a smaller table. However, it seems that IC tries to read/import the table at startup time and waits (hang up?) forever. My understanding of IC is that the size of a mySQL table (when NoImport is set) should not have any impact on the startup/configuration stage, should it? Unfortunately, it appears that it HAS an impact! What could be wrong here? Has anyone experienced the same problem? Thanks for your help. Best regards, Ton From: ton at verhagen.net (Ton Verhagen ) Date: Sat, 03 Mar 2001 11:38:09 +0100 Subject: [ic] HAS_LIMIT not documented (was: Large mySQL tables kill IC Dear All, I noticed that the configuration directive HAS_LIMIT is not documented. Use this directive for large mySQl tables, or other SQl engines which have 'limit' support implemented. If it is not used for large mySQl tables, IC will wait virtually forever at server startup. This is caused by IC doing a: 'select * from table' in subroutine list_fields (lib/Vend/Table/DBI.pm). If you set HAS_LIMIT, the select will read: 'select * fom table limit 1'. A real time/memory saver! Hope this helps. Best regards, Ton From: robert at icardigital.com (Robert Trembath ) Date: Sat, 3 Mar 2001 06:24:32 -0600 Subject: [ic] Problem connecting to MySQL It is on the same machine, but it won't connect via localhost. I get a can't connect to mysql via mysql.sock(111) error. But if I change it to the machine name it works. I had to do this to get DBD::mysql installed correctly. Robert ----- Original Message ----- From: "Mark Johnson" <markj@redhat.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 02, 2001 6:21 PM Subject: Re: [ic] Problem connecting to MySQL > If mysql is on the same machine as interchange, just remove the host > (and port if it's set) and try that. That is, in catalog.cfg: > > SQLDSN dbi:mysql:dbname > > > Dan B wrote: > > > > At 05:51 PM 3/2/2001 -0600, you wrote: > > >I don't know because I don't know where to change the host setting. It's not > > >in the makecat script. > > > > There should be a line in catalog.cfg where you can set the $dbi > > thingy. (hostname/port/etc.). > > > > -Dan > > > > >----- Original Message ----- > > >From: "Dan B" <db@cyclonehq.dnsalias.net> > > >To: <interchange-users@lists.akopia.com> > > >Sent: Friday, March 02, 2001 5:29 PM > > >Subject: Re: [ic] Problem connecting to MySQL > > > > > > > > > > At 05:14 PM 3/2/2001 -0600, you wrote: > > > > >My DBI and DBD are uptodate but for some reason I cannot connect to mysql > > > > >using localhost, only the actual machine name. Please help or tell me if > > >I > > > > >can change the host setting somewhere to fix this. > > > > > > > > Does 127.0.0.1 work? > > > > > > > > > > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > > > > > > > > > > _______________________________________________ > > > > Interchange-users mailing list > > > > Interchange-users@lists.akopia.com > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > >_______________________________________________ > > >Interchange-users mailing list > > >Interchange-users@lists.akopia.com > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > -- > Mark Johnson > Senior Developer - Professional Services > Red Hat, Inc. > E-Business Solutions > markj@redhat.com > 703-456-2912 > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: mikeh at minivend.com (Mike Heins ) Date: Sat, 3 Mar 2001 08:56:10 -0500 Subject: [ic] Database Quoting Mark Johnson (markj@redhat.com): > [seti cross_file][perl tables=`join " ", @{$Config->{ProductFiles}}`] > ^ # This is not general, only for flypage > my $key = q{[item-code]}; > > for(@{$Config->{ProductFiles}}) { > return $_ if $Db{$_}->record_exists($key); > } > return "NONE"; > [/perl][/seti] > ^ Let's all think about this. What is the object? Place this in the scratch space. No need for a tag.... for(@{$Config->{ProductFiles}}) { next unless $Db{$_}->record_exists($key); $Scratch->{cross_file} = $_; return; } $Scratch->{cross_file} = "NONE"; return; -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: mikeh at minivend.com (Mike Heins ) Date: Sat, 3 Mar 2001 08:59:07 -0500 Subject: [ic] Help? Quoting Bappliance1 (bappliance1@qwest.net): > Sorry. My last message was ment for jeff, not Mark! > > You know, I thought this board was here to help others, not criticize them? > > jeff dafoe: You probably could not afford the car in the first place so > don't let > it bug you :) No flame wars are tolerated here. Stop this immediately. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> If you like what you're gettin', keep doin' what you're doin'. -- Hector From: mikeh at minivend.com (Mike Heins ) Date: Sat, 3 Mar 2001 09:04:36 -0500 Subject: [ic] HAS_LIMIT not documented (was: Large mySQL tables kill IC startup) Quoting Ton Verhagen (ton@verhagen.net): > Dear All, > > I noticed that the configuration directive HAS_LIMIT is not documented. > > Use this directive for large mySQl tables, or other SQl engines which have > 'limit' support implemented. > > If it is not used for large mySQl tables, IC will wait virtually forever at > server startup. > > This is caused by IC doing a: 'select * from table' in subroutine > list_fields (lib/Vend/Table/DBI.pm). If you set HAS_LIMIT, the select will > read: 'select * fom table limit 1'. A real time/memory saver! > HAS_LIMIT should be the default for MySQL -- I will check to see why that might not be set. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: thomas at prometheas.gr (Thomas N. Stefanidis ) Date: Sat, 03 Mar 2001 21:18:48 +0200 Subject: [ic] Price and different sizes??HA!I DID IT!!!!!!(read step-by step Hey!!!! I did it !! Now i can have different prices for diffent sizes!! I know that many people want this. Here is a step by step sollution(at least this works to me) 1)Find all your product that have sizes(duh!) 2)You then have to add new rows in the table "pricing". U add all the sizes that u have (SMALL,LARGE,XL.....whatever sizes u have). If u don't know sql, u can easily do it with MySQLMan.It's free.( http://www.gossamer-threads.com/scripts/ ).It's a web interface to your mysql server.(if u have any questions about that,send me a mail). But be careful!! There is one problem.....There can't be 2 same sizes... So u can do is something like that : for the sizes of the 1st product add a row like size1-a size1-b size1-b for the 2nd product : size2-a size2-b size2-c 3)Now go to the product pages. Add a new product and in the field "size" add something like that : If u added a row in the pricing table called "XL", then add in size1-a=Extra Large The first part(before "=" is the row in the pricing table.The second part(Extra Large) is what u want the customers to see. If u have multiple sizes,u have to add commas : size1-a=Small,size1-b=Large,size1-b=Extra Large for the second product : size2-a=Extra Small size2-b=Small 4)Go to the pricing table through your UI(go to Item menu-->Choose a product-->Pricing. (The pricing menu is located under the "Item list and the Create new item" bar). 5)Find the sizes for the products and add the prices. 6)Go to your catalog.cfg. 7)Find the CommonAdjust line and add CommonAdjust ==size:pricing ;products:price, 8)From the UI,"apply changes" 9)That's it!! I was thinking of doing this : Instead of the price to be displayed as text,to be displayed in a text form.So....when a user chooses a new size,somehow(javasript)the new price will be displayed in the text field so he won't have to go every time to the basket to see how much this particular size cost. Or!!Maybe i can just do this! While adding a new product,i can something like this : 1)Give as the product price the smallest sizes price.(lets say 40$) Then in the size field i can do something like size1-a=Small(40$) -->(this will be the default price) size1-b=Large(50$) size1-c=XLarge(50$) So the user will know how much he will pay.... Great! I did enough "thinking" for one day!! haha!! time to rest. Please if u have any questions or ideas,let me know! Thomas From: jojo at blackpoint.de (jojo at blackpoint.de ) Date: Sat, 3 Mar 2001 21:31:54 +0100 (CET) Subject: [ic] GPG problem ,with interchange On 3 Mar, Marcelo F. De Paula wrote: >>The documentation to the contrary, I think a proper encryptor would >be: >> >>Variable ENCRYPTOR /usr/bin/gpg --always-trust --batch -ea -r >> >tintones@hotmail.com 2>/tmp/debug_gpg >> >>Typo, I think. > > Mike, > > I did what you what you said, it works fine. But the encrypted credit card > number was in the body of the e-mail, between the order information. is that > correct? I have seen so many e-mails saying that the encryption comes as an > attachement. > > Another thing is, I try to use PGP instead of GPG because GPG do not work > with email clients for windows as I have noticed. (as most of my clients > will use windows). > > I use: PGP -ea marcelo pgpe -f -a -t -r <recipientname> 2>/dev/null Test pgpe -f -a -t -r <recipientname> in your terminal (ssh or telnet etc.) first. > But the e-mail arrives empty. Is there another configuration somewhere else? Search for the error in error.log or search for the error file in catalogs/yourshop/tmp/*.err [DEL] Joachim -- -------------<FreeBsd>-------------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: jojo at blackpoint.de (jojo at blackpoint.de ) Date: Sat, 3 Mar 2001 21:27:03 +0100 (CET) Subject: [ic] Price Format Problem On 3 Mar, Karsten Fuhrmann wrote: > Hello i dont know if it helps, but i had a similar problem with the locale stuff for my german page weinundglas.com > there i wasnt able to see prices with fractional part like 1,67 DM was changed to 2,00 DM . > > I think the problem was that > Locale de_DE LC_CTYPE de_DE > should be > Locale de_DE > > these LC_CTYPE seems to be wrong > but i am not absolutely shure but after removing it my catalog worked. Locale de_DE frac_digits 2 Joachim -- -------------<FreeBsd>-------------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: webmaster at infothai.com (Webmaster of Infothai ) Date: Sun, 04 Mar 2001 17:46:24 +0700 Subject: [ic] Lock up with custom shipping UserTag Hello, I'm running Interchange 4.6.3 on FreeBSD 4.2 with Perl 5.005_03. I've created a UserTag as follows: UserTag thship Order weight UserTag thship Routine <<EOR sub { my ($weight) = @_; my $cost=$weight * 4; return $cost; } EOR If I call this usertag from a page, it works as expected. However, when I use this in shipping.asc: test: Test Custom criteria weight min 0 max 0 cost e Nothing to ship! min 0 max 200 cost m [thship weight="2.3"] min 200 max 999999 cost e @@TOTAL@@ lbs too heavy for UPS then Interchange will lock up forever. I see two Interchange processes, and both must be manually killed (kill -3) to get them to terminate. The above usage was suggested by Mike Heins in a previous message to the list, but I must not be reading it or doing it correctly. There are no errors in either error log file, and the icdebug file contains no messages. Any ideas or suggestions? All help is appreciated. By the way, there is very little said about the 'm' type of cost calculation in the docs. Any additional details on its functionality would also be appreciated. If I replace the 'm' with 'f' it also locks up the same way. Best regards, Mike webmaster@infothai.com http://www.infothai.com From: feri at arxeltribe.com (Ferenc Kiraly ) Date: Sun, 04 Mar 2001 16:18:56 +0100 Subject: [ic] sorting not working Hi! I have to following in my product catalog: [search-region more=1 search=" st=db ra=yes ml=5 "] .... [search-list] [sort merchandising:featured:r products:category products:title] ... [/search-list] [more-list]pages: [more][/more-list] [/search-region] The sorting works correctly only after I have browsed the pages by following the [more-list][more][/more-list] links. But when I first enter the page it seems the items are ordered randomly. What am I missing? feri. From: mikeh at minivend.com (Mike Heins ) Date: Sun, 4 Mar 2001 10:45:00 -0500 Subject: [ic] Lock up with custom shipping UserTag Quoting Webmaster of Infothai (webmaster@infothai.com): > Hello, > > I'm running Interchange 4.6.3 on FreeBSD 4.2 with Perl 5.005_03. I've created > a UserTag as follows: > > UserTag thship Order weight > UserTag thship Routine <<EOR > sub { > my ($weight) = @_; > my $cost=$weight * 4; > return $cost; > } > EOR > > If I call this usertag from a page, it works as expected. > > However, when I use this in shipping.asc: > > test: Test Custom > criteria weight > > min 0 > max 0 > cost e Nothing to ship! > > min 0 > max 200 > cost m [thship weight="2.3"] > > min 200 > max 999999 > cost e @@TOTAL@@ lbs too heavy for UPS > > then Interchange will lock up forever. I see two Interchange > processes, and both must be manually killed (kill -3) to get > them to terminate. The above usage was suggested by Mike Heins > in a previous message to the list, but I must not be reading > it or doing it correctly. Using "f" is correct for this. m is a special mode which allows you to iterate over the shopping cart and assign a shipping cost per item, and pass the results to chain_cost. I don't see why it would loop endlessly here, but it is possible it could. You should not have that problem with "f", and I can't see why you would short of forgetting to reconfig the catalog after changing from m. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Research is what I'm doing when I don't know what I'm doing. -- Wernher Von Braun From: mikeh at minivend.com (Mike Heins ) Date: Sun, 4 Mar 2001 10:46:21 -0500 Subject: [ic] sorting not working Quoting Ferenc Kiraly (feri@arxeltribe.com): > Hi! > > I have to following in my product catalog: > > [search-region more=1 search=" > st=db > ra=yes > ml=5 > "] > .... > [search-list] > [sort merchandising:featured:r products:category products:title] > ... > [/search-list] > [more-list]pages: [more][/more-list] > [/search-region] > > > The sorting works correctly only after I have browsed the pages > by following the [more-list][more][/more-list] links. But when > I first enter the page it seems the items are ordered randomly. > What am I missing? > Those sort commands only work on the current page of results, not over the entire search. It should work the same way on the first page as on mores, but it still won't sort the whole search with only the featured items at the top of the first page. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> If you like what you're gettin', keep doin' what you're doin'. -- Hector From: epaul at spellbook.net (Eric Paul ) Date: Sun, 04 Mar 2001 11:31:33 -0500 Subject: [ic] CCVS and CyberCash Bankrupcy Could someone who has done a CCVS integration drop me a line with some pointers as to "required reading"? With CyberCash filing Chapter 11, some of my customers have contacted me about other alternatives. In case you had not heard, here's the press releases from CyberCash: http://www.cybercash.com/restructure/ TIA! Eric --- Eric Paul SpellBook Systems http://www.spellbook.net From: mikeh at minivend.com (Mike Heins ) Date: Sun, 4 Mar 2001 11:41:24 -0500 Subject: [ic] Problem with Berkeley DB_File on FreeBSD - continue Quoting Kestutis Lasys (kestutis.lasys@delfi.lt): > After day of debugging I found that SQL::Statement.pm (Statement.xs) > doesn't > behave as documented on FreeBSD system. > > > where > > > > This method is used to examine the syntax tree of the C<WHERE> clause. > > It returns undef (if no WHERE clause was used) or an instance of > > SQL::Statement::Op. > > If no WHERE clause is used it doesn't return undef but number. > > I'm unfamiliar with xs, so here is my fix: > > --- /usr/local/interchange/lib/Vend/Scan.pm Sat Dec 2 19:49:10 2000 > +++ lib/Vend/Scan.pm Fri Mar 2 13:28:23 2001 > @@ -663,7 +663,8 @@ > my @where; > my $numeric; > @where = $stmt->where(); > - if(defined $where[0]) { > + #if(defined $where[0]) { > + if(CORE::ref $where[0]) { > my $or; > push_spec('co', 'yes', $ary, $hash); > do { > Thank you! I love fixes. 8-) I am going to put this in the 4.7.x tree, and probably the stable branch. I will be recommending that all BSD users update to 4.7.x as soon as possible, as it *greatly* improves reliability with almost all rewinding system call situations accounted for. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> If you think nobody cares if you're alive, try missing a couple of car payments. -- Earl Wilson From: mvu at carlc.com (Carlc Internet Services ) Date: Sun, 4 Mar 2001 18:52:42 -0500 Subject: [ic] RE: CyberCash Bankruptcy > Date: Sun, 04 Mar 2001 11:31:33 -0500 > From: Eric Paul <epaul@spellbook.net> > Subject: [ic] CCVS and CyberCash Bankruptcy > > Could someone who has done a CCVS integration drop me a line > with some > pointers as to "required reading"? Eric, My company has done CCVS integration to Minivend 4.04a. We used 4.04a due to the hacker testing (its been proven safe). If EWeek does another test session against IC, I'll move my customers up at that point.... > With CyberCash filing > Chapter 11, some > of my customers have contacted me about other alternatives. CCVS has some good sides and some bad sides. First off, you will need a modem and $500 for the license. THAT license is for ONE VENDOR (one merchant account). This is not a good/bad thing in itself, its just a fact. The modem must be capable of 1200 baud, NO ERROR CORRECTION!. So, if you go use a new modem, you better find out how to kill error correction in it. Oh, each additional vendor (where your putting the money into another bank account) is gonna be $300 per account. Its reasonable, and I recommend the yearly support (new versions, call for programming help, etc). Second, there are not many merchant connectors who know what CCVS is (let alone how to spell it). In fact, they will fight you as they want to sell you their product. Be careful, CCVS is WAY more powerful than their products (and that's what ticks them off, you have FULL control over every transaction). Check around with NOVAS, First Data. Again, Redhat has the page that shows who they are compatible with. Now for some GOOD stuff. With CCVS, you can get a cheaper rate for your credit cards (and I mean a LOT!). That's how I was able to startup my business and stay ahead of all the others. To connect CCVS into Minivend (or IC), you can do so using the Globalsub. Check out Redhats pages. There are some on PERL. You will have to make CCVS emulate the Cybercash calls to a point, but it will work. I don't remember, but most were in the Util.pm file. Actually, I have a PERL guru who did the work, I'm more a systems/network monkey myself. Ah, and one more bad thing... Bank Debit cards are a real pain in the u-know-where. Here's why. If you "auth" a visa CREDIT card, it just checks to see if the balance is available (They want a T-shirt for $20, sure, they have a credit limit of $5000). The is NO charge YET. You have to make a "sale" against a previously authed charge.... Ahhh, but look what happens with a DEBIT card, the minute you do a "auth" to see if the card is good, the bank TAKES the money then and there! If you don't do the "SALE", the money is in limbo and you've got one P.O.ed customer! In fact, you will get a call from customers saying "Hey, you have my money". IN fact, you dont, the bank is "HOLDING" it (now you see why I was complaining about the banks <grin>). BUT WAIT, THERES MORE! The banks are evil mean Mo-fos. They will auth a card but DENY the AVS (Address Verification) THEREBY making you, the merchant, responsible to take the sale... If it fails, your out the merchandize... In fact, minivend can see that the AVS failed and wont let the sale go thru, YET the card is charged during the auth... NASTY NASTY!!!! I am not trying to discourge you, but you have a lot to do. Obviously, I can not give out all my secrets (like the integration), right now, its giving my business a lead over cybercash. I will say this, once you have it working and tested, its a joy. You can also write your own connector via PHP, C code, Python or TCL. > In case you had not heard, here's the press releases from CyberCash: > > http://www.cybercash.com/restructure/ Eric - Between you and me, its music to my ears. My business is picking up fast due to them. Thier rates were WAY to high (my opinion). Carl http://www.carlc.com/ From: murahashi at ayayu.com (Shozo Murahashi ) Date: Mon, 5 Mar 2001 10:43:37 +0900 Subject: [ic] Undefined catalog error on RAQ3 I gave up challenging the workaround for cgiwrap on RAQ3. I decided to disable cgi-wrap for my site on my RAQ3. After disabling cgi-wrap, I re-installed interchange and making catalog, and construct demo works ! I'll check the demo from now on. If you have any suggestion please let me know. Anyway thanks, Mike. ----- Original Message ----- From: Shozo Murahashi <murahashi@ayayu.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 02, 2001 6:29 PM Subject: Re: [ic] Undefined catalog error on RAQ3 > > > Quoting Shozo Murahashi (murahashi@ayayu.com): > > > Thanks for your workatound. > > > I tried it but SCRIPT error on bin/interchnage when > > > bin/interchange -r -u. > > > > > > if($Global::Variable->{CGIWRAP_WORKAROUND}) { > > > $CGI::path_info =~ s!^$CGI::script_name::; > > > > > > How can I change? as below? > > > $CGI::path_info =~ s!^$CGI::script_name!!; > > > > > > > Yes, typo. I tested it one way and entered into CVS another. > > I fixed it in CVS yesterday. > > > > Waoh! > I Installed whole of interchane from CVS again. > > I found below in bin/interchnag modified. > > # Fix Cobalt/CGIwrap problem > if($Global::Variable->{CGIWRAP_WORKAROUND}) { > $CGI::path_info =~ s!^$CGI::script_name!!; > } > > I also add belw in my interchange.cfg > > ### Special patch from MHeins for RAQ3J > # EMAILED from MHeins as of 2001/2/27 Titled "Undefined catalog error on > RAQ3" > Variable CGIWRAP_WORKAROUND 1 > # > ### END of Special patch from MHeins for RAQ3J > > Also chmod 775 cgibin and .cgi. > > And interchnage restarting. I executed below url on Flash page. > > http://www.outdoor-w.com/users/main/cgibin/outdoor-w.cgi/index.html > > - - - [02/March/2001:17:42:50 +0900] - - Low traffic settings. > - - - [02/March/2001:17:42:50 +0900] - - Calling UI.... > - - - [02/March/2001:17:42:51 +0900] - - ...UI is loaded.... > - - - [02/March/2001:17:42:51 +0900] - - Interchange V4.6.4 > - - - [02/March/2001:17:42:51 +0900] - - Config 'outdoor-w' at server > startup > - - - [02/March/2001:17:42:51 +0900] - - Using default DBM database. > - - - [02/March/2001:17:42:52 +0900] - - START server (20504) (UNIX) > - - - [02/March/2001:17:42:53 +0900] - - START server (20531) (UNIX) > 211.124.191.118 - - [02/March/2001:17:44:40 +0900] - > /main/cgibin/outdoor-w.cgi/ > aboutus.html Undefined catalog: /main/cgibin/outdoor-w.cgi/aboutus.html > 211.124.191.118 - - [02/March/2001:17:45:18 +0900] - > /main/cgibin/outdoor-w.cgi/ > index.html Undefined catalog: /main/cgibin/outdoor-w.cgi/index.html > 211.124.191.118 - - [02/March/2001:17:45:21 +0900] - > /main/cgibin/outdoor-w.cgi/ > admin/index.html Undefined catalog: > /main/cgibin/outdoor-w.cgi/admin/index.html > > WORKAROUND looks good but still Undefined catalog error. > > When I don't specify 'Variable CGIWRAP_WORKAROUND 1', errolog is as > follows. > > 211.124.191.118 - - [02/March/2001:18:04:07 +0900] - > /main/cgibin/outdoor-w.cgi/ > admin/index.html/main/cgibin/outdoor-w.cgi/admin/index.html Undefined > catalog: / > main/cgibin/outdoor-w.cgi/admin/index.html > 211.124.191.118 - - [02/March/2001:18:04:11 +0900] - > /main/cgibin/outdoor-w.cgi/ > index.html/main/cgibin/outdoor-w.cgi/index.html Undefined catalog: > /main/cgibin/ > outdoor-w.cgi/index.html > > > > [test-cgi] > CGI/1.0 test script report: > > argc is 0. argv is . > > SERVER_SOFTWARE = Apache/1.3.6 (Unix) mod_perl/1.21 mod_ssl/2.2.8 > OpenSSL/0.9.2b > SERVER_PROTOCOL = HTTP/1.0 > SERVER_NAME = www.outdoor-w.com > SERVER_PORT = 80 > HTTP_FROM = > HTTP_REFERRER = > HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, > application/vnd.ms-powerpoint, application/vnd.ms-excel, > application/msword, application/pdf, */* > HTTP_USER_AGENT = Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt) > > PATH = /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin > GATEWAY_INTERFACE = CGI/1.1 > REQUEST_METHOD = GET > PATH_INFO = /main/cgibin/test-cgi.cgi > PATH_TRANSLATED = /home/sites/home/users/main/web/cgibin/test-cgi.cgi > SCRIPT_NAME = /main/cgibin/test-cgi.cgi > QUERY_STRING = > REMOTE_HOST = > REMOTE_ADDR = 211.124.191.118 > REMOTE_USER = > REMOTE_IDENT = > AUTH_TYPE = > CONTENT_TYPE = > CONTENT_LENGTH = > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: webmaster at infothai.com (Webmaster of Infothai ) Date: Mon, 05 Mar 2001 10:16:09 +0700 Subject: [ic] Lock up with custom shipping UserTag On Sun, 4 Mar 2001 10:45:00 -0500, Mike Heins wrote: Thanks, Mike. I tried it (again) and the 'f' version did work. Since I tried it before, I must have failed to restart the catalog after uploading the new shipping.asc. Duh! Mike >Quoting Webmaster of Infothai (webmaster@infothai.com): >> Hello, >> >> I'm running Interchange 4.6.3 on FreeBSD 4.2 with Perl 5.005_03. I've created >> a UserTag as follows: >> >> UserTag thship Order weight >> UserTag thship Routine <<EOR >> sub { >> my ($weight) = @_; >> my $cost=$weight * 4; >> return $cost; >> } >> EOR >> >> If I call this usertag from a page, it works as expected. >> >> However, when I use this in shipping.asc: >> >> test: Test Custom >> criteria weight >> >> min 0 >> max 0 >> cost e Nothing to ship! >> >> min 0 >> max 200 >> cost m [thship weight="2.3"] >> >> min 200 >> max 999999 >> cost e @@TOTAL@@ lbs too heavy for UPS >> >> then Interchange will lock up forever. I see two Interchange >> processes, and both must be manually killed (kill -3) to get >> them to terminate. The above usage was suggested by Mike Heins >> in a previous message to the list, but I must not be reading >> it or doing it correctly. > >Using "f" is correct for this. > >m is a special mode which allows you to iterate over the shopping cart >and assign a shipping cost per item, and pass the results to chain_cost. I >don't see why it would loop endlessly here, but it is possible it could. > >You should not have that problem with "f", and I can't see why you >would short of forgetting to reconfig the catalog after changing >from m. > >-- >Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 >phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > >Research is what I'm doing when I don't know what I'm doing. >-- Wernher Von Braun > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users > webmaster@infothai.com http://www.infothai.com From: ven at pragakhan.com (Victor Nolton ) Date: Sun, 4 Mar 2001 22:29:22 -0500 Subject: [ic] Undefined catalog error on RAQ3 This is what we do. We HAVE cgiwrap installed. ALL interchange shops are installed in the /usr/local/www/cgi-bin The client has their OWN cgi-bin in their home directory which is where cgiwrap kicks in. I really like the setup. we tried cgiwrap a long time ago and gave up. so you can still use cgiwrap, just use it to runany cgi scripts the user may have (like WWWCount,cgi based mailing lists etc...). Ven >I gave up challenging the workaround for cgiwrap on RAQ3. >I decided to disable cgi-wrap for my site on my RAQ3. > >After disabling cgi-wrap, I re-installed interchange and making catalog, >and construct demo works ! >I'll check the demo from now on. > >If you have any suggestion please let me know. >Anyway thanks, Mike. > >----- Original Message ----- >From: Shozo Murahashi <murahashi@ayayu.com> >To: <interchange-users@lists.akopia.com> >Sent: Friday, March 02, 2001 6:29 PM >Subject: Re: [ic] Undefined catalog error on RAQ3 > > >> >> > Quoting Shozo Murahashi (murahashi@ayayu.com): >> > > Thanks for your workatound. >> > > I tried it but SCRIPT error on bin/interchnage when >> > > bin/interchange -r -u. >> > > >> > > if($Global::Variable->{CGIWRAP_WORKAROUND}) { >> > > $CGI::path_info =~ s!^$CGI::script_name::; >> > > >> > > How can I change? as below? >> > > $CGI::path_info =~ s!^$CGI::script_name!!; >> > > >> > >> > Yes, typo. I tested it one way and entered into CVS another. >> > I fixed it in CVS yesterday. >> > >> >> Waoh! >> I Installed whole of interchane from CVS again. >> >> I found below in bin/interchnag modified. >> >> # Fix Cobalt/CGIwrap problem >> if($Global::Variable->{CGIWRAP_WORKAROUND}) { >> $CGI::path_info =~ s!^$CGI::script_name!!; >> } >> >> I also add belw in my interchange.cfg >> >> ### Special patch from MHeins for RAQ3J >> # EMAILED from MHeins as of 2001/2/27 Titled "Undefined catalog error >on >> RAQ3" >> Variable CGIWRAP_WORKAROUND 1 >> # >> ### END of Special patch from MHeins for RAQ3J >> >> Also chmod 775 cgibin and .cgi. >> >> And interchnage restarting. I executed below url on Flash page. >> >> http://www.outdoor-w.com/users/main/cgibin/outdoor-w.cgi/index.html >> >> - - - [02/March/2001:17:42:50 +0900] - - Low traffic settings. >> - - - [02/March/2001:17:42:50 +0900] - - Calling UI.... >> - - - [02/March/2001:17:42:51 +0900] - - ...UI is loaded.... >> - - - [02/March/2001:17:42:51 +0900] - - Interchange V4.6.4 >> - - - [02/March/2001:17:42:51 +0900] - - Config 'outdoor-w' at server >> startup >> - - - [02/March/2001:17:42:51 +0900] - - Using default DBM database. >> - - - [02/March/2001:17:42:52 +0900] - - START server (20504) (UNIX) >> - - - [02/March/2001:17:42:53 +0900] - - START server (20531) (UNIX) >> 211.124.191.118 - - [02/March/2001:17:44:40 +0900] - >> /main/cgibin/outdoor-w.cgi/ >> aboutus.html Undefined catalog: >/main/cgibin/outdoor-w.cgi/aboutus.html >> 211.124.191.118 - - [02/March/2001:17:45:18 +0900] - >> /main/cgibin/outdoor-w.cgi/ >> index.html Undefined catalog: /main/cgibin/outdoor-w.cgi/index.html >> 211.124.191.118 - - [02/March/2001:17:45:21 +0900] - >> /main/cgibin/outdoor-w.cgi/ >> admin/index.html Undefined catalog: >> /main/cgibin/outdoor-w.cgi/admin/index.html >> >> WORKAROUND looks good but still Undefined catalog error. >> >> When I don't specify 'Variable CGIWRAP_WORKAROUND 1', errolog is as >> follows. >> >> 211.124.191.118 - - [02/March/2001:18:04:07 +0900] - >> /main/cgibin/outdoor-w.cgi/ >> admin/index.html/main/cgibin/outdoor-w.cgi/admin/index.html Undefined >> catalog: / >> main/cgibin/outdoor-w.cgi/admin/index.html >> 211.124.191.118 - - [02/March/2001:18:04:11 +0900] - >> /main/cgibin/outdoor-w.cgi/ >> index.html/main/cgibin/outdoor-w.cgi/index.html Undefined catalog: >> /main/cgibin/ >> outdoor-w.cgi/index.html >> >> >> >> [test-cgi] >> CGI/1.0 test script report: >> >> argc is 0. argv is . >> >> SERVER_SOFTWARE = Apache/1.3.6 (Unix) mod_perl/1.21 mod_ssl/2.2.8 >> OpenSSL/0.9.2b >> SERVER_PROTOCOL = HTTP/1.0 >> SERVER_NAME = www.outdoor-w.com >> SERVER_PORT = 80 >> HTTP_FROM = >> HTTP_REFERRER = >> HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, >> application/vnd.ms-powerpoint, application/vnd.ms-excel, >> application/msword, application/pdf, */* >> HTTP_USER_AGENT = Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; >DigExt) >> >> PATH = /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin >> GATEWAY_INTERFACE = CGI/1.1 >> REQUEST_METHOD = GET >> PATH_INFO = /main/cgibin/test-cgi.cgi >> PATH_TRANSLATED = /home/sites/home/users/main/web/cgibin/test-cgi.cgi >> SCRIPT_NAME = /main/cgibin/test-cgi.cgi >> QUERY_STRING = >> REMOTE_HOST = >> REMOTE_ADDR = 211.124.191.118 >> REMOTE_USER = >> REMOTE_IDENT = >> AUTH_TYPE = >> CONTENT_TYPE = >> CONTENT_LENGTH = >> >> >> _______________________________________________ >> Interchange-users mailing list >> Interchange-users@lists.akopia.com >> http://lists.akopia.com/mailman/listinfo/interchange-users >> > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users -- http://www.vensnews.com Victor "Ven" Nolton __________________________ http://www.VensNews.com http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com All HTML Encoded email will be ignored. Learn Standards. From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Sun, 4 Mar 2001 19:36:06 -0800 Subject: [ic] CCVS and CyberCash Bankrupcy Eric, Checkout out Verisign for your clients, their prices are lower then CyberCash's, the integration is already written for IC and their network has only gone down for maintenance twice for under 2 hours in the time I've been with them. Take it easy! -Ron ----- Original Message ----- From: "Eric Paul" <epaul@spellbook.net> To: <interchange-users@minivend.com> Sent: Sunday, March 04, 2001 8:31 AM Subject: [ic] CCVS and CyberCash Bankrupcy > Could someone who has done a CCVS integration drop me a line with some > pointers as to "required reading"? With CyberCash filing Chapter 11, some > of my customers have contacted me about other alternatives. > > In case you had not heard, here's the press releases from CyberCash: > > http://www.cybercash.com/restructure/ > > TIA! > > Eric > --- > Eric Paul > SpellBook Systems > http://www.spellbook.net > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: proudlyindian at yahoo.com (Amit Kulkarni ) Date: Mon, 05 Mar 2001 19:14:19 +0530 Subject: [ic] different prices for different cunstomers hi, i want different prices for different customers. so Mr.x gets product Y for $100 and Mr.a gets the same product with 75% discount 1. so i make a mysql table with fields sku,userid,discount 2. now i go to checkout.html and check for the userid , make a query to the above table and get the discount for the product. this is the logic i havent coded yet. now i want to know 1. do i have to make any more changes on any other pages so there i dont mess up in future with things like credit,inventory,backorder etc ? thanks From: robert at icardigital.com (Robert Trembath ) Date: Mon, 5 Mar 2001 07:43:43 -0600 Subject: [ic] Urgent Help All of a sudden all my stores(4) give the message: We're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand, please try again soon. I'm running RH 7, IC 4.6.3, Perl 5.6 on the default databases. This just occurred this morning and I can't find anything wrong in the config. files. Everything was fine and out of the blue this happened this morning. Please HELP Robert From: chris at webhostpals.com (WebHostPals.com Chris ) Date: Mon, 5 Mar 2001 08:05:38 -0600 Subject: [ic] Urgent Help Hello, You probably need to restart the Interchange server. Cheers, ----- Original Message ----- From: Robert Trembath To: interchange-users@lists.akopia.com Sent: Monday, March 05, 2001 7:43 AM Subject: [ic] Urgent Help All of a sudden all my stores(4) give the message: We're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand, please try again soon. I'm running RH 7, IC 4.6.3, Perl 5.6 on the default databases. This just occurred this morning and I can't find anything wrong in the config. files. Everything was fine and out of the blue this happened this morning. Please HELP Robert _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: Murray at scotweb.ltd.uk (Murray Gibbins ) Date: Mon, 05 Mar 2001 14:11:35 +0000 Subject: [ic] Urgent Help Robert Trembath wrote: > > All of a sudden all my stores(4) give the message: ok.... 1) Calm down 2) Restart interchange. 3) Check no-one was fiddling with Apache,file permissions, interchange, last night. 4) what do the error.logs say? -- ____ \__/ Murray Gibbins murray@scotweb.ltd.uk / \ Programmer _ \__/ _ ================================================ \\ || // Scotweb Limited, info@scotweb.ltd.uk \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 From: stevep at sga.org (Steve Palm ) Date: Mon, 5 Mar 2001 08:21:42 -0600 Subject: [ic] Categories - one product in multiple categories >On Fri, Mar 02, 2001 at 05:35:28PM -0700, Ryan Hertz wrote: >> >> >cfm@maine.com wrote: >> > > >> > > On Fri, Mar 02, 2001 at 12:30:43PM -0800, nwcorp@helpwizard.com wrote: >> > > > Does anyone know the magic trick for allowing one product to appear in >> > > > multiple categories? Can't seem to find any info in the .pdf files or >> > > > here among the users. > > > > > > Couldn't you just have: >> >> sku desc category foobar >> 10 Voop can,bottle blah That is what I am setting up here. Any time you want to list the categories, then I just iterate with a loop. I got the idea from the simple demo store, although it was not consistently implemented. Some pages would show the category as can,bottle, and others would break it out with a line for each one. I just moved the right logic to all places, and it works here now. -- Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * http://www.sga.org From: robert at icardigital.com (Robert Trembath ) Date: Mon, 5 Mar 2001 08:10:53 -0600 Subject: [ic] Urgent Help I've done that with no change. I did have an apache problem this morning as well. Some old IP's for virtualhosts showed up after being deleted 3 months ago. I went and deleted those IP's from the http.conf file and then had an error about a missing error_log file. I looked in var/log/ and couldn't even fing httpd directory. So I created it and the error_log file and restarted apache and it was up and running again, but interchange died. It says its started when I manually start the service but I keep getting that error message: We're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand, please try again soon. ----- Original Message ----- From: "Murray Gibbins" <Murray@scotweb.ltd.uk> To: <interchange-users@lists.akopia.com> Sent: Monday, March 05, 2001 8:11 AM Subject: Re: [ic] Urgent Help > Robert Trembath wrote: > > > > All of a sudden all my stores(4) give the message: > > ok.... > > 1) Calm down > 2) Restart interchange. > 3) Check no-one was fiddling with Apache,file permissions, interchange, last > night. > > 4) what do the error.logs say? > > -- > ____ > \__/ Murray Gibbins murray@scotweb.ltd.uk > / \ Programmer > _ \__/ _ ================================================ > \\ || // Scotweb Limited, info@scotweb.ltd.uk > \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk > \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 > || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: robert at icardigital.com (Robert Trembath ) Date: Mon, 5 Mar 2001 08:30:51 -0600 Subject: [ic] Urgent Help I think someone was trying to hack our machine this morning. Found some files in the /tmp directory that apache wrote containing this: Not Found The requested URL /orders/orders.txt was not found on this server. Not Found The requested URL /orders/import.txt was not found on this server. Authorization Required This server could not verify that you are authorized to access the document requested. Either you suppliΠ8ώed the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. Authorization Required This server could not verify that you are authorized to access the document requested. Either you suppliΠ8ώed the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. Not Found The requested URL /webcart/config/orders.txt was not found on this server. Not Found The requested URL /webcart/config/import.txt was not found on this server. Not Found The requested URL /webcart/orders/orders.txt was not found on this server. Not Found The requested URL /webcart/orders/import.txt was not found on this server. Not Found The requested URL /orders/mountain.cfg was not found on this server. Authorization Required This server could not verify that you are authorized to access the document requested. Either you suppliΠ8ώed the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. Not Found The requested URL /webcart/config/moutain.cfg was not found on this server. Not Found The requested URL /webcart/orders/mountain.cfg was not found on this server. Not Found The requested URL /WebShop/templates/cc.txt was not found on this server. Not Found The requested URL /webshop/templates/cc.txt was not found on this server. Not Found The requested URL /WebShop/logs/ck.log was not found on this server. Not Found The requested URL /webshop/logs/ck.log was not found on this server. Not Found The requested URL /cgi-bin/WebShop/templates/cc.txt was not found on this server. Not Found The requested URL /cgi-bin/webshop/templates/cc.txt was not found on this server. Not Found The requested URL /cgi-bin/WebShop/logs/ck.log was not found on this server. Not Found The requested URL /cgi-bin/webshop/logs/ck.log was not found on this server. Not Found The requested URL /cgi/WebShop/templates/cc.txt was not found on this server. Not Found The requested URL /cgi/webshop/templates/cc.txt was not found on this server. Not Found The requested URL /cgi/WebShop/logs/ck.log was not found on this server. Not Found The requested URL /cgi/webshop/logs/ck.log was not found on this server. Not Found The requested URL /cgi-local/WebShop/templates/cc.txt was not found on this server. Not Found The requested URL /cgi-local/webshop/templates/cc.txt was not found on this server. Not Found The requested URL /cgi-local/WebShop/logs/ck.log was not found on this server. Not Found The requested URL /cgi-local/webshop/logs/ck.log was not found on this server. Not Found The requested URL /cgibin/WebShop/templates/cc.txt was not found on this server. Not Found The requested URL /cgibin/webshop/templates/cc.txt was not found on this server. Not Found The requested URL /cgibin/WebShop/logs/ck.log was not found on this server. Not Found The requested URL /cgibin/webshop/logs/ck.log was not found on this server. Not Found The requested URL /unsecurecgi/WebShop/templates/cc.txt was not found on this server. Not Found The requested URL /unsecurecgi/webshop/templates/cc.txt was not found on this server. Not Found The requested URL /unsecurecgi/WebShop/logs/ck.log was not found on this server. Not Found The requested URL /unsecurecgi/webshop/logs/ck.log was not found on this server. Not Found The requested URL /cgi-win/WebShop/templates/cc.txt was not found on this server. Not Found The requested URL /cgi-win/webshop/templates/cc.txt was not found on this server. Not Found The requested URL /cgi-win/WebShop/logs/ck.log was not found on this server. Not Found The requested URL /cgi-win/webshop/logs/ck.log was not found on this server. Not Found The requested URL /store/customers/order.txt was not found on this server. Not Found The requested URL /store/customers/orders.txt was not found on this server. Not Found The requested URL /store/temp_customers/order.txt was not found on this server. Not Found The requested URL /store/temp_customers/orders.txt was not found on this server. Not Found The requested URL /store/customers/order.log was not found on this server. Not Found The requested URL /store/customers/orders.log was not found on this server. Not Found The requested URL /store/temp_customers/order.log was not found on this server. Not Found The requested URL /store/temp_customers/orders.log was not found on this server. Not Found The requested URL /Admin_files/order.log was not found on this server. Not Found The requested URL /cgi-bin/Admin_files/order.log was not found on this server. Not Found The requested URL /cgi/Admin_files/order.log was not found on this server. Not Found The requested URL /cgi-local/Admin_files/order.log was not found on this server. Not Found The requested URL /cgibin/Admin_files/order.log was not found on this server. Not Found The requested URL /unsecurecgi/Admin_files/order.log was not found on this server. Not Found The requested URL /cgi-win/Admin_files/order.log was not found on this server. Not Found The requested URL /Orders/order_log_v12.dat was not found on this server. Not Found The requested URL /Order/order_log_v12.dat was not found on this server. Not Found The requested URL /orders/order_log_v12.dat was not found on this server. Not Found The requested URL /order/order_log_v12.dat was not found on this server. Not Found The requested URL /Orders/order_log.dat was not found on this server. Not Found The requested URL /Order/order_log.dat was not found on this server. Not Found The requested URL /orders/order_log.dat was not found on this server. Not Found The requested URL /order/order_log.dat was not found on this server. Not Found The requested URL /cgi-bin/Orders/order_log_v12.dat was not found on this server. Not Found The requested URL /cgi-bin/Order/order_log_v12.dat was not found on this server. Not Found The requested URL /cgi-bin/orders/order_log_v12.dat was not found on this server. Not Found The requested URL /cgi-bin/order/order_log_v12.dat was not found on this server. Not Found The requested URL /cgi-bin/Orders/order_log.dat was not found on this server. Not Found The requested URL /cgi-bin/Order/order_log.dat was not found on this server. Not Found The requested URL /cgi-bin/orders/order_log.dat was not found on this server. Not Found The requested URL /cgi-bin/order/order_log.dat was not found on this server. Not Found The requested URL /cgi/Orders/order_log_v12.dat was not found on this server. Not Found The requested URL /cgi/Order/order_log_v12.dat was not found on this server. Not Found The requested URL /cgi/orders/order_log_v12.dat was not found on this server. Not Found The requested URL /cgi/order/order_log_v12.dat was not found on this server. Not Found The requested URL /cgi/Orders/order_log.dat was not found on this server. Not Found The requested URL /cgi/Order/order_log.dat was not found on this server. Not Found The requested URL /cgi/orders/order_log.dat was not found on this server. Not Found The requested URL /cgi/order/order_log.dat was not found on this server. Not Found The requested URL /cgi-local/Orders/order_log_v12.dat was not found on this server. Not Found The requested URL /cgi-local/Order/order_log_v12.dat was not found on this server. Not Found The requested URL /cgi-local/orders/order_log_v12.dat was not found on this server. Not Found The requested URL /cgi-local/order/order_log_v12.dat was not found on this server. Not Found The requested URL /cgi-local/Orders/order_log.dat was not found on this server. Not Found The requested URL /cgi-local/Order/order_log.dat was not found on this server. Not Found The requested URL /cgi-local/orders/order_log.dat was not found on this server. Not Found The requested URL /cgi-local/order/order_log.dat was not found on this server. Not Found The requested URL /cgibin/Orders/order_log_v12.dat was not found on this server. Not Found The requested URL /cgibin/Order/order_log_v12.dat was not found on this server. Not Found The requested URL /cgibin/orders/order_log_v12.dat was not found on this server. Not Found The requested URL /cgibin/order/order_log_v12.dat was not found on this server. Not Found The requested URL /cgibin/Orders/order_log.dat was not found on this server. Not Found The requested URL /cgibin/Order/order_log.dat was not found on this server. Not Found The requested URL /cgibin/orders/order_log.dat was not found on this server. Not Found The requested URL /cgibin/order/order_log.dat was not found on this server. Not Found The requested URL /unsecurecgi/Orders/order_log_v12.dat was not found on this server. Not Found The requested URL /unsecurecgi/Order/order_log_v12.dat was not found on this server. Not Found The requested URL /unsecurecgi/orders/order_log_v12.dat was not found on this server. Not Found The requested URL /unsecurecgi/order/order_log_v12.dat was not found on this server. Not Found The requested URL /unsecurecgi/Orders/order_log.dat was not found on this server. Not Found The requested URL /unsecurecgi/Order/order_log.dat was not found on this server. Not Found The requested URL /unsecurecgi/orders/order_log.dat was not found on this server. I believe someone was looking for credit card info and config info on our server. What do you think? I do have the IP's logged but they are probably bogus. Robert ----- Original Message ----- From: "Murray Gibbins" <Murray@scotweb.ltd.uk> To: <interchange-users@lists.akopia.com> Sent: Monday, March 05, 2001 8:11 AM Subject: Re: [ic] Urgent Help > Robert Trembath wrote: > > > > All of a sudden all my stores(4) give the message: > > ok.... > > 1) Calm down > 2) Restart interchange. > 3) Check no-one was fiddling with Apache,file permissions, interchange, last > night. > > 4) what do the error.logs say? > > -- > ____ > \__/ Murray Gibbins murray@scotweb.ltd.uk > / \ Programmer > _ \__/ _ ================================================ > \\ || // Scotweb Limited, info@scotweb.ltd.uk > \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk > \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 > || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: jpereira at sweetlobster.com (Jock Pereira ) Date: Mon, 5 Mar 2001 10:05:17 -0500 Subject: [ic] RE: Interchange-users digest, please unsubscribe unsubscribe -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com] Sent: Thursday, March 01, 2001 4:22 PM To: interchange-users@lists.akopia.com Subject: Interchange-users digest, Vol 1 #338 - 7 msgs Send Interchange-users mailing list submissions to interchange-users@lists.akopia.com To subscribe or unsubscribe via the web, visit http://lists.akopia.com/mailman/listinfo/interchange-users or, via email, send a message with subject or body 'help' to interchange-users-request@lists.akopia.com You can reach the person managing the list at interchange-users-admin@lists.akopia.com When replying, please edit your Subject line so it is more specific than "Re: Contents of Interchange-users digest..." Today's Topics: 1. Changing the domain name of a catalog (Howell Silverman) 2. [set SearchbyKeyword] (joachim.richter) 3. Re: French user of interchange ? (Dan B) 4. [set SearchbyKeyword] - SOLUTION (joachim.richter) 5. Re: Changing the domain name of a catalog (Dan B) 6. Re: What is that "expires" page (Christopher VanOosterhout) 7. Re: What is that "expires" page (Dan B) --__--__-- Message: 1 Reply-To: <howells@siliconcty.com> From: "Howell Silverman" <howells@siliconcty.com> TO: <interchange-users@lists.akopia.com> Date: Thu, 1 Mar 2001 15:47:36 -0500 charset="iso-8859-1" Subject: [ic] Changing the domain name of a catalog Reply-To: interchange-users@lists.akopia.com Can someone help with this? Do I have to re-run makecat with the new domain perameters in order to change the domain name used in a catalog, or can I just edit the catalog.cfg file (or some other one) with the new domain name? If I must re-run makecat and I choose not to copy the "construct" templates will makecat just leave everything that's in the catalog directory as it is and just create a new catalog.cfg? Thanks for your help. --__--__-- Message: 2 Date: Thu, 01 Mar 2001 21:42:14 +0100 From: "joachim.richter" <joachim.richter@usvideocenter.de> To: interchange-users@lists.akopia.com Subject: [ic] [set SearchbyKeyword] Reply-To: interchange-users@lists.akopia.com [set SearchByKeyword] mv_search_field=xschauspi1 mv_search_field=xschauspi2 mv_search_field=xschauspi3 mv_matchlimit=15 mv_substring_match=yes [/set] this search works fine, but why is it , if i want to specify another database "dvus2" I use "mv_search_file value=dvus2" we get no results although the products and the "dvus2" database are identical ? [set SearchByKeyword] mv_search_file value=dvus2 mv_search_field=xschauspi1 mv_search_field=xschauspi2 mv_search_field=xschauspi3 mv_matchlimit=15 mv_substring_match=yes [/set] US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de --__--__-- Message: 3 Date: Thu, 01 Mar 2001 12:46:10 -0800 To: interchange-users@lists.akopia.com From: Dan B <db@cyclonehq.dnsalias.net> Subject: Re: [ic] French user of interchange ? <5.0.2.1.0.20010301145837.00a2cbe0@mail.secan.net> Reply-To: interchange-users@lists.akopia.com At 09:04 PM 3/1/2001 +0100, you wrote: >Nous avons dιjΰ bien commencι les ιchanges... n'est-ce pas David... >Nous nous sommes dit qu'il ιtait peut κtre gιnant d'ιchanger directement sur >la ML d'interchange puisque nous parlons en franηais... et avons directement >ιchanger par mail... >donc peut κtre a ++ N'oubliez pas que vous pouvez ιgalement utiliser la liste ιchange-internationale pour converser en votre langage primaire. (je sais, mon Franηais rouillι. Ou vous pourriez l'appeler " de poisson ", comme dans " babelfishy "). :-) -Dan >----- Original Message ----- >From: lamine <lamine@secan.net> >To: <interchange-users@lists.akopia.com> >Sent: Thursday, March 01, 2001 9:04 PM >Subject: Re: [ic] French user of interchange ? > > > > Salut les amis > > Comme je disait dans mon message prιcιdent, je suis prιs ΰ travail avec > > tout le monde dans un exprit d'entreaide. Donc si nous avons des > > questions, nous ne devons les poser en expιrants y avoir des rιponses. > > > > Pour rιpoindre ΰ vos questions, > > Je trouve qu'il est trιs facile de faire la traduction de Interchange > > (boutique) en franηais. Pour le moment c'est dans ce sens que je travaille > > pour mon ecommerce. > > Par la divise que croix qu'il est ιgalement de la mettre en FF quoi que > > j'utilise le dollars canadien. > > Bonne chance > > Lamine > > At 10:33 01-03-01 +0100, you wrote: > > >Enfin des franηais... > > >Ils sont rares... > > >Voici prθs d'un an que je travail avec Minivend puis Interchange... > > >Si vous souhaitez un coup de main ou des ιchanges... > > >Je ne suis toujours pas un expert mais bon... > > >a++ > > > > > >Alban > > > > > >----- Original Message ----- > > >From: David Bordas <bordas@jeuxvideo.com> > > >To: <interchange-users@lists.akopia.com> > > >Sent: Thursday, March 01, 2001 8:24 AM > > >Subject: Fw: [ic] French user of interchange ? > > > > > > > > > > Bonjour, > > > > > > > > C'est sympa de ne pas κtre tout seul, je suis aussi en train de >regarder > > > > pour traduire interchange avec gestion des 2 monnaies Franc et euro . > > > > > > > > Je regarde aussi comment intιgrer paybox ΰ interchange car la >procιdure de > > > > billing par default ne me convient pas . > > > > > > > > Je suis ok si on peut travailler ensemble, ca permettra de faire >gagner du > > > > temps ΰ tout le monde :) > > > > > > > > Cordialement > > > > David > > > > > > > > ----- Original Message ----- > > > > From: "lamine" <lamine@secan.net> > > > > To: <interchange-users@lists.akopia.com> > > > > Sent: Wednesday, February 28, 2001 9:43 PM > > > > Subject: Re: [ic] French user of interchange ? > > > > > > > > > > > > > Salut; > > > > > Je suis entrain de faire un dιveloppement de e-commerce en franηais >( > > > > > traduction de interchange si tu veux). > > > > > Fais moi part de tes projets et je vais voir si on peut travailler >en > > > > > collaboration. > > > > > Lamine > > > > > At 17:57 01-02-28 +0100, you wrote: > > > > > >Hi all, > > > > > > > > > > > >Are there french users of akopia who can tell me their experiences >with > > > > IC ? > > > > > >espacially with the language and price translation. > > > > > > > > > > > >Thanks > > > > > > > > > > > > > > > > > > > > > > > >_______________________________________________ > > > > > >Interchange-users mailing list > > > > > >Interchange-users@lists.akopia.com > > > > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > _______________________________________________ > > > > > Interchange-users mailing list > > > > > Interchange-users@lists.akopia.com > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > _______________________________________________ > > > > Interchange-users mailing list > > > > Interchange-users@lists.akopia.com > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > >_______________________________________________ > > >Interchange-users mailing list > > >Interchange-users@lists.akopia.com > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com --__--__-- Message: 4 Date: Thu, 01 Mar 2001 21:50:48 +0100 From: "joachim.richter" <joachim.richter@usvideocenter.de> To: interchange-users@lists.akopia.com Subject: [ic] [set SearchbyKeyword] - SOLUTION Reply-To: interchange-users@lists.akopia.com [set SearchByKeyword] mv_search_field=xschauspi1 mv_search_field=xschauspi2 mv_search_field=xschauspi3 mv_matchlimit=15 mv_substring_match=yes [/set] this search works fine, but why is it , if i want to specify another database "dvus2" I use "mv_search_file value=dvus2" we get no results although the products and the "dvus2" database are identical ? DELETE VALUE ---> "mv_search_file=dvus2" WORKS GREAT THANK YA ANYWAY !!!!!!!!!!!!!!! [set SearchByKeyword] mv_search_file value=dvus2 mv_search_field=xschauspi1 mv_search_field=xschauspi2 mv_search_field=xschauspi3 mv_matchlimit=15 mv_substring_match=yes [/set] regards Joe US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de --__--__-- Message: 5 Date: Thu, 01 Mar 2001 13:10:18 -0800 To: interchange-users@lists.akopia.com From: Dan B <db@cyclonehq.dnsalias.net> Subject: Re: [ic] Changing the domain name of a catalog Reply-To: interchange-users@lists.akopia.com At 03:47 PM 3/1/2001 -0500, you wrote: >Can someone help with this? > >Do I have to re-run makecat with the new domain perameters in order to >change the domain name used in a catalog, or can I just edit the catalog.cfg >file (or some other one) with the new domain name? No, you do not have to re-run makecat. Yes, you can edit the catalog.cfg. >If I must re-run makecat and I choose not to copy the "construct" templates >will makecat just leave everything that's in the catalog directory as it is >and just create a new catalog.cfg? > >Thanks for your help. > > > > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com --__--__-- Message: 6 Date: Thu, 01 Mar 2001 16:12:03 -0500 To: interchange-users@lists.akopia.com From: Christopher VanOosterhout <chris@vanoosterhout.com> Subject: Re: [ic] What is that "expires" page <Pine.LNX.4.21.0102281400270.1928-100000@ns.my-school.com> Reply-To: interchange-users@lists.akopia.com Dan, Thanks for the suggestion Now that you mention it ... I did review the catalog error log and found the following type of error each time I "try to buy": 209.176.195.235 ItbSDYnT:209.176.195.235 - [01/March/2001:12:17:43 -0500] westerbeke /cgi-bin/westerbeke/process.html WARNING: POSSIBLE BAD ROBOT. 51 accesses with no 30 second pause. Does that mean anything to anyone? What is a ROBOT (as far as Interchange is concerned) and what can I do about a bad one. By the way, another interesting thing is that in Netscape I end up with a URL like this: http://127.0.0.1/process.html?mv_session_id=ItbSDYnT&mv_separate_items=0&mv_ click=munge_quantity&mv_doit=refresh&mv_username=&mv_oi1=11014&mv_order_item =11014&mv_order_quantity=%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d %3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d% 3d%3d%3d%3d%3d%3d%3d%3d%3d%3d1 But in IE i end up with a simple: http://66.70.15.170/cgi-bin/westerbeke/expired.html Any MORE input? Chris >Well, since you said "any" input, I can mention it: Do you get anything in error.log? (catalog/error.log and interchange/error.log) > >Sounds like a fun problem, though. At least you aren't bored. > >-Dan At 11:01 AM 3/1/01 -0800, Dan B wrote: >At 09:22 AM 3/1/2001 -0500, you wrote: > >>I am working to customize the "construct" template store. >> >>However I am having a specific problem that causes the expires.html page >>to appear. Every time I try to buy something from a search list (using >>the template included as part of "construct" I end up being sent to: >>http://66.70.15.170/cgi-bin/westerbeke/expired.html with the following >>message on the page: >> >>The requested item (expired) was not found. You can return to browsing >>our catalog, if you wish. >> >>(This is coming from the results.html page) Even though I get this error >>message, when I go back to check my cart, the product was in fact placed >>in the cart. >> >>The curious thing is that when I come from the single result page >>(results_big.html) the buy button works correctly. >> >>Thanks for any input. Below I have included the source code for what >>appears to be the problem page (results.html). > > > > > > >>SOURCE CODE FOR RESULTS.HTML::::: >> >>[comment] >>ui_template: Yes >>ui_template_name: leftright >>[/comment] >> >>[set bgcolor]#FFFFFF[/set] >>[set component_right]promo_vertical[/set] >>[set component_after]cross_horizontal[/set] >>[set members_only]0[/set] >>[set component_vsize]4[/set] >>[set page_banner] [/set] >>[set vbanner]Specials[/set] >>[set component_hsize]2[/set] >>[set hbanner]Also see...[/set] >>[set component_before][/set] >>[set hpromo_type]specials[/set] >>[set page_title]__COMPANY__ -- Search results[/set] >>[set vpromo_type]specials[/set] >>@_LEFTRIGHT_TOP_@ >> >><!-- BEGIN CONTENT --> >>[if scratch did_order] >>[include file="templates/components/cart_display"] >>[/if] >>[set did_order][/set] >>[search-region] >>[set munge_quantity] >>[calc] >> $Scratch->{did_order} = 1; >> @q = split /\0/, $CGI->{mv_order_quantity}; >> for (@q) { >> next unless length $_; >> $_ = "=$_"; >> } >> @parms = grep /^mv_oi\d+/ && $CGI->{$_}, keys %{$CGI}; >> >> # If we have parms, means an individual buy. If we don't >> # we want to strip empty items >> unless (@parms) { >> @i = split "\0", $CGI->{mv_order_item}; >> for(my $i = 0; $i < @i; $i++) { >> next if length($q[$i]); >> $i[$i] = ''; >> } >> @i = grep length($_), @i; >> @q = grep length($_), @q; >> $CGI_array->{mv_order_quantity} = \@q; >> $CGI->{mv_order_quantity} = join "\0", @q; >> $CGI_array->{mv_order_item} = \@i; >> $CGI->{mv_order_item} = join "\0", @i; >> return; >> } >> my $item = $parms[0]; >> $item =~ /(\d+)/ or return; >> my $idx = $1; >> $idx--; >> $CGI->{mv_order_item} = $CGI->{$item}; >> $CGI->{mv_order_quantity} = "$q[$idx]"; >> return; >>[/calc] >> [bounce href="[history-scan exclude=nothing]"] >>[/set] >>[tmp cross_sale][value-extended name=mv_searchspec index=0][/tmp] >> >>[on-match] >><FORM ACTION="[process-target]" METHOD=POST> >><INPUT TYPE=hidden NAME="mv_separate_items" VALUE="0"> >><INPUT TYPE=hidden NAME="mv_click" VALUE="munge_quantity"> >><INPUT TYPE=hidden NAME="mv_doit" VALUE="refresh"> >>[/on-match] >> >>[search-list] >> >>[item-change 1][condition][item-field category][/condition] >> <table width="90%" border="0" cellspacing="0" >> cellpadding="0" bgcolor="red"> >> <tr> >> <td width="10"><img src="navigation/minime1.gif" >> width="10" height="20" align="top"></td> >> <td ><font __FFACE__ size="1"><b><i><font >> color="ffffff" size="2">[either][value banner_t >>ext][or][item-field category][/either]</font></i></b></font></td> >> <td width="10"><img src="navigation/minime2.gif" >> width="10" height="20" align="top"></td> >> </tr> >> </table> >> >> <table width="90%" border="1" cellspacing="0" >> cellpadding="0" bordercolor="0099ff"> >> <tr bgcolor="ffffff" valign="middle"> >> <td> >> <table border="0" cellspacing="2" >> cellpadding="3" bordercolor="#FFFFFF" align="center >>" width="100%"> >> <tr> >> <td width="100" align="center" >> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff"> >>Product</font></td> >> <td width="30" align="center" >> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">S >>ku</font></td> >> <td width="30" align="center" >> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">S >>tock</font></td> >> <td width="30" align="center" >> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">P >>rice</font></td> >> <td width="30" align="center" >> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">Q >>ty</font></td> >> <td width="30" align="center" >> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">B >>uy</font></td> >> </tr> >> </table> >> </td></tr> >> </table> >> >>[/item-change 1] >> >> <table width="90%" border="1" cellspacing="0" >> cellpadding="0" bordercolor="0099ff"> >> <tr bgcolor="ffffff" valign="middle"> >> <td align=center height="5"> >> <div align="left"> >> <table border="0" cellspacing="0" >> cellpadding="3" bordercolor="#FFFFFF" align="center >>" width="100%"> >> >><INPUT TYPE=hidden NAME="mv_order_item" VALUE="[item-code]"> >> >> <tr> >> <td valign="top" width="100"><a >> href="[area [item-code]]"><font __FFACE__ size="1 >>"><b>[item-description]</b></font></a></td> >> <td >> valign="top" width="30"><font __FFACE__ size= >>"1">[item-code]</font></td> >> <td >> valign="top" width="30" align="center">[item- >>calc] >> my $q = q{[item-data inventory quantity]}; >> if($q > 0) { >> return <<EOF; >><font __FFACE__ size="1" color="#008000"><b>Y</b></font> >>EOF >> } >> else { >> return <<EOF; >><a href="[area stock-alert [item-code]]"><font __FFACE__ size="1" >>color="#FF0000"><b>N</b></font></a> >>EOF >> } >>[/item-calc]</td> >> <td >> valign="top" width="30"><font __FFACE__ size= >>"1">[item-price]</font></td> >> <td >> valign=top width=30><input type=hidden name=" >>mv_oi[item-increment]" value=""><input type=text name=mv_order_quantity >>size=2 value=""></td> >> <td >> valign=top width=30><FONT __FFACE__ size=2><i >>nput type=submit value=BuyIt >>onClick="this.form.mv_oi[item-increment].value='[item-code]'"></font></td> >> >> >> >> </tr> >> </table> >> <div align="center"><b><i></i></b></div> >> </div> >> </td> >> </tr> >> </table> >> >>[/search-list] >>[on-match] >><div align=right><INPUT TYPE=submit VALUE="Buy list"> >></FORM> >>[/on-match] >> >>[no-match] >><BR><BR><BLOCKQUOTE> >><font __FFACE__ size="2"> >>Sorry, no matches for <B>[calc] >> my $joiner = ' AND '; >> $joiner = ' OR ' if >> defined >> $Search->{''}->{mv_orsearch}[0] >> and $Search->{''}->{mv_orsearch}[0]; >> my @str = grep /\D/, @{$Values->{mv_searchspec}}; >> return join $joiner, @str; >> [/calc] >>[if value mv_search_error] >><P><B>Errors: >><BR> [value-extended name=mv_search_error joiner="<BR>"] >></B> >>[/if] >></font> >><BR><BR></BLOCKQUOTE> >>[/no-match] >><font __FFACE__ size="2"> >><BR CLEAR=LEFT> >>[more-list] >></font> >><BLOCKQUOTE> >><font __FFACE__ size="2"> >>Matches [matches] of [match-count] found. >><BR>[more]<BR> >></font> >></BLOCKQUOTE> >>[/more-list] >> >>[/search-region] >><!-- END CONTENT --> >> >>@_LEFTRIGHT_BOTTOM_@ >> >> >> >> >> >> >> >>_______________________________________________ >>Interchange-users mailing list >>Interchange-users@lists.akopia.com >>http://lists.akopia.com/mailman/listinfo/interchange-users > >Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users --__--__-- Message: 7 Date: Thu, 01 Mar 2001 13:20:47 -0800 To: interchange-users@lists.akopia.com From: Dan B <db@cyclonehq.dnsalias.net> Subject: Re: [ic] What is that "expires" page <5.0.2.1.2.20010301091027.041eb3a0@192.168.0.7> <Pine.LNX.4.21.0102281400270.1928-100000@ns.my-school.com> Reply-To: interchange-users@lists.akopia.com At 04:12 PM 3/1/2001 -0500, you wrote: >Dan, > >Thanks for the suggestion > >Now that you mention it ... I did review the catalog error log and found >the following type of error each time I "try to buy": > >209.176.195.235 ItbSDYnT:209.176.195.235 - [01/March/2001:12:17:43 -0500] >westerbeke /cgi-bin/westerbeke/process.html WARNING: POSSIBLE BAD ROBOT. >51 accesses with no 30 second pause. > >Does that mean anything to anyone? What is a ROBOT (as far as Interchange >is concerned) and what can I do about a bad one. Search the mailing list and the devloper's page for it. It might help to change your RobotLimit value in catalog.cfg. -Dan >By the way, another interesting thing is that in Netscape I end up with a >URL like this: >http://127.0.0.1/process.html?mv_session_id=ItbSDYnT&mv_separate_items=0&mv _click=munge_quantity&mv_doit=refresh&mv_username=&mv_oi1=11014&mv_order_ite m=11014&mv_order_quantity=%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3 d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d %3d%3d%3d%3d%3d%3d%3d%3d%3d%3d1 > >But in IE i end up with a simple: >http://66.70.15.170/cgi-bin/westerbeke/expired.html > >Any MORE input? > >Chris > > > >Well, since you said "any" input, I can mention it: Do you get anything > in error.log? (catalog/error.log and interchange/error.log) > > > >Sounds like a fun problem, though. At least you aren't bored. > > > >-Dan > >At 11:01 AM 3/1/01 -0800, Dan B wrote: >>At 09:22 AM 3/1/2001 -0500, you wrote: >> >>>I am working to customize the "construct" template store. >>> >>>However I am having a specific problem that causes the expires.html page >>>to appear. Every time I try to buy something from a search list (using >>>the template included as part of "construct" I end up being sent to: >>>http://66.70.15.170/cgi-bin/westerbeke/expired.html with the following >>>message on the page: >>> >>>The requested item (expired) was not found. You can return to browsing >>>our catalog, if you wish. >>> >>>(This is coming from the results.html page) Even though I get this >>>error message, when I go back to check my cart, the product was in fact >>>placed in the cart. >>> >>>The curious thing is that when I come from the single result page >>>(results_big.html) the buy button works correctly. >>> >>>Thanks for any input. Below I have included the source code for what >>>appears to be the problem page (results.html). >> >> >> >> >> >> >>>SOURCE CODE FOR RESULTS.HTML::::: >>> >>>[comment] >>>ui_template: Yes >>>ui_template_name: leftright >>>[/comment] >>> >>>[set bgcolor]#FFFFFF[/set] >>>[set component_right]promo_vertical[/set] >>>[set component_after]cross_horizontal[/set] >>>[set members_only]0[/set] >>>[set component_vsize]4[/set] >>>[set page_banner] [/set] >>>[set vbanner]Specials[/set] >>>[set component_hsize]2[/set] >>>[set hbanner]Also see...[/set] >>>[set component_before][/set] >>>[set hpromo_type]specials[/set] >>>[set page_title]__COMPANY__ -- Search results[/set] >>>[set vpromo_type]specials[/set] >>>@_LEFTRIGHT_TOP_@ >>> >>><!-- BEGIN CONTENT --> >>>[if scratch did_order] >>>[include file="templates/components/cart_display"] >>>[/if] >>>[set did_order][/set] >>>[search-region] >>>[set munge_quantity] >>>[calc] >>> $Scratch->{did_order} = 1; >>> @q = split /\0/, $CGI->{mv_order_quantity}; >>> for (@q) { >>> next unless length $_; >>> $_ = "=$_"; >>> } >>> @parms = grep /^mv_oi\d+/ && $CGI->{$_}, keys %{$CGI}; >>> >>> # If we have parms, means an individual buy. If we don't >>> # we want to strip empty items >>> unless (@parms) { >>> @i = split "\0", $CGI->{mv_order_item}; >>> for(my $i = 0; $i < @i; $i++) { >>> next if length($q[$i]); >>> $i[$i] = ''; >>> } >>> @i = grep length($_), @i; >>> @q = grep length($_), @q; >>> $CGI_array->{mv_order_quantity} = \@q; >>> $CGI->{mv_order_quantity} = join "\0", @q; >>> $CGI_array->{mv_order_item} = \@i; >>> $CGI->{mv_order_item} = join "\0", @i; >>> return; >>> } >>> my $item = $parms[0]; >>> $item =~ /(\d+)/ or return; >>> my $idx = $1; >>> $idx--; >>> $CGI->{mv_order_item} = $CGI->{$item}; >>> $CGI->{mv_order_quantity} = "$q[$idx]"; >>> return; >>>[/calc] >>> [bounce href="[history-scan exclude=nothing]"] >>>[/set] >>>[tmp cross_sale][value-extended name=mv_searchspec index=0][/tmp] >>> >>>[on-match] >>><FORM ACTION="[process-target]" METHOD=POST> >>><INPUT TYPE=hidden NAME="mv_separate_items" VALUE="0"> >>><INPUT TYPE=hidden NAME="mv_click" VALUE="munge_quantity"> >>><INPUT TYPE=hidden NAME="mv_doit" VALUE="refresh"> >>>[/on-match] >>> >>>[search-list] >>> >>>[item-change 1][condition][item-field category][/condition] >>> <table width="90%" border="0" cellspacing="0" >>> cellpadding="0" bgcolor="red"> >>> <tr> >>> <td width="10"><img >>> src="navigation/minime1.gif" width="10" height="20" align="top"></td> >>> <td ><font __FFACE__ size="1"><b><i><font >>> color="ffffff" size="2">[either][value banner_t >>>ext][or][item-field category][/either]</font></i></b></font></td> >>> <td width="10"><img >>> src="navigation/minime2.gif" width="10" height="20" align="top"></td> >>> </tr> >>> </table> >>> >>> <table width="90%" border="1" cellspacing="0" >>> cellpadding="0" bordercolor="0099ff"> >>> <tr bgcolor="ffffff" valign="middle"> >>> <td> >>> <table border="0" cellspacing="2" >>> cellpadding="3" bordercolor="#FFFFFF" align="center >>>" width="100%"> >>> <tr> >>> <td width="100" align="center" >>> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff"> >>>Product</font></td> >>> <td width="30" align="center" >>> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">S >>>ku</font></td> >>> <td width="30" align="center" >>> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">S >>>tock</font></td> >>> <td width="30" align="center" >>> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">P >>>rice</font></td> >>> <td width="30" align="center" >>> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">Q >>>ty</font></td> >>> <td width="30" align="center" >>> bgcolor="0099ff"><font __FFACE__ size="1" color="#ffffff">B >>>uy</font></td> >>> </tr> >>> </table> >>> </td></tr> >>> </table> >>> >>>[/item-change 1] >>> >>> <table width="90%" border="1" cellspacing="0" >>> cellpadding="0" bordercolor="0099ff"> >>> <tr bgcolor="ffffff" valign="middle"> >>> <td align=center height="5"> >>> <div align="left"> >>> <table border="0" cellspacing="0" >>> cellpadding="3" bordercolor="#FFFFFF" align="center >>>" width="100%"> >>> >>><INPUT TYPE=hidden NAME="mv_order_item" VALUE="[item-code]"> >>> >>> <tr> >>> <td valign="top" width="100"><a >>> href="[area [item-code]]"><font __FFACE__ size="1 >>>"><b>[item-description]</b></font></a></td> >>> <td >>> valign="top" width="30"><font __FFACE__ size= >>>"1">[item-code]</font></td> >>> <td >>> valign="top" width="30" align="center">[item- >>>calc] >>> my $q = q{[item-data inventory quantity]}; >>> if($q > 0) { >>> return <<EOF; >>><font __FFACE__ size="1" color="#008000"><b>Y</b></font> >>>EOF >>> } >>> else { >>> return <<EOF; >>><a href="[area stock-alert [item-code]]"><font __FFACE__ size="1" >>>color="#FF0000"><b>N</b></font></a> >>>EOF >>> } >>>[/item-calc]</td> >>> <td >>> valign="top" width="30"><font __FFACE__ size= >>>"1">[item-price]</font></td> >>> <td >>> valign=top width=30><input type=hidden name=" >>>mv_oi[item-increment]" value=""><input type=text name=mv_order_quantity >>>size=2 value=""></td> >>> <td >>> valign=top width=30><FONT __FFACE__ size=2><i >>>nput type=submit value=BuyIt >>>onClick="this.form.mv_oi[item-increment].value='[item-code]'"></font></td > >>> >>> >>> >>> </tr> >>> </table> >>> <div align="center"><b><i></i></b></div> >>> </div> >>> </td> >>> </tr> >>> </table> >>> >>>[/search-list] >>>[on-match] >>><div align=right><INPUT TYPE=submit VALUE="Buy list"> >>></FORM> >>>[/on-match] >>> >>>[no-match] >>><BR><BR><BLOCKQUOTE> >>><font __FFACE__ size="2"> >>>Sorry, no matches for <B>[calc] >>> my $joiner = ' AND '; >>> $joiner = ' OR ' if >>> defined >>> $Search->{''}->{mv_orsearch}[0] >>> and >>> $Search->{''}->{mv_orsearch}[0]; >>> my @str = grep /\D/, @{$Values->{mv_searchspec}}; >>> return join $joiner, @str; >>> [/calc] >>>[if value mv_search_error] >>><P><B>Errors: >>><BR> [value-extended name=mv_search_error joiner="<BR>"] >>></B> >>>[/if] >>></font> >>><BR><BR></BLOCKQUOTE> >>>[/no-match] >>><font __FFACE__ size="2"> >>><BR CLEAR=LEFT> >>>[more-list] >>></font> >>><BLOCKQUOTE> >>><font __FFACE__ size="2"> >>>Matches [matches] of [match-count] found. >>><BR>[more]<BR> >>></font> >>></BLOCKQUOTE> >>>[/more-list] >>> >>>[/search-region] >>><!-- END CONTENT --> >>> >>>@_LEFTRIGHT_BOTTOM_@ >>> >>> >>> >>> >>> >>> >>> >>>_______________________________________________ >>>Interchange-users mailing list >>>Interchange-users@lists.akopia.com >>>http://lists.akopia.com/mailman/listinfo/interchange-users >> >>Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com >> >> >>_______________________________________________ >>Interchange-users mailing list >>Interchange-users@lists.akopia.com >>http://lists.akopia.com/mailman/listinfo/interchange-users > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com --__--__-- _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users End of Interchange-users Digest From: Murray at scotweb.ltd.uk (Murray Gibbins ) Date: Mon, 05 Mar 2001 15:21:24 +0000 Subject: [ic] Urgent Help Robert Trembath wrote: > > I've done that with no change. I did have an apache problem this morning as > well. Some old IP's for virtualhosts showed up after being deleted 3 months > ago. I went and deleted those IP's from the http.conf file and then had an > error about a missing error_log file. I looked in var/log/ and couldn't even > fing httpd directory. So I created it and the error_log file and restarted > apache and it was up and running again, but interchange died. It says its > started when I manually start the service but I keep getting that error > message: H'm If i got this I would think that I has lost a load of files and then someone had restored them from a 3 month old back up. Interchange will start and report a corect start up , each catalog in it may fail however. That's just how it works. -- ____ \__/ Murray Gibbins murray@scotweb.ltd.uk / \ Programmer _ \__/ _ ================================================ \\ || // Scotweb Limited, info@scotweb.ltd.uk \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 From: markj at redhat.com (Mark Johnson ) Date: Mon, 05 Mar 2001 10:30:25 -0500 Subject: [ic] Problem connecting to MySQL You can modify the host/port settings as follows in catalog.cfg: SQLDSN dbi:mysql:dbname;host=yourhost;port=yourport Robert Trembath wrote: > > It is on the same machine, but it won't connect via localhost. I get a can't > connect to mysql via mysql.sock(111) error. But if I change it to the > machine name it works. I had to do this to get DBD::mysql installed > correctly. > Robert -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: Murray at scotweb.ltd.uk (Murray Gibbins ) Date: Mon, 05 Mar 2001 15:28:38 +0000 Subject: [ic] Urgent Help Robert Trembath wrote: > > I think someone was trying to hack our machine this morning. Found some > files in the /tmp directory that apache wrote containing this: > > Not Found > The requested URL /orders/orders.txt was not found on this server. > > Not Found > The requested URL /orders/import.txt was not found on this server. > ok that's just a problem with httpd.conf, may not indicate a hack, more likely a problem with a document root inside virtual host or Alias or Script alias. Your file permissions may be wonky too. > Authorization Required > This server could not verify that you are authorized to access the document > requested. Either you suppliΠ8ώed the wrong credentials (e.g., bad > password), or your browser doesn't understand how to supply the credentials > required. i wouldn't worry about that. If a real hacker got in then you would not have this type of log file hanging around. But if in doubt may I suggest format /dev/hda > I believe someone was looking for credit card info and config info on our > server. What do you think? I do have the IP's logged but they are probably > bogus. The correct approach is "My machine is connected to the internet, therefore I will assume that it is hacked (hackable) until it is hacked". The precautionary approach will work best for machines inside DMZ's. The "Scientific method" will solve all your problems and tell you what's happening. Yours Murray http://www.morpheux.org -- ____ \__/ Murray Gibbins murray@scotweb.ltd.uk / \ Programmer _ \__/ _ ================================================ \\ || // Scotweb Limited, info@scotweb.ltd.uk \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 From: kpullon at hotmail.com (Kristina Pullon ) Date: Mon, 05 Mar 2001 10:54:07 -0500 Subject: [ic] What do I need to back up? I backed up just my catalog thinking that was all I was modifying - well somewhere down in the mix things got corrupted and when I copied over my old catalog nothing changed. What files should you back up while you are developing? catalogs/*catalog and what else? What happened is somewhere something gets corrupted and shipping no longer functions - it simply says "Nothing to Ship!" no matter how many items are in the cart. Thanks Kristina kpullon@hotmail.com www.lastlooks.com _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: markj at redhat.com (Mark Johnson ) Date: Mon, 05 Mar 2001 10:27:39 -0500 Subject: [ic] HAS_LIMIT not documented (was: Large mySQL tables kill > > Use this directive for large mySQl tables, or other SQl engines which have > 'limit' support implemented. > And, be aware many RDBMS do *not* support this. As far as I know, this is a MySQL-only feature, though I have certainly not exhaustively examined all the databases out there. Just a heads-up. -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: robert at icardigital.com (Robert Trembath ) Date: Mon, 5 Mar 2001 10:26:29 -0600 Subject: [ic] Urgent Help I had to reinstall the RPM and edit the interchange.cfg file to fix it. All works now but I have nothing in the error log to indicate what caused it to crash. Any ideas? ----- Original Message ----- From: "Murray Gibbins" <Murray@scotweb.ltd.uk> To: <interchange-users@lists.akopia.com> Sent: Monday, March 05, 2001 9:28 AM Subject: Re: [ic] Urgent Help > Robert Trembath wrote: > > > > I think someone was trying to hack our machine this morning. Found some > > files in the /tmp directory that apache wrote containing this: > > > > Not Found > > The requested URL /orders/orders.txt was not found on this server. > > > > Not Found > > The requested URL /orders/import.txt was not found on this server. > > > > ok that's just a problem with httpd.conf, may not indicate a hack, more likely a > problem with a document root inside virtual host or Alias or Script alias. Your > file permissions may be wonky too. > > > > Authorization Required > > This server could not verify that you are authorized to access the document > > requested. Either you suppliΠ8ώed the wrong credentials (e.g., bad > > password), or your browser doesn't understand how to supply the credentials > > required. > > i wouldn't worry about that. If a real hacker got in then you would not have > this type of log file hanging around. But if in doubt may I suggest format > /dev/hda > > > I believe someone was looking for credit card info and config info on our > > server. What do you think? I do have the IP's logged but they are probably > > bogus. > > The correct approach is "My machine is connected to the internet, therefore I > will assume that it is hacked (hackable) until it is hacked". The precautionary > approach will work best for machines inside DMZ's. > > The "Scientific method" will solve all your problems and tell you what's > happening. > > Yours > > Murray > > http://www.morpheux.org > > -- > ____ > \__/ Murray Gibbins murray@scotweb.ltd.uk > / \ Programmer > _ \__/ _ ================================================ > \\ || // Scotweb Limited, info@scotweb.ltd.uk > \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk > \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 > || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: edl at newmediaems.com (Ed LaFrance ) Date: Mon, 05 Mar 2001 08:56:52 -0800 Subject: [ic] What do I need to back up? At 10:54 AM 03/05/2001 -0500, you wrote: >I backed up just my catalog thinking that was all I was modifying - well >somewhere down in the mix things got corrupted and when I copied over my >old catalog nothing changed. > >What files should you back up while you are developing? >catalogs/*catalog > >and what else? > >What happened is somewhere something gets corrupted and shipping no longer >functions - it simply says "Nothing to Ship!" no matter how many items are >in the cart. ..Often this means that the criterion on which the shipping is calculated (i.e. weight) was not found. For instance, if you restored an old copy of your products file which was missing some or all of the weights which you subsequently entered, you would probably see this message. As far as backups go, You get just about everything you need this way (from the shell): cd catalogs tar cvf mycat.tar mycatalogdir gzip mycat.tar ...then grab a copy of the resulting mycat.tar.gz. - Ed L. >Thanks >Kristina >kpullon@hotmail.com >www.lastlooks.com >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange at my-school.com (IC-Admin ) Date: Mon, 5 Mar 2001 13:14:26 -0500 (EST) Subject: [ic] Cutting down If I just had an idea how to remind posters to cut down the trailing comments of the previous poster in their responses. They are usually completely superfluous. Any suggestions ? From: mikeh at minivend.com (Mike Heins ) Date: Mon, 5 Mar 2001 12:18:03 -0500 Subject: [ic] Cutting down Quoting IC-Admin (interchange@my-school.com): > > If I just had an idea how to remind posters to cut down > the trailing comments of the previous poster in their responses. > They are usually completely superfluous. > > Any suggestions ? > I would like to require non-lazy quoting, but that is too much to expect, I guess. Too many people use too many bad editors that apparently make it hard to do the Right Thing. For what it is worth, I will repeat my statement that if you use the lazy quoting method of putting your comments at top and not putting context in, you reduce the likelihood of me carefully reading the message by about 90%. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Experience is what allows you to recognize a mistake the second time you make it. -- unknown From: pchilds at coatingsmart.com (Paul Childs ) Date: Mon, 05 Mar 2001 13:02:57 -0500 Subject: [ic] user database userdb does not exist Hello, I evaluating interchange to see if this is something my company can use and I am running into some problems. One of the more frustration ones is our inability to figure out how to get the userdb.txt file to be imported into a userdb.gdbm. Right now if you log in on our test site the error message we get is: Sorry, there was an error in processing this form action. Please report the error or try again later. (user database userdb does not exist. ) We used the login example from the Documentation but seem to get the error all the time. We are not trying anything fancy and I have been through the Documentation a couple times. If I missed something in the Documentation can you point me to the right pdf and page number? Is there something in the catalog.cfg that tells interchange were the userdb.txt or userdb.gdbm is or should be. I realize I am probably missing some small detail, and would appreciate any help in finding out what that is. Thanks. PJC From: doliver at hampshire.edu (Dylan Oliver ) Date: Mon, 5 Mar 2001 14:41:26 -0600 Subject: [ic] munge_quantity? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 What exactly does munge_quantity do? If it's documented, point me in that direction. - -- Dylan Oliver http://stout.hampshire.edu/~dao99 Global View International http://www.globalview-intl.com Do you know how little you know? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjqj+fYACgkQ7U8r0TCZf4ELWACffCzY+9kjIPAyDH7WnMLMDLLi qkMAn0rUstua7TiY/bcripI8SYVOmI4E =uLsh -----END PGP SIGNATURE----- From: jerry at digitalfm.com (Jerry ) Date: Mon, 5 Mar 2001 15:47:54 -0500 Subject: [ic] munge_quantity? I don't know who planned this storm, but I think we should ask for our money back! What a fizzle! I'm back the way.... > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Dylan > Oliver > Sent: Monday, March 05, 2001 3:41 PM > To: interchange-users@lists.akopia.com > Subject: [ic] munge_quantity? > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > What exactly does munge_quantity do? If it's documented, point me in that > direction. > - -- > Dylan Oliver > http://stout.hampshire.edu/~dao99 > Global View International > http://www.globalview-intl.com > Do you know how little you know? > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.4 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iEYEARECAAYFAjqj+fYACgkQ7U8r0TCZf4ELWACffCzY+9kjIPAyDH7WnMLMDLLi > qkMAn0rUstua7TiY/bcripI8SYVOmI4E > =uLsh > -----END PGP SIGNATURE----- > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: epaul at spellbook.net (Eric Paul ) Date: Mon, 05 Mar 2001 15:50:17 -0500 Subject: [ic] CCVS and CyberCash Bankrupcy Hi Ron! Thanks for the input. I know from the list that Verisign bought Signio (sp?) a while back, but having not used the product, that's about all I know. I checked out Verisign's site quickly, and I'm guessing that the "PayFlow" software is what I'd be looking for? How does the interface compare to CyberCash from the customer's end? Most of my clients have liked the flex that the CyberCash cash register website has given them for being able to pull reports or manually run auths/returns. Does Verisign offer something similar? I'm assuming from what I've read on the list that with the latest IC it should just be a matter of switching out a couple of config files to move a site from CC to Verisign. Are there any gotchas I should be on the lookout for? Thanks much! Eric At 10:36 PM 3/4/01, you wrote: >Eric, > >Checkout out Verisign for your clients, their prices are lower then >CyberCash's, the integration is already written for IC and their network has >only gone down for maintenance twice for under 2 hours in the time I've been >with them. Take it easy! > >-Ron > >----- Original Message ----- >From: "Eric Paul" <epaul@spellbook.net> >To: <interchange-users@minivend.com> >Sent: Sunday, March 04, 2001 8:31 AM >Subject: [ic] CCVS and CyberCash Bankrupcy > > > > Could someone who has done a CCVS integration drop me a line with some > > pointers as to "required reading"? With CyberCash filing Chapter 11, some > > of my customers have contacted me about other alternatives. > > > > In case you had not heard, here's the press releases from CyberCash: > > > > http://www.cybercash.com/restructure/ > > > > TIA! > > > > Eric > > --- > > Eric Paul > > SpellBook Systems > > http://www.spellbook.net > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users --- Eric Paul SpellBook Systems http://www.spellbook.net From: jerry at digitalfm.com (Jerry ) Date: Mon, 5 Mar 2001 16:00:32 -0500 Subject: [ic] munge_quantity? Yikes! Something got crossed up! Forget that last message. :) Jerry From: doliver at hampshire.edu (Dylan Oliver ) Date: Mon, 5 Mar 2001 15:15:49 -0600 Subject: [ic] munge_quantity? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 05 March 2001 15:00, you wrote: > Yikes! Something got crossed up! > Forget that last message. :) I was really curious about that one.. - -- Dylan Oliver http://stout.hampshire.edu/~dao99 Global View International http://www.globalview-intl.com Do you know how little you know? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjqkAgUACgkQ7U8r0TCZf4EifACfYfgbD9CEBw15wmul+v3ylVYU wbQAnjXAY8mfvxKvvY/e1DseGfCaG/dc =QAMQ -----END PGP SIGNATURE----- From: jud-lists at copernica.com (Jud Harris ) Date: Mon, 5 Mar 2001 15:38:55 -0600 Subject: [ic] pricing / inventory setup Hi folks - I need to set up a unique-to-me pricing / inventory scheme and I'm hoping someone can give me an idea of how to do it. Here's a model scenario - I have 1000 identical DVDs in inventory, and I want to sell them at different prices - say $20, $35, and $50, depending on the type of customer. The customer will choose which one to buy. Is there a way to accomplish this using sizes, or do I need multiple skus? If I need multiple skus, how do I have varied skus share the same inventory pool? Please cc my from address if you reply. Thanks in advance.. -Jud From: chris at vanoosterhout.com (Christopher VanOosterhout ) Date: Mon, 05 Mar 2001 16:55:03 -0500 Subject: [ic] Database Recreation ... Greetings All, I have searched the archives for an answer and maybe I am not searching for the right words, but I can not seem to find a way to "force" database recreation. I have a file called userdb.txt that I would like to become my userdb. At one time it did. When I first placed this file in the CATALOG/products/ directory it created a .gdbm file called userdb.gdbm. I then deleted this file (I am currently in learning/testing mode) thinking that it would automatically recreate when I tried to do anything with the user database. Now when I look in the CATALOG/products/ directory all I see is userdb.txt, products.gdbm and products.txt. Why is my userdb.gdbm file not reappearing. Am I assuming correctly, that if this file is not here, that the userdb database is not there either? I guess the bottom line question is .. how do I force the creation / recreation of this database? Thanks in advance for any help you can provide. Christopher VanOosterhout From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Mon, 5 Mar 2001 14:16:44 -0800 Subject: [ic] Database Recreation ... Is there a userdb.sql file in the products directory? If there is, delete it and restart IC. -Ron ----- Original Message ----- From: "Christopher VanOosterhout" <chris@vanoosterhout.com> To: <interchange-users@lists.akopia.com> Sent: Monday, March 05, 2001 1:55 PM Subject: [ic] Database Recreation ... > > Greetings All, > > I have searched the archives for an answer and maybe I am not searching for > the right words, but I can not seem to find a way to "force" database > recreation. > > I have a file called userdb.txt that I would like to become my userdb. At > one time it did. > > When I first placed this file in the CATALOG/products/ directory it created > a .gdbm file called userdb.gdbm. I then deleted this file (I am currently > in learning/testing mode) thinking that it would automatically recreate > when I tried to do anything with the user database. > > Now when I look in the CATALOG/products/ directory all I see is userdb.txt, > products.gdbm and products.txt. Why is my userdb.gdbm file not > reappearing. Am I assuming correctly, that if this file is not here, that > the userdb database is not there either? > > I guess the bottom line question is .. how do I force the creation / > recreation of this database? > > Thanks in advance for any help you can provide. > > Christopher VanOosterhout > > > > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: mark at summersault.com (Mark Stosberg ) Date: Mon, 05 Mar 2001 17:28:39 -0500 Subject: [ic] d/l link creation for soft goods with MV/Interchange 4.04 Mike Heins wrote: > There is a ready-to-go implementation [of soft goods] in the "simple" demo: > > ftp://ftp.minivend.com/pub/demos/ Thanks Mike, I grabbed that and I have been using it as model. At the moment I'm concentrating on the example code on etc/receipt.html. I see the place on the page where the "get_download" subroutine is created, but it doesn't ever appear to be called! The page query/order_details.html has a similiar structure, and it adds a call to get_download for each item in the order, as given here. [calc] return unless q{[userdb function=check_file_acl mode=expire location="[sql-param sku]"]}; return get_download(q{[sql-param sku]}); [/calc] I tried merging this syntax with what was already on etc/receipt.html to come up with the below code. My questions are: 1. On etc/receipt.html in the simple demo, how are the download links created? 2. How can I get mine to show up? :) I followed the simple model closely, and nothing is displaying on the page, and nothing is reported in the error logs. Perhaps a more useful question is: When something like this happens, what I can do to verify that parts of my code are actually working? The standard Perl tricks I know don't seem to work here... Thanks much, -mark personal website } Summersault Website Development http://mark.stosberg.com/ { http://www.summersault.com/ ### CODE STARTS HERE [comment] Handle downloadables [/comment] [set download_present][/set] [item-list] [if-item-field download] [set download_present]1[/set] [userdb function=set_file_acl mode="expire 7 days" location="[item-code]" ] [/if-item-field] [/item-list] [perl products] sub get_download { if (! $Scratch->{download_present}) { return '(<B>Must pay by credit card to download now.)</B>'; } my $sku = shift; return '' unless tag_data('products', 'download', $sku); my $loc = tag_data('products', 'dl_location', $sku); my $save = delete $Scratch->{mv_add_dot_html}; my $url = $Tag->area( { href => "deliver/$loc", arg => $sku } ); $Scratch->{mv_add_dot_html} = $save if $save; return qq{<BR><A HREF="$url">download</A>}; } return; [/perl] [item-list] [item-quantity] [item-code] [item-field title] [calc] return unless q{[userdb function=check_file_acl mode=expire location="[item-field sku]"]}; return get_download(q{[item-field sku]}); [/calc] [item-price] [item-subtotal] [/item-list] ################################# I also added the appropriate columns to products.txt, with the columns: download dl_type dl_location and the values: 1 application/pdf test.pdf From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Mon, 5 Mar 2001 14:31:14 -0800 Subject: [ic] CCVS and CyberCash Bankrupcy > Hi Ron! Thanks for the input. I know from the list that Verisign bought > Signio (sp?) a while back, but having not used the product, that's about > all I know. I checked out Verisign's site quickly, and I'm guessing that > the "PayFlow" software is what I'd be looking for? How does the interface > compare to CyberCash from the customer's end? Most of my clients have > liked the flex that the CyberCash cash register website has given them for > being able to pull reports or manually run auths/returns. Does Verisign > offer something similar? Hello Eric! Yes that's true, Verisign did purchase Signio awhile back, therefore the modules in IC are still referred to as 'Signio'. The package you will need is PayFlow Pro which is the equivalent to Cybercash's gateway system. If you'd like to checkout the interface, sign up for a test account and you'll be able to mess around with Payflow Pro in test mode. I have not seen Cybercash's interface due to the expensive startup fees and monthly charges. Our customers have been happy with PayFlow Pro's online interface and we are using it ourselves for manual transactions for internet services and automatic transactions with our ecommerce site: http://www.mygamewear.com . It's fairly easy to do manual auths and refunds as well as automatic transactions using the PfPro interface. > I'm assuming from what I've read on the list that with the latest IC it > should just be a matter of switching out a couple of config files to move a > site from CC to Verisign. Are there any gotchas I should be on the lookout > for? > With IC it is fairly simple to setup. The steps are in the etc directory of the TAR distribution is a file called Signio. I made one change to that module to allow for the return of errors into the Credit Card heading of the demo store. I'd setup a test account with verisign and a test demo store to make sure it works on your system. You'll need to download the PfPro files for your platform and get those up and running as well. If you run alpha boxes I spent quite a bit of time getting the JVM + PfPro + IC to work correctly but that is what's running on MyGamewear.com. I can't think of any other gotchas, good luck! -Ron From: jud-lists at copernica.com (Jud Harris ) Date: Mon, 5 Mar 2001 16:59:07 -0600 Subject: [ic] Database Recreation ... on a similar note, what purpose to the .txt (except variable.txt) files serve when using a mysql database with a catalog? I notice that the .txt files do not get sync'd with the sql data - what's their function? (tell me to shut up if this is answers elsewhere) Thanks -Jud ----- Original Message ----- From: "Ron Phipps" <rphipps@reliant-solutions.com> To: <interchange-users@lists.akopia.com> Sent: Monday, March 05, 2001 4:16 PM Subject: Re: [ic] Database Recreation ... > Is there a userdb.sql file in the products directory? If there is, delete > it and restart IC. > > -Ron > ----- Original Message ----- > From: "Christopher VanOosterhout" <chris@vanoosterhout.com> > To: <interchange-users@lists.akopia.com> > Sent: Monday, March 05, 2001 1:55 PM > Subject: [ic] Database Recreation ... > > > > > > Greetings All, > > > > I have searched the archives for an answer and maybe I am not searching > for > > the right words, but I can not seem to find a way to "force" database > > recreation. > > > > I have a file called userdb.txt that I would like to become my userdb. At > > one time it did. > > > > When I first placed this file in the CATALOG/products/ directory it > created > > a .gdbm file called userdb.gdbm. I then deleted this file (I am currently > > in learning/testing mode) thinking that it would automatically recreate > > when I tried to do anything with the user database. > > > > Now when I look in the CATALOG/products/ directory all I see is > userdb.txt, > > products.gdbm and products.txt. Why is my userdb.gdbm file not > > reappearing. Am I assuming correctly, that if this file is not here, that > > the userdb database is not there either? > > > > I guess the bottom line question is .. how do I force the creation / > > recreation of this database? > > > > Thanks in advance for any help you can provide. > > > > Christopher VanOosterhout > > > > > > > > > > > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: markj at redhat.com (Mark Johnson ) Date: Mon, 05 Mar 2001 18:11:12 -0500 Subject: [ic] Database Recreation ... IC will only generate a table when it is called for the first time. So, if you put any tag that accesses a table into a page and load the page, it will generate the table. Christopher VanOosterhout wrote: > > Greetings All, > > I have searched the archives for an answer and maybe I am not searching for > the right words, but I can not seem to find a way to "force" database > recreation. > > I have a file called userdb.txt that I would like to become my userdb. At > one time it did. > > When I first placed this file in the CATALOG/products/ directory it created > a .gdbm file called userdb.gdbm. I then deleted this file (I am currently > in learning/testing mode) thinking that it would automatically recreate > when I tried to do anything with the user database. > > Now when I look in the CATALOG/products/ directory all I see is userdb.txt, > products.gdbm and products.txt. Why is my userdb.gdbm file not > reappearing. Am I assuming correctly, that if this file is not here, that > the userdb database is not there either? > > I guess the bottom line question is .. how do I force the creation / > recreation of this database? > > Thanks in advance for any help you can provide. > > Christopher VanOosterhout > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: db at cyclonehq.dnsalias.net (Dan B ) Date: Mon, 05 Mar 2001 17:20:06 -0800 Subject: [ic] Problem connecting to MySQL At 06:24 AM 3/3/2001 -0600, you wrote: >It is on the same machine, but it won't connect via localhost. I get a can't >connect to mysql via mysql.sock(111) error. But if I change it to the >machine name it works. I had to do this to get DBD::mysql installed >correctly. Are you saying that you can't even connect using a $mysql prompt? Maybe you could take your question to the MySQL list and try to get some help there. Could be your DNS/network setup or a MySQL permissions problem. Make sure you GRANT'ed the user for the right hostname and the 'localhost' hostname. :-) HTH, -dan. >Robert >----- Original Message ----- >From: "Mark Johnson" <markj@redhat.com> >To: <interchange-users@lists.akopia.com> >Sent: Friday, March 02, 2001 6:21 PM >Subject: Re: [ic] Problem connecting to MySQL > > > > If mysql is on the same machine as interchange, just remove the host > > (and port if it's set) and try that. That is, in catalog.cfg: > > > > SQLDSN dbi:mysql:dbname > > > > > > Dan B wrote: > > > > > > At 05:51 PM 3/2/2001 -0600, you wrote: > > > >I don't know because I don't know where to change the host setting. >It's not > > > >in the makecat script. > > > > > > There should be a line in catalog.cfg where you can set the $dbi > > > thingy. (hostname/port/etc.). > > > > > > -Dan > > > > > > >----- Original Message ----- > > > >From: "Dan B" <db@cyclonehq.dnsalias.net> > > > >To: <interchange-users@lists.akopia.com> > > > >Sent: Friday, March 02, 2001 5:29 PM > > > >Subject: Re: [ic] Problem connecting to MySQL > > > > > > > > > > > > > At 05:14 PM 3/2/2001 -0600, you wrote: > > > > > >My DBI and DBD are uptodate but for some reason I cannot connect to >mysql > > > > > >using localhost, only the actual machine name. Please help or tell >me if > > > >I > > > > > >can change the host setting somewhere to fix this. > > > > > > > > > > Does 127.0.0.1 work? > > > > > > > > > > > > > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > > > > > > > > > > > > > _______________________________________________ > > > > > Interchange-users mailing list > > > > > Interchange-users@lists.akopia.com > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > >_______________________________________________ > > > >Interchange-users mailing list > > > >Interchange-users@lists.akopia.com > > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > -- > > Mark Johnson > > Senior Developer - Professional Services > > Red Hat, Inc. > > E-Business Solutions > > markj@redhat.com > > 703-456-2912 > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: mschick at brightredproductions.com (Matthew Schick ) Date: Mon, 5 Mar 2001 19:34:50 -0600 Subject: [ic] SkipJack GlobalSub Hey All, I have managed to whip up a globalsub for using SkipJack Merchant Services (with more than a little help from Stephan in their support dept) for real-time credit card processing with Interchange. If anyone would be interested in such an animal, please reply off-list and I'll send it to ya asap. -- Matthew Schick Owner Bright Red Productions, LLC mschick@brightredproductions.com www.brightredproductions.com From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Mon, 5 Mar 2001 17:59:11 -0800 Subject: [ic] SkipJack GlobalSub > Hey All, > > I have managed to whip up a globalsub for using SkipJack Merchant Services > (with more than a little help from Stephan in their support dept) for > real-time credit card processing with Interchange. If anyone would be > interested in such an animal, please reply off-list and I'll send it to ya > asap. > Great work Matthew! Can I suggest that you send it to Mike and have it entered into CVS for distribution? Take it easy! -Ron From: interchange at my-school.com (IC-Admin ) Date: Tue, 6 Mar 2001 01:03:52 -0500 (EST) Subject: [ic] would that be possible with IC ? I haven't the experience to know this, but could IC be abused the way this article describes other shopping cart applications can ? http://www.zdnet.com/zdnn/stories/news/0,4586,2692337,00.html?chkpt=zdnn_rt_latest BF From: Psirix at aol.com (Psirix at aol.com ) Date: Tue, 06 Mar 2001 01:55:01 EST Subject: [ic] PGP Credit Card Number Encrypting Problem! Can anyone help? Dear Intechange Users: I know that this is everyone's facorite topic. But Im a newbie to this. Here goes: I am using Construct Something Software to make my e-commerce website and Im having a problem with the Credit Card encrypting. Can anyone help? I read on here about using PGP on the developer.akopia.com home page. What is this? I also I have to put /usr/local/bin/pgp -feat orders@company.com somewhere. Do I need software to encrypt it? If so which & where can I get it & how do I go about installing on my server/site? When I tested placing an order on my site I received this error "Credit Card Information (Credit card encryption failed:)" I honestly dont know how to do any of this. I thought I knew how to do this but I guess not. I would appreciate anyone's help with this and pointing me in the right direction. MY e-mail address is: Psirix@aol.com Thank you all, Nick Gregory From: rhertz at gyb.baits.com (Ryan Hertz ) Date: Tue, 06 Mar 2001 01:05:28 -0700 Subject: [ic] would that be possible with IC ? > >I haven't the experience to know this, but could IC be abused >the way this article describes other shopping cart applications can ? > >http://www.zdnet.com/zdnn/stories/news/0,4586,2692337,00.html?chkpt=zdnn_rt >_latest > >BF I seriously doubt it. Although I've heard about that type of hack many years ago, I never imagined that anyone would write software that would susceptible to that type of exploit. AFAIK Interchange never asks the literal page for the price, it looks in its database to match the price to the item ordered. (duh) There is a possibility that Cybercash-like interfaces could be vulnerable if the dollar value ever exists in a hidden form field, or URL encoded. But then, that's not IC, is it? ;-) Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: irrgang at SC-Networks.de (Heiko Irrgang ) Date: Tue, 6 Mar 2001 12:14:34 +0100 Subject: [ic] Probs with checkout Hello, I'm actually started the Tutorial and i have a problem with the checkout.html. I setted up the following etc/profiles.order __NAME__ order_profile lname=required &fatal=yes &final=yes __END__ As you can see, i have only lname set to required. On the checkout.html the following input-fields are set: lname fname address1 zip city mv_credit_card_number mv_credit_card_exp_month mv_credit_card_exp_year If i fill up the fields now, no matter if it's just dummydata or real, i'm always getting the special page needfield.html (with no error messages), also only lname is required and is filled up with only ascii characters. I've found some entries in the list-archive but it don't seems to be the same problem. BTW: I'm using Interchange 4.6.3 (problem exists with 4.6.1 too), Perl 5.6.0 on Turbolinux Clusterserver 4.0 any tips/hints/solutions? bye From: ernaldi at agoes.com (Ernaldi Agoes ) Date: Tue, 6 Mar 2001 19:03:46 -0800 Subject: [ic] how do i create new directory or subdirectory? Hello Interchange-users, How do i create new directory or subdirectory? Can i do that from admin area? -- Best regards, Ernaldi mailto:ernaldi@agoes.com From: steveandpatti at wubs.org (Steve & Patti Getzinger ) Date: Tue, 06 Mar 2001 07:07:32 -0500 Subject: [ic] would that be possible with IC ? I could not reproduce what the article stated with Netscape on a minivend site I maintain. A couple things to remember ZDNet is pro-Microsoft and it had a definite Front Page drive a bus through security hole sound. I could go into my theories as to why you can do it with others and not IC but not required. Could not even get the page to display with edit page. I did not try edit source but highly doubt that would work either. Steve IC-Admin wrote: > I haven't the experience to know this, but could IC be abused > the way this article describes other shopping cart applications can ? > > http://www.zdnet.com/zdnn/stories/news/0,4586,2692337,00.html?chkpt=zdnn_rt_latest > > BF > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: proudlyindian at yahoo.com (Amit Kulkarni ) Date: Tue, 06 Mar 2001 17:57:52 +0530 Subject: [ic] RE: pricing / inventory setup Hi, well i read ur yesterdays post on akopia forum .. i guess u have the same query as i have posted ...its the first query (bottom most) of 5th march ... u can get some clues to my solutions and problems for the query thanks Amit From: jonc at webmaint.com (Jonathan Clark ) Date: Tue, 6 Mar 2001 12:50:31 -0000 Subject: [ic] pricing / inventory setup > Hi folks - > > I need to set up a unique-to-me pricing / inventory scheme and I'm hoping > someone can give me an idea of how to do it. > I take it you mean shared inventory? > Here's a model scenario - > > I have 1000 identical DVDs in inventory, and I want to sell them > at different > prices - say $20, $35, and $50, depending on the type of > customer. The customer > will choose which one to buy. > > Is there a way to accomplish this using sizes, or do I need > multiple skus? If I > need multiple skus, how do I have varied skus share the same > inventory pool? > I posted a method for custom pricing some time ago. Its in the archives: http://developer.akopia.com/archive/interchange-users/2001/msg01180.html This method uses a separate pricing table and allows customer specific, item specific pricing with a fallback to banded prices and if neither are found it falls back to the price in the products table. Interchange has very powerful features when it comes to pricing through the use of user tags and the CommonAdjust directive in catalog.cfg Good luck! Jonathan Webmaint. From: jonc at webmaint.com (Jonathan Clark ) Date: Tue, 6 Mar 2001 13:03:14 -0000 Subject: [ic] Probs with checkout > > If i fill up the fields now, no matter if it's just dummydata or > real, i'm always getting the special page > needfield.html (with no error messages), also only lname is > required and is filled up with only ascii characters. > any tips/hints/solutions? might be a stupid question, but you did restart the ic server after setting up your order.profile? you do have: OrderProfile etc/profiles.order in your catalog.cfg? you have an mv_order_profile hidden field in your form, and it is set to "order_profile"? Jonathan Webmaint. From: dmoore at nildram.co.uk (Derek Moore ) Date: Tue, 6 Mar 2001 14:06:34 gmt Subject: [ic] Barclays ePDQ Dave We've successfully integrated Barclays ePDQ with MiniVend - if we can help please let us know. Derek ePDQ User Group http://www.idreams.co.uk/epdq/ > >[Debian 2.2 / IC 4.5.5] > >Hello people, > >This is a quick question (mainly I guess for >people ased in the UK), has anyone used Barclays >Bank ePDQ (CyberCash) system with either MV >or IC - I'd been talking to NatWest about EFTPOS >but, frankly, pulling teeth would be more >fun.... ;) > >Regards >Dave > From: cfm at maine.com (cfm at maine.com ) Date: Tue, 6 Mar 2001 09:09:50 -0500 Subject: [ic] would that be possible with IC ? On Tue, Mar 06, 2001 at 01:05:28AM -0700, Ryan Hertz wrote: > > > > >I haven't the experience to know this, but could IC be abused > >the way this article describes other shopping cart applications can ? > > > >http://www.zdnet.com/zdnn/stories/news/0,4586,2692337,00.html?chkpt=zdnn_rt > >_latest It would be best to summarize rather than post links. :-) That way we can address your interpretation rather than our interpretation. I might see an entirely different abuse than you! > > > >BF > > I seriously doubt it. Although I've heard about that type of hack many > years ago, I never imagined that anyone would write software that would > susceptible to that type of exploit. AFAIK Interchange never asks the > literal page for the price, it looks in its database to match the price to > the item ordered. (duh) If that means keying in the price of an item, yes, one could mangle minivend so it would do that; but not the stock install. Yahoo stores last year let one enter the price into a get string, not even a hidden string. At least the seed catalog store I use did. I noted that that convenient order entry is not available this year when I orderd this past weekend. :-) > > There is a possibility that Cybercash-like interfaces could be vulnerable > if the dollar value ever exists in a hidden form field, or URL > encoded. But then, that's not IC, is it? ;-) Last I played with Cybercash that was all encrypted. Still, we've not used Cybercash for several years now; all of our merchants have moved back to their regular processors. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: rsmith at crepsunited.com (Robert Smith ) Date: Tue, 6 Mar 2001 10:18:51 -0500 Subject: [ic] What do I change to put credit card numbers in database? Hello, What do I need to change to get Interchange to put credit card numbers directly in a database? Do I need to do some Perl work, and if so, on what file? I really need to be able to do this... Thanks! Robert Smith From: Murray at scotweb.ltd.uk (Murray Gibbins ) Date: Tue, 06 Mar 2001 15:36:05 +0000 Subject: [ic] What do I change to put credit card numbers in database? Robert Smith wrote: > > Hello, > > What do I need to change to get Interchange to put credit card numbers > directly in a database? Do I need to do some Perl work, and if so, on what > file? I really need to be able to do this... > > Thanks! > Robert Smith simple, when checking the creditcard number is valid use DBI to put it into a DB. for example when I check some thing I use this in interchange.cfg.... GlobalSub <<EOF sub set_up_extra_check { BEGIN { package Vend::Order; sub _check_copy_and_ship_address { #::logDebug("wib"); # $ref is to Vend::Session->{'values'} hash # $var is the passed name of the variable # $val is current value of checked variable my($ref, $var, $val) = @_; #::logDebug("\$var = $var"); #::logDebug("\$val = $val"); if(( $var eq "copy") && ($val =~ /billing/oi)){ return 1,"copy","Ouch, not copy"; } else{ my @array = (0,"Ship Address","Ouch not copy"); return @array if !$ref->{shipname}; return @array if !$ref->{shipemail}; return @array if !$ref->{shipaddress}; return @array if !$ref->{shipcity}; return @array if !$ref->{shipzip}; return (1,"Ship Address","Ouch not copy"); } return (0,"Ship Address","Ouch not copy"); } } } EOF ------------------------------------ so order profile look like this... copy=check_copy_and_ship_address We need to know your copy ------------------------------------ You do something simular but you might want to pipe it through gpg first, and put a "use DBI" in it, etc Or just find the code in Order.pm that deals with credit cards and put in a couple of lines, one pipeing it through gpg the other saving it to a DB. YMMV Yours Murray -- ____ \__/ Murray Gibbins murray@scotweb.ltd.uk / \ Programmer _ \__/ _ ================================================ \\ || // Scotweb Limited, info@scotweb.ltd.uk \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 From: obrienj at cuttingedge.net (Jerry O'Brien ) Date: Tue, 6 Mar 2001 10:00:35 -0600 Subject: [ic] Error reported on checkout form only in CC live mode Hi, I know this is repeating Choong's question a few weeks ago, but I need to fix this fast and he didn't seem to get an answer: Test mode seems to work (I get a receipt and the order gets emailed, but the payment gateway logs no transactions in test mode, so I can't really tell if it got through) With test mode turned off, IC reports an error on the checkout form, but no fields are marked in red. Debug is turned on, and there is a startup record in /tmp/icdebug, but no errors reported. No errors are reported in interchange/error.log A test copy of globalsub/authorizenet passes through perl ok Anything else I should check before using a real card (mine...)? Jerry O'Brien From: interchange at my-school.com (IC-Admin ) Date: Tue, 6 Mar 2001 12:18:49 -0500 (EST) Subject: [ic] Re: [ic] would that be possible with IC ? Steve & Patti Getzinger wrote: > A couple things to remember ZDNet is pro-Microsoft and it had a > definite Front Page drive a bus through security hole sound. That's why I am mentioning it. Akopia put IC through the Openhack test and that was organized by eWeek (which I think is part of zd.net) and everyone remembers the outcome. It could always be possible that some tiny thingy is overlooked in the IC code, it's written by humans afterall. :-) On the other hand I can't overlook that many of those articles are hype or biased or at least no outsider can make an informed judgement about the integrity of what is written. So, it's clear, I can't stand the press. ;-) Just thought it would be wise to comment on that article upfront, because it would come up most probably anyway. BF From: cfm at maine.com (cfm at maine.com ) Date: Tue, 6 Mar 2001 11:13:52 -0500 Subject: [ic] *ML to transmit an entire catalog, ECML re: *ML to transmit an entire catalog and ECML, two questions 1) I'm looking for a *ML schema suitable for transmitting an entire catalog. There must be such (or more than one) thing. Can anyone suggest what to look at? 2) Along the path I looked at ECML, a wallet API. If we converted our checkout forms as they suggest, does this mean that any ECML wallet would just work with our catalogs? I note that Yahoo wallet is not on the list at www.ecml.org. This would be a painful transition, mapping and reorganizing all those fields, but my experience is that any solid standard is almost always better than the results of many years of ad hoc evolution. :-) cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Tue, 6 Mar 2001 08:49:20 -0800 Subject: [ic] Error reported on checkout form only in CC live mode Jerry, I've have not looked at the authorizenet module however it was based loosely on the Signio module if I remember correctly. So go through and remove the '#' in front of each logDebug statement. Turn debugging on for interchange and place a test order. You should then see each piece of the authorizenet module being called. This will clue you in to what your problem is. Good luck. -Ron ----- Original Message ----- From: "Jerry O'Brien" <obrienj@cuttingedge.net> To: <interchange-users@lists.akopia.com> Sent: Tuesday, March 06, 2001 8:00 AM Subject: [ic] Error reported on checkout form only in CC live mode > Hi, > > I know this is repeating Choong's question a few weeks ago, but I need to > fix this fast and he didn't seem to get an answer: > > Test mode seems to work (I get a receipt and the order gets emailed, but the > payment gateway logs no transactions in test mode, so I can't really tell if > it got through) > > With test mode turned off, IC reports an error on the checkout form, but no > fields are marked in red. > > Debug is turned on, and there is a startup record in /tmp/icdebug, but no > errors reported. > > No errors are reported in interchange/error.log > > A test copy of globalsub/authorizenet passes through perl ok > > Anything else I should check before using a real card (mine...)? > > > Jerry O'Brien > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: mikeh at minivend.com (Mike Heins ) Date: Tue, 6 Mar 2001 12:26:29 -0500 Subject: [ic] *ML to transmit an entire catalog, ECML Quoting cfm@maine.com (cfm@maine.com): > > re: *ML to transmit an entire catalog and ECML, two questions > > 1) > I'm looking for a *ML schema suitable for transmitting an entire > catalog. There must be such (or more than one) thing. Can anyone > suggest what to look at? Not the foggiest idea what you are talking about. What is *ML? > > > 2) > Along the path I looked at ECML, a wallet API. If we converted > our checkout forms as they suggest, does this mean that any ECML > wallet would just work with our catalogs? I note that Yahoo > wallet is not on the list at www.ecml.org. > > This would be a painful transition, mapping and reorganizing all those > fields, but my experience is that any solid standard is almost always > better than the results of many years of ad hoc evolution. :-) Have you looked at Vend::ECML? It remaps the field names to Interchange names and vice versa for sessions.... -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Friends don't let friends use Outlook. -- Bob Blaylock From: support at integricity.com (Alex Lam ) Date: Wed, 7 Mar 2001 01:56:53 +0800 Subject: [ic] Backend - uploading new files problem I'm not sure if anyone has encountered this problem, or whether you just use ftp into your server, but we are restricting the use of ftp into the server for security reasons, and we want to use the backend alone. Using the file transfer component under Content, we find that uploading (more like updating) a file that already exists is fine, as you can click on the little ^ up arrow and upload. (The file in mention is upload_other.html) But what if I want to upload a new graphic / file that has not already been named as such, using the web interface. I think there should be arrows next to the folder name to enable users to upload new files It's a simple issue, but I think it might want to be addressed for future IC editions. Or does anyone have the simple hack to work around this? Alex From: cfm at maine.com (cfm at maine.com ) Date: Tue, 6 Mar 2001 12:52:12 -0500 Subject: [ic] *ML to transmit an entire catalog, ECML On Tue, Mar 06, 2001 at 12:26:29PM -0500, Mike Heins wrote: > Quoting cfm@maine.com (cfm@maine.com): > > > > re: *ML to transmit an entire catalog and ECML, two questions > > > > 1) > > I'm looking for a *ML schema suitable for transmitting an entire > > catalog. There must be such (or more than one) thing. Can anyone > > suggest what to look at? > > Not the foggiest idea what you are talking about. What is *ML? Why does that happen to me? Makes perfect sense to **me**. :-) We're looking at ways clients and other sites can transmit their catalog data to us. The analogy would be RDF/RSS for articles. Mostly now we ftp various database structures. I'm wondering if there is some standard XML, SGML, (*ML) markup (and there are probably many) that clients or sites so inclined might use. We upload some of our catalog data to other vertical sites and it seems to me that we could receive such uploads ourselves. It's the mall thing again. :-) > > 2) > > Along the path I looked at ECML, a wallet API. If we converted > > our checkout forms as they suggest, does this mean that any ECML > > wallet would just work with our catalogs? I note that Yahoo > > wallet is not on the list at www.ecml.org. > > > > This would be a painful transition, mapping and reorganizing all those > > fields, but my experience is that any solid standard is almost always > > better than the results of many years of ad hoc evolution. :-) > > Have you looked at Vend::ECML? It remaps the field names to Interchange > names and vice versa for sessions.... Yes. We'd aim at aligning our field names with it long term. But only IF it actually works. That's the real question. I guess it must or that module would not have been written, no? cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: mikeh at minivend.com (Mike Heins ) Date: Tue, 6 Mar 2001 12:55:04 -0500 Subject: [ic] Backend - uploading new files problem Quoting Alex Lam (support@integricity.com): > I'm not sure if anyone has encountered this problem, or whether you just use > ftp into your server, but we are restricting the use of ftp into the server > for security reasons, and we want to use the backend alone. > > Using the file transfer component under Content, we find that uploading > (more like updating) a file that already exists is fine, as you can click on > the little ^ up arrow and upload. (The file in mention is upload_other.html) > But what if I want to upload a new graphic / file that has not already been > named as such, using the web interface. I think there should be arrows next > to the folder name to enable users to upload new files > > It's a simple issue, but I think it might want to be addressed for future IC > editions. Or does anyone have the simple hack to work around this? > It has been addressed in 4.7.x, but won't really fit into 4.6. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: joachim.richter at usvideocenter.de (joachim.richter ) Date: Tue, 06 Mar 2001 19:26:11 +0100 Subject: [ic] Tax (oops) Hi Guys, how do I tax an articel ? there is a field in the products called nontaxable and i guess input 0 means YES(noTax) input 1 means NO(NoTax) I also found a file salestax.asc but there is nothing in it except default and flytax how do I tax the items then, what about the country, there is nothing in the docu thanks 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: rphipps at reliant-solutions.com (Ron Phipps ) Date: Tue, 6 Mar 2001 10:41:22 -0800 Subject: [ic] Tax (oops) > Hi Guys, > > how do I tax an articel ? there is a field in the products called nontaxable and i guess > input 0 means YES(noTax) input 1 means NO(NoTax) > > I also found a file salestax.asc but there is nothing in it except default and flytax > > how do I tax the items then, what about the country, there is nothing in the docu > This was found by doing a search on http://developer.akopia.com with the keyword 'tax' http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=reference14%2e07 Good luck! -Ron From: kpullon at hotmail.com (Kristina Pullon ) Date: Tue, 06 Mar 2001 13:40:45 -0500 Subject: [ic] After search - click on "buy" and goes to nothing.html hi - after a customer searches for a product (or clicks a catagory) - when you put your quantity in and click "buy" or "buy list" it goes to an (expired) page or nothing.html page. this only happens when you search a product and use the "buy" buttons - not when you click on the product itself and use the "buy this now!" button. ive checked into the actual pages to see if the [process-target] is there - and it is... so why is this coming up "nothing"? thanks in advance kjp ps - its doing this in the demo at akopia as well - so its nothing i messed up... try it out _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: interchange at my-school.com (IC-Admin ) Date: Tue, 6 Mar 2001 14:59:53 -0500 (EST) Subject: [ic] *ML to transmit an entire catalog, ECML cfm wrote: > 2) Along the path I looked at ECML, a wallet API. If we converted > our checkout forms as they suggest, does this mean that any ECML > wallet would just work with our catalogs? I am sure I don't understand what you are asking, but I remember this post: Does this help ? http://developer.akopia.com/archive/interchange-users/1999/msg04063.html BF From: db at cyclonehq.dnsalias.net (Dan B ) Date: Tue, 06 Mar 2001 12:10:53 -0800 Subject: [ic] Many mv_search_field for one mv_searchspec: regexp required? I would like to create a <FORM> search with an mv_search_field of title OR category, and only one <INPUT TYPE=text NAME=mv_search_spec>. How do you specify two or more mv_search_fields when you don't have as many mv_searchspec's? I understand that ":*" is used to specify a search on all fields, but what regexp could I use instead of ":*" to specify "title" and "category"? <FORM ACTION="[area search]"> <INPUT TYPE=hidden NAME=mv_coordinate VALUE=1> <INPUT TYPE=hidden NAME=mv_searchtype VALUE=db> <INPUT TYPE=hidden NAME=mv_matchlimit VALUE=10> <INPUT TYPE=hidden NAME=mv_sort_field VALUE=category> <INPUT TYPE=hidden NAME=mv_sort_field VALUE=mfgr> <INPUT TYPE=hidden NAME=mv_search_field VALUE="title"> <INPUT TYPE=hidden NAME=mv_search_field VALUE="category"> <INPUT TYPE=hidden NAME=mv_column_op VALUE=rm> <INPUT TYPE=hidden NAME=mv_column_op VALUE=rm> <INPUT type=text MAXLENGTH=30 NAME=mv_searchspec size=10> <INPUT TYPE=image alt="Search Go" border="0" src="navigation/go1.gif" width="23" height="17"> </form> Thanks, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange at my-school.com (IC-Admin ) Date: Tue, 6 Mar 2001 16:51:27 -0500 (EST) Subject: [ic] Apology was: [ic] Would that be possible with IC ? cfm wrote: > It would be best to summarize rather than post links. :-) That way > we can address your interpretation rather than our interpretation. I > might see an entirely different abuse than you! This darn article is now discussed on /. and from the overall reactions there, I do under stand now, that my post with the link to the story yesterday night could have be viewed as abuse of the list and an insult to IC's developers. (it was meant as a kind of warning what could come up from other new users as questions) I am sorry for that. It was not meant that way at all. I always see the dark clouds brewing up before the sun comes out later and wanted to warn Mike Heins about it. Again I apologize for my ignorance. Birgitt From: db at cyclonehq.dnsalias.net (Dan B ) Date: Tue, 06 Mar 2001 12:37:21 -0800 Subject: [ic] After search - click on "buy" and goes to At 01:40 PM 3/6/2001 -0500, you wrote: >hi - > >after a customer searches for a product (or clicks a catagory) - >when you put your quantity in and click "buy" or "buy list" it >goes to an (expired) page or nothing.html page. > >this only happens when you search a product and use the "buy" buttons - >not when you click on the product itself and use the "buy this now!" button. > >ive checked into the actual pages to see if the [process-target] is there >- and it is... so why is this coming up "nothing"? > >thanks in advance >kjp > >ps - its doing this in the demo at akopia as well - so its nothing i >messed up... try it out The demo at akopia works for me. Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: jasonballou1 at yahoo.com (Jason Ballou ) Date: Tue, 6 Mar 2001 12:24:57 -0800 (PST) Subject: [ic] Item Editing Error - 500 Internal Server Error I keep getting a 500 Internal Server Error whenever I try to edit an item using Interchange's Admin UI. I can search for items, change the quantity pricing, up-sell, cross-sell, promotion, and inventory without any problem but even with those, when it tries to display the item edit screen after changing the quantity prices, up-sell, etc. I get the same error message. This used to work fine so I assume I did something wrong but I have no idea what? Any suggestions? __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From: stevep at sga.org (Steve Palm ) Date: Tue, 6 Mar 2001 15:28:13 -0600 Subject: [ic] Tax Exempt ? HELP! :-) I've been digging through the docs, and I'm still lost.... How can you handle tax exempt orders? I've tried adding a tax_exempt field to the userdb. This updates correctly, and tracks with the users. <SELECT onChange="this.form.submit()" NAME=tax_exempt> <OPTION VALUE="0">No <OPTION [selected tax_exempt 1] VALUE="1">Yes </SELECT> Tax Exempt (with required paperwork) I also have been able, then, to use this field on the form to determine whether or not to process the line that shows Sales Tax. This works fine. <TD>Sales Tax</TD> [if value tax_exempt == 1 ] <TD ALIGN=RIGHT>(EXEMPT)</TD> [else] <TD ALIGN=RIGHT>[salestax]</TD> [/else] [/if] I also set the catalog "SalesTax tax_state", and then based on the value of tax_exempt either set it to "" or to the state. I tried this using a few different methods.... [if value tax_exempt != 1] [perl] $Values->{tax_state} = $Values->{state}; return; [/perl] [else] [perl] $Values->{tax_state} = ""; return; [/perl] [/else] [/if] Also.... [if value tax_exempt != 1] <INPUT TYPE=hidden NAME=tax_state VALUE=[value state]> [else] <INPUT TYPE=hidden NAME=tax_state VALUE=""> [/else] [/if] And even a variant of a pure [perl] block that checked $Values->{tax_exempt} and did the appropriate updates... However, these all seem to lag... In other words, if I change tax exempt status, it does a refresh of the page, updates the tax_exempt variable, but unless I do one more refresh of the page it doesn't stop the built-in routines from calculating tax and putting it in the totals. <TD COLSPAN=2></TD> <TD>TOTAL</TD> <TD ALIGN=RIGHT>[total-cost]</TD> <sigh> Anyone deal with this before? We deal with a lot of non-profit organizations and it would be nice to have this automated. -- Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * http://www.sga.org From: rhertz at gyb.baits.com (Ryan Hertz ) Date: Tue, 06 Mar 2001 14:37:47 -0700 Subject: [ic] Item Editing Error - 500 Internal Server Error [snip] >quantity prices, up-sell, etc. I get the same error >message. This used to work fine so I assume I did >something wrong but I have no idea what? Any suggestions? Yes, look in your error.logs for more information and relay it to the list if you're still stuck. ;-) Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: greg at valuemedia.com (Greg Hanson ) Date: Tue, 6 Mar 2001 15:09:13 -0800 Subject: [ic] Tax Exempt ? You may be able to set it up based on the userdb as you started to do. This is what I use (thanks to Mike Heins) in one of our catalogs to determine dealer or no dealer, it configs the price field prior to everything starting up (of course the customer has to log in for it to be effective). You should be able to substitute SalesTax for PriceField, and put tax_exempt field in UserDB and define it, then if a customer is defined in the user db as tax exempt, and they log in, then set the SalesTax to be empty, and no tax should be charged.... In the catalog.cfg I have: UserDB default scratch dealer AutoLoad <<EOF [calc] if ($Scratch->{dealer}) { $Config->{PriceField} = 'w_price'; } return; [/calc] EOF yours might look like: UserDB default scratch tax_exempt AutoLoad <<EOF [calc] if ($Scratch->{tax_exempt}) { $Config->{SalesTax} = ' '; } return; [/calc] EOF and of course you need the extra field in userdb, and you will need to put a value in that field if the user is to be tax exempt. I think this should work, and if anyone sees any errors, they can speak up.... Greg Hanson Valuemedia.com 14355 Fern Dell Lane La Pine, OR 97739 541-536-2446 541-536-9407 Fax greg@valuemedia.com -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Steve Palm Sent: Tuesday, March 06, 2001 1:28 PM To: interchange-users@lists.akopia.com Subject: [ic] Tax Exempt ? HELP! :-) I've been digging through the docs, and I'm still lost.... How can you handle tax exempt orders? I've tried adding a tax_exempt field to the userdb. This updates correctly, and tracks with the users. <SELECT onChange="this.form.submit()" NAME=tax_exempt> <OPTION VALUE="0">No <OPTION [selected tax_exempt 1] VALUE="1">Yes </SELECT> Tax Exempt (with required paperwork) I also have been able, then, to use this field on the form to determine whether or not to process the line that shows Sales Tax. This works fine. <TD>Sales Tax</TD> [if value tax_exempt == 1 ] <TD ALIGN=RIGHT>(EXEMPT)</TD> [else] <TD ALIGN=RIGHT>[salestax]</TD> [/else] [/if] I also set the catalog "SalesTax tax_state", and then based on the value of tax_exempt either set it to "" or to the state. I tried this using a few different methods.... [if value tax_exempt != 1] [perl] $Values->{tax_state} = $Values->{state}; return; [/perl] [else] [perl] $Values->{tax_state} = ""; return; [/perl] [/else] [/if] Also.... [if value tax_exempt != 1] <INPUT TYPE=hidden NAME=tax_state VALUE=[value state]> [else] <INPUT TYPE=hidden NAME=tax_state VALUE=""> [/else] [/if] And even a variant of a pure [perl] block that checked $Values->{tax_exempt} and did the appropriate updates... However, these all seem to lag... In other words, if I change tax exempt status, it does a refresh of the page, updates the tax_exempt variable, but unless I do one more refresh of the page it doesn't stop the built-in routines from calculating tax and putting it in the totals. <TD COLSPAN=2></TD> <TD>TOTAL</TD> <TD ALIGN=RIGHT>[total-cost]</TD> <sigh> Anyone deal with this before? We deal with a lot of non-profit organizations and it would be nice to have this automated. -- Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * http://www.sga.org _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: admin at sitemajic.net (Chris Jesseman ) Date: Tue, 06 Mar 2001 19:39:25 -0500 (EST) Subject: [ic] jEdit xml syntax highlight preview Hi, I put together a preliminary look at my syntax highlight file for IC and jEdit. You can download the jEdit XML file and see a screen shot here: http://www.sitemajic.net/jedit/ Overall, I'm impressed with jEdit's syntax highlighting engine. Embedded perl highlights work pretty good and are completely separate from IC tags []. One thing I haven't solved yet is user defined PREFIX words; maybe someone else will have a suggestion. This is a WIP for me and I mostly use it for personal stuff- but if their is sufficient demand it could be refined even more and included in the jEdit release. Let me know what you think. -Chris Jesseman From: jbcarol at linuxfreemail.com (jbcarol at linuxfreemail.com ) Date: Tue, 6 Mar 2001 19:11:13 -0800 Subject: [ic] Welcome to Akopia Interchange Hi folks; Does anyone know where to find the following text on the logon page and the first Admin page... "Welcome to Akopia Interchange" I have hunted high and low and can not find it... any ideas? Thanks -jb Get your own FREE E-mail address at http://www.linuxfreemail.com Linux FREE Mail is 100% FREE, 100% Linux, and 100% yours! From: brianmac at brimac.com (Brian ) Date: Tue, 06 Mar 2001 19:20:27 -0800 Subject: [ic] Welcome to Akopia Interchange On Tue, 6 Mar 2001 19:11:13 -0800 jbcarol@linuxfreemail.com wrote: jbcarol> Hi folks; jbcarol> jbcarol> Does anyone know where to find the following text on the logon page and the first Admin page... jbcarol> jbcarol> "Welcome to Akopia Interchange" jbcarol> jbcarol> I have hunted high and low and can not find it... jbcarol> jbcarol> any ideas? jbcarol> jbcarol> Thanks jbcarol> jbcarol> -jb jbcarol> jbcarol> Get your own FREE E-mail address at http://www.linuxfreemail.com jbcarol> Linux FREE Mail is 100% FREE, 100% Linux, and 100% yours! jbcarol> jbcarol> _______________________________________________ jbcarol> Interchange-users mailing list jbcarol> Interchange-users@lists.akopia.com jbcarol> http://lists.akopia.com/mailman/listinfo/interchange-users Seems to be: /usr/local/interchange/catalog_before.cfg on my system. -- Brian - brianmac@brimac.com My Home Page: http://www.brimac.com/~brianmac Art for Sale: http://www.artbrowser.com Classified Advertising: http://www.sellit2000.com The first toilet ever seen on television was on "Leave It To Beaver". From: jbcarol at linuxfreemail.com (jbcarol at linuxfreemail.com ) Date: Tue, 6 Mar 2001 19:35:52 -0800 Subject: [ic] Welcome to Akopia Interchange At Tue, 06 Mar 2001 19:20:27 -0800 , Brian <brianmac@brimac.com> wrote: >jbcarol> Does anyone know where to find the following text on the logon page and the first Admin page... >jbcarol> >jbcarol> "Welcome to Akopia Interchange" >jbcarol> >jbcarol> I have hunted high and low and can not find it... >jbcarol> >jbcarol> any ideas? >Seems to be: >/usr/local/interchange/catalog_before.cfg >on my system. Thanks Brian ...that did the trick. I do appreciate your time. -jb Get your own FREE E-mail address at http://www.linuxfreemail.com Linux FREE Mail is 100% FREE, 100% Linux, and 100% yours! From: mikeh at minivend.com (Mike Heins ) Date: Wed, 7 Mar 2001 00:17:35 -0500 Subject: [ic] *ML to transmit an entire catalog, ECML Quoting cfm@maine.com (cfm@maine.com): > On Tue, Mar 06, 2001 at 12:26:29PM -0500, Mike Heins wrote: > > Quoting cfm@maine.com (cfm@maine.com): > > > > > > re: *ML to transmit an entire catalog and ECML, two questions > > > > > > 1) > > > I'm looking for a *ML schema suitable for transmitting an entire > > > catalog. There must be such (or more than one) thing. Can anyone > > > suggest what to look at? > > > > Not the foggiest idea what you are talking about. What is *ML? > > Why does that happen to me? Makes perfect sense to **me**. :-) > > We're looking at ways clients and other sites can transmit their > catalog data to us. The analogy would be RDF/RSS for articles. I would use SOAP, and transmit the value gained by a DumpStructure file. Then do a query of all data in a table with ($ary, $fa, $fh) = $db->query() and transmit that. Should be almost complete -- especially if you use the new "keep all pages and files in the database" function of 4.7. But I have never gotten around to doing this, because then I would have to write the functions to actually *do* something with it when I got it. 8-) > > > 2) > > > Along the path I looked at ECML, a wallet API. If we converted > > > our checkout forms as they suggest, does this mean that any ECML > > > wallet would just work with our catalogs? I note that Yahoo > > > wallet is not on the list at www.ecml.org. > > > > > > This would be a painful transition, mapping and reorganizing all those > > > fields, but my experience is that any solid standard is almost always > > > better than the results of many years of ad hoc evolution. :-) > > > > Have you looked at Vend::ECML? It remaps the field names to Interchange > > names and vice versa for sessions.... > > Yes. We'd aim at aligning our field names with it long term. But > only IF it actually works. That's the real question. I guess it > must or that module would not have been written, no? > No, not really. I did that module the day that ECML was announced, just to show off having support for ECML the same day. Also to show how ridiculous the grandiose announcement about it was. If you can gen full support in one day, it ain't much. But it may work. It works in Minivend, must confess I have never tested it with Interchange more than cursorily. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Be patient. God isn't finished with me yet. -- unknown From: bob at nleaudio.com (Bob Puff at NLE ) Date: Wed, 07 Mar 2001 00:34:45 -0500 Subject: [ic] creating new categories I've noticed an odd behavior in the Construct demo. When entering a new item into the system, you can select what category it goes it, or create a new one. If you do create a new category, it is NOT added to the cat.txt file of categories. Why not? I had a situation today that when I went into the Design area and tried to create a new category, it would EDIT one of the current entries - not ADD one. I ended up changing the .txt file to get it added. Bob From: bob at nleaudio.com (Bob Puff at NLE ) Date: Wed, 07 Mar 2001 00:47:22 -0500 Subject: [ic] Quantity Discounts - GOT IT WORKING! Hey Gang, After doing a LOT of messing around, I finally figured out how to make quantity discounts work for ALL users. I'm really surprised that this information was no where in any docs or archives I researched. SO for the benefit of all, here it is: I needed price breaks at 10 pieces, 25 pieces, 50 pieces, and 100 pieces. Obviously you don't need to use these - only fill in the blanks when needed. This is based on the Construct Something demo. Note that Pricing_group is not really used. Part of the catalog.cfg file: PriceField price CommonAdjust pricing:price_group,q10,q25,q50,q100: ;:price ;$ AutoModifier pricing:price_group AutoModifier products:gift_cert UserDB default scratch dealer Autoload <<EOR [perl] $Config->{PriceField} = 'no_price'; [/perl] ==================================== Top of my /products/pricing.txt file: price_group sku q10 q25 q50 q100 18014 8.50 7.25 ==================================== Edited the /pages/quantity.html file to show desired quantity break points Also edited /pages/recurring_add.html and /pages/ord/checkout.html: removed the [if scratch dealer] and matching [/if] statements to make that code always true The sucker seems to work! If you have any further suggestions, please let me know. Bob From: bob at nleaudio.com (Bob Puff at NLE ) Date: Wed, 07 Mar 2001 00:54:31 -0500 Subject: [ic] Mouseovers don't work in secure page I noticed that in my Construct-based store, the mouse-overs at the top are broken. The normal image is displayed, but when you mouse-over, it changes to a empty/broken image. All the other static images work fine, and show the proper Secure Image Dir URL. However, the page source looks like the mouse-over images are using only the normal Image Dir, which isn't the same as my secure image dir. Ideas? Bob From: c.singer at t-online.de (Christian Singer ) Date: Wed, 07 Mar 2001 09:22:44 +0100 Subject: [ic] Failure to ignore IP addresses / 'wideOpen' not working Although having done a lot of experimenting I still can't make MV (4.04a) ignore IP addresses. Have tried 'WideOpen yes', 'DomainTail no' plus setting 'IpHead' and 'IpQuad' etc. The only effect these settings bring about is to change the session file names so that these contain no or only part of the IP address. Nevertheless, when I start a session and fill the shopping cart on a machine in my LAN and then try to access the shopping cart of this session from another machine (using the same session id) the session is killed and can't even be accessed from the first machine where it had been initiated. I think this can only be due to the different IP addresses, which MV failes to ignore. Would I really have to tamper with 'Session.pm' to cope with changing IP addresses? Can anyone verify this problem (bug) -- or even better -- provide a solution or work-around? Regards, Christian Singer From: irrgang at SC-Networks.de (Heiko Irrgang ) Date: Wed, 7 Mar 2001 10:12:11 +0100 Subject: [ic] RE: Probs with checkout On Tue, Mar 06, 2001 at 11:13:53AM -0500, interchange-users-admin@lists.akopia.com wrote: > > might be a stupid question, but you did restart the ic server after setting > up your order.profile? > > you do have: > OrderProfile etc/profiles.order > in your catalog.cfg? > > you have an mv_order_profile hidden field in your form, and it is set to > "order_profile"? > Yes, i did... and i checked twice for typing errors before writing here, but on the third check i noticed that it was a typing error on the filename... Sorry and thanks... From: rick at desertlord.com (Rick Lord ) Date: Wed, 07 Mar 2001 08:10:22 -0700 Subject: [ic] No Inventory How do you disable the inventory feature of Interchange? We are selling intangible items. I know I could set the inventory for a really high number, then take out each reference to it in the pages, but that is a clunky way of doing it. Can't you just disable it somehow? Thanks. -- Rick Lord Desert Lord Enterprises http://www.desertlord.com/ http://www.KitKar.com/ http://www.NavySealsWatches.com/ From: thammer at rtccom.com (Todd Hammer ) Date: Wed, 07 Mar 2001 10:33:59 -0500 Subject: [ic] creating a new store When creating a new store, is it possible to setup a basic store with all the functionality but nothing populated? Creating a new store using the construct templates provides all of the functionality and page layout options I need but it also requires removing so many tables and categories. Is there an easier way to create a fresh store and go from there? -- Todd Hammer -=|=- RTC Communications -=|=- http://www.rtccom.net ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ "Yes, God had a deadline...so he wrote it all in PHP" From: stevep at sga.org (Steve Palm ) Date: Wed, 7 Mar 2001 10:40:23 -0600 Subject: [ic] User Specified Price? We would like to offer the customer an opportunity to make an extra donation, amount specified by them, along with any orders they place. Is this easily do-able, to have a product with a user-changeable on-the-fly price? If not, what other options might exist? -- Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * http://www.sga.org From: stevep at sga.org (Steve Palm ) Date: Wed, 7 Mar 2001 10:48:10 -0600 Subject: [ic] Hand editing ~/lib/UI/pages/admin/customer_view.html It seems to me I should not be editing the file: ~/lib/UI/pages/admin/customer_view.html However, it had several columns and related things hardcoded. I no longer have a "dealer" column in my userdb, so I had to take it out. Also, I had to put in the tax_exempt column I'm working on. Should this be hand-edited, or is there another way? -- Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * http://www.sga.org From: marc.braun at braunconsulting.de (Marc Braun ) Date: Wed, 7 Mar 2001 19:15:05 +0100 Subject: [ic] Install problem on SCO Unixware 7.1.1 Hi there! I try to install Interchange 4-6.3 on an SCO Unixware 7.1.1 box. After running the configure script I get the following error: syntax error at Makefile.PL line 532, near ") for " BEGIN not safe after errors--compilation aborted at Makefile.PL line 775. UX:make: ERROR: no arguments or description file (bu7). UX:make: ERROR: don't know how to make test (bu42). Can anybody tell what΄s wrong? best regards, Marc Braun Consulting Neue Ramtelstraίe 48 D - 71229 Leonberg Tel: +49 7152 9759-72 fax: +49 7152 9759-56 email: braun@braunconsulting.de From: pchilds at coatingsmart.com (Paul Childs ) Date: Wed, 07 Mar 2001 14:02:40 -0500 Subject: [ic] UserDB change_pass Hello, I am having a problem in Interchange version 4.6.3. I am confused by some of the behavior of the change_pass function for the userdb tag. I have written some code to change the password and for the most part it works fine. But the mv_nextpage value that I set is being ignored. So instead of the page I want being loaded after the password changes, instead the missing.html page appears. It is almost as if change_pass has a page that it defaults to. I have found nothing in the docs about such a page. Included below is a snippet of the code. Please let me know if you have run into this before or know what I am doing wrong. Thanks. <form name="change_pass" action="[process-target]" method=post> <table cellpadding="0" cellspacing="0" class="Table1Back" width="600"> <tr> <td colspan="4"><b>login information</b></td> </tr> <tr> <td><span class="Red">Username</span></td> <td>[value mv_username]</td> <td>New Password</td> <td><input type="password" name="mv_password" align="left" size="15" VALUE="" MAXLENGTH="20"></td> </tr> <tr> <td><span class="Red">Password</span></td> <td><input type="password" name="mv_password_old" align="left" size="15" VALUE="" MAXLENGTH="20"></td> <td><span class="Red">Verify&nbsp;Password&nbsp;</span></td> <td><input type="password" name="mv_verify" align="left" size="15" VALUE="" MAXLENGTH="20"></td> </tr> <tr> <td colspan="4" align="right"> <input type="hidden" NAME="mv_check" VALUE="change_pass"> <input type="hidden" NAME="mv_todo" value="return"> <input type="hidden" NAME="mv_nextpage" value="UserEdit"> [set change_pass] [userdb function=change_pass username="[value mv_username]" password="[value mv_password]" verify="[value mv_verify]" oldpass="[value mv_password_old]" ] [/set] <img src="__IMAGE_DIR__/shim.gif" height="1" width="27" /><a href="Javascript:document.change_pass.submit()" onmouseover="ChangeImage('changePassword','changePassword_over')" onmouseout="ChangeImage('changePassword','changePassword_off')"><img name="changePassword" src="__IMAGE_DIR__/buttons/changePassword_off.gif" alt="change password" border="0" /></a> </td> </tr> </table> </form> PJC From: stevep at sga.org (Steve Palm ) Date: Wed, 7 Mar 2001 13:30:04 -0600 Subject: [ic] Tax Exempt ? >You may be able to set it up based on the userdb as you started to do. This >is what I use (thanks to Mike Heins) in one of our catalogs to determine >dealer or no dealer, it configs the price field prior to everything starting >up (of course the customer has to log in for it to be effective). This is the rub... I didn't want to require this. However, I was able to make everything work the way I wanted it to in the end. It seems that all I had to do was insert the "interpolate=1" into the [perl] tags I was using to update the values. I think this changes when it actually runs the code, and the end result is that one refresh makes everything happy. So, the below code now works fine with the addition of the interpolate. I'm just leaving it here for anyone who may be facing similar issues. >-----Original Message----- >From: interchange-users-admin@lists.akopia.com >[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Steve Palm >Sent: Tuesday, March 06, 2001 1:28 PM >To: interchange-users@lists.akopia.com >Subject: [ic] Tax Exempt ? > > > >HELP! :-) I've been digging through the docs, and I'm still lost.... > >How can you handle tax exempt orders? > >I've tried adding a tax_exempt field to the userdb. This updates correctly, >and tracks with the users. > > <SELECT onChange="this.form.submit()" NAME=tax_exempt> > <OPTION VALUE="0">No > <OPTION [selected tax_exempt 1] VALUE="1">Yes > </SELECT> > Tax Exempt (with required paperwork) > >I also have been able, then, to use this field on the form to determine >whether or not to process the line that shows Sales Tax. This works fine. > > <TD>Sales Tax</TD> > [if value tax_exempt == 1 ] > <TD ALIGN=RIGHT>(EXEMPT)</TD> > [else] > <TD ALIGN=RIGHT>[salestax]</TD> > [/else] > [/if] > > >I also set the catalog "SalesTax tax_state", and then based on the value of >tax_exempt either set it to "" or to the state. I tried this using a few >different methods.... > > [if value tax_exempt != 1] > [perl] $Values->{tax_state} = $Values->{state}; return; [/perl] > [else] > [perl] $Values->{tax_state} = ""; return; [/perl] > [/else] > [/if] > > Also.... > > [if value tax_exempt != 1] > <INPUT TYPE=hidden NAME=tax_state VALUE=[value state]> > [else] > <INPUT TYPE=hidden NAME=tax_state VALUE=""> > [/else] > [/if] > > > And even a variant of a pure [perl] block that checked > $Values->{tax_exempt} and did the appropriate updates... > > >However, these all seem to lag... In other words, if I change tax exempt >status, it does a refresh of the page, updates the tax_exempt variable, but >unless I do one more refresh of the page it doesn't stop the built-in >routines from calculating tax and putting it in the totals. > > <TD COLSPAN=2></TD> > <TD>TOTAL</TD> > <TD ALIGN=RIGHT>[total-cost]</TD> > ><sigh> > >Anyone deal with this before? We deal with a lot of non-profit >organizations and it would be nice to have this automated. > >-- >Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * >http://www.sga.org > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users -- Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * http://www.sga.org From: joachim.richter at usvideocenter.de (joachim.richter ) Date: Wed, 07 Mar 2001 20:38:34 +0100 Subject: [ic] Tax exempt We read the answer to the tax exempt question, which was just what we were also looking for, great !!! but we already have this in our config : UserDB default scratch dealer Autoload <<EOR [perl] if($Scratch->{dealer}) { $Config->{PriceField} = $Values ->{pricefield}; } [/perl] Is there a way to add the tax_exempt script, because as soon as I add it; the pricefield script does not work anymore ? UserDB default scratch tax_exempt AutoLoad <<EOF [calc] if ($Scratch->{tax_exempt}) { $Config->{SalesTax} = ' '; } return; [/calc] EOF thanks 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: jonc at webmaint.com (Jonathan Clark ) Date: Wed, 7 Mar 2001 21:13:44 -0000 Subject: [ic] User Specified Price? > We would like to offer the customer an opportunity to make an > extra donation, amount specified by them, along with any orders > they place. > > Is this easily do-able, to have a product with a user-changeable > on-the-fly price? > > If not, what other options might exist? > What about a fixed price and a user-changeable qty? ;-) Jonathan Webmaint. From: jonc at webmaint.com (Jonathan Clark ) Date: Wed, 7 Mar 2001 21:20:21 -0000 Subject: [ic] Hand editing ~/lib/UI/pages/admin/customer_view.html > It seems to me I should not be editing the file: > > ~/lib/UI/pages/admin/customer_view.html > > However, it had several columns and related things hardcoded. I > no longer have a "dealer" column in my userdb, so I had to take > it out. Also, I had to put in the tax_exempt column I'm working on. > > Should this be hand-edited, or is there another way? IFAIK hand editing is your best current solution. If you put your modified copy of the file in <catalog root>/pages/admin/ directory this will override the default page for this catalog only - which may be more desirable. Jonathan Webmaint. From: chenjerai at hotmail.com (Chenjerai G. Bones ) Date: Wed, 7 Mar 2001 17:00:09 -0500 Subject: [ic] Need Help! Hi folks It Seems a lot of people understand this IC really well. I just hope my question is not a stupid one, but here it is anyway; I cannot seem to figure out how to remove the banners and put my company banners on there for a start. If you are laughing, I certainly understand, for those with compassion please help me out! Thanks Chenjerai From: save at youwillsave.com (youwillsave ) Date: Wed, 7 Mar 2001 16:15:16 -0800 Subject: [ic] Need Help! I am just learning about this stuff too. Don't feel bad. I changed my banners by replacing the banner gif files with my own pics. The banner gif files are a1.gif, a2.gif and a3.gif The gifs can be replaced by using you ftp program. Just find a1,2 and 3 gifs in the interchange files and upload your pics, named the same (a1,a2,a3.gif) and overwrite the exsiting ones. Hope you can understand this, if not let me know and I'll try again:) ----- Original Message ----- From: "Chenjerai G. Bones" <chenjerai@hotmail.com> To: <interchange-users@lists.akopia.com> Sent: Wednesday, March 07, 2001 2:00 PM Subject: [ic] Need Help! > Hi folks > > It Seems a lot of people understand this IC really well. I just hope my > question is not a stupid one, but here it is anyway; I cannot seem to figure > out how to remove the banners and put my company banners on there for a > start. If you are laughing, I certainly understand, for those with > compassion please help me out! > > Thanks > > Chenjerai > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: denis at artofmusicproject.com (Denis Heinrichs ) Date: Wed, 07 Mar 2001 14:36:18 -0800 Subject: [ic] Need Help! In the Construct Something demo, the banner files (a1,a2,a3.gif) are referenced in the templates. The files can be modified individually to make up the banner or you can add you own images into the templates. These templates are stored in the templates directory and its sub-dirs. The templates are made up of multiple parts. If you take the "leftright" template as an example. Its template file is in the templates dir. It is made up of LEFTRIGHT_TOP and LEFTRIGHT_BOTTOM files as found in the templates/regions directory. These two files put together make up a standard HTML file (with IC tags of course). LEFTRIGHT_TOP contains the banners that you are looking for. The top and bottom files also have include statements that load in components as found in the templates/components dir. These components are this such as vertical and horizontal promotional products, specials, etc... In the UI, you can select/change what template a given page uses by using the page editor under the content menu. What you see in this editor is defined by settings in the template file in the templates dir. The templates that are defined in the construct something example as fairly straightforward, the only real catch is that one must remember that they are made up of top and bottom components. If you change the structure of one, you will likely have to change it counterpart. I hope this helps people. youwillsave wrote: > I am just learning about this stuff too. Don't feel bad. I changed my > banners by replacing the banner gif files with my own pics. The banner gif > files are a1.gif, a2.gif and a3.gif > The gifs can be replaced by using you ftp program. Just find a1,2 and 3 gifs > in the interchange files and upload your pics, named the same (a1,a2,a3.gif) > and overwrite the exsiting ones. > Hope you can understand this, if not let me know and I'll try again:) > ----- Original Message ----- > From: "Chenjerai G. Bones" <chenjerai@hotmail.com> > To: <interchange-users@lists.akopia.com> > Sent: Wednesday, March 07, 2001 2:00 PM > Subject: [ic] Need Help! > > > Hi folks > > > > It Seems a lot of people understand this IC really well. I just hope my > > question is not a stupid one, but here it is anyway; I cannot seem to > figure > > out how to remove the banners and put my company banners on there for a > > start. If you are laughing, I certainly understand, for those with > > compassion please help me out! > > > > Thanks > > > > Chenjerai > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Denis Heinrichs Director of Technology The Art of Music Project From: res087jh at verizon.net (Dan Garwood ) Date: Wed, 7 Mar 2001 18:01:22 -0500 Subject: [ic] Zero cost returned for mode Ground, geo code 335. We are trying to set up UPS shipping on our store. I downloaded the zone file for our location (i.e. 463.cvs). I have this defined in catalog.cfg with the following lines: ## Set some initial values ValuesDefault mv_shipmode upsg UpsZoneFile products/463.csv We started with the Internal UPS Lookup received the following error: Zero cost returned for mode Ground, geo code 335. on the checkout.html page when the zip was set for 33566. I tried editing shipping with the Admin, than was able to get it working by using the WWW UPS Lookup. Upon taking the site live, we would get timeout and no shipping. We decided to come back to the internal UPS lookup style. Now I am faced again with the same dilemma of the above error. What follows is configuration and files involved. System Setup System one PIII 800 mghz 768 Megs Ram Running Apache, Interchange, and Mysql(only for connectivity to machine 2) System two PIII 800 mghz 768 megs Ram Running MYSQL Machines set on a T3 with 100 meg bit cards. #Area of Zone File 463.csv Where zip should be calculated from? (I believe) 304,5,305,205,245,135,105 305-307,4,304,204,244,134,104 308-310,5,305,205,245,135,105 311,4,304,204,244,134,104 312-329,5,305,205,245,135,105 330-334,6,306,206,246,136,106 335-338,5,305,205,245,135,105 339,6,306,206,246,136,106 340,-,-,-,-,-,- 341,6,306,206,246,136,106 342-347,5,305,205,245,135,105 349,6,306,206,246,136,106 #Shipping.asc upsg UPS Ground weight 0 0 e Nothing to ship! {'ui_ship_type' => "UPSI",'tabl e' => "Ground",'zone' => "463",'ups' => "1",'adder' => "x = x + ( x * .40 )",'round' => "1",'geo' => "zip",} upsg UPS Ground weight 0 150 u Ground [value name=zip default=46368] {} upsg UPS Ground weight 150 999999 e @@TOTAL@@ lbs too heavy for UPS {} upsb UPS Two Day weight 0 0 e Nothing to ship! {'ui_ship_type' => "UPSI",'zone ' => "463",'table' => "2ndDayAir",'ups' => "1",'adder' => "x = x + ( x * .40 )",'geo' => "zip",} upsb UPS Two Day weight 0 150 u 2ndDayAir [value name=zip default=46368] {} upsb UPS Two Day weight 150 999999 e @@TOTAL@@ lbs too heavy for UPS {} upsr UPS Next Day weight 0 0 e Nothing to ship! {'ui_ship_type' => "UPSI",'tabl e' => "NextDayAir",'zone' => "463",'ups' => "1",'adder' => "x = x + ( x * .40 )",'geo' => "zip",} upsr UPS Next Day weight 0 150 u NextDayAir [value name=zip default=46368] {} upsr UPS Next Day weight 150 999999 e @@TOTAL@@ lbs too heavy for UPS {} ups3 UPS Three Day weight 0 0 e Nothing to ship! {'ui_ship_type' => "UPSI",'tabl e' => "3DaySelect",'zone' => "463",'ups' => "1",'adder' => "x = x + ( x * .40 )",'geo' => "zip",} ups3 UPS Three Day weight 0 150 u 3DaySelect [value name=zip default=46368] {} {} ups3 UPS Three Day weight 150 999999 e @@TOTAL@@ lbs too heavy for UPS {} {} permissions on all files in products are set to 660 and owned by interch (user that runs interchange) and abicom (user that owns the store). I searched the archives and only return something about Canadian shipping with no real fix for the problem. I also read the Reference manual in the section Database, subsection shipping. Which helped understand this greatly, but did not give the solution to this specific error. I have also tried the following line in the shipping.asc file: [value name=zip filter=digits default=46368] vs. what we have now [value name=zip default=46368] Any help on this would be greatly appreciated. Here is a link to the site if it helps in visualize what I have done. http://www.abilitywholesale.com Sincerely, Dan Garwood From: lmorley at flexihost.com (Larry Morley ) Date: Wed, 7 Mar 2001 15:24:04 -0800 (PST) Subject: [ic] custom payments - very bad GlobalSub problem (?) Hi - Hopefully someone can help me out here; I really need it... I can't get the GlobalSub for authorizenet, signio, etc. working. I created a simple script and put it in my /usr/lib/interchange/eg/globalsub directory (that's the directory created by the RPM install and makecat). I need to get Interchange to interface to a variety of different systems. Unfortunately right now I cant get custom payment processing to talk to anything at all... I don't actually know if the globalsub in question is getting found and executed. The error in the error.log file simply says: ... construct /cgi-bin/construct/process.html bad custom payment GlobalSub: authorizenet The script compiles fine with the GlobalSub, etc. tags removed (when I turn it into a regular Perl script for a minute). I've replaced the original authorizenet script with everything I can think of including a simple script that shouldn't do anything more than create a file. Even that doesn't work (no file is created, and the same error as above ends up in error.log). I've stripped this thing down to the point where its as lean as it can be. My /etc/interchange.cfg has an #include pointing to it; I've tried putting the #include in different parts of the file (no luck). At this point I'm not certain the thing is actually getting found and executed by Interchange. Been through the mailing list archives, and tried everything that looked applicable... Can someone help me out? It's Interchange 4.6.3-1 (RPM install) on RedHat 6.2. I'd like to have a very simple GlobalSub that does nothing more than echo whatever's passed to it (for order info) by GlobalSub. I thought I'd written one. But ... Also, does anyone know where there are docs on these gizmos? Especially the custom payment routine ones? Thanks in advance, Larry Morley From: gerberb at zenez.com (Boyd Lynn Gerber ) Date: Wed, 7 Mar 2001 16:22:49 -0700 (MST) Subject: [ic] Install problem on SCO Unixware 7.1.1 On Wed, 7 Mar 2001, Marc Braun wrote: > I try to install Interchange 4-6.3 on an SCO Unixware 7.1.1 box. > > After running the configure script I get the following error: > > syntax error at Makefile.PL line 532, near ") for " > BEGIN not safe after errors--compilation aborted at Makefile.PL line > 775. > UX:make: ERROR: no arguments or description file (bu7). > > UX:make: ERROR: don't know how to make test (bu42). > > Can anybody tell what΄s wrong? Marc, I found that you need to do the following to get it to work. 1. Get and install GNU make 2. Make sure you have all the perl libraries installed. 3. If on the no GUI logins, set LINES=25;COLUMNS=80;export LINES COLUMNS 4. If in the GUI make sure LINES and COLUMNS are set to your window. 5. Always start and stop IC from the IC user. Good Luck, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 3748 Valley Forge Road, Magna Utah 84044 Office 801-250-0795 FAX 801-250-7975 From: doliver at hampshire.edu (Dylan Oliver ) Date: Wed, 7 Mar 2001 17:39:22 -0600 Subject: [ic] selectively displaying categories -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 As in the Construct demo, the left-hand table of my catalog displays a list of categories. Not all of these categories contain items, and I'd like to display only those that do. I've tried this: [set found_cat][/set] [loop prefix=cat search=" fi=cat st=db tf=sort tf=name rf=code,name sf=sel " ] <!-- Only show categories if there are matching items --> [if type="data" term="products::category::[scratch cat]"] <tr><td colspan="2" border="1" align="center" class="sky"> [cat-exec bar_link]cat[/cat-exec]</td></tr> [/if] [/loop] .. and though there are categorized items in products.txt, none are matched. Any hints? - -- Dylan Oliver http://stout.hampshire.edu/~dao99 Global View International http://www.globalview-intl.com Do you know how little you know? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjqmxqsACgkQ7U8r0TCZf4EHvQCdGCm2/S4e3/g01e4xqjSqC4M/ cCQAnREcR9UnvnvCl2YHs1rN8gKzLbGI =wFyc -----END PGP SIGNATURE----- From: shui at lunamedium.com (Sam Hui ) Date: Wed, 7 Mar 2001 15:41:28 -0800 Subject: [ic] IPC::Open2 inside GlobalSub Hi, I'm trying to encrypt some data using a globalsub and an external binary, but somehow the $data isn't getting out to the $encrypt_cmd via "Writer" handle. This code runs perfectly fine on a perl script by itself... I'm not getting any errors and using the ::logDebug statements, the code is being excuted and the $encrypt_cmd is being called. I know this because open2 returns a different process id everytime the code runs. Could someone shine some light on this? Much appreciated. GlobalSub <<EOS sub encrypt_some_data { use FileHandle; use IPC::Open2; my $rec_data; my $pid = eval{ open2(\*Reader, \*Writer, "$encrypt_cmd"); Writer->autoflush; print Writer "$data"; close(Writer); local($/) = undef; $rec_data = <Reader>; close(Reader); }; return($rec_data); } From: Martin.Standaert at pi.be (Martin Standaert ) Date: Thu, 08 Mar 2001 00:47:01 +0100 Subject: [ic] ADMIN PASWORD DEMO CATALOG HELLO, I have just installed interchange and now starting to test the demo catalog whit it. But how can i get in the administration section of the demo version, Note i'm loged in as root on the redhat linux 7 OS. thanks Martin From: support at integricity.com (Integricity Support ) Date: Thu, 8 Mar 2001 08:22:52 +0800 Subject: [ic] Quick change of pricing and inventory Hi guys... Just wondering, is it possible to tweak the backend admin interface to allow for quick entry / modification of inventory levels without using the tables feature? We want to disable access to the tables and yet allow store owners to quickly update their current prices and inventory. Thanks. -- Best regards, Integricity mailto:support@integricity.com From: 6tc1 at qlink.queensu.ca (Timothy Cassidy ) Date: Wed, 7 Mar 2001 19:09:36 -0500 (EST) Subject: [ic] Want to use new module/library in embedded Perl code The e-mail that I am referencing in this e-mail can be found immediately following this e-mail. When I put this code: > [perl] > { > return join '<BR>',@INC,'<BR>'; > } > [/perl] into one of my html pages, nothing appeared. When I checked the source of the html, the only thing that got generated was a single <BR> tag. Also when you say > See bin/interchange for how to use perl modules. Where do I find this bin/interchange Also when you state > See bin/interchange for how to use perl modules. Just put your JVM module > there and restart. Odds are you are not changing that module, right? I don't understand where you expect me to put my JVM module. I didn't think it mattered where I put the source code for the JVM module. I am loading the module into the kernel (so far as I understand) and therefore it should be available to any perl code I execute on this machine. Sorry for being such a pain, I just didn't think it would be so difficult to do this once I had the JVM module working for perl on this machine. Thanks, Tim On Thu, 15 Feb 2001 cfm@maine.com wrote: > On Wed, Feb 14, 2001 at 11:58:00PM -0800, Dan B wrote: > > At 01:49 AM 2/15/2001 -0500, you wrote: > > >Hey thanks alot for the advice - I'm now able to call procedures in user > > >tags, but I still don't seem to be able to "use" my JVM module. I tried > > >using the "use" syntax: > > > > > >UserTag java_code Routine <<EOF > > >sub { > > > use JVM; > > >return "testy testy"; > > > > > >} > > >EOF > > > > > >But this didn't work and nothing gets reported in my: > > >/tmp/icdebug > > >file except for a log of when I restart the server: > > >Start DEBUG at Thu Feb 15 00:10:50 2001 > > > > > >Anyway, after that failed, I tried to adapt your shipping subroutine that > > >you sent me to my purposes: > > > > > >UserTag java_code Routine <<EOF > > >sub { > > > require MV::JVM; > > >return "testy testy"; > > > > > >} > > >EOF > > > > > >This also didn't work - is there any sort of a tutorial on the syntax of > > >writing these subroutines? Specifically on how to import modules. Once I > > >have access to the JVM module, I know the code I need to write in perl. > > MV::JVM is probably not going to work for you unless you have a directory > MV in the @INC. Ours is /usr/lib/perl5/MV where we keep our custom > minivend libraries; I doubt you have that. And unless you run Debian linux > /usr/lib/perl5 is probably not even in your @INC. > > See what your @INC is with something like this: I'm not sure if it > runs afoul of Safe in a stock install or not. > [perl] > { > return join '<BR>',@INC,'<BR>'; > } > [/perl] > > I'd suggest you NOT use "MV". There is no reason to clutter your life with > our legacy code and conventions. > > See bin/interchange for how to use perl modules. Just put your JVM module > there and restart. Odds are you are not changing that module, right? > > > > > > > >Thanks for all of your help, > > >Tim Cassidy > > > > Does it help if you set AllowGlobal mode for your catalog? > > You need that sometimes; I don't think it is completely consistent. (We're > still at 4.03 - YMMV.) > > > > > > http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=reference24%2e04 > > > > > > > > >On Mon, 12 Feb 2001 cfm@maine.com wrote: > > > > > > > > The best I was able to do was create a GlobalSub in the interchange.cfg > > > > > file: > > > > > > > > > > GlobalSub <<EOF > > > > > sub count_orders { > > > > > return "this is returned from count_orders subroutine.\n"; > > > > > } > > > > > EOF > > > > > > > > You don't have these modules, but the syntax is the same. > > > > I'm pretty sure you can "use" (vs "require"). > > > > > > > > > > > > ############# > > > > ## merchants_shipping > > > > > > > > UserTag merchants_shipping Order base > > > > UserTag merchants_shipping Routine <<EOF > > > > sub { > > > > require MV::Merchants; > > > > require MV::Shipping; > > > > my($M,$adj,%opt); > > > > > > > > $opt{config}=$Vend::Cfg->{CatalogName}; > > > > $adj=0; > > > > > > > $M=&MV::Merchants::load_merchant(\%opt,$Vend::Session->{values}); # > > > stubbed everywhere > > > > $opt{shipping_rules}=$M->{$opt{config}}{shipping_rules} if > > > defined($M); > > > > > > > $adj+=&MV::Shipping::base_item_shipping(\%opt,$opt{shipping_rules}) if > > > ($opt{shipping_rules}); > > > > > > > $adj+=&MV::Shipping::extra_item_shipping(\%opt,$opt{shipping_rules}) if > > > ($opt{shipping_rules}); > > > > > > > $adj+=&MV::Shipping::gift_certificate_shipping(\%opt,$opt{shipping_rules}) > > > if ($opt{shipping_rules}); > > > > return $adj; > > > > } > > > > EOF > > > > > > > > Frankly, I think > > > > the issue is you are taking too big a first bite. Write a > > > > little perl module that just opens, writes and closes a file. > > > > Call that perl module. Get it to work. They are all the same > > > > after that. > > > > > > > > > So then I tried creating a regular subroutine in the interchange.cfg > > > file: > > > > > Sub <<EOF > > > > > sub sort_cart_by_quantity { > > > > > my $out = 'This is a test!!!'; > > > > > return $out; > > > > > } > > > > > EOF > > > > > > > > > > But again I couldn't call it from my embedded perl code in my html pages: > > > > > [perl] > > > > > return sort_cart_by_quantity(); > > > > > [/perl] > > > > > > > > Is that right? I bet you created a nameless sub that has > > > > a compiled sub in it, sort_cart_by_quantity. I'm not sure about > > > > that Sub syntax in cfg - never used it. Check Config.pm and see > > > > how it gets parsed. > > > > > > > > > > > > -- > > > > > > > > Christopher F. Miller, Publisher cfm@maine.com > > > > MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 > > > > 1.207.657.5078 http://www.maine.com/ > > > > Content management, electronic commerce, internet integration, Debian linux > > > > > > > > _______________________________________________ > > > > Interchange-users mailing list > > > > Interchange-users@lists.akopia.com > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > >_______________________________________________ > > >Interchange-users mailing list > > >Interchange-users@lists.akopia.com > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > -- > > Christopher F. Miller, Publisher cfm@maine.com > MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 > 1.207.657.5078 http://www.maine.com/ > Content management, electronic commerce, internet integration, Debian linux > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: steveandpatti at wubs.org (Steve & Patti Getzinger ) Date: Wed, 07 Mar 2001 19:27:19 -0500 Subject: [ic] XML I have a client that is running an XML feed from an affiliate of there's. This was all done by someone else. They now would like their orders fed into their Access database via XML. Anyone ever played with this? In all they want the order emailed to the customer, a short message sent to their in house person (something like "You have mail" :) ) and the actual order sent to their Access db on a NT box that accepts XML feed. Thoughts? People who have implemented such a thing? TIA Steve From: cfm at maine.com (cfm at maine.com ) Date: Wed, 7 Mar 2001 20:09:02 -0500 Subject: [ic] custom payments - very bad GlobalSub problem (?) On Wed, Mar 07, 2001 at 03:24:04PM -0800, Larry Morley wrote: > Hi - > > Hopefully someone can help me out here; I really need it... > I can't get the GlobalSub for authorizenet, signio, etc. working. I > created a simple script and put it in my /usr/lib/interchange/eg/globalsub > directory (that's the directory created by the RPM install and makecat). > > I need to get Interchange to interface to a variety of different systems. > Unfortunately right now I cant get custom payment processing to talk > to anything at all... > > I don't actually know if the globalsub in question is getting found and > executed. The error in the error.log file simply says: > > ... construct /cgi-bin/construct/process.html bad custom payment > GlobalSub: authorizenet > > The script compiles fine with the GlobalSub, etc. tags removed (when I > turn it into a regular Perl script for a minute). I've replaced the > original > authorizenet script with everything I can think of including a simple > script that shouldn't do anything more than create a file. Even that > doesn't work (no file is created, and the same error as above ends up > in error.log). It's not obvious to me where you are using it. Do you have AllowGlobal set for that catalog? > > I've stripped this thing down to the point where its as lean as it can be. > My /etc/interchange.cfg has an #include pointing to it; I've tried putting > the #include in different parts of the file (no luck). At this point I'm > not > certain the thing is actually getting found and executed by Interchange. > > Been through the mailing list archives, and tried everything that looked > applicable... Can someone help me out? It's Interchange 4.6.3-1 (RPM > install) on RedHat 6.2. > > I'd like to have a very simple GlobalSub that does nothing more than > echo whatever's passed to it (for order info) by GlobalSub. I thought I'd > written one. But ... Also, does anyone know where there are docs on > these gizmos? Especially the custom payment routine ones? > > Thanks in advance, > Larry Morley > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: cfm at maine.com (cfm at maine.com ) Date: Wed, 7 Mar 2001 20:30:59 -0500 Subject: [ic] XML On Wed, Mar 07, 2001 at 07:27:19PM -0500, Steve & Patti Getzinger wrote: > I have a client that is running an XML feed from an affiliate of > there's. This was all done by someone else. They now would like their > orders fed into their Access database via XML. Anyone ever played with > this? In all they want the order emailed to the customer, a short > message sent to their in house person (something like "You have mail" > :) ) and the actual order sent to their Access db on a NT box that > accepts XML feed. Thoughts? People who have implemented such a thing? Yes and no. We wrote a parser that filtered the email, generated a post to the catalog and placed the order. (First post to establish session, second to place it.) We didn't use real XML, but a psuedo so the affiliates could just generate it in email. The idea was to send them a template daily and they could just fill in the blanks. It failed for political reasons. The distributors/affiliates saw it as more work even though that simple handshake would have provided tracking, billing and so forth. Oh well. Access and NT, no. Are they running the catalog on NT? With an Access backend? Or is that their inhouse system and this would be yet another input stream for orders? The way we did it runs the orders through the catalog. > > TIA > > Steve > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: tjohnson at odin.ac.hmc.edu (Thomas J. Johnson ) Date: Wed, 7 Mar 2001 17:35:10 -0800 (PST) Subject: [ic] ADMIN PASWORD DEMO CATALOG If you installed the RPM, go to http://your.machine/cgi-bin/construct/index.html Your default username is probably interchange, your default password is probably pass > > HELLO, > > I have just installed interchange and now starting to test the demo > catalog whit it. > But how can i get in the administration section of the demo version, > Note i'm loged in as root on the redhat linux 7 OS. > > thanks > > Martin > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: mikeh at minivend.com (Mike Heins ) Date: Wed, 7 Mar 2001 20:51:02 -0500 Subject: [ic] IPC::Open2 inside GlobalSub Quoting Sam Hui (shui@lunamedium.com): > Hi, > > I'm trying to encrypt some data using a globalsub and an external binary, > but somehow the $data isn't getting out to the $encrypt_cmd via "Writer" > handle. This code runs perfectly fine on a perl script by itself... I'm > not getting any errors and using the ::logDebug statements, the code is > being excuted and the $encrypt_cmd is being called. I know this because > open2 returns a different process id everytime the code runs. Could someone > shine some light on this? Much appreciated. > > GlobalSub <<EOS > sub encrypt_some_data { > > use FileHandle; > use IPC::Open2; > > my $rec_data; > my $pid = eval{ > open2(\*Reader, \*Writer, "$encrypt_cmd"); > Writer->autoflush; > print Writer "$data"; > close(Writer); > > local($/) = undef; > $rec_data = <Reader>; > close(Reader); > }; > return($rec_data); > } > STDOUT and STDIN are not what you think in Interchange -- it is a daemon. It may or may not be possible to do this -- you probably would have to close and reopen them. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Light travels faster than sound. This is why some people appear bright until you hear them speak. -- unknown From: steveandpatti at wubs.org (Steve & Patti Getzinger ) Date: Wed, 07 Mar 2001 21:08:19 -0500 Subject: [ic] XML The catalog runs on Red Hat 7 :) Kinda a funny situation. They signed up with another site and that site runs asp on NT and told them in order to receive their orders from them they needed to set up an Access db and accept XML transmissions.They did their in-house software based on a NT solution. They hired a company somewhere to do the asp / XML thing and pipe it into an Access db which they pull out and parse so they can get it into a FoxPro db. I will be looking into it all in the next few weeks to come and was just wondering about any ideas / thoughts as to hopefully avoid some major pitfalls. Steve cfm@maine.com wrote: > On Wed, Mar 07, 2001 at 07:27:19PM -0500, Steve & Patti Getzinger wrote: > > I have a client..such a thing? > > Yes and no....orders through the catalog. > From: webmaster at infothai.com (Webmaster of Infothai ) Date: Thu, 08 Mar 2001 09:08:30 +0700 Subject: [ic] custom payments - very bad GlobalSub problem (?) You are probably missing some prerequisite modules. If you search the archives you will find more discussions on this subject. One quick check: strip out the comments and the GlobalSub control stuff, leaving only the perl subroutine. Then compile the subroutine and see what errors you get. Any error will cause the subroutine to be rejected as bad. Mike On Wed, 7 Mar 2001 15:24:04 -0800 (PST), Larry Morley wrote: >Hi - > >Hopefully someone can help me out here; I really need it... >I can't get the GlobalSub for authorizenet, signio, etc. working. I >created a simple script and put it in my /usr/lib/interchange/eg/globalsub >directory (that's the directory created by the RPM install and makecat). > >I need to get Interchange to interface to a variety of different systems. >Unfortunately right now I cant get custom payment processing to talk >to anything at all... > >I don't actually know if the globalsub in question is getting found and >executed. The error in the error.log file simply says: > >... construct /cgi-bin/construct/process.html bad custom payment >GlobalSub: authorizenet > >The script compiles fine with the GlobalSub, etc. tags removed (when I >turn it into a regular Perl script for a minute). I've replaced the >original >authorizenet script with everything I can think of including a simple >script that shouldn't do anything more than create a file. Even that >doesn't work (no file is created, and the same error as above ends up >in error.log). > >I've stripped this thing down to the point where its as lean as it can be. >My /etc/interchange.cfg has an #include pointing to it; I've tried putting >the #include in different parts of the file (no luck). At this point I'm >not >certain the thing is actually getting found and executed by Interchange. > >Been through the mailing list archives, and tried everything that looked >applicable... Can someone help me out? It's Interchange 4.6.3-1 (RPM >install) on RedHat 6.2. > >I'd like to have a very simple GlobalSub that does nothing more than >echo whatever's passed to it (for order info) by GlobalSub. I thought I'd >written one. But ... Also, does anyone know where there are docs on >these gizmos? Especially the custom payment routine ones? > >Thanks in advance, >Larry Morley > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users > webmaster@infothai.com http://www.infothai.com From: david at wwns.com (David Wilson ) Date: Wed, 7 Mar 2001 20:10:46 -0600 (CST) Subject: [ic] XML You might want to check out hopla.sourceforge.net. The hopla program is not quite ready for prime time yet, but for translating from an XML listing to a database it might work for you. Dave Steve & Patti Getzinger wrote... > > I have a client that is running an XML feed from an affiliate of > there's. This was all done by someone else. They now would like their > orders fed into their Access database via XML. Anyone ever played with > this? In all they want the order emailed to the customer, a short > message sent to their in house person (something like "You have mail" > :) ) and the actual order sent to their Access db on a NT box that > accepts XML feed. Thoughts? People who have implemented such a thing? > > TIA > > Steve > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > -- David R. Wilson WB4LHO World Wide Network Services Nashville, Tennessee USA david@wwns.com From: 6tc1 at qlink.queensu.ca (Timothy Cassidy ) Date: Wed, 7 Mar 2001 21:27:47 -0500 (EST) Subject: [ic] AllowGlobal Can someone give me an example of using AllowGlobal? All I can find are little tidbits of information on it. Apparently it should be placed in the interchange.cfg file and I found this: 7.4. AllowGlobal *global* Specifies catalog identifiers that may define subroutines and UserTag entries that can operate with the full permissions of the server. DON'T USE THIS UNLESS THE CATALOG USER IS TRUSTED IMPLICITLY. Default is blank. AllowGlobal simple I have tried adding this line AllowGlobal simple to my interchange.cfg but when I try to execute embedded perl code that causes this error: failed safe check: require trapped by operation mask at (eval 106) line 2, <CON FIG> line 282. the error continues to occur even with that line added to my interchange.cfg file. The reason I want to know more about it is because I think it will solve the problems I seem to be having with executing Perl modules (specifically JVM) in my embedded Perl code. It is extremely frustrating because I am able to use this JVM module in regular Perl code, but when I try to execute it in the embedded Perl code, it fails. Also the most basic JVM code I could produce that works is: -------------------------------------------- use Jvm; new Jvm(); ts_obj(); print "\nComplete!\n"; sub ts_obj { print "Testing Object ...\n"; my $out = Jvm::getProperty("java.lang.System", "out", "Ljava/io/PrintStream; "); new Jvm(); $out->println("(Ljava/lang/String;)V", "Hello world!"); } -------------------------------------------- Can anyone suggest how I should write that in embedded perl (if I am ever able to access that module)? I would think I should just put this code into the interchange.cfg file (make it a global sub) and call that sub from my embedded perl code. Is that correct? Thanks and sorry for my apparent extreme ignorance, Tim Cassidy From: cfm at maine.com (cfm at maine.com ) Date: Wed, 7 Mar 2001 21:48:08 -0500 Subject: [ic] AllowGlobal On Wed, Mar 07, 2001 at 09:27:47PM -0500, Timothy Cassidy wrote: > Can someone give me an example of using AllowGlobal? All I can find are AllowGlobal <catalogname> > AllowGlobal simple If your catalog is "simple" -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: shui at lunamedium.com (Sam Hui ) Date: Wed, 7 Mar 2001 18:58:48 -0800 Subject: [ic] custom payments - very bad GlobalSub problem (?) Hi Larry, Here is a real simple GlobalSub for testing: GlobalSub <<EOS sub test { ::logDebug("Entering test GlobalSub"); my %ic_result; $ic_result{MStatus}='success'; $ic_result{'order-id'}=1; #cannot be null ::logDebug("Exiting test GlobalSub"); return (%ic_result); } EOS Those $ic_result hashes are required values for a successful credit charge. Uncomment the Debug variable in your interchange config if you haven't already done so. You'll see the debug messages in /tmp/icdebug (the default). Also make sure you have this in your profiles.order: &charge=custom test -Sam -----Original Message----- Date: Wed, 7 Mar 2001 15:24:04 -0800 (PST) From: Larry Morley <lmorley@flexihost.com> To: <interchange-users@lists.akopia.com> Subject: [ic] custom payments - very bad GlobalSub problem (?) Reply-To: interchange-users@lists.akopia.com Hi - Hopefully someone can help me out here; I really need it... I can't get the GlobalSub for authorizenet, signio, etc. working. I created a simple script and put it in my /usr/lib/interchange/eg/globalsub directory (that's the directory created by the RPM install and makecat). I need to get Interchange to interface to a variety of different systems. Unfortunately right now I cant get custom payment processing to talk to anything at all... I don't actually know if the globalsub in question is getting found and executed. The error in the error.log file simply says: ... construct /cgi-bin/construct/process.html bad custom payment GlobalSub: authorizenet The script compiles fine with the GlobalSub, etc. tags removed (when I turn it into a regular Perl script for a minute). I've replaced the original authorizenet script with everything I can think of including a simple script that shouldn't do anything more than create a file. Even that doesn't work (no file is created, and the same error as above ends up in error.log). I've stripped this thing down to the point where its as lean as it can be. My /etc/interchange.cfg has an #include pointing to it; I've tried putting the #include in different parts of the file (no luck). At this point I'm not certain the thing is actually getting found and executed by Interchange. Been through the mailing list archives, and tried everything that looked applicable... Can someone help me out? It's Interchange 4.6.3-1 (RPM install) on RedHat 6.2. I'd like to have a very simple GlobalSub that does nothing more than echo whatever's passed to it (for order info) by GlobalSub. I thought I'd written one. But ... Also, does anyone know where there are docs on these gizmos? Especially the custom payment routine ones? Thanks in advance, Larry Morley From: steveandpatti at wubs.org (Steve & Patti Getzinger ) Date: Wed, 07 Mar 2001 22:06:38 -0500 Subject: [ic] XML I already have that. I need to send the order in XML to the server that houses the Access db. I might add I house the access db that the XML is piped to from outside. All that is in place an fully operational. Just need to coax Interchange into sending the order as XML to that server instead of an email address. Steve David Wilson wrote: > You might want to check out hopla.sourceforge.net. > > The hopla program is not quite ready for prime time yet, but > for translating from an XML listing to a database it might work for > you. > > Dave > > Steve & Patti Getzinger wrote... > > > > I have a client that is running an XML feed from an affiliate of > > there's. This was all done by someone else. They now would like their > > orders fed into their Access database via XML. Anyone ever played with > > this? In all they want the order emailed to the customer, a short > > message sent to their in house person (something like "You have mail" > > :) ) and the actual order sent to their Access db on a NT box that > > accepts XML feed. Thoughts? People who have implemented such a thing? > > > > TIA > > > > Steve > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > -- > David R. Wilson WB4LHO > World Wide Network Services > Nashville, Tennessee USA > david@wwns.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: mschick at brightredproductions.com (Matthew Schick ) Date: Wed, 7 Mar 2001 21:14:59 -0600 Subject: [ic] XML On Wednesday March 07 2001 21:06, you wrote: > I already have that. I need to send the order in XML to the server that > houses the Access db. I might add I house the access db that the XML is > piped to from outside. All that is in place an fully operational. Just need > to coax Interchange into sending the order as XML to that server instead of > an email address. > > Steve Have you checked out the XML_Generator UserTag? It looks like it would be capable of such.... Or at least a good starting point.... -- Matthew Schick Owner Bright Red Productions, LLC mschick@brightredproductions.com www.brightredproductions.com From: rapier at psc.edu (Chris Rapier ) Date: Thu, 08 Mar 2001 00:48:23 -0500 Subject: [ic] User Specified Price? Jonathan Clark wrote: > > > We would like to offer the customer an opportunity to make an > > extra donation, amount specified by them, along with any orders > > they place. > > > > Is this easily do-able, to have a product with a user-changeable > > on-the-fly price? > > > > If not, what other options might exist? > > > > What about a fixed price and a user-changeable qty? ;-) Thats what I did with the gift certificates on a site I did. They could buy them in $5 amounts so if they wanted a $100 gift certiicate they just entered 20. If you did it in $1 increments that would be pretty easy. Just like entering a dollar value. If you accept fractional quantities then its even easier. Just make sure you can enter negative qaunts. I don't know if this is even possible but its somethign to keep in mind. From: jon at digitalwizards.com.au (Jon van Noort ) Date: Thu, 8 Mar 2001 14:00:50 +0800 Subject: [ic] newbie question: how to build a hierarchical catalog? Hi Folks, I am currently evaluating Interchange as a possible replacement for the existing E-Commerce site we have built at: http://www.transquip.com.au The current implementation is based on an hierarchical catalog where products exist within the following structure; Top Level Category eg, SOCKET SETS Manufacturer eg, AOK zTECH Product Line eg, 3/4 inch SOCKET SETS Product eg, AZ19340 "AOK zTECH 21 PIECE 3/4 inch DRIVE SOCKET SET MET" I have searched the mailing list archive and the only reference I have seen is in relation to someone wanting to integrate a PHP module to do this. The reply indicated that such a thing is perfectly possible to do with Interchange's tags. Could someone please point me in the right direction to achieve this? Cheers. Jon Jon van Noort Production Manager Digital Wizards Tel: 61 (08) 9227 9599 Fax: 61 (08) 9227 9838 jon@digitalwizards.com.au http://www.digitalwizards.com.au From: webmaster at infothai.com (Webmaster of Infothai ) Date: Thu, 08 Mar 2001 13:39:24 +0700 Subject: [ic] Shipping formula error Hello All, I'm developing a custom shipping formula as a UserTag. The UserTag works if I call it from a page, but does not work if located in 'shipping.asc'. Here is the usertag I used in [thship weight='2.3' shipby=dhl shipzone="[data table=country column=dhl_zone key=US] ] Here is the cost calculation in its 'test' version in 'shipping.asc': f [thship weight=@@TOTAL@@ shipby=dhl shipzone="[data table=country column=dhl_zone key=US] ] (note that in the real version, the key would be: key="[value country]" ). There is no error message in ICDEBUG or the Interchange error.log, but the catalog error.log simply says (twice): "... Shipping mode 'dhl': bad formula, Returning 0." What can cause the formula to be rejected without any error in ICDEBUG? Thanks for all help. Best regards, Mike McCune webmaster@infothai.com http://www.infothai.com From: Murray at scotweb.ltd.uk (Murray Gibbins ) Date: Thu, 08 Mar 2001 12:31:18 +0000 Subject: [ic] BUG: missing counter file not reported System ------- Linux 2.2.14/2.2.18 perl 5.005 or 5.6 RH 6.x or 7.0 interchange-4.6.3-1.rh6.rpm or interchange-4.6.3-1.rh7.rpm Synopsis -------- If you have a "Route counter" directive in a catalog.cfg ie. Route counter /tmp/count but /tmp/count does not exist, interchange does not report this as a problem even (even with DEBUGing on) though it changes the way the Order numbering works on Order.pm ( instead of a specific order number for that cart's route it will use the global counter number). It will also does not create this file if it finds it missing. Fix ---- No fix get, working on it. :-) Yours Murray -- ____ \__/ Murray Gibbins murray@scotweb.ltd.uk / \ Programmer _ \__/ _ ================================================ \\ || // Scotweb Limited, info@scotweb.ltd.uk \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 From: marc.braun at braunconsulting.de (Marc Braun ) Date: Thu, 8 Mar 2001 13:38:28 +0100 Subject: [ic] Install problem on SCO Unixware 7.1.1 Hi Boyd! Thanks for your help! We found out that we used the wrong Perl-Version. Now the configure-script works but the installation still crashes because test.pl gets the following errors: server/unixmode.......ok 1 server/startup........ok 2 link/unixmode.........ok 3 server/inetmode.......ok 4 link/inetmode.........not ok 5 server/control........not ok 6 6 tests run -- 2/6 failed. Any ideas what΄s wrong? Marc On Wed, 7 Mar 2001, Marc Braun wrote: > I try to install Interchange 4-6.3 on an SCO Unixware 7.1.1 box. > > After running the configure script I get the following error: > > syntax error at Makefile.PL line 532, near ") for " > BEGIN not safe after errors--compilation aborted at Makefile.PL line > 775. > UX:make: ERROR: no arguments or description file (bu7). > > UX:make: ERROR: don't know how to make test (bu42). > > Can anybody tell what΄s wrong? Marc, I found that you need to do the following to get it to work. 1. Get and install GNU make 2. Make sure you have all the perl libraries installed. 3. If on the no GUI logins, set LINES=25;COLUMNS=80;export LINES COLUMNS 4. If in the GUI make sure LINES and COLUMNS are set to your window. 5. Always start and stop IC from the IC user. Good Luck, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 3748 Valley Forge Road, Magna Utah 84044 Office 801-250-0795 FAX 801-250-7975 From: tjohnson at odin.ac.hmc.edu (Thomas J. Johnson ) Date: Thu, 8 Mar 2001 05:01:04 -0800 (PST) Subject: [ic] ICTAGS Tag Reference (Where is it?) Can anyone tell me where the tag reference that the IC Configuration document mentions is? It said that the filename was ICTAGS.POD, but I can't find that in the tar.gz file, or on the web. Thanks Tom From: cfm at maine.com (cfm at maine.com ) Date: Thu, 8 Mar 2001 08:05:51 -0500 Subject: [ic] User Specified Price? On Thu, Mar 08, 2001 at 12:48:23AM -0500, Chris Rapier wrote: > > > Jonathan Clark wrote: > > > > > We would like to offer the customer an opportunity to make an > > > extra donation, amount specified by them, along with any orders > > > they place. > > > > > > Is this easily do-able, to have a product with a user-changeable > > > on-the-fly price? > > > > > > If not, what other options might exist? > > > > > > > What about a fixed price and a user-changeable qty? ;-) > > Thats what I did with the gift certificates on a site I did. They could > buy them in $5 amounts so if they wanted a $100 gift certiicate they > just entered 20. If you did it in $1 increments that would be pretty > easy. Just like entering a dollar value. If you accept fractional > quantities then its even easier. Just make sure you can enter negative > qaunts. I don't know if this is even possible but its somethign to keep > in mind. It *is* possible to use negative prices at least through minivend 4.03. That is quite useful for certain things like "Free Saturday delivery Father's Day Weekend Only" or $10 off if you mention etc.... We don't check for negative amounts in certificates; generally we only allow them for certain fixed increments and then name your price > $x. Seems to me like a whole Pandora's boxe when you start letting customers name their prices and build custom items; I'm not even sure how one could know what is or is not valid. What about returns? cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: cfm at maine.com (cfm at maine.com ) Date: Thu, 8 Mar 2001 08:16:38 -0500 Subject: [ic] BUG: missing counter file not reported On Thu, Mar 08, 2001 at 12:31:18PM +0000, Murray Gibbins wrote: > > Synopsis > -------- > > If you have a "Route counter" directive in a catalog.cfg ie. > > Route counter /tmp/count > > but /tmp/count does not exist, interchange does not report this as a problem > even (even with DEBUGing on) though it changes the way the Order numbering works > on Order.pm ( instead of a specific order number for that cart's route it will > use the global counter number). It will also does not create this file if it > finds it missing. > I hope that choice of location is just a "for example". /tmp/count is a **really** bad place to put a counter on a linux system. :-) FWIW, we reset our filesystem counters daily simply by erasing them. I hope your fix only issues a warning and not an error! cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: michelle at wilant.com (Michelle Wilant (home) ) Date: Thu, 8 Mar 2001 09:09:05 -0500 Subject: [ic] Unknow directive 'include' Goal: Get PayflowPro to work with interchange. When I restart, I get: Unknown directive 'include' In line 25 of the configuration file 'interchange.cfg': include globalsub/signio Help - thanks From: stevep at sga.org (Steve Palm ) Date: Thu, 8 Mar 2001 08:39:37 -0600 Subject: [ic] User Specified Price? > > > > We would like to offer the customer an opportunity to make an >> > > extra donation, amount specified by them, along with any orders >> > > they place. >> > > >> > > Is this easily do-able, to have a product with a user-changeable >> > > on-the-fly price? >> > > >> > > If not, what other options might exist? > > > > >Seems to me like a whole Pandora's boxe when you start letting >customers name their prices and build custom items; I'm not even sure >how one could know what is or is not valid. What about returns? Returns? On a donation? :-) The whole point of this is to allow people who are getting books from our non-profit organization to easily make an extra contribution along with their order. There is no product to ship in this case, nor is there any concern over returns. I still haven't been able to think of a way to pull this off.... For a while I was looking at [fly-list], but that only allows you to reference (from what I read) an existing catalog item, as it exists in the products database. I think I need a [fly-item] where I can specify an item at will, basically giving it a SKU, description, weight, price, etc...., and putting it in their cart. -- Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * http://www.sga.org From: rsmith at crepsunited.com (Robert Smith ) Date: Thu, 8 Mar 2001 09:56:50 -0500 Subject: [ic] User Specified Price? Why not set up a "Donation" as just like a "Gift Certificate". IIRC, Gift Certificates cost $1.00. The user can choose to buy 15 of them in order to get a $15 gift certificate. So just set up a "Donation" product that works the same way, except it doesn't give to customer anything. Hope this helps, Robert Smith ----- Original Message ----- From: "Steve Palm" <stevep@sga.org> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 08, 2001 9:39 AM Subject: Re: [ic] User Specified Price? > > > > > We would like to offer the customer an opportunity to make an > >> > > extra donation, amount specified by them, along with any orders > >> > > they place. > >> > > > >> > > Is this easily do-able, to have a product with a user-changeable > >> > > on-the-fly price? > >> > > > >> > > If not, what other options might exist? > > > > > > >Seems to me like a whole Pandora's boxe when you start letting > >customers name their prices and build custom items; I'm not even sure > >how one could know what is or is not valid. What about returns? > > Returns? On a donation? :-) > > The whole point of this is to allow people who are getting books > from our non-profit organization to easily make an extra contribution > along with their order. There is no product to ship in this case, > nor is there any concern over returns. > > I still haven't been able to think of a way to pull this off.... > > For a while I was looking at [fly-list], but that only allows you > to reference (from what I read) an existing catalog item, as it > exists in the products database. > > I think I need a [fly-item] where I can specify an item at will, > basically giving it a SKU, description, weight, price, etc...., > and putting it in their cart. > > -- > Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * > http://www.sga.org > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > From: Murray at scotweb.ltd.uk (Murray Gibbins ) Date: Thu, 08 Mar 2001 14:54:43 +0000 Subject: [ic] BUG: missing counter file not reported cfm@maine.com wrote: > FWIW, we reset our filesystem counters daily simply by erasing them. I > hope your fix only issues a warning and not an error! I'll have to get back to you on that, I've just noted some real weirdness in Order.pm thatI've asked Mike about, coz even _I_ can work out whats going on :-). Also It seems that a Route counter gets incremented even if you ask it not to in the catalog.cfg by adding "Route whatever increment 0" to the end!!!! However my gut tells me that your set up won't be affected, it the call goes through to counter_number() and the files does not exists and your not doing some really complicated mall stuff then you should not be affected. It only becomes a problem it you are running n shops from n different domains with n different routes but you want all shops to be able of handleing all the other shops products. I.e. purchase products from shops on different domains but chechout in just one of them and have all your products dealt with correctly. Yours Murray -- ____ \__/ Murray Gibbins murray@scotweb.ltd.uk / \ Programmer _ \__/ _ ================================================ \\ || // Scotweb Limited, info@scotweb.ltd.uk \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 From: gerberb at zenez.com (Boyd Lynn Gerber ) Date: Thu, 8 Mar 2001 08:10:25 -0700 (MST) Subject: [ic] Install problem on SCO Unixware 7.1.1 I do not claim to be an expert. I am only sharing how I have it all working. I may be wrong, but I do have it working with many different user and multiple catalogs. This is only my opinion. I am now letting my ignorace out for all to see. I just know I have it working. I am using both perl 5.005_03, 5.005_63, and perl 5.6.0. On Thu, 8 Mar 2001, Marc Braun wrote: > Thanks for your help! > We found out that we used the wrong Perl-Version. > Now the configure-script works but the installation still crashes > because test.pl gets the following errors: > > server/unixmode.......ok 1 > server/startup........ok 2 > link/unixmode.........ok 3 > server/inetmode.......ok 4 > link/inetmode.........not ok 5 > server/control........not ok 6 > 6 tests run -- 2/6 failed. > Any ideas what΄s wrong? I never could get those tests to work. I just did a make install and used the socket. I did find that if I use many different users with the same ic server I had to make the socket permissions 777 and setuid and setgid I run my apache server as nouser and nogroup with suexec. I have each catalog use vlink. It is copied to the cgi-bin directory as catalog name. It is owned by the user and by the interch group I setup. After I start IC all new files created by IC in the users catalog directory are owned by the IC users. If you want them owned by the catalog user I have found they have to have group write access -rw-rw-r--. This is only if you want the owner of the files to be the catalog owner. I do have the groups setgid. I hope this helps. The three demo catalogs all work. My etc/socket is -rwsrwsrwx in the interchange user directory. I set the mode after I restart interchange. Good Luck, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 3748 Valley Forge Road, Magna Utah 84044 Office 801-250-0795 FAX 801-250-7975 From: edl at newmediaems.com (Ed LaFrance ) Date: Thu, 08 Mar 2001 08:46:23 -0800 Subject: [ic] AllowGlobal At 09:27 PM 03/07/2001 -0500, you wrote: >Can someone give me an example of using AllowGlobal? All I can find are >little tidbits of information on it. Apparently it should be placed in >the interchange.cfg file and I found this: >7.4. AllowGlobal *global* >Specifies catalog identifiers that may define subroutines and UserTag >entries that can operate with the full >permissions of the server. DON'T USE THIS UNLESS THE CATALOG USER IS >TRUSTED IMPLICITLY. Default is blank. >AllowGlobal simple > >I have tried adding this line >AllowGlobal simple >to my interchange.cfg > >but when I try to execute embedded perl code that causes this error: >failed safe check: require trapped by operation mask at (eval 106) line 2, ><CON >FIG> line 282. > >the error continues to occur even with that line added to my >interchange.cfg file. > >The reason I want to know more about it is because I think it will solve >the problems I seem to be having with executing Perl modules (specifically >JVM) in my embedded Perl code. It is extremely frustrating because I am >able to use this JVM module in regular Perl code, but when I try to >execute it in the embedded Perl code, it fails. > >Also the most basic JVM code I could produce that works is: >-------------------------------------------- >use Jvm; >new Jvm(); >ts_obj(); > >print "\nComplete!\n"; >sub ts_obj { > print "Testing Object ...\n"; > my $out = Jvm::getProperty("java.lang.System", "out", >"Ljava/io/PrintStream; >"); > new Jvm(); > $out->println("(Ljava/lang/String;)V", "Hello world!"); >} >-------------------------------------------- > >Can anyone suggest how I should write that in embedded perl (if I am ever >able to access that module)? I would think I should just put this code >into the interchange.cfg file (make it a global sub) and call that sub >from my embedded perl code. Is that correct? Check the docs on the SafeUntrap directive for interchange.cfg; that may be coming into play here. Also, you may need to do this type of thing as a catalog-level (or server-level} Usertag, or maybe a GlobalSub (which, according to the docs, is the least restricted way). Best, Ed L. From: edl at newmediaems.com (Ed LaFrance ) Date: Thu, 08 Mar 2001 09:00:10 -0800 Subject: [ic] Unknow directive 'include' At 09:09 AM 03/08/2001 -0500, you wrote: >Goal: Get PayflowPro to work with interchange. > >When I restart, I get: > >Unknown directive 'include' >In line 25 of the configuration file 'interchange.cfg': >include globalsub/signio > Include statements in *.cfg files need to start with a '#': #include globalsub/signio ..it looks like it is commented out, but it isn't - special syntax for this parser directive. - Ed L. From: g.gaskill at aboron.com (Greg Gaskill ) Date: Thu, 8 Mar 2001 12:11:37 -0500 Subject: [ic] User Specified Price? ----- Original Message ----- From: "Robert Smith" <rsmith@crepsunited.com> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 08, 2001 9:56 AM Subject: Re: [ic] User Specified Price? > Why not set up a "Donation" as just like a "Gift Certificate". IIRC, > Gift Certificates cost $1.00. The user can choose to buy 15 of them in order > to get a $15 gift certificate. So just set up a "Donation" product that > works the same way, except it doesn't give to customer anything. > Or just relabel the existing Gift Certificate so it says Donation instead. Not only aren't you re-inventing the wheel, your just repainting one you had lying around. Greg From: jon at akopia.com (Jon Jensen ) Date: Thu, 8 Mar 2001 11:22:18 -0600 (CST) Subject: [ic] ICTAGS Tag Reference (Where is it?) On Thu, 8 Mar 2001, Thomas J. Johnson wrote: > Can anyone tell me where the tag reference that the IC Configuration document > mentions is? It said that the filename was ICTAGS.POD, but I can't find that > in the tar.gz file, or on the web. Unfortunately, that documentation was speaking of things to come, not things as they are. That document is still called mvtags, and in IC 4.6.x it is generated when you install Interchange. It appears in your untarred Interchange directory as pod/mvtags.pod and in your installed Interchange software directory as a manpage in doc/mvtags.8. Interchange 4.7 and higher will have ictags as one of the standard docs in the usual places all the other docs are. Jon From: stevep at sga.org (Steve Palm ) Date: Thu, 8 Mar 2001 14:26:45 -0600 Subject: [ic] User Specified Price? >Or just relabel the existing Gift Certificate so it says Donation instead. There is no existing gift certificate in the "simple" store from which I started the project. ;-) That is why I didn't just relabel it. I did not know it existed. Now, seeing how they do it in the construct demo, it's a tricky bit that simply makes the customer THINK they are entering a price, but in actuality they are putting in the quantity field. This makes it conceptually better for the donor, but doesn't require any changes the the paradigm of how the bookstore works. Thanks. -- Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * http://www.sga.org From: kris at sledge-hammer.net (Kris Dahl ) Date: Thu, 8 Mar 2001 13:55:24 -0800 Subject: [ic] LDAP integration Curious to hear if anyone has sucessfully (or not) integrated Interchange with an exisiting LDAP implementation? I'd like to be able to tie into our global directory to get the access (administration) and userdb (customers) tables. Cheers, -k From: tech at khouse.org (Russ Mann ) Date: Thu, 8 Mar 2001 16:50:41 -0700 Subject: [ic] IC 4.6.3 - Hiding Zero Shipping http://developer.akopia.com/archive/interchange-users/1999/msg02832.html I have implemented these instructions under MV 3.14, however it fails under IC 4.6.3, because it appears [shipping [loop-code]] Doesn't mean anything in IC. Does anyone know how to make this work in IC, and/or what the IC equivilant of [shipping [loop-code]] is? Thanks, Russ From: rhertz at gyb.baits.com (Ryan Hertz ) Date: Thu, 08 Mar 2001 16:58:57 -0700 Subject: [ic] newbie question: how to build a hierarchical catalog? At 11:00 PM 3/7/01 , you wrote: >Hi Folks, > >I am currently evaluating Interchange as a possible replacement for the >existing E-Commerce site we have built at: http://www.transquip.com.au > >The current implementation is based on an hierarchical catalog where >products exist within the following structure; > >Top Level Category eg, SOCKET SETS > Manufacturer eg, AOK zTECH > Product Line eg, 3/4 inch SOCKET SETS > Product eg, AZ19340 "AOK zTECH 21 PIECE 3/4 inch DRIVE >SOCKET SET MET" You're heading in the right direction since you already visualize the structure. I would add new fields to your products database so that you end up with each item having this structure: code category manu line AZ19340 socketsets AOKzTECH 34inch Then, scanning sf=category/se=socketsets/sf=manu/se=AOKzTECH/sf=line/se=34inch would return all the "AOK zTECH 21 PIECE 3/4 inch DRIVESOCKET SET MET" Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: alex at integricity.com (Alex Lam ) Date: Fri, 9 Mar 2001 09:20:29 +0800 Subject: [ic] Import / Export in Excel carriage returns Hi folks... Have you guys encountered problems after importing / exporting data in Excel where the end of line characters are taken into the SQL database and muck up your values ? For instance, I entered some products thru the web interface into category abc and when I entered a whole bunch more in Excel, they appeared as abc^M or abc\r So, when the category in the left nav bar is clicked I'd get -------------- | abc | ------------------------------ | products | ------------------------------ -------------- | abc | ------------------------------ | products | ------------------------------ It's because the search sees abc and abc\r as two diff values. I know I can do a complex search, but that is not getting to the root of the problem. Any gurus with advice? Thanks. Alex Lam From: support at integricity.com (Integricity Support ) Date: Fri, 9 Mar 2001 09:25:30 +0800 Subject: [ic] A strange, strange problem Yelllooo to all of you... I'm encountering this strange "phenomenon" I do a complex search, and all my category listing on the sidebar just disappear. For all other categories on the same results page, it's fine. Even all the graphics on the sidebar appear, EXCEPT the area and category names. Anyone ever come across this? My search is : fi=products st=db sp=resultsnolink co=1 sf=category se=worship op=rm nu=0 bs=1 ml=50 Thanks, mates... From: rhertz at gyb.baits.com (Ryan Hertz ) Date: Thu, 08 Mar 2001 19:20:39 -0700 Subject: [ic] A strange, strange problem At 06:25 PM 3/8/01 , you wrote: >Yelllooo to all of you... > >I'm encountering this strange "phenomenon" >I do a complex search, and all my category listing on the sidebar just >disappear. For all other categories on the same results page, it's >fine. Even all the graphics on the sidebar appear, EXCEPT the area and >category names. Anyone ever come across this? Take a look at your generated HTML page's source (view source) -- I wonder if it could be an HTML/Browser problem. Any way, it will perhaps give an insight into what is failing, rather than what APPEARS to be wrong. ;-) Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: Murray at scotweb.ltd.uk (Murray Gibbins ) Date: Fri, 09 Mar 2001 09:11:23 +0000 Subject: [ic] BUG: missing counter file not reported cfm@maine.com wrote: > > I'll have to get back to you on that, I've just noted some real weirdness in > > Order.pm thatI've asked Mike about, coz even _I_ can work out whats going on > > :-). Also It seems that a Route counter gets incremented even if you ask it not > > to in the catalog.cfg by adding "Route whatever increment 0" to the end!!!! > > > > However my gut tells me that your set up won't be affected, it the call goes > > through to counter_number() and the files does not exists and your not doing > > some really complicated mall stuff then you should not be affected. It only > > becomes a problem it you are running n shops from n different domains with n > > different routes but you want all shops to be able of handleing all the other > > shops products. I.e. purchase products from shops on different domains but > > chechout in just one of them and have all your products dealt with correctly. > > That's what we do, only we route the orders outside of minivend. :-) H'm the offending routine is Order::route_order, I think I've solved it by changing one block and removing an if/then elsewhere in the routine. Check out my patch .... http://www.morpheux.org/interchange/patches/interchagne.4.6.3-order.pm.diff.gz and http://www.morpheux.org/interchange/patches/interchagne.4.6.3-order.pm.diff.README I've tested it on two mall setups and the order numbers for each route are now independant of each other inside a cataloge. It is now important to get the counter and increment arguments for each route correct in the catalog.cfg file. Counters will only be incremented for orders containing products that have that route attached to them. I'm still trying to find out why the $main->{counter} is used. And the addidtion of a + unary operator has me foxed :-) Yours Murray -- ____ \__/ Murray Gibbins murray@scotweb.ltd.uk / \ Programmer _ \__/ _ ================================================ \\ || // Scotweb Limited, info@scotweb.ltd.uk \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 From: db at cyclonehq.dnsalias.net (Dan B ) Date: Fri, 09 Mar 2001 02:33:58 -0800 Subject: [ic] Performance testing: timer variable? I am doing some performance testing/debugging, and would love to hear comments from others about this. A) Testing the load time (seconds) for an entire page Is 'time wget $URL' a good indicator? B) Testing a specific block of code? What kind of [perl] would you put in front and in back to take a before and after time sample, subtract it, and give the "x.xxxx" seconds passed" result? Or another way all together? C) I'm also wondering how much of a difference there is between [query] and direct SQL querying (i.e. how much does the overhead of perl, DBI, IC amount to). 2:30am, it's getting late. Must... launch... website... soon... Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: lmorley at cslimits.net (Larry Morley ) Date: Fri, 09 Mar 2001 05:38:25 -0500 Subject: [ic] Request for more info and a partial solution: custom payments, GlobalSub The other day I posted a request r.e. GlobalSub / custom payment processing etc. I need to communicate with several systems via TCP/IP and other systems to process transactions from Interchange. Thanks all for the info I received. First a few questions - 1) does anyone know of any place I can find some comprehensive info on how Interchange interacts with validation and processing systems? 2) has anyone written GlobalSub type modules in C (presumably with a Perl wrapper) that do anything they would be willing to share - even an example? 3) any info on life with Interchange (other than the supplied docs which read kind of like stereo instructions) would be really, really appreciated. Now for what I found - I made the following changes to the files indicated below, and wrote the GlobalSub contained herein (with bits and pieces I gleaned from code I received, found, etc.) - works like a charm. It communicates with a TCP server I wrote that accepts connections on port 1234 - doesn't do anything at this point but gather and dump info passed to it by the Perl routine. Please bear in mind that I'm using the RPM install; your files may not be in the exact same locations as mine ... Assuming the name of the catalog-in-question is "mycatalog": In /usr/lib/interchange/eg/globalsub/testsub: GlobalSub <<EOS use strict; use Vend::Util; sub test { ::logDebug("Entering test GlobalSub..."); my %ic_result; $ic_result{MStatus}="success"; $ic_result{'order-id'}=1; # must be !null ::logDebug("Exiting test GlobalSub."); return (%ic_result); } EOS To communicate with a remote, I added use Socket; at the head of the file; then: # --------------- # Spill our guts via TCP ... my @S; socket(S,PF_INET,SOCK_STREAM,getprotobyname('tcp')); my $addr = sockaddr_in(1234,inet_aton('some.remote.host')); connect(S,$addr); print S "<SOT>\n", "CCNUM ",$actual{mv_credit_card_number},"\n", "FNAME ",$actual{b_fname},"\n", "LNAME ",$actual{b_lname},"\n", "ADDR ",$actual{address},"\n", "CITY ",$actual{b_city},"\n", "STATE ",$actual{b_state},"\n", "ZIPPC ",$actual{zip},"\n", "PMTMD ",$actual{mv_payment_mode},"\n", "AMT ",$amount,"\n", "EXPDT ",$exp,"\n", "ORDNM ",$actual{mv_order_number},"\n", "PSKEY ",$secret,"\n", "USRID ",$user,"\n", "<EOT>\n\007"; close(S); The "\007" char is the end-of-message indicator. Like I said earlier, it's crude, but it seems to show that what I need to do can be done ... In /var/lib/interchange/mycatalog/etc/profiles.order (the ... and line are here so it should be easy to figure out where in the file I added this) ... &set = mv_payment Incomplete # CHANGED # call /usr/lib/interchange/eg/globalsub/testsub # function == test &charge=custom test # /CHANGED [if value fax_order == 1] &set = mv_payment Check or Money Order (will call) ... In /etc/interchange.cfg: #Uncomment to log to debug file /tmp/icdebug # CHANGE make it so... Variable DEBUG 1 # /CHANGE and, at the end of the file (after everything else has been set, included, etc.): AllowGlobal mycatalog #include /usr/lib/interchange/eg/globalsub/testsub From: webmaster at infothai.com (Webmaster of Infothai ) Date: Fri, 09 Mar 2001 18:43:17 +0700 Subject: [ic] PriceDivide on shipping Hello, I've added the global option to adjust the shipping cost by PriceDivide, but it is not working. The following line was added to shipping.asc: global Option n/a 0 0 g PriceDivide The catalog.cfg has these lines to set up locale information: Locale en_US Locale en_US LC_CTYPE C Locale en_US PriceDivide 42.0 LocaleDatabase locale So far, the global option has had no effect - all shipping prices continue to come in their original form. Is there supposed to be a tab between the 'g' and the 'PriceDivide'? The rest of my shipping file is in the indented/keyword format - is it OK to mix the standard format for the 'global' and the indented format for the remaining information? System: IC 4.6.3, FreeBSD 4.2, Perl 5.005_03. Thanks for all help. Best regards, Mike webmaster@infothai.com http://www.infothai.com From: avalon.serv at worldnet.att.net (Joel Wylan ) Date: Fri, 9 Mar 2001 07:53:21 -0500 Subject: [ic] authorize.net Hi from a newbie, I've almost completed my catalog setup, and now can start moving towards credit cards. can someone point me to the first steps toward connecting interchange with authorize.net? thanks Joel From: cfm at maine.com (cfm at maine.com ) Date: Fri, 9 Mar 2001 08:17:05 -0500 Subject: [ic] Performance testing: timer variable? On Fri, Mar 09, 2001 at 02:33:58AM -0800, Dan B wrote: > I am doing some performance testing/debugging, and would love to hear > comments from others about this. > > A) Testing the load time (seconds) for an entire page > Is 'time wget $URL' a good indicator? > > B) Testing a specific block of code? > What kind of [perl] would you put in front and in back to take a > before and after time sample, subtract it, and give the "x.xxxx" seconds > passed" result? Or another way all together? > > C) I'm also wondering how much of a difference there is between [query] and > direct SQL querying (i.e. how much does the overhead of perl, DBI, IC > amount to). It's not clear what you want to know or what you define as "good performance" in your situation. You need to define that first. > > 2:30am, it's getting late. Must... launch... website... soon... > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: Scott.Andreas at learningco.com (Andreas, Scott ) Date: Fri, 9 Mar 2001 09:09:52 -0800 Subject: [ic] Import / Export in Excel carriage returns First question is what version of Ic are you using and second did you declare in your products database that you are using Excel. You should have: Database products EXCEL 1 listed in your catalog.cfg file. -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Alex Lam Sent: Thursday, March 08, 2001 5:20 PM To: interchange-users@lists.akopia.com Subject: [ic] Import / Export in Excel carriage returns Hi folks... Have you guys encountered problems after importing / exporting data in Excel where the end of line characters are taken into the SQL database and muck up your values ? For instance, I entered some products thru the web interface into category abc and when I entered a whole bunch more in Excel, they appeared as abc^M or abc\r So, when the category in the left nav bar is clicked I'd get -------------- | abc | ------------------------------ | products | ------------------------------ -------------- | abc | ------------------------------ | products | ------------------------------ It's because the search sees abc and abc\r as two diff values. I know I can do a complex search, but that is not getting to the root of the problem. Any gurus with advice? Thanks. Alex Lam _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: mikeofholmes at hotmail.com (Mike Holmes ) Date: Fri, 09 Mar 2001 09:17:19 -0800 Subject: [ic] mv_data_function insert not working Hello List, I'm trying to insert a new line into the products table, which is in a mysql database. I am able to update but haven't had any luck inserting. This is the relevant code: <FORM METHOD=POST ACTION="[process]"> <INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="products"> <INPUT TYPE=HIDDEN NAME="mv_data_key" VALUE="sku"> <INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="insert"> <INPUT TYPE=HIDDEN NAME="mv_nextpage" VALUE="admin/add"> <INPUT TYPE=HIDDEN NAME="mv_data_fields" VALUE="sku,category,name,description,dimensions,material,mounting,color,price,wholesale,weight"> <INPUT TYPE=TEXT NAME="sku" SIZE=40 VALUE="[value sku]"> etc.. <INPUT TYPE=hidden NAME="mv_todo" VALUE="set"> <INPUT TYPE=submit VALUE="Update table"> <!-- [export products] --> </FORM> Any tips? Thanks Mike Holmes _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: support at integricity.com (Alex Lam ) Date: Fri, 9 Mar 2001 23:00:46 +0800 Subject: [ic] Save Template in Page Under the content editor, what is the difference between checking the "Save Content In Page" checkbox and not checking it? Is there a difference? Alex From: stevep at sga.org (Steve Palm ) Date: Fri, 9 Mar 2001 13:40:24 -0600 Subject: [ic] Tracking Numbers? Again, I'm using the "simple" catalog as a starting point, so I apologize well in advance if the answer is obvious or implemented in construct. Has anyone done the work to implement the entry/storage/retrieval of tracking numbers for shipped orders/line-items? Thanks for any heads-up pointers. -- Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * http://www.sga.org From: mat at booksellersolutions.com (Mat Jones - booksellersolutions.com ) Date: Fri, 09 Mar 2001 11:48:48 -0800 Subject: [ic] regular expression in drop down menus Is it possible to include regular expressions in search_specs passed from a drop-downlist?? this didnt work, but gives you an understanding of what im trying to do: <select name="se"> <option value="/14[0-9][0-9]/"> <option value="/15[0-9][0-9]/"> </select> thanks mat booksellersolutions.com Read what the SF Examiner says about booksellersolutions.com: http://www.sfexaminer.com/business/default.jsp?story=b.web.0121 2141 Mission St #301 San Francisco, CA 94110 (415) 554-0568 booksellersolutions.com Read what the SF Examiner says about booksellersolutions.com: http://www.sfexaminer.com/business/default.jsp?story=b.web.0121 2141 Mission St #301 San Francisco, CA 94110 (415) 554-0568 From: stevep at sga.org (Steve Palm ) Date: Fri, 9 Mar 2001 14:54:27 -0600 Subject: [ic] Permissions question I am trying to set up a user who only has permission to view pending orders and change their status. ---------------------------------------------------------------------------- Order Manager: View list, View single, Edit, Archive, Un-Archive (Not Delete, InputNew) Orderline and Transactions permissions: View, Edit, Delete, Export (Not Hide, Create, Import) ---------------------------------------------------------------------------- When they try to change the global order status, it doesn't update, and when they log-out they get this error: Failure: Unauthorized for key archived Any ideas? -- Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * http://www.sga.org From: Scott.Andreas at learningco.com (Andreas, Scott ) Date: Fri, 9 Mar 2001 13:15:32 -0800 Subject: [ic] discount across categories Helllooo group I'm trying to set discounts across an entire product category. The documentation lists discounts from "Entire Order", "Individual Item", or "All Items" but doesn't state any way of discounting across an entire category. Any ideas? J. Scott Andreas :) IS/Programmer/WebDevelopement e-mail: scotta@homer.learnserv.com phone: 1-800-877-9378 ext. 146 fax: (541) 744-2056 --- __o --- _-\<,_ --- (_)/ (_) From: edl at newmediaems.com (Ed LaFrance ) Date: Fri, 09 Mar 2001 13:34:42 -0800 Subject: [ic] Tracking Numbers? At 01:40 PM 03/09/2001 -0600, you wrote: >Again, I'm using the "simple" catalog as a starting point, so I apologize >well in advance if the answer is obvious or implemented in construct. > > >Has anyone done the work to implement the entry/storage/retrieval of >tracking numbers for shipped orders/line-items? > >Thanks for any heads-up pointers. > >-- This is a matter of adding tracking number fields to the transactions and orderlines databases, then overriding the standard Orders page in the Admin area with a customized one which includes input elements for those fields and related settings in the form. On the latter point, Mike H. wrote a tricks and tips post to the list which explains overrides in detail, search the archives for more info. - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: cafedvd at yahoo.com (sda sda ) Date: Fri, 9 Mar 2001 14:11:19 -0800 (PST) Subject: [ic] very slow (20 seconds) form search (MV.4.6.3) When I used the following form search, <FORM ACTION="[area search]"> <INPUT TYPE=hidden NAME=mv_searchtype VALUE=sql> <select name="mv_search_field"> <option value="title" selected> Titles <option value="actor">Cast</select> <INPUT MAXLENGTH=30 NAME=mv_searchspec type=text size=10> <INPUT TYPE=hidden NAME=mv_column_op VALUE=rm> the response time is almost 20 seconds using mysql. When I checked the log file in mysql, I noticed that it had 'SELECT * FROM products' line that is responsible for the delay. Why is minivend generating this sql command? Is this a bug? Or, is there another way to search using form inputs? I have 36000 items in products. Help! Thanks in advance. Steve __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From: markj at redhat.com (Mark Johnson ) Date: Fri, 09 Mar 2001 17:25:35 -0500 Subject: [ic] IPC::Open2 inside GlobalSub Mike Heins wrote: > > > STDOUT and STDIN are not what you think in Interchange -- it is a daemon. > It may or may not be possible to do this -- you probably would have to > close and reopen them. Even that doesn't seem to work. I ran into this for a payment gateway using open2, and you are right that it chokes without being attached to a terminal. Even closing and opening STDIN/OUT, and localizing, doesn't help. However, you *can* work around this in a kludgy way (thanks to Sonny Cook for the idea!). Pick some way to generate a unique filename (session ID would work nicely for an IC purpose), and --- use FileHandle; my $rec_data; my $tmp_file = "$Config->{ScratchDir}/$Session->{id}"; open (Writer,"| $encrypt_command > $tmp_file") or die "Can't open pipe to encrypt prog: $!\n"; Writer->autoflush; print Writer $data; close(Writer); open (Reader,"<$tmp_file") or die "Can't open $tmp_file: $!\n"; { local($/); $rec_data = <Reader>; } unlink ($tmp_file); return $rec_data; --- Of course, replace your error handling any way you see fit, perhaps in an eval {} block as you have it currently. > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > Light travels faster than sound. This is why some people appear bright > until you hear them speak. -- unknown > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: mikeh at minivend.com (Mike Heins ) Date: Fri, 9 Mar 2001 17:26:07 -0500 Subject: [ic] regular expression in drop down menus Quoting Mat Jones - booksellersolutions.com (mat@booksellersolutions.com): > Is it possible to include regular expressions in search_specs passed from a > drop-downlist?? > this didnt work, but gives you an understanding of what im trying to do: > <select name="se"> > <option value="/14[0-9][0-9]/"> > <option value="/15[0-9][0-9]/"> > </select> Yes, if you set the mv_all_chars variable to 0. It is 1 by default, meaning all search specs undergo a quotemeta() operation (in essence). This is documented, I think. Or at least it used to be. And it definitely will be again soon. 8-) -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Light travels faster than sound. This is why some people appear bright until you hear them speak. -- unknown From: mikeh at minivend.com (Mike Heins ) Date: Fri, 9 Mar 2001 17:27:29 -0500 Subject: [ic] Tracking Numbers? Quoting Ed LaFrance (edl@newmediaems.com): > At 01:40 PM 03/09/2001 -0600, you wrote: > > >Again, I'm using the "simple" catalog as a starting point, so I apologize > >well in advance if the answer is obvious or implemented in construct. > > > > > >Has anyone done the work to implement the entry/storage/retrieval of > >tracking numbers for shipped orders/line-items? > > > >Thanks for any heads-up pointers. > > > >-- > > This is a matter of adding tracking number fields to the transactions and > orderlines databases, then overriding the standard Orders page in the Admin > area with a customized one which includes input elements for those fields > and related settings in the form. On the latter point, Mike H. wrote a > tricks and tips post to the list which explains overrides in detail, search > the archives for more info. > It may not be intuitive, but if you add a valid UPS tracking number in the status field of transactions and orderline, it will show up as link to UPS. It is on our list of things to make better -- you might want to mix and match FedEx and UPS, for example, and the current demo doesn't allow that. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Friends don't let friends use Outlook. -- Bob Blaylock From: mikeh at minivend.com (Mike Heins ) Date: Fri, 9 Mar 2001 17:32:34 -0500 Subject: [ic] very slow (20 seconds) form search (MV.4.6.3) Quoting sda sda (cafedvd@yahoo.com): > When I used the following form search, > > <FORM ACTION="[area search]"> > <INPUT TYPE=hidden NAME=mv_searchtype VALUE=sql> > <select name="mv_search_field"> > <option value="title" selected> Titles > <option value="actor">Cast</select> > <INPUT MAXLENGTH=30 NAME=mv_searchspec type=text > size=10> > <INPUT TYPE=hidden NAME=mv_column_op VALUE=rm> > > > > the response time is almost 20 seconds using mysql. > When I checked the log file in mysql, > I noticed that it had 'SELECT * FROM products' > line that is responsible for the delay. > Why is minivend generating this sql command? > Is this a bug? Or, is there another way to > search using form inputs? > > I have 36000 items in products. How is it supposed to do a full-text search without looking at every record, pray tell? This is a case where if you want to do this type of search on a database, you should have a coordinated search qualifying it with an mv_column_op of eq to limit the initial select. (Your current mv_column_op is right now an mv_noop, as mv_column_op only applies in coordinated search mode. Another thing you can do is pass the search spec to your own custom query on the results page. This should be discussed in a posting on the mail list -- perhaps we can gen up an example in the new docs. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Friends don't let friends use Outlook. -- Bob Blaylock From: markj at redhat.com (Mark Johnson ) Date: Fri, 09 Mar 2001 17:46:10 -0500 Subject: [ic] mv_data_function insert not working Need 2 things. Must open the table for writing and set mv_data_enable. Best done in an mv_click. <input type=hidden name=mv_click value=set_db> . . [set set_db] [set mv_data_enable]1[/set] # Note in scratch space! [tag flag write]products[/tag] [/set] And, to be safe, you should have at the bottom of your results table [set mv_data_enable][/set] Mike Holmes wrote: > > Hello List, > > I'm trying to insert a new line into the products table, which is in a mysql > database. I am able to update but haven't had any luck inserting. > This is the relevant code: > > <FORM METHOD=POST ACTION="[process]"> > <INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="products"> > <INPUT TYPE=HIDDEN NAME="mv_data_key" VALUE="sku"> > <INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="insert"> > <INPUT TYPE=HIDDEN NAME="mv_nextpage" VALUE="admin/add"> > <INPUT TYPE=HIDDEN NAME="mv_data_fields" > VALUE="sku,category,name,description,dimensions,material,mounting,color,price,wholesale,weight"> > > <INPUT TYPE=TEXT NAME="sku" SIZE=40 VALUE="[value sku]"> > etc.. > > <INPUT TYPE=hidden NAME="mv_todo" VALUE="set"> > <INPUT TYPE=submit VALUE="Update table"> > <!-- [export products] --> > </FORM> > > Any tips? > > Thanks > Mike Holmes > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: db at cyclonehq.dnsalias.net (Dan B ) Date: Fri, 09 Mar 2001 15:05:43 -0800 Subject: [ic] Performance testing: timer variable? At 08:17 AM 3/9/2001 -0500, you wrote: >On Fri, Mar 09, 2001 at 02:33:58AM -0800, Dan B wrote: > > I am doing some performance testing/debugging, and would love to hear > > comments from others about this. > > > > A) Testing the load time (seconds) for an entire page > > Is 'time wget $URL' a good indicator? > > > > B) Testing a specific block of code? > > What kind of [perl] would you put in front and in back to take a > > before and after time sample, subtract it, and give the "x.xxxx" seconds > > passed" result? Or another way all together? > > > > C) I'm also wondering how much of a difference there is between [query] > and > > direct SQL querying (i.e. how much does the overhead of perl, DBI, IC > > amount to). > >It's not clear what you want to know or what you define as "good performance" >in your situation. You need to define that first. Good point. I'm looking for ways to measure "page display times" (when network isn't an issue). As far as "good performance", here's the background info: For hardware, we've got: 2-way zeon 1ghz web server (1gb ram) 4-way zeon database server (postgresql) with 4gb ram EMC Clariion fibrechannel SAN array With plans to scale out the webservers and do layer-4 www clustering (and eventually try the Pgsql clustering code). For my application, good performance is sub-second page displays no matter the concurrency load (1 concurrent connection or 1000+ concurrent). Basically I'm worried about performance that I can't fix by throwing more hardware at the problem. I need a good way to test the performance, and that's what I'm hoping you guys can help me discover. :) So it seems that it would be very valuable to test the amount of time that it takes to execute a given block of code in an .html so that I can find what areas need tuning the most. But since you've piqued my interest, what are the other metrics (or dimensions) for "performance" testing on an interchange website? (KB transmit size per HTTP SEND? processor utilization maybe? low/high concurrency? etc?). Thanks for your help and I appreciate the response. -Dan > > > > 2:30am, it's getting late. Must... launch... website... soon... > > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > >-- > >Christopher F. Miller, Publisher cfm@maine.com >MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 >1.207.657.5078 http://www.maine.com/ >Content management, electronic commerce, internet integration, Debian linux > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: kris at sledge-hammer.net (Kris Dahl ) Date: Fri, 9 Mar 2001 16:04:35 -0800 Subject: [ic] developers list Anyone aware of a mailing list for actual Interchange developers? I.e. not people that build storefronts, but actually develop the product Interchange? -k From: jlauman at nwcascades.com (Jack Lauman ) Date: Fri, 09 Mar 2001 16:06:15 -0800 Subject: [ic] Form Radio Buttons... I'm trying to create a dynamic form listing the product database. There are currently only 8 products. I want to create a list where when any/all of 8 radio buttons are selected that one of each item is added to the cart. Please bear with me this is my first stab at IC Tags.... Here's what I have so far: <table cellpadding=5> <tr> <th>Test #</th> <th>Description</th> <th>Price</th> </tr> [loop search="ra=yes/fi=products" sort=products:category:f sort=products:sku:f"] <tr> <td>[loop-code]</td> <td>[loop-field comment]</td> <td align=right>[loop-field price]</td> </tr> [/loop] </table> <SNIP>... which produces the following table. What do I need to do to the above code to achieve my desired result? TIA Jack Course # Description Price 2000-09 September 2000 - Differentiation of Instruction 75.00 2000-10 October 2000 - The Information Generation 75.00 2000-11 November 2000 - The Science of Learning 75.00 2000-12 December 2000 - Changing Contexts of Education 75.00 2001-02 February 2001 - Educator Evaluator 75.00 2001-03 March 2001 - Student Achievement 75.00 2001-04 April 2001 - Students & Extracurricular Activities 75.00 2001-05 May 2001 - Educator Diversity 75.00 From: cafedvd at yahoo.com (sda sda ) Date: Fri, 9 Mar 2001 16:14:18 -0800 (PST) Subject: [ic] very slow (20 seconds) form search (MV.4.6.3) --- Mike Heins <mikeh@minivend.com> wrote: > Quoting sda sda (cafedvd@yahoo.com): > > When I used the following form search, > > > > <FORM ACTION="[area search]"> > > <INPUT TYPE=hidden NAME=mv_searchtype VALUE=sql> > > <select name="mv_search_field"> > > <option value="title" selected> Titles > > <option value="actor">Cast</select> > > <INPUT MAXLENGTH=30 NAME=mv_searchspec type=text > > size=10> > > <INPUT TYPE=hidden NAME=mv_column_op VALUE=rm> > > > > > > > > the response time is almost 20 seconds using > mysql. > > When I checked the log file in mysql, > > I noticed that it had 'SELECT * FROM products' > > line that is responsible for the delay. > > Why is minivend generating this sql command? > > Is this a bug? Or, is there another way to > > search using form inputs? > > > > I have 36000 items in products. > > How is it supposed to do a full-text search without > looking at every > record, pray tell? Shouldn't the query contain 'WHERE' clause such as: SELECT * FROM products WHERE title LIKE "%foo%" instesd of the time consuming query below? SELECT * FROM products __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From: mikeh at minivend.com (Mike Heins ) Date: Fri, 9 Mar 2001 21:28:33 -0500 Subject: [ic] developers list Quoting Kris Dahl (kris@sledge-hammer.net): > Anyone aware of a mailing list for actual Interchange developers? I.e. not > people that build storefronts, but actually develop the product Interchange? > There is no public developer list, but the people who develop Interchange (like me) keep an eye on this one. 8-) -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Light travels faster than sound. This is why some people appear bright until you hear them speak. -- unknown From: mikeh at minivend.com (Mike Heins ) Date: Fri, 9 Mar 2001 21:33:37 -0500 Subject: [ic] very slow (20 seconds) form search (MV.4.6.3) Quoting sda sda (cafedvd@yahoo.com): > > --- Mike Heins <mikeh@minivend.com> wrote: > > Quoting sda sda (cafedvd@yahoo.com): > > > When I used the following form search, > > > > > > <FORM ACTION="[area search]"> > > > <INPUT TYPE=hidden NAME=mv_searchtype VALUE=sql> > > > <select name="mv_search_field"> > > > <option value="title" selected> Titles > > > <option value="actor">Cast</select> > > > <INPUT MAXLENGTH=30 NAME=mv_searchspec type=text > > > size=10> > > > <INPUT TYPE=hidden NAME=mv_column_op VALUE=rm> > > > > > > > > > > > > the response time is almost 20 seconds using > > mysql. > > > When I checked the log file in mysql, > > > I noticed that it had 'SELECT * FROM products' > > > line that is responsible for the delay. > > > Why is minivend generating this sql command? > > > Is this a bug? Or, is there another way to > > > search using form inputs? > > > > > > I have 36000 items in products. > > > > How is it supposed to do a full-text search without > > looking at every > > record, pray tell? > > Shouldn't the query contain 'WHERE' clause such as: > > SELECT * FROM products WHERE title LIKE "%foo%" > > instesd of the time consuming query below? > > SELECT * FROM products > Sure, you can do that. But which SQL will you honor? The ones that tolerate no %, the ones that won't match with % at the beginning of the string if that word begins the string, or the ones that do? The ones that require UPPER() for a case-insensitive match? The ones that have a regex-capable LIKE? Interchange supports at least 15 different SQL implementations as well as non-SQL tables. That is why that needs to be implemented by the person who knows what SQL they are using. There is no SQL-92 standard for that. I wish there was -- I would do something with it. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Light travels faster than sound. This is why some people appear bright until you hear them speak. -- unknown From: lmorley at flexihost.com (Larry Morley ) Date: Fri, 9 Mar 2001 22:35:54 -0800 Subject: [ic] developers list Mike - hope you're watching now ;) I got blown off the last time I asked a very similar question; hopefully that won't be the case this time ... I apologize in advance for the lengthy post, but don't know of any other way to attempt to get an answer to these... First, please let me say I really like Interchange and have been able to do a lot with it. This is *not* a slam of it. That said, there's several things about Interchange that have been pretty elusive to me - some of it seems to stem from the location of files when it's installed from the RPM (as opposed to building the source). Some of whats in the docs apply to a source install but not to the RPM install; for instance, the RPM creates /usr/lib/interchange (the IC install directory) and /var/lib/interchange (the catalog install directory). There's bits and pieces of a lot of "stuff" in each; I'm having a lot of difficulty ascertaining which is which ... first is how the heck do you switch a database table from SQL to, say, gdbm? I'd like to have both ... I'd like to be able to change operational characteristics of Interchange like this on the fly, but I can't quite figure out what all the files that are affected and the appropriate entries for them are ... One thing I noticed was this - in my products.dbm (in default_db) - when set up to run PostgreSQL: the file reads: Database products products.txt TAB Database products HOT 1 Database products INDEX category:c What the heck do the last two lines mean? I can't find any documentation on HOT anywhere... and, makecat is the only thing I can find that'll set the parameters above (and others) to their appropriate values. second is exactly how are tags, parameters, etc. passed around and what are they - I guess a better question is can you point me towards some docs that don't read like a jigsaw puzzle. A lot of stuff in, say, the payment processing routines seems to be a carry-over or not implemented. For example, my ($user,$secret,$amount) = @_; would seem to indicate that amount would contain something; yet, it never does. I have to get it via $amount = Vend::Interpolate::total_cost(); $amount = sprintf("%.2f",$amount); This is just one example of how a lot of things don't work as they would seem to ... third is along the same lines - w/respect to the values passed back to Interchange in the ic_result hash, what do they have to be? Better question - where can I find them documented? fourth is the tags - mv_order_route for example - it's set in several places based on several criteria using the "construct" catalog type for example. Where can I find complete info on what all of them are, how and where they're being set, and how and where to set them, so I can use them appropriately? last is most of my coding is in C. I would love to be able to to write custom payment processing modules, etc. in C. Can you give me an example of how to do this? A short example of a problem I ran into was with my payment processing GlobalSub. I had to know to set "&charge=custom my_sub_name" in /var/lib/interchange/mycatalogname/etc/profiles.order, to set "AllowGlobal mycatalogname" in /etc/interchange.cfg, and add a "#include /usr/lib/interchange/eg/globalsub/mysubsourcefilename" at the very end of /etc/interchange.cfg in the case of the RPM version of Interchange 4.6.3 . The file locations, etc. didn't correspond to the docs or other code I found in the distribution. It took a while to figure out what was going on - I got a lot of "bad globalsub"s in the process. Also I ended up having to add "use strict; use Vend::Util; ..." in order to get the module to work at all. >From the other posts I've seen a globalsub should compile and be testable by removing the "GlobalSub <<EOS" and "EOS" lines from the source file and running it. This doesn't work for me as the .pm modules needed to run it are not in my @INC. I installed Bundle::Interchange from CPAN but that did not make a difference in this respect. Hopefully other developers and/or users will have had similar problems and be able and willing to help me. The last post netted me one response which was essentially to go figure it out myself. That wasn't very helpful or very much appreciated. Sorry for the lengthy post again, but if anyone can help me out a bit here I'd really appreciate it, and I'll be more than happy to contribute anything I find as a result, and along the way, to anyone who wants it, and to the appropriate place for it if someone can tell me where that is. - Larry ----- Original Message ----- From: "Mike Heins" <mikeh@minivend.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 09, 2001 6:28 PM Subject: Re: [ic] developers list > Quoting Kris Dahl (kris@sledge-hammer.net): > > Anyone aware of a mailing list for actual Interchange developers? I.e. not > > people that build storefronts, but actually develop the product Interchange? > > > > There is no public developer list, but the people who develop Interchange > (like me) keep an eye on this one. 8-) > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > Light travels faster than sound. This is why some people appear bright > until you hear them speak. -- unknown > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: cfm at maine.com (cfm at maine.com ) Date: Fri, 9 Mar 2001 23:43:48 -0500 Subject: [ic] Performance testing: timer variable? On Fri, Mar 09, 2001 at 03:05:43PM -0800, Dan B wrote: > At 08:17 AM 3/9/2001 -0500, you wrote: > >On Fri, Mar 09, 2001 at 02:33:58AM -0800, Dan B wrote: > > > I am doing some performance testing/debugging, and would love to hear > > > comments from others about this. > > > > > > A) Testing the load time (seconds) for an entire page > > > Is 'time wget $URL' a good indicator? > > > > > > B) Testing a specific block of code? > > > What kind of [perl] would you put in front and in back to take a > > > before and after time sample, subtract it, and give the "x.xxxx" seconds > > > passed" result? Or another way all together? > > > > > > C) I'm also wondering how much of a difference there is between [query] > > and > > > direct SQL querying (i.e. how much does the overhead of perl, DBI, IC > > > amount to). > > > >It's not clear what you want to know or what you define as "good performance" > >in your situation. You need to define that first. > > Good point. I'm looking for ways to measure "page display times" (when > network isn't an issue). As far as "good performance", here's the > background info: > For hardware, we've got: > 2-way zeon 1ghz web server (1gb ram) > 4-way zeon database server (postgresql) with 4gb ram > EMC Clariion fibrechannel SAN array > > With plans to scale out the webservers and do layer-4 www clustering (and > eventually try the Pgsql clustering code). > > For my application, good performance is sub-second page displays no matter > the concurrency load (1 concurrent connection or 1000+ concurrent). > > Basically I'm worried about performance that I can't fix by throwing more > hardware at the problem. I need a good way to test the performance, and > that's what I'm hoping you guys can help me discover. :) So it seems that > it would be very valuable to test the amount of time that it takes to > execute a given block of code in an .html so that I can find what areas > need tuning the most. > > But since you've piqued my interest, what are the other metrics (or > dimensions) for "performance" testing on an interchange website? (KB > transmit size per HTTP SEND? processor utilization maybe? low/high > concurrency? etc?). Setting the reference platform is the first step. Sometimes it is a laptop and rarely a high end mac workstation. Usually it is a $1000 off the shelf windoze system from Staples on a dialup. IE, Netscape, AOL. We do everything on linux so that is covered, and we check with a Mac when we can get it working. Simple page render time. We want a 3 second render time. Yeah, ugly. Do we get there with everything, no way. I don't know where you will get sub-second page displays in any credible testing environment. minivend is **never** the issue. Poor performance is almost always poor design or poor concept; the rest of the time it's not enough RAM. FWIW, my experience is that performance is relatively insensitive to the hardware you through at it; generally our systems chug along under .1 load avg; that will spike without bound when we make a **mistake**. Half the hardware or twice as much would not make a difference when a few robots chew into badly formed queries all at once. cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: jon at akopia.com (Jon Jensen ) Date: Fri, 9 Mar 2001 23:57:58 -0600 (CST) Subject: [ic] developers list On Fri, 9 Mar 2001, Larry Morley wrote: > That said, there's several things about Interchange that have been > pretty elusive to me - some of it seems to stem from the location of > files when it's installed from the RPM (as opposed to building the > source). Some of whats in the docs apply to a source install but not > to the RPM install; for instance, the RPM creates /usr/lib/interchange > (the IC install directory) and /var/lib/interchange (the catalog > install directory). There's bits and pieces of a lot of "stuff" in > each; I'm having a lot of difficulty ascertaining which is which ... I'll only address the RPM issue. In general, all documentation written (except iccattut) assumes you're doing an install from the tarball, because there wasn't a standard RPM back when the docs were written. The main thing to remember with the RPM is this: software directory: /usr/lib/interchange catalogs directory: /var/lib/interchange That's not all that complicated, I don't think. It's no harder than the default tarball install as a non-root user: software directory: /home/jon/interchange catalogs directory: /home/jon/catalogs There are a few other differences with the RPM. For example, the error.log and interchange.cfg are located in /var/log/interchange and /etc, respectively. But that really doesn't matter, because there are still symbolic links in the usual location of /usr/lib/interchange. The biggest thing is that you start and stop Interchange installed from RPM with /etc/rc.d/init.d/interchange or /usr/sbin/interchange, NOT with the /usr/lib/interchange/bin/interchange program directly. You may want to try doing: rpm -qlp interchange-4.6.3-1.rh7.i386.rpm That lists every single file in the package and makes it easy to see where everything went. Jon From: db at cyclonehq.dnsalias.net (Dan B ) Date: Fri, 09 Mar 2001 22:23:36 -0800 Subject: [ic] jEdit xml syntax highlight preview I've been using interchange.xml for a little while and I love it! It is still taking me quite some time to get all the coloring options right, though. I'm using about 20 different colors and it looks quite weird. Is there a jEdit file that defines the color? (If so, do you have a sample that looks good? Or know how to set it back to default?). Also, how do you get all files to be opened by default with Interchange coloring? (or convert just *.html to interchange coloring?) I'd be very interested in any future updates you have (it would be great if it were rolled into jEdit)! Thank you so much! -Dan At 07:39 PM 3/6/2001 -0500, you wrote: >Hi, > >I put together a preliminary look at my syntax highlight file for IC and >jEdit. >You can download the jEdit XML file and see a screen shot here: >http://www.sitemajic.net/jedit/ > >Overall, I'm impressed with jEdit's syntax highlighting engine. Embedded perl >highlights work pretty good and are completely separate from IC tags []. One >thing I haven't solved yet is user defined PREFIX words; maybe someone else >will have a suggestion. > >This is a WIP for me and I mostly use it for personal stuff- but if their is >sufficient demand it could be refined even more and included in the jEdit >release. Let me know what you think. > > >-Chris Jesseman > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: rus_meridian at yahoo.com (Sergey V. Parshin ) Date: Sat, 10 Mar 2001 13:12:02 +0600 Subject: [ic] looking for help To whom it may concern. Dear madam/sir, We are looking for finacial aid through the Internet fro charity purposes. We would like to have accept people's donations (a biiling form on our page), but unfortunately can't afford it. Can you tell us if we can register somewhere for free? Thank you beforehand. Best regards, Sergey V. Parshin mailto:rus_meridian@yahoo.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Sat, 10 Mar 2001 01:29:37 -0800 Subject: [ic] Interchange 4.7.x release date has been set My inside source at RedHat leaked that Interchange 4.7.0 proper is going to be released in the next 2-4 weeks. (Something about finishing the last bits on the new 'Foundation' demo catalog). Mike, can you confirm or deny? Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: info at ayayu.com (ayayu ) Date: Sat, 10 Mar 2001 22:16:20 +0900 Subject: [ic] How to define Default price in not product database Can I define default price in not product database? The reason why is I should prepare price data separetely because huge number of product prices are changing every day. For example, PriceField my_price:price in catalog.cfg. Is there another way to separate product price data? Murahahsi From: jonc at webmaint.com (Jonathan Clark ) Date: Sat, 10 Mar 2001 15:01:02 -0000 Subject: [ic] How to define Default price in not product database > > > Can I define default price in not product database? > The reason why is I should prepare price data separetely because huge > number of product prices are changing every day. > try: PriceField non_existant_field CommonAdjust my_price:price Setting pricefield to a nonexistant field will cause CommonAdjust to be used. Jonathan Webmaint. From: sickchef at hawaii.rr.com (Sickchef ) Date: Sat, 10 Mar 2001 07:34:57 -1000 Subject: [ic] Hrm, not in inventory or pricing? Hello ic users, 'Nother newbie here. I've been watching the list for a while now and it seems everyone is quite helpful. I have a rather simple question. After deleting the items from the products construct something templates, I have been adding my products into the database that installs with akopia. When I view the products table, everything is there of course, however when I view the pricing, and inventory tables, it show the defualt items that come with the contstruct someting template. The way the software is setup, I would guess that there is a way to automatically update those tables without having to go through each item individualy to update them. Thank you in advance. Travis From: george at halescreative.com (George Loch ) Date: Sat, 10 Mar 2001 12:03:52 -0700 Subject: [ic] How to setup a noncc processing store I am building a site that, in the beginning, will only grab the orders to be processed at the end of the day via a cc machine. How do I do that with IC? will it be a pain to implement a full ecommerce system later? thanks George Loch From: hostmaster at shupp.org (Bill Shupp ) Date: Sat, 10 Mar 2001 14:18:50 -0600 Subject: [ic] Setting up Interchange 4.6.3 with Authorize.net Hello, I'm new to Interchange, but have gone through the tutorial successfully and am starting to read through all the documentation. But I haven't found much about setting up Interchange with Authorize.net. If there is any documentation on this out there, could someone point me in the right direction? Any tips on configuring Interchange for use with Authorize.net are welcomed as well. Thanks! Bill Shupp From: admin at sitemajic.net (Chris Jesseman ) Date: Sat, 10 Mar 2001 16:59:20 -0500 (EST) Subject: [ic] jEdit xml syntax highlight preview Dan, I'm glad you like it. It looks like jEdit stacks colors in its properties file (\windows\.jedit\properties on my system) Here are my colors on top of the default. If you remove your color lines you will be set back to the defaults- this is probably not the best way so save a backup copy... view.style.literal2=color\:\#999900 view.style.literal1=color\:\#990099 view.style.keyword3=color\:\#9999ff style\:b view.style.keyword2=color\:\#0000ff style\:b view.style.keyword1=color\:\#ff00ff style\:b view.style.operator=color\:\#000000 style\:b You can also change TYPE's in the xml file but I'll probably be making changes to that after 3.1 (when a new INCLUDE tag will be supported). If you go Utilities->Global Options->jEdit Options->Editing you can select the default mode: interchange. You can also do it on a file basis by putting this in the top 10 lines: :mode=interchange: There is more info in the manual. Would you think it would be better to highlight item-xxx tags from a keyword list, while the user defined PREFIX= would get a default color? I'm still debating this. If a few more people use it I would consider submitting it to the jEdit team, otherwise, I'm not sure that it is worth it for 2 or 3 users... We'll see! Also, many thanks to Slava Pestov of jEdit (http://www.jedit.org/) for his help on the Interchange mode. -Chris > I've been using interchange.xml for a little while and I love it! > > It is still taking me quite some time to get all the coloring options > right, though. I'm using about 20 different colors and it looks quite > weird. > Is there a jEdit file that defines the color? > (If so, do you have a sample that looks good? > Or know how to set it back to default?). > Also, how do you get all files to be opened by default with > Interchange coloring? > (or convert just *.html to interchange coloring?) > I'd be very interested in any future updates you have (it would be great > if > it were rolled into jEdit)! > > Thank you so much! > > -Dan > > At 07:39 PM 3/6/2001 -0500, you wrote: > >Hi, > > > >I put together a preliminary look at my syntax highlight file for IC > and > >jEdit. > >You can download the jEdit XML file and see a screen shot here: > >http://www.sitemajic.net/jedit/ > > > >Overall, I'm impressed with jEdit's syntax highlighting engine. > Embedded perl > >highlights work pretty good and are completely separate from IC tags > []. One > >thing I haven't solved yet is user defined PREFIX words; maybe someone > else > >will have a suggestion. > > > >This is a WIP for me and I mostly use it for personal stuff- but if > their is > >sufficient demand it could be refined even more and included in the > jEdit > >release. Let me know what you think. > > > > > >-Chris Jesseman > > > >_______________________________________________ > >Interchange-users mailing list > >Interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > Chris Jesseman, President http://www.sitemajic.net From: jojo at blackpoint.de (jojo at blackpoint.de ) Date: Sat, 10 Mar 2001 23:26:50 +0100 (CET) Subject: [ic] How to setup a noncc processing store On 10 Mar, George Loch wrote: > I am building a site that, in the beginning, will only grab the orders to be > processed at the end of the day via a cc machine. How do I do that with IC? > will it be a pain to implement a full ecommerce system later? I did not understand your question. Did you mean, how can Interchange get any odered items into the basket? Or did you mean, that all ordered items has to make anything by Interchange in any ways? Sorry for my bad english! Joachim -- -------------<FreeBsd>-------------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: jojo at blackpoint.de (jojo at blackpoint.de ) Date: Sat, 10 Mar 2001 23:52:28 +0100 (CET) Subject: [ic] How to define Default price in not product database On 10 Mar, ayayu wrote: > Can I define default price in not product database? > The reason why is I should prepare price data separetely because huge > number of product prices are changing every day. > > For example, > > PriceField my_price:price > > in catalog.cfg. > > Is there another way to separate product price data? I'm wanting to know, how to change the "PriceField ....." dynamically per pages or per "dealer" too! Any tips, hints and suggestions are very welcome. Thanks! Joachim -- -------------<FreeBsd>-------------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: george at halescreative.com (George Loch ) Date: Sat, 10 Mar 2001 16:38:50 -0700 Subject: [ic] How to setup a noncc processing store What I mean is: I want to recive all the orders, including credit card info. and have interchange store them so that at the end of the day the store guys can process the orders on their credit card machine and avoid the credit card transactions online, for now. does tha makes since? George Loch ----- Original Message ----- From: <jojo@blackpoint.de> To: <interchange-users@lists.akopia.com> Sent: Saturday, March 10, 2001 3:26 PM Subject: Re: [ic] How to setup a noncc processing store > On 10 Mar, George Loch wrote: > > I am building a site that, in the beginning, will only grab the orders to be > > processed at the end of the day via a cc machine. How do I do that with IC? > > will it be a pain to implement a full ecommerce system later? > > I did not understand your question. Did you mean, how can Interchange > get any odered items into the basket? > > Or did you mean, that all ordered items has to make anything by > Interchange in any ways? > > Sorry for my bad english! > > Joachim > > -- > -------------<FreeBsd>-------------------------------------------------- > Hans-Joachim Leidinger black point arts Internet Solutions GmbH > email: jojo@blackpoint.de FAX : +49 0209-398265 > http://www.bpaserver.net > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: db at cyclonehq.dnsalias.net (Dan B ) Date: Sat, 10 Mar 2001 16:07:14 -0800 Subject: [ic] How to setup a noncc processing store At 04:38 PM 3/10/2001 -0700, you wrote: >What I mean is: > >I want to recive all the orders, including credit card info. and have >interchange store them so that at the end of the day the store guys can >process the orders on their credit card machine and avoid the credit card >transactions online, for now. Yes. Basically you setup some encryption (PGP) and have interchange e-mail all the orders (w/ encrypted credit card numbers) to your fulfillment guys. Then at the end of the day they read their e-mail and do the orders. (I think this is how the Construct demo is setup to work out of the box -- after you setup your Encryptor option in the interchange.cfg). You could search for Encryptor, credit card, [email], etc. things on the developer.akopia.com website (and mailing list archive). Any questions? -Dan >does tha makes since? > >George Loch > >----- Original Message ----- >From: <jojo@blackpoint.de> >To: <interchange-users@lists.akopia.com> >Sent: Saturday, March 10, 2001 3:26 PM >Subject: Re: [ic] How to setup a noncc processing store > > > > On 10 Mar, George Loch wrote: > > > I am building a site that, in the beginning, will only grab the orders >to be > > > processed at the end of the day via a cc machine. How do I do that with >IC? > > > will it be a pain to implement a full ecommerce system later? > > > > I did not understand your question. Did you mean, how can Interchange > > get any odered items into the basket? > > > > Or did you mean, that all ordered items has to make anything by > > Interchange in any ways? > > > > Sorry for my bad english! > > > > Joachim > > > > -- > > -------------<FreeBsd>-------------------------------------------------- > > Hans-Joachim Leidinger black point arts Internet Solutions GmbH > > email: jojo@blackpoint.de FAX : +49 0209-398265 > > http://www.bpaserver.net > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: alex at cuckoo.com (Alex Wong ) Date: Sat, 10 Mar 2001 16:20:49 -0800 (PST) Subject: [ic] Getting the item value from size column in products table Hi, Is there any way to get the right hand side value from my size column in the products table? I am tryingit implment different pricings based on size. Eveyrthing works except that I want the size description instead of just the code. In my products table, under the coulmn size, I have the entry "S=Small,M=Medium,L=Large" Right now the bottom portion oft he code prints the values S - $5 M - $10 Is there any way I can get it to do Small - $5 Medium - $10? ---------- [if data products::size::[item-code]] <SELECT NAME="mv_order_size"> [loop prefix=size arg="[item-accessories size, options]"] <option value="[size-code]">[size-code] - [price code="[item-code]" size="[size-code]"] [/loop] </SELECT> [/if] ---------- Thanks, Alex _______________________________________________________________________ | Alex Wong | Electronic Engineer, | alex@cuckoo.com | | +60 17 8858082 | Systems and Software, | alex@dnateam.com | | ICQ: 11 55 330 | C/C++ programmer. | alex@distributed.net | _______________________________________________________________________ |Senior Technology Officer, Catcha.com(Retired) |System Administrator, Teenworld International | |Network Systems Operator, Distributed Computing Tech. Inc. | _______________________________________________________________________ From: 6tc1 at qlink.queensu.ca (Timothy Cassidy ) Date: Sat, 10 Mar 2001 20:44:01 -0500 (EST) Subject: [ic] custom payments - very bad GlobalSub problem (?) This is a stupid question, but how do you call one of these GlobalSub subroutines (in your interchange.cfg file)? I have been trying to call these subroutines from within a section of my html pages like this: [perl sub] test(); [/perl] I also tried adding this line: &charge=custom test to my profiles.order file. But regardless this fails with an error like this: 192.168.0.13 vqMqdKVZ:192.168.0.13 - [10/March/2001:20:25:08 -0500] construct /c gi-bin/construct/aboutus.html Safe: Undefined subroutine &MVSAFE::test called at (eval 240) line 6. > > > test(); > and there were no new errors in my /tmp/icdebug file Thanks and thanks for putting up with my questions, Tim On Wed, 7 Mar 2001, Sam Hui wrote: > Hi Larry, > > Here is a real simple GlobalSub for testing: > > GlobalSub <<EOS > sub test { > > ::logDebug("Entering test GlobalSub"); > > my %ic_result; > $ic_result{MStatus}='success'; > $ic_result{'order-id'}=1; #cannot be null > > ::logDebug("Exiting test GlobalSub"); > return (%ic_result); > } > EOS > > Those $ic_result hashes are required values for a successful credit charge. > Uncomment the Debug variable in your interchange config if you haven't > already done so. > You'll see the debug messages in /tmp/icdebug (the default). > Also make sure you have this in your profiles.order: > > &charge=custom test > > -Sam > > -----Original Message----- > Date: Wed, 7 Mar 2001 15:24:04 -0800 (PST) > From: Larry Morley <lmorley@flexihost.com> > To: <interchange-users@lists.akopia.com> > Subject: [ic] custom payments - very bad GlobalSub problem (?) > Reply-To: interchange-users@lists.akopia.com > > Hi - > > Hopefully someone can help me out here; I really need it... > I can't get the GlobalSub for authorizenet, signio, etc. working. I > created a simple script and put it in my /usr/lib/interchange/eg/globalsub > directory (that's the directory created by the RPM install and makecat). > > I need to get Interchange to interface to a variety of different systems. > Unfortunately right now I cant get custom payment processing to talk > to anything at all... > > I don't actually know if the globalsub in question is getting found and > executed. The error in the error.log file simply says: > > ... construct /cgi-bin/construct/process.html bad custom payment > GlobalSub: authorizenet > > The script compiles fine with the GlobalSub, etc. tags removed (when I > turn it into a regular Perl script for a minute). I've replaced the > original > authorizenet script with everything I can think of including a simple > script that shouldn't do anything more than create a file. Even that > doesn't work (no file is created, and the same error as above ends up > in error.log). > > I've stripped this thing down to the point where its as lean as it can be. > My /etc/interchange.cfg has an #include pointing to it; I've tried putting > the #include in different parts of the file (no luck). At this point I'm > not > certain the thing is actually getting found and executed by Interchange. > > Been through the mailing list archives, and tried everything that looked > applicable... Can someone help me out? It's Interchange 4.6.3-1 (RPM > install) on RedHat 6.2. > > I'd like to have a very simple GlobalSub that does nothing more than > echo whatever's passed to it (for order info) by GlobalSub. I thought I'd > written one. But ... Also, does anyone know where there are docs on > these gizmos? Especially the custom payment routine ones? > > Thanks in advance, > Larry Morley > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: racke at linuxia.de (Stefan Hornburg ) Date: 08 Mar 2001 23:26:26 -0800 Subject: [ic] Large mySQL tables kill IC startup Ton Verhagen <ton@verhagen.net> writes: > Hi All, > > We have a mySQL table (subscriber) with about 5.5 million records which we > would like to integrate in an IC catalog. > Because the table is rather large we put the directive: 'NoImport > subscriber' in catalog.cfg > There is no content in the table subscriber.txt (except for the field > names) in the products directory. > Product directory also contains: subscriber.sql > > Directory dbconf/mysql contains table description in subscriber.mysql with > contents: > ----- Begin subscriber.mysql ----- > # MiniVend database definition > Database subscriber subscriber.txt __SQLDSN__ > #ifdef SQLUSER > Database subscriber USER __SQLUSER__ > #endif > #ifdef SQLPASS > Database subscriber PASS __SQLPASS__ > #endif > ----- End subscriber.mysql ----- > > SQLDSN, SQLUSER, and SQLPASS are being set properly in catalog.cfg (they > work with other mySQL tables in same catalog). We have successfully used > this same table definition for a smaller table. Thought of ParseVariables Yes ? > > However, it seems that IC tries to read/import the table at startup time > and waits (hang up?) forever. > > My understanding of IC is that the size of a mySQL table (when NoImport is > set) should not have any impact on the startup/configuration stage, should it? > Unfortunately, it appears that it HAS an impact! What could be wrong here? > > Has anyone experienced the same problem? Please check your MySQL log file. Bye Racke -- I'm currently on holidays in the USA. Don't expect any further mails before March 20th. From: rwd at csi1st.net (Ron Dorman ) Date: Sat, 10 Mar 2001 21:36:35 -0500 Subject: [ic] Moving a Catalog/Cart We are relatively new to Interchange. We have 4 carts in development and are preparing to move the first one to production. We have had a couple of revelations here. First and foremost - the catalog should have been created in it's final resting place to begin with. Searching archives turned up a couple of references, the better being Doug Alcorn's response. We are in a slightly different situation though. We have one machine where we are doing development under one site, with subdirectories for customer sites in development. Thus, the customers have a place to look at the work for proofing. When accepted, the site is moved to the customers web site directories on the same server for production. Doug's directions stipulate creating a catalog with makecat and then copying the changes from development to new directories (on a different server), dumping the database and importing on the new server. All these things make sense, but leave some things unanswered. How do you get a MySQL database created by makecat that is not a test database? Is it better to leave it in a test database (I would not think so)? There is a production site in the directories you are moving to (Interchange is an upgrade to an existing site) so you don't want to step on html files that already exist in the htdocs directory until go live time. Renaming some html files seems the only option available if you want to move and test. Otherwise move and be live, prepared to jump through hoops quickly for any problems arising from the move. Any other ideas? Since we are on the same machine, can we simply copy the directories from the current location to the new location and change some config file entries for the new directory? If so, which entries, and are all the changes needed in the catalog.cfg file? If not all in the catalog.cfg file, what files do we need to look at? This is a long one with several questions. Thanks for any help provided. It will be passed on as we mature in our knowledge of this great package. Ron D. From: info at ayayu.com (Ayayu Infomation desk ) Date: Sun, 11 Mar 2001 12:31:18 +0900 Subject: [ic] How to define Default price in not product database It worked! Thanks ver much. ----- Original Message ----- From: Jonathan Clark <jonc@webmaint.com> To: <interchange-users@lists.akopia.com> Sent: Sunday, March 11, 2001 12:01 AM Subject: RE: [ic] How to define Default price in not product database > > > > > > > Can I define default price in not product database? > > The reason why is I should prepare price data separetely because huge > > number of product prices are changing every day. > > > > try: > > PriceField non_existant_field > > CommonAdjust my_price:price > > > Setting pricefield to a nonexistant field will cause CommonAdjust to be > used. > > Jonathan > Webmaint. > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: cfm at maine.com (cfm at maine.com ) Date: Sat, 10 Mar 2001 22:22:26 -0500 Subject: [ic] Large mySQL tables kill IC startup On Thu, Mar 08, 2001 at 11:26:26PM -0800, Stefan Hornburg wrote: > Ton Verhagen <ton@verhagen.net> writes: > > > Hi All, > > > > We have a mySQL table (subscriber) with about 5.5 million records which we > > would like to integrate in an IC catalog. > > Because the table is rather large we put the directive: 'NoImport > > subscriber' in catalog.cfg > > There is no content in the table subscriber.txt (except for the field > > names) in the products directory. I've no clue as to how you are tying it to IC. What happens if you don't even mention it in the cfg file? Depending on how you do the queries and what's changed since 4.03 you might not need anything more than a handle on the products table. Certainly of the 5.5m only a small percentage are "active". We maintain a small table of registered data, a first_name,last_name,cookie and id that then gets joined to others tables as required. None of those are catalog.cfg. Maybe I'm reading your question wrong. :-) > > However, it seems that IC tries to read/import the table at startup time > > and waits (hang up?) forever. > > > > My understanding of IC is that the size of a mySQL table (when NoImport is > > set) should not have any impact on the startup/configuration stage, should it? > > Unfortunately, it appears that it HAS an impact! What could be wrong here? > > > > Has anyone experienced the same problem? > > Please check your MySQL log file. > > Bye > Racke > > -- > I'm currently on holidays in the USA. > Don't expect any further mails before March 20th. > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: cfm at maine.com (cfm at maine.com ) Date: Sat, 10 Mar 2001 22:43:41 -0500 Subject: [ic] custom payments - very bad GlobalSub problem (?) On Sat, Mar 10, 2001 at 08:44:01PM -0500, Timothy Cassidy wrote: > This is a stupid question, but how do you call one of these > GlobalSub subroutines (in your interchange.cfg file)? I have been trying > to call these subroutines from within a section of my html pages like > this: > [perl sub] > test(); > [/perl] > > I also tried adding this line: > &charge=custom test > to my profiles.order file. > > But regardless this fails with an error like this: > 192.168.0.13 vqMqdKVZ:192.168.0.13 - [10/March/2001:20:25:08 -0500] > construct /c > gi-bin/construct/aboutus.html Safe: Undefined subroutine &MVSAFE::test ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ You probably need AllowGlobal in your interchange.cfg file. If one is writing embedded perl one should learn how to grep through the code to find something like that and how to systematically isolate the issue. grep MVSAFE *.pm Yeah it would be nice if IC logs were more syslog typical, __FILE__:__LINE__ message. We've never run it with the syslog option (there is one isn't there), maybe it already is. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: cfm at maine.com (cfm at maine.com ) Date: Sat, 10 Mar 2001 23:01:13 -0500 Subject: [ic] Moving a Catalog/Cart On Sat, Mar 10, 2001 at 09:36:35PM -0500, Ron Dorman wrote: > We are relatively new to Interchange. We have 4 carts in development > and are preparing to move the first one to production. We have had a > couple of revelations here. First and foremost - the catalog should > have been created in it's final resting place to begin with. Searching > archives turned up a couple of references, the better being Doug > Alcorn's response. > > We are in a slightly different situation though. We have one machine > where we are doing development under one site, with subdirectories for > customer sites in development. Thus, the customers have a place to look > at the work for proofing. When accepted, the site is moved to the > customers web site directories on the same server for production. > Doug's directions stipulate creating a catalog with makecat and then > copying the changes from development to new directories (on a different > server), dumping the database and importing on the new server. You're making it much harder than it needs to be. You can have any number of catalogs talking to same databases. No need to dump them. Typically we install our dev systems parallel to production systems only on different machines with different addresses, eg www.asdf.com vs dev.asdf.com. All the differences from one machine to another are handled by our page builder, but there are precious few, mostly dealing with ssl; we don't bother with that on the dev machines. For the most part, if you are doing it by hand, just copy it. Don't use makecat unless you want to double your experience. > How do you get a MySQL database created by makecat that is not a test > database? > > Is it better to leave it in a test database (I would not think so)? > > > There is a production site in the directories you are moving to > (Interchange is an upgrade to an existing site) so you don't want to > step on html files that already exist in the htdocs directory until go > live time. Renaming some html files seems the only option available if > you want to move and test. Otherwise move and be live, prepared to jump > through hoops quickly for any problems arising from the move. Any other > ideas? That's a bad structure. Just use a different catalog. Like we still have a few catalogs in mv3, those are at /var/mv/catalog3 and the mv4 version is /var/mv/catalog4. You can handle **all** of that in interchange.cfg > If not all in the catalog.cfg file, what files do we need to look at? > The logs. :-) And maybe vlink/tlink depending on your structure. > > This is a long one with several questions. Thanks for any help > provided. It will be passed on as we mature in our knowledge of this > great package. > > Ron D. > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: andy at higgins.net (Andy Higgins ) Date: Sun, 11 Mar 2001 15:28:37 +1100 Subject: [ic] Category listing performance problems with catalog of over 17,000 products Hello, We are running one Interchange catalog (containing just over 17,000 products) on a 2 x 300Mhz Sun Solaris Ultra 2 with 1 GB of memory. This machine is shared with one other application but consistently runs with a load average of less than 1 and much of our testing has been done at off peak times. The database being used for this catalog is mysql and the set up of Interchange is as follows: Interchange version 4.6.1 Interchange PID 1666 Interchange SUID User interchange (uid 207) Last time server restarted Sun Mar 11 14:10:43 2001 Last time changes applied Sun Mar 11 14:10:42 2001 (apply now) Environment variables passed MOD_PERL Perl Version Perl 5.00503 (called with: /usr/local/bin/perl) Optional Module Information: LWP::Simple found (v1.32). MD5 found (v2.01). MIME::Base64 found (v2.11). SQL::Statement found (v0.1016). Safe::Hole found (v0.08). Storable found (v1.010). Tie::Watch not found. Minor: cannot set watch points in catalog.cfg. URI::URL found (v5.02). Safe operations untrapped ftfile sort rand Database Interfaces: No GDBM. Berkeley DB_File available (v1.65) DBI enabled (v1.11), available drivers: The site hasn't been launched yet and is still in beta but can be accessed at: URL: http://www.bidorbuyshop.com.au User: demo Pass: banana69 The main problem we are facing preventing us from launching is the performance of the category pages. The homepage of the site is a static page but you will see as soon as you click on any category listing (the main categories on our site are different areas in Interchange - we are therefore talking about the sub-categories - the ones that list all the products). It seems that the speed of this is unacceptable however to access an individual product description there is no problem at all. With the way the category listings are handled in Interchange it doesn't seem as though any further indexing or tweaking on the mysql database is going to help. We have thought of two ways we might be able to solve this problem: 1. Split the number of products into multiple catalogs so that we have only a couple of thousand products in each catalog. 2. Have a background process which runs periodically generating static pages for all the category listings and change the links so that the end users always access these static pages rather than the dynamic ones. Of course with this option we give away some of the functionality we would have utilizing the user's session when they are logged in. Does any one have any experience or any other ideas on how else we might be able to improve the performance in our case specifically for the generating of a product listing from clicking on the categories. Any assistance would be very much appreciated. Regards, Andy Higgins Research and Development bidorbuy.com Inc From: chc at mninter.net (Curt Hauge ) Date: Sat, 10 Mar 2001 23:14:10 -0600 Subject: [ic] Where is checkstat.sh? After converting a Minivend 4.04 site to Interchange 4.6.3, I can not find checkstat.sh (which checks to see if the server is running and restarts it if not) in the Interchange directory, nor can I get the old checkstat.sh to work via my crontab after copying it to /home/myfiles/interchange/bin. I know it used to be in the /eg directory of the source, but it is not in the interchange-4.6.3/eg directory. My crontab looks like: 5,15,25,35,45,55 * * * * /home/myfiles/interchange/bin/checkstat.sh>&2 Is checkstat.sh still being used? Can I use the old one? If yes, what changes are necessary to use the old one? Thanks in advance. Curt Hauge From: lmorley at flexihost.com (Larry Morley ) Date: Sun, 11 Mar 2001 00:49:31 -0800 Subject: [ic] Switching Databases Hi - Is there an easy way to switch a table from using an SQL database to, say, gdbm? Or text? And, is there a way to switch from test_catname to another database? I saw in a prior post it was done in interchange.cfg; I dont see where - am I missing something? Is there anything inherently wrong with the test_catname database created by makecat other than it needs to be tweaked once created? Lastly, can anyone tell me what this means in my products.dbm file: Database products products.txt TAB Database products HOT 1 Database products INDEX category:c specifically HOT and INDEX? Thanks very much, Larry Morley From: TGe303 at gmx.de (TGe303 ) Date: Sun, 11 Mar 2001 10:20:39 +0100 Subject: [ic] problem wirh more list on result.html After recieving a result after i have submit a search i from searchform i can not navigate through the more list. Sure, there are some links like 1 2 3 4 5 6 7 8 ... but when i click on result page nr. 3 i can΄t navigate to 4 because the navigation is away :-( here the code: results: [more-list] [L]Zeige [matches] von [if value mv_search_match_count > 1] [value mv_search_match_count] gefundenen.[/L] [/if] <BLOCKQUOTE> <B>Links zu mehr Treffern</B><BR> [more] </BLOCKQUOTE> [/more-list] and the search form (sorry, very big) [L]Search[/L] __COMPANY__
Suchmaschine


 



[if config Glimpse] [L]Spelling errors allowed[/L]
0 1 2 [/if]
[L]Suchwort[/L]
[L]Suche nach Preis[/L]
[L]Mindestens:[/L]

[L]Höchstens:[/L]




 

From: info at ayayu.com (Ayayu Infomation desk ) Date: Sun, 11 Mar 2001 21:58:48 +0900 Subject: [ic] product search failure in case of word using some special characters In my construct based site , Interchange 4.6.4 on RAQ3, I faced at the product search failure(no-match) in case of the word using some special characters, like 4.5" (four - period -five- doublequote) which means 4.5 inches. When I specified the search word ` 4.5" `, It shows ` Sorry, no matches for 4\.5\" `. Before updating of interchange 4.6.3 on Freebsd, It searched and show matched item list. Is there any change in search functionalities? Search form is no modification of construct demo as below. <FORM ACTION="[area search]"> <INPUT TYPE=hidden NAME=mv_coordinate VALUE=1> <INPUT TYPE=hidden NAME=mv_searchtype VALUE=db> <INPUT TYPE=hidden NAME=mv_matchlimit VALUE=20> <INPUT TYPE=hidden NAME=mv_sort_field VALUE=category> <INPUT TYPE=hidden NAME=mv_search_field VALUE=inactive> <INPUT TYPE=hidden NAME=mv_search_field VALUE=":*"> <INPUT TYPE=hidden NAME=mv_column_op VALUE=ne> <INPUT TYPE=hidden NAME=mv_column_op VALUE=rm> <INPUT TYPE=hidden NAME=mv_searchspec VALUE=1> <INPUT MAXLENGTH=30 NAME=mv_searchspec type=text size=10> S.Murahahsi From: avalon.serv at worldnet.att.net (Joel Wylan ) Date: Sun, 11 Mar 2001 12:12:00 -0500 Subject: [ic] Credit Card Information (Credit card encryption failed: ) when doing a sample purchase with a valid credit card, i get the following message: Credit Card Information (Credit card encryption failed: ) I know that at one time i was able to complete a purchase using the same number, any idea what i may have changed? or what i should do to correct this? joel wylan From: support at integricity.com (Integricity Support ) Date: Mon, 12 Mar 2001 01:56:18 +0800 Subject: [ic] Getting the item value from size column in products table Hello Alex, I've tried doing the same, myself without much success. If anyone has successfully done this, please let me know too. Sunday, March 11, 2001, 8:20:49 AM, you wrote: AW> Hi, AW> Is there any way to get the right hand side value from my size column in AW> the products table? I am tryingit implment different pricings based on AW> size. Eveyrthing works except that I want the size description instead of AW> just the code. AW> In my products table, under the coulmn size, I have the entry AW> "S=Small,M=Medium,L=Large" AW> Right now the bottom portion oft he code prints the values AW> S - $5 AW> M - $10 AW> Is there any way I can get it to do AW> Small - $5 AW> Medium - $10? AW> ---------- AW> [if data products::size::[item-code]] AW> <SELECT NAME="mv_order_size"> AW> [loop prefix=size arg="[item-accessories size, options]"] AW> <option value="[size-code]">[size-code] - [price code="[item-code]" AW> size="[size-code]"] AW> [/loop] AW> </SELECT> AW> [/if] AW> ---------- AW> Thanks, AW> Alex AW> _______________________________________________________________________ AW> | Alex Wong | Electronic Engineer, | alex@cuckoo.com | AW> | +60 17 8858082 | Systems and Software, | alex@dnateam.com | AW> | ICQ: 11 55 330 | C/C++ programmer. | alex@distributed.net | AW> _______________________________________________________________________ AW> |Senior Technology Officer, Catcha.com(Retired) AW> |System Administrator, Teenworld International | AW> |Network Systems Operator, Distributed Computing Tech. Inc. | AW> _______________________________________________________________________ AW> _______________________________________________ AW> Interchange-users mailing list AW> Interchange-users@lists.akopia.com AW> http://lists.akopia.com/mailman/listinfo/interchange-users From: jean-pierre.parent at bridgepoint-intl.com (jean-pierre.parent at bridgepoint-intl.com ) Date: Sun, 11 Mar 2001 12:45:50 -0500 Subject: [ic] (no subject) From: jean-pierre.parent at bridgepoint-intl.com (jean-pierre.parent at bridgepoint-intl.com ) Date: Sun, 11 Mar 2001 13:03:29 -0500 Subject: [ic] AUTO_INCREMENT Primary Keys Hi everyone... I get an error in my error.log which looks like: No key 'id' found for function='insert' table='attributes' This happens each time i use the UI/Admin on fields that have an auto_increment primary key. So I went to browse through the mailing list archive to find a way to make the admin work with auto_increment primary keys... I found tid bits about [data session id] and using an incremental number...but there are very few detail on doing this. I'd really like to avoid entering things in this field so that its managed by the db itself. Is there any better way to do that? Wouldn't it be possible to just forget this field? I'd appreciate any hints on how you people handle this...(and I'm sure others as well) Wouldnt people using *many* rows in a table and want to use IC be limited if they had an auto_increment primary key in it? Does that mean they cant use the admin? Thanks. From: support at integricity.com (Integricity Support ) Date: Mon, 12 Mar 2001 03:03:26 +0800 Subject: [ic] Step-by-Step on Gift Certs please? Can anyone help to provide a step by step guide on implementing gift certs? There really doesn't seem to be much, if any documentation on that aspect anywhere. Anyone successfully implemented the very basic method, where a gift cert number is issued, and provides for redemption / discount? Thanks a lot! From: chc at mninter.net (Curt Hauge ) Date: Sun, 11 Mar 2001 18:07:07 -0600 Subject: [ic] Feedback form does not send email Hello, After converting a working catalog (using tarball) from MV4.04 to IC4.6.3 on Linux Mandrake 6.0, the feedback form is not functioning properly. It appears to process everything correctly. The error logs in local/interchange/error.log and local/catalogs/mycat/error.log both report the same: /cgi-bin/mycat/process.html Safe: Unable to create sub named "*MVSAFE::form_mail" at (eval 307) line 2 [email_contents] I have checked config.cfg and it contains the same correct email address for: EMAIL_INFO EMAIL_SERVICE, and ORDERS_TO The special/feedback.html page contains the basic: [set feedback_active][/set] [set name=feedback_sent interpolate=1] [perl arg=sub interpolate=1] form_mail ( q{__ORDERS_TO__}, q{[value feedback_subject]}, q{[value feedback_email]}, <<'EOMail' ) From: [value feedback_name] Email: [value feedback_email] Subject: [value feedback_subject] Message: [value feedback_message] EOMail [/perl] [/set] Perl Info: Perl Version Perl 5.00503 (called with: perl) Optional Module Information LWP::Simple found (v1.33). MD5 found (v2.01). MIME::Base64 found (v2.12). SQL::Statement found (v0.1017). Safe::Hole found (v0.08). Storable found (v1.010). Tie::Watch not found. Minor: cannot set watch points in catalog.cfg. URI::URL found (v5.02). Safe operations untrapped ftfile sort rand I have spent hours trying to figure this out, searching the docs and archives for "minivend feedback form" "minivend feedback form not working", "interchange feedback form", "MVSAFE", etc., and even reinstalled the tarball and re-configured another catalog, only to have the same problem appear. Anyone seen this behavior before or any suggestions as to where to look? Thanks in advance, Curt Hauge From: greg at pacifictech.com.au (Greg Heath ) Date: Mon, 12 Mar 2001 11:41:57 +1000 Subject: [ic] FYI: Product Search by Alphabet Hi all, In the search of the archives I never found a suitable solution for creating a index for my catalogues. The task was to replicate an index as in a printed catalogue. This creates a link bar on top like this: A | B | C | D | E | F etc etc... but with pretty pictures. eg "images_menu/tab_a.gif" products_index.txt is a table of with columns code & title where title contains the text to search for in the products.txt column called index eg the product_index.txt file code title 1 Machines - Overhead Projectors 2 OHP & Supplies - OHP 3 OHP & Supplies - Overhead Projector The column index can contain a list of possible ways to look up a product eg the product.txt file title:"3M 2000 Overhead Projector" index:"Machines - Overhead Projectors / OHP & Supplies - OHP / OHP & Supplies - Overhead Projector" of course this is probably only one of many solutions and I found it suitable to my sites, with modifications it can be used to extract a category list from the product.txt file. --------------- start file="templates/components/alpha_menu" ------------------- [perl] $menu = " "; $letter = " "; for ($i = 65; $i < 88 ; $i++){ $letter = chr($i); $menu .= "[page scan fi=products_index\.txt co=yes se=$letter\% op=LIKE sf=title tf=title to=f sp=@@MV_PAGE@@ ml=999]<img src=\"images_menu/tab_\l$letter.gif\" alt=\"$letter\" border=\"0\" width=\"20\" height=\"20\">"; } $menu .= "[page scan fi=products_index\.txt co=yes se=X\% op=ge sf=title tf=title to=f sp=@@MV_PAGE@@ ml=999]<img src=\"images_menu/tab_xyz.gif\" alt=\"XYZ\" border=\"0\" height=\"20\">"; return $menu; [/perl] --------------- end file="templates/components/alpha_menu" ------------------- --------------- start index results page ------------------- <!-- BEGIN CONTENT --> <h1>Product Index</h1> <h3>[include file="templates/components/alpha_menu"]</h3> [search-region] [no-match] <BR><BR><BLOCKQUOTE> Sorry, no matches for <B>[value-extended name=mv_searchspec joiner=" | "]</B>. [if value mv_search_error] <P><B>Errors: <BR> [value-extended name=mv_search_error joiner="<BR>"] </B> [/if] <BR><BR></BLOCKQUOTE> [/no-match] <BR CLEAR=LEFT> [more-list] <BLOCKQUOTE> [more]<BR> </BLOCKQUOTE> [/more-list] <ul> [search-list] [on-change header][condition][item-data product_index title][/condition] <li><FONT FACE="verdana,arial,helvetica"> <A HREF="[area href=scan arg=| sf=index em=1 ac=1 se=[item-data product_index title] tf=title to=f ml=10 | ]">[filter name namecase][item-data product_index title][/filter]</A> </font></li> [/on-change header] [/search-list] </ul> [/search-region] <P ALIGN=CENTER> <!-- current page: @@MV_PAGE@@ --> <!-- END CONTENT --> --------------- end index results page ------------------- Regards Greg Heath Pacific Tecnologies International P/L www.pacifictech.com.au greg@pacifictech.com.au From: tintones at hotmail.com (Marcelo F. De Paula ) Date: Mon, 12 Mar 2001 01:41:50 Subject: [ic] DAtabse problem Hello list, I have installed the IC 4.6.3 and I'm trying to delete all products from the item list with Interchange administration interface. But when I do that and enter in the construct store the products still there but with no price and no description. It's okay because i have deleted the products but why interchance still showing the products with no information if I deleted from the database? Do I have to make anything else? Any help will be welcome. Thanks, Marcelo _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From: support at integricity.com (Integricity Support ) Date: Mon, 12 Mar 2001 10:10:47 +0800 Subject: [ic] DAtabse problem Hello Marcelo, You will have to clear a lot of tables. Go to the admin backend, and clear out inventory and merchandising. You will have to export the products file to the default location on the server under products/ Hope that helps. EVERYONE ELSE, are there any plans to link products with merchandising, so if a product is deleted, then all the other details are cleared? Alex Monday, March 12, 2001, 9:41:50 AM, you wrote: MFDP> Hello list, MFDP> I have installed the IC 4.6.3 and I'm trying to delete all products from MFDP> the item list with Interchange administration interface. But when I do MFDP> that and enter in the construct store the products still there but with MFDP> no price and no description. It's okay because i have deleted the MFDP> products but why interchance still showing the products with no MFDP> information if I deleted from the database? MFDP> Do I have to make anything else? MFDP> Any help will be welcome. MFDP> Thanks, MFDP> Marcelo MFDP> _________________________________________________________________________ MFDP> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. MFDP> _______________________________________________ MFDP> Interchange-users mailing list MFDP> Interchange-users@lists.akopia.com MFDP> http://lists.akopia.com/mailman/listinfo/interchange-users -- Best regards, Integricity mailto:support@integricity.com From: craig at hotmix.com.au (Craig Beasland ) Date: Mon, 12 Mar 2001 13:06:44 +0800 Subject: [ic] jEdit xml syntax highlight preview Chris, I have been using jedit and your interchange xml thingy since you announced it on this list. I downloaded jedit at the recommendation of someone on this list (possible you) and it is fantastic. Congrats to you and the jedit team. cheers craig -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Chris Jesseman Sent: Sunday, 11 March 2001 5:59 AM To: interchange-users@lists.akopia.com Subject: Re: [ic] jEdit xml syntax highlight preview Dan, I'm glad you like it. It looks like jEdit stacks colors in its properties file (\windows\.jedit\properties on my system) Here are my colors on top of the default. If you remove your color lines you will be set back to the defaults- this is probably not the best way so save a backup copy... view.style.literal2=color\:\#999900 view.style.literal1=color\:\#990099 view.style.keyword3=color\:\#9999ff style\:b view.style.keyword2=color\:\#0000ff style\:b view.style.keyword1=color\:\#ff00ff style\:b view.style.operator=color\:\#000000 style\:b You can also change TYPE's in the xml file but I'll probably be making changes to that after 3.1 (when a new INCLUDE tag will be supported). If you go Utilities->Global Options->jEdit Options->Editing you can select the default mode: interchange. You can also do it on a file basis by putting this in the top 10 lines: :mode=interchange: There is more info in the manual. Would you think it would be better to highlight item-xxx tags from a keyword list, while the user defined PREFIX= would get a default color? I'm still debating this. If a few more people use it I would consider submitting it to the jEdit team, otherwise, I'm not sure that it is worth it for 2 or 3 users... We'll see! Also, many thanks to Slava Pestov of jEdit (http://www.jedit.org/) for his help on the Interchange mode. -Chris > I've been using interchange.xml for a little while and I love it! > > It is still taking me quite some time to get all the coloring options > right, though. I'm using about 20 different colors and it looks quite > weird. > Is there a jEdit file that defines the color? > (If so, do you have a sample that looks good? > Or know how to set it back to default?). > Also, how do you get all files to be opened by default with > Interchange coloring? > (or convert just *.html to interchange coloring?) > I'd be very interested in any future updates you have (it would be great > if > it were rolled into jEdit)! > > Thank you so much! > > -Dan > > At 07:39 PM 3/6/2001 -0500, you wrote: > >Hi, > > > >I put together a preliminary look at my syntax highlight file for IC > and > >jEdit. > >You can download the jEdit XML file and see a screen shot here: > >http://www.sitemajic.net/jedit/ > > > >Overall, I'm impressed with jEdit's syntax highlighting engine. > Embedded perl > >highlights work pretty good and are completely separate from IC tags > []. One > >thing I haven't solved yet is user defined PREFIX words; maybe someone > else > >will have a suggestion. > > > >This is a WIP for me and I mostly use it for personal stuff- but if > their is > >sufficient demand it could be refined even more and included in the > jEdit > >release. Let me know what you think. > > > > > >-Chris Jesseman > > > >_______________________________________________ > >Interchange-users mailing list > >Interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > Chris Jesseman, President http://www.sitemajic.net _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: mat at booksellersolutions.com (Mathew Jones ) Date: Sun, 11 Mar 2001 22:06:19 -0800 Subject: [ic] SQL query on multiple databases. I would like to search several seperate databases at the same time, returning the results on the same page. What I previously set up was 4 seperate [QUERY SQL] tags, which each returned independent sets of results to the page. Ideally I would like to be able to pull all the results into the same array or hash so i can sort them by the price field and they appear as one combined set of results. I have looked on the developers site and through the old mailing list questions and only got more confused. I am not a perl programmer by nature, and need a little help on finding the best possible solution to my problem. So i guess I have a couple of questions: 1) How do I get all the seperate search results into the same array/hash/whatever I need to use? 2) How do I sort the data based on 1 particular field of the combined results 3)How can I push an 'identifier' into each row returned so i can identify which db the result came from? Thanks Mat From: db at cyclonehq.dnsalias.net (Dan B ) Date: Sun, 11 Mar 2001 22:32:06 -0800 Subject: [ic] Category listing performance problems with catalog of At 03:28 PM 3/11/2001 +1100, you wrote: >Hello, > >We are running one Interchange catalog (containing just over 17,000 >products) on a 2 x 300Mhz Sun Solaris Ultra 2 with 1 GB of memory. This >machine is shared with one other application but consistently runs with a >load average of less than 1 and much of our testing has been done at off >peak times. The database being used for this catalog is mysql and the set up >of Interchange is as follows: [... excerpted slow performance ...] I have the same problem, but for a different reason (we generate custom categories on a per-visitor basis). But you might find the following "Tips and tricks" posting by Mike Heins very helpful: (I just discovered it solves my "how to benchmark" question I just posted, 'cat egg > my/face'). From: interchange-users-admin@minivend.com on behalf of Mike Heins [mikeh@minivend.com] Sent: Tuesday, November 21, 2000 12:58 PM To: Interchange User List Subject: [ic] Tips and Tricks -- optimizing lists Area: Core Category: Templates Item: List optimization Interchange has powerful search capabilities that allow you to produce lists of items for use in category lists, product lists, indexes, and other navigation tools. These are a two-edged sword, though. Lists of hundreds or thousands of entries can be returned, and techniques that work well displaying only a few items may slow to a crawl when a large list is returned. In general, when you are returning one item (i.e. a flypage) or a small list (i.e. a shopping cart) you can be pretty carefree in your use of [if ...] and [calc] and [perl] tags. When there are hundreds of items, though, you cannot; each complex test or embedded Perl snippet causes the Safe module to have to evaluate code, and each ITL tag requires parsing and argument building. The Safe module is pretty fast considering what it does, but it can only generate a few thousand instances per second even on a fast system. And the ITL tag parser can likewise only parse thousands of tags per CPU second. What to do? You want to provide complex conditional tests but you don't want your system to slow to a crawl. Luckily, there are techniques which can speed up complex lists by orders of magnitude. ------------ Benchmarking ------------ A non-precise benchmark of different iteration options can be done with the following global UserTag. Place this in a file in the usertag/ directory in the Interchange root: UserTag benchmark Order start display UserTag benchmark AddAttr UserTag benchmark Routine <<EOR my $bench_start; my @bench_times; sub { my ($start, $display, $opt) = @_; my @times = times(); if($start or ! defined $bench_start) { $bench_start = 0; @bench_times = @times; for(@bench_times) { $bench_start += $_; } } my $current_total; if($display or ! $start) { for(@times) { $current_total += $_; } unless ($start) { $current_total = sprintf '%.3f', $current_total - $bench_start; for(my $i = 0; $i < 4; $i++) { $times[$i] = sprintf '%.3f', $times[$i] - $bench_times[$i]; } } return $current_total if ! $opt->{verbose}; return "total=$current_total user=$times[0] sys=$times[1] cuser=$times[2] csys=$times[3]"; } return; } EOR Then at the beginning of the code to check, call [benchmark start=1] to start the measurement. At the end [benchmark] will display the time used. Bear in mind that it is not precise, and that there may be variation due to system conditions. Also, the longer the times and the bigger the list, the better the comparison. To see the system/user breakdown, do: [benchmark verbose=1] In general, "user" time measures Interchange processing time and and the rest are indicative of the database access overhead, which can vary widely from database to database. ------------- Optimizations ------------- ---------------------------------------------------- [PREFIX-tag] is faster than [parsed-tag] [loop prefix=foo search="ra=yes"] [foo-data products image] is slightly faster than [foo-field image] which is MUCH faster than [data products image [foo-code]] which is faster than [data table=products column=image key="[foo-code]"] [/loop] The loop tags are interpreted by means of fast regular expression scans of the loop container text, and fetch an entire row of data in one query. The [data ...] ITL tag interpretation is delayed until after the loop is finished, whereby the ITL tag parser must find the tag, build a parameter list, then fetch the data with a separate query. If there are repeated references to the same field in the loop, the speedup can be 10x or more. ---------------------------------------------------- Pre-fetch data with rf=field1,field2,field3 and access with [PREFIX-param field1]. mv_return_fields (otherwise known as "rf" in one-click terminology) sets the fields that are returned from a search. Once they are returned, they can be accessed with [PREFIX-param field]. They can also be referenced with [PREFIX-pos N], where N is a digit representing the ordinal position (i.e. starting with 0) in the list of fields. The following are equivalent: Benchmark loop-field list: [benchmark start=1] <!-- [loop search="ra=yes/st=db"] [loop-code] price: [loop-field price] [/loop] --> TIME: [benchmark] <P> Benchmark loop-param list: [benchmark start=1] <!-- [loop search="ra=yes/st=db/rf=sku,price"] [loop-code] price: [loop-param price] [/loop] --> TIME: [benchmark] but the second is much, much faster. ---------------------------------------------------- [PREFIX-alternate N] is available for row counting and display. 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. ---------------------------------------------------- Use simple go/nogo comparisons in [if ...] Consider these two snippets: [if scratch|value|cgi key] THEN [/if] and: [if scratch|value|cgi key == '1'] THEN [/if] The first one doesn't require Perl evaluation. It simply checks to see if the value is blank or 0, and returns true if it is anything but. Of course this requires setting your test values to blank or 0 instead of "No" or " " or somesuch, but it is anywhere from 20-35% faster. Try it on the construct demo: ---- begin test --- Overhead: [benchmark start=1] <!-- [loop search="ra=yes"][set cert][loop-field gift_cert][/set][/loop] --> [benchmark] <P> if scratch compare: [benchmark start=1] <!-- [loop search="ra=yes"] [set cert][loop-field gift_cert][/set] [loop-code] [if scratch cert] YES [else] NO [/else][/if] [loop-code] [if scratch cert] YES [else] NO [/else][/if] [loop-code] [if scratch cert] YES [else] NO [/else][/if] [loop-code] [if scratch cert] YES [else] NO [/else][/if] [loop-code] [if scratch cert] YES [else] NO [/else][/if] [/loop] --> [benchmark] <P> if scratch compare eq 1: [benchmark start=1] <!-- [loop search="ra=yes"] [set cert][loop-field gift_cert][/set] [loop-code] [if scratch cert == 1] YES [else] NO [/else][/if] [loop-code] [if scratch cert == 1] YES [else] NO [/else][/if] [loop-code] [if scratch cert == 1] YES [else] NO [/else][/if] [loop-code] [if scratch cert == 1] YES [else] NO [/else][/if] [loop-code] [if scratch cert == 1] YES [else] NO [/else][/if] [/loop] --> [benchmark] <P> [page @@MV_PAGE@@]Again[/page] ---- end test --- ---------------------------------------------------- Use [PREFIX-calc] instead of [calc] or [perl] (This facility is not yet documented, but will be soon.) You can execute the same code as [calc] with [PREFIX-calc], which has two benefits: 1. It doesn't require ITL parsing. 2. It is executed during the loop instead of after it. The [PREFIX-calc] object has complete access to all normal embedded Perl objects like $Values, $Carts, $Tag, and such. If you want to make a data table (i.e. "products" or "pricing") available for access inside of it, just do: [perl tables="products pricing"] [/perl] prior to list start. Now you can do something like: [loop search="ra=yes"] [loop-calc] $desc = $Tag->data('products', 'description', '[loop-code]'); $link = $Tag->page('[loop-code]'); return "$link $desc </A>"; [/loop-calc] <BR> [/loop] ---------------------------------------------------- ADVANCED: Precompile and execute with [PREFIX-sub] and [PREFIX-exec] (This facility is not yet documented, but will be soon.) For repetitive routines, you can achieve a considerable savings in CPU by pre-compiling your embedded Perl code. In the "Construct Something" demo, the bar_link() routine in catalog_before.cfg is an example of compiling the subroutine once at catalog configuration time. You can also compile routines at the time of the list execution with [item-sub routine] CODE [/item-sub]. This means only one Safe evaluation is done -- every time the [loop-exec routine] is called, it is done fast as a call to the routine. This can be 10 times or more faster than separate [calc] calls, or 5 times faster than separate [PREFIX-calc] calls. Example: [benchmark start=1] loop-calc: <!-- [loop search="st=db/fi=country/ra=yes/ml=1000"] [loop-calc] my $code = q{[loop-code]}; return "code '$code' reversed is " . reverse($code); [/loop-calc] [/loop] --> [benchmark] <P> [benchmark start=1] loop-sub and loop-exec: <!-- [loop search="st=db/fi=country/ra=yes/ml=1000"] [loop-sub country_compare] my $code = shift; return "code '$code' reversed is " . reverse($code); [/loop-sub] [loop-exec country_compare][loop-code][/loop-exec] [/loop] --> [benchmark] ---------------------------------------------------- ADVANCED: Execute and save with [query ...], then use an embedded Perl routine. You can run [query arrayref=myref sql="query"], which saves the results of the search/query in a Perl reference. It is then available in $Tmp->{myref}. (Of course, "myref" can be any arbitrary name.) This is the fastest possible method to display a list. Observe: --- begin test code --- [set waiting_for]os28004[/set] [benchmark start=1] Embedded Perl <!-- [query arrayref=myref sql="select sku, price, description from products"] <!-- make query, this container text is not used. --> [/query] [perl] # Get the query results, has multiple fields my $ary = $Tmp->{myref}; my $out = ''; foreach $line (@$ary) { my ($sku, $price, $desc) = @$line; if($sku eq $Scratch->{waiting_for}) { $out .= "We were waiting for this one!!!!\n"; } $out .= "sku: $sku price: $price description: $desc\n"; } return $out; [/perl] --> TIME: [benchmark] [benchmark start=1] All loop <!-- [query list=1 sql="select sku, price, description from products"] [if scratch waiting_for eq '[sql-code]']We were waiting for this one!!!! [/if] sku: [sql-code]price: [sql-param price] desc: [sql-param description] [/query] --> TIME: [benchmark] --- end test code --- ---------------------------------------------------- Other things that help: *** Avoid interpolate=1 when possible. A separate tag parser must be spawned every time you do this. Many times people use this without needing it. *** Avoid saving large values to Scratch, as these have to be written to the users session. If you need them only for the current page, clear at the end by using [tmp scratch_var] contents [/tmp], which is the same as [seti scratch_var] contents [/seti] except clears the value before the session is written. You can also use [scratchd scratch_var] to return the contents and delete them from the session at the same time. *** Use the [more-list] facility to break up your large searches. You can use them in [query ....] and [loop ...] searches as well -- see the docs. -- Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <heins@akopia.com> Any man who is under 30, and is not liberal, has not heart; and any man who is over 30, and is not a conservative, has not brains. -- Winston Churchill _______________________________________________ Interchange-users mailing list Interchange-users@www.minivend.com http://www.minivend.com/mailman/listinfo/interchange-users >Interchange version 4.6.1 >Interchange PID 1666 >Interchange SUID User interchange (uid 207) >Last time server restarted Sun Mar 11 14:10:43 2001 >Last time changes applied Sun Mar 11 14:10:42 2001 (apply now) >Environment variables passed MOD_PERL >Perl Version Perl 5.00503 (called with: /usr/local/bin/perl) >Optional Module Information: >LWP::Simple found (v1.32). >MD5 found (v2.01). >MIME::Base64 found (v2.11). >SQL::Statement found (v0.1016). >Safe::Hole found (v0.08). >Storable found (v1.010). >Tie::Watch not found. Minor: cannot set watch points in catalog.cfg. >URI::URL found (v5.02). >Safe operations untrapped ftfile sort rand >Database Interfaces: >No GDBM. >Berkeley DB_File available (v1.65) >DBI enabled (v1.11), available drivers: > >The site hasn't been launched yet and is still in beta but can be accessed >at: > >URL: http://www.bidorbuyshop.com.au >User: demo >Pass: banana69 > >The main problem we are facing preventing us from launching is the >performance of the category pages. The homepage of the site is a static page >but you will see as soon as you click on any category listing (the main >categories on our site are different areas in Interchange - we are therefore >talking about the sub-categories - the ones that list all the products). It >seems that the speed of this is unacceptable however to access an individual >product description there is no problem at all. > >With the way the category listings are handled in Interchange it doesn't >seem as though any further indexing or tweaking on the mysql database is >going to help. We have thought of two ways we might be able to solve this >problem: > >1. Split the number of products into multiple catalogs so that we have only >a couple of thousand products in each catalog. >2. Have a background process which runs periodically generating static pages >for all the category listings and change the links so that the end users >always access these static pages rather than the dynamic ones. Of course >with this option we give away some of the functionality we would have >utilizing the user's session when they are logged in. > >Does any one have any experience or any other ideas on how else we might be >able to improve the performance in our case specifically for the generating >of a product listing from clicking on the categories. > >Any assistance would be very much appreciated. > >Regards, > >Andy Higgins >Research and Development bidorbuy.com Inc > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Sun, 11 Mar 2001 22:36:25 -0800 Subject: [ic] Where is checkstat.sh? At 11:14 PM 3/10/2001 -0600, you wrote: >After converting a Minivend 4.04 site to Interchange 4.6.3, I can not find >checkstat.sh (which checks to see if the server is running and restarts it >if not) in the Interchange directory, nor can I get the old checkstat.sh >to work via my crontab after copying it to /home/myfiles/interchange/bin. >I know it used to be in the /eg directory of the source, but it is not in >the interchange-4.6.3/eg directory. My crontab looks like: > >5,15,25,35,45,55 * * * * /home/myfiles/interchange/bin/checkstat.sh>&2 > >Is checkstat.sh still being used? Can I use the old one? If yes, what >changes are necessary to use the old one? I think that checkstat.sh is not being used anymore in favor of bin/interchange If I'm correct, bin/interchange will look at the .pid file to see if it is till running, and if not, it will start itself again. Otherwise it will just go through init until it realizes it was already running, and not fork an additional copy. So I think you could try a call to bin/interchange in your crontab. >Thanks in advance. > >Curt Hauge > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Sun, 11 Mar 2001 22:39:33 -0800 Subject: [ic] Switching Databases At 12:49 AM 3/11/2001 -0800, you wrote: >Hi - > >Is there an easy way to switch a table from using an SQL database >to, say, gdbm? Or text? And, is there a way to switch from >test_catname to another database? > >I saw in a prior post it was done in interchange.cfg; I dont see >where - am I missing something? > >Is there anything inherently wrong with the test_catname database >created by makecat other than it needs to be tweaked once created? > >Lastly, can anyone tell me what this means in my products.dbm file: > >Database products products.txt TAB >Database products HOT 1 >Database products INDEX category:c > >specifically HOT and INDEX? This is an automated reply. I'm sorry, your e-mail did not pass the Microsoft Censor 2001 Filtering Software test. Please remove the words "HOT INDEX" from your e-mail, or any other questionable words in order to allow your e-mail through the filter. Thank you for using Microsoft Censor. >Thanks very much, > >Larry Morley > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Sun, 11 Mar 2001 22:42:33 -0800 Subject: [ic] Credit Card Information (Credit card encryption At 12:12 PM 3/11/2001 -0500, you wrote: >when doing a sample purchase with a valid credit card, >i get the following message: > >Credit Card Information (Credit card encryption failed: ) I would recommend searching the list and documentation using developer.akopia.com, specifically regarding how to enable more verbose error messages from your encryption process. >I know that at one time i was able to complete a purchase using the >same number, Do you mean to say that some numbers complete, and some do not? -Dan >any idea what i may have changed? or what i should do to correct this? > >joel wylan > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Mon, 12 Mar 2001 01:07:39 -0800 Subject: [ic] Performance testing: timer variable? At 11:43 PM 3/9/2001 -0500, you wrote: >On Fri, Mar 09, 2001 at 03:05:43PM -0800, Dan B wrote: > > At 08:17 AM 3/9/2001 -0500, you wrote: > > >On Fri, Mar 09, 2001 at 02:33:58AM -0800, Dan B wrote: > > > > I am doing some performance testing/debugging, and would love to hear > > > > comments from others about this. > > > > > > > > A) Testing the load time (seconds) for an entire page > > > > Is 'time wget $URL' a good indicator? > > > > > > > > B) Testing a specific block of code? > > > > What kind of [perl] would you put in front and in back to > take a > > > > before and after time sample, subtract it, and give the "x.xxxx" > seconds > > > > passed" result? Or another way all together? > > > > > > > > C) I'm also wondering how much of a difference there is between > [query] > > > and > > > > direct SQL querying (i.e. how much does the overhead of perl, DBI, IC > > > > amount to). > > > > > >It's not clear what you want to know or what you define as "good > performance" > > >in your situation. You need to define that first. > > > > Good point. I'm looking for ways to measure "page display times" (when > > network isn't an issue). As far as "good performance", here's the > > background info: > > For hardware, we've got: > > 2-way zeon 1ghz web server (1gb ram) > > 4-way zeon database server (postgresql) with 4gb ram > > EMC Clariion fibrechannel SAN array > > > > With plans to scale out the webservers and do layer-4 www clustering (and > > eventually try the Pgsql clustering code). > > > > For my application, good performance is sub-second page displays no matter > > the concurrency load (1 concurrent connection or 1000+ concurrent). > > > > Basically I'm worried about performance that I can't fix by throwing more > > hardware at the problem. I need a good way to test the performance, and > > that's what I'm hoping you guys can help me discover. :) So it seems that > > it would be very valuable to test the amount of time that it takes to > > execute a given block of code in an .html so that I can find what areas > > need tuning the most. > > > > But since you've piqued my interest, what are the other metrics (or > > dimensions) for "performance" testing on an interchange website? (KB > > transmit size per HTTP SEND? processor utilization maybe? low/high > > concurrency? etc?). > >Setting the reference platform is the first step. Sometimes it is a >laptop and rarely a high end mac workstation. Usually it is a >$1000 off the shelf windoze system from Staples on a dialup. IE, >Netscape, AOL. We do everything on linux so that is covered, and >we check with a Mac when we can get it working. Simple page render >time. > >We want a 3 second render time. Yeah, ugly. Do we get there >with everything, no way. I don't know where you will get sub-second >page displays in any credible testing environment. Do you mean to say that 100mbps isn't a credible testing environment? :-) I thought everyone browsed the net with a cross-connected OC-192 into MAE-WEST? At this point I'm worried about the performance of the site without network overhead. That way I can be sure that a given page is slow because of my bad IML programming (vs. wondering if it was because 56k, etc.). That's what I meant by sub-second. :-) That said, I recently mentioned I found the solution to my question in Mike's Tips and Tricks that I saved to my hdd (knowing it would come in handy later), but neglected to reference until now. It will be great to see the RedHat Documentation Army applied to Interchange docs -- hopefully "tips and tricks" will be expanded and promoted. Anyway, for the sake of list-archive-ness I'll repost what I'm using to benchmark here (from Mike's tips and tricks : From: interchange-users-admin@minivend.com on behalf of Mike Heins [mikeh@minivend.com] Sent: Tuesday, November 21, 2000 12:58 PM To: Interchange User List Subject: [ic] Tips and Tricks -- optimizing lists Area: Core Category: Templates Item: List optimization [...] ------------ Benchmarking ------------ A non-precise benchmark of different iteration options can be done with the following global UserTag. Place this in a file in the usertag/ directory in the Interchange root: UserTag benchmark Order start display UserTag benchmark AddAttr UserTag benchmark Routine <<EOR my $bench_start; my @bench_times; sub { my ($start, $display, $opt) = @_; my @times = times(); if($start or ! defined $bench_start) { $bench_start = 0; @bench_times = @times; for(@bench_times) { $bench_start += $_; } } my $current_total; if($display or ! $start) { for(@times) { $current_total += $_; } unless ($start) { $current_total = sprintf '%.3f', $current_total - $bench_start; for(my $i = 0; $i < 4; $i++) { $times[$i] = sprintf '%.3f', $times[$i] - $bench_times[$i]; } } return $current_total if ! $opt->{verbose}; return "total=$current_total user=$times[0] sys=$times[1] cuser=$times[2] csys=$times[3]"; } return; } EOR Then at the beginning of the code to check, call [benchmark start=1] to start the measurement. At the end [benchmark] will display the time used. Bear in mind that it is not precise, and that there may be variation due to system conditions. Also, the longer the times and the bigger the list, the better the comparison. To see the system/user breakdown, do: [benchmark verbose=1] In general, "user" time measures Interchange processing time and and the rest are indicative of the database access overhead, which can vary widely from database to database. [...] Thanks Mike! (And thanks Christopher!) -Dan >minivend is **never** the issue. Poor performance is almost always poor >design or poor concept; the rest of the time it's not enough RAM. > >FWIW, my experience is that performance is relatively insensitive >to the hardware you through at it; generally our systems chug >along under .1 load avg; that will spike without bound when we >make a **mistake**. Half the hardware or twice as much would >not make a difference when a few robots chew into badly formed >queries all at once. > >cfm > >-- > >Christopher F. Miller, Publisher cfm@maine.com >MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 >1.207.657.5078 http://www.maine.com/ >Content management, electronic commerce, internet integration, Debian linux > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: hazard at crisis.st.hmc.edu (Thomas Johnson ) Date: 12 Mar 2001 02:27:26 -0800 Subject: [ic] Interrelated product options? Hello, I'm trying to set up some product options that are dependent on each other. For instance, I have brand X shoes in white, sizes 7,8,9 and in black sizes 5,6, and 7. I'd like to give the user the option of picking the color & size on the flypage, preferably something like this: white <drop-down for 7,8,9> black <drop-down for 7,8,9> I know I could code this up in Perl with some SQL queries, but is there a better way to do it that uses minimal Perl? Thanks Thomas From: hazard at crisis.st.hmc.edu (Thomas Johnson ) Date: 12 Mar 2001 02:39:40 -0800 Subject: [ic] Interrelated product options? Oops my mistake...that should be white <drop-down for 7,8,9> black <drop-down for 5,6,7> On 12 Mar 2001 02:27:26 -0800, Thomas Johnson wrote: > Hello, > > I'm trying to set up some product options that are dependent on each > other. For instance, I have brand X shoes in white, sizes 7,8,9 and in > black sizes 5,6, and 7. I'd like to give the user the option of picking > the color & size on the flypage, preferably something like this: > > white <drop-down for 7,8,9> > black <drop-down for 7,8,9> > > I know I could code this up in Perl with some SQL queries, but is there > a better way to do it that uses minimal Perl? > > Thanks > Thomas > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: jsaura at eon.es (Julio Saura ) Date: Mon, 12 Mar 2001 11:56:53 +0100 Subject: [ic] problems hello... i have installed interchange on a solaris 2.6 with netscape enterprise server... everything seems to be all right but, when accesing the shop i get this error.. after timeout expires: We're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand, please try again soon. in the web server error log i get "error sending to client... borken pipe".. any idea of what΄s happening????? thanks in advance Julio Saura Alejandre ( jsaura@eon.es ) Dept. de Sistemas e I+D EON Informαtica, S.A. <http://www.eon.es> Pza. Herrera de los Navarros nΊ 2 50002 ZARAGOZA Tfno. +34 976 203040 Fax +34 976 203050 e-mail eon@eon.es From: jsaura at eon.es (Julio Saura ) Date: Mon, 12 Mar 2001 12:08:25 +0100 Subject: [ic] problems ok.. forget it... it is fixed :) if anyone is interested in i solved it by using "compile_link" interchange binary.... regards -----Mensaje original----- De: Julio Saura [mailto:jsaura@eon.es] Enviado el: lunes, 12 de marzo de 2001 11:57 Para: 'interchange-users@lists.akopia.com' Asunto: [ic] problems hello... i have installed interchange on a solaris 2.6 with netscape enterprise server... everything seems to be all right but, when accesing the shop i get this error.. after timeout expires: We're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand, please try again soon. in the web server error log i get "error sending to client... borken pipe".. any idea of what΄s happening????? thanks in advance Julio Saura Alejandre ( jsaura@eon.es ) Dept. de Sistemas e I+D EON Informαtica, S.A. <http://www.eon.es> Pza. Herrera de los Navarros nΊ 2 50002 ZARAGOZA Tfno. +34 976 203040 Fax +34 976 203050 e-mail eon@eon.es _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: avalon.serv at worldnet.att.net (Joel Wylan ) Date: Mon, 12 Mar 2001 08:08:03 -0500 Subject: [ic] Credit Card Information (Credit card encryption failed: ) > >I know that at one time i was able to complete a purchase using the > >same number, > > Do you mean to say that some numbers complete, and some do not? > > -Dan no, they all are rejected, i think it was some setting i changed when i was first familiarizing myself with the demo catalog, kinda like a bull in a china shop. the first few purchases went thru, and i can't remember at which point it actually stopped working... no code has been modified yet... joel From: Ian.Molesworth at 2020Me.com (Ian Molesworth ) Date: Mon, 12 Mar 2001 14:19:57 -0000 Subject: [ic] newbie - install problem Hi RH Linux 7 install. makecat appears to run through fine i then start up interchange as per the text at the end of makecat. which is followed by 10.20.20.25 - - [12/March/2001:12:40:57 +0000] - /cgi-bin/2020shop.cgi Undefined catalog: /cgi-bin/2020shop.cgi - - - [12/March/2001:12:48:37 +0000] - - Sending debug to /tmp/icdebug. - - - [12/March/2001:12:48:37 +0000] - - Low traffic settings. - - - [12/March/2001:12:48:37 +0000] - - Calling UI.... - - - [12/March/2001:12:48:37 +0000] - - ...UI is loaded.... - - - [12/March/2001:12:48:37 +0000] - - Interchange V4.6.3 - - - [12/March/2001:12:48:37 +0000] - - Config '2020shop' at server startup - - - [12/March/2001:12:48:37 +0000] - - Using MySQL, DSN=dbi:mysql:2020shop. - - - [12/March/2001:12:48:37 +0000] - - 2020shop config error: Undefined subroutine &Vend::Table::DBI::create called at //usr/lib/interchange/lib/Vend/Table/Common.pm line 821, <IN> line 1. - - - [12/March/2001:12:48:37 +0000] - - 2020shop: config error. Skipping. - - - [12/March/2001:12:48:37 +0000] - - Couldn't open '//usr/lib/interchange/etc/interchange.pid': Permission denied > Any ideas out there? Ian From: markj at redhat.com (Mark Johnson ) Date: Mon, 12 Mar 2001 09:50:25 -0500 Subject: [ic] How to define Default price in not product database jojo@blackpoint.de wrote: > > I'm wanting to know, how to change the > > "PriceField ....." > > dynamically per pages or per "dealer" too! > > Any tips, hints and suggestions are very welcome. > > Thanks! > > Joachim You can find an example of this in the default "construct" demo via an Autoload directive in catalog.cfg. Autoload is code executed at the time of any page request before anything else is executed. In the "construct" example: Autoload <<EOR [perl] if($Scratch->{dealer}) { $Config->{PriceField} = 'no_price'; } [/perl] EOR There's no reason you can't add in current page conditionals, or anything else you might be able to think of. -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: mark at summersault.com (Mark Stosberg ) Date: Mon, 12 Mar 2001 10:57:44 -0500 Subject: [ic] Setting up Interchange 4.6.3 with Authorize.net Bill Shupp wrote: > > Hello, > > I'm new to Interchange, but have gone through the tutorial successfully and > am starting to read through all the documentation. But I haven't found much > about setting up Interchange with Authorize.net. If there is any > documentation on this out there, could someone point me in the right > direction? Any tips on configuring Interchange for use with Authorize.net > are welcomed as well. Bill, If you look in the distribution at: eg/globalsub/authorizenet You should find the module you need. It contains a bit of documentation in there. That's all the formal documentation there is (that I know of), but that may be all you need. It worked for me. :) -mark personal website } Summersault Website Development http://mark.stosberg.com/ { http://www.summersault.com/ From: mark at summersault.com (Mark Stosberg ) Date: Mon, 12 Mar 2001 11:05:30 -0500 Subject: [ic] shipping voo-doo challenge question Hello! After reviewing the IC docs on setting up shipping schemes several times, it still seems somewhat like voodoo to me. So I have extra respect for anyone who can help me implement the following shipping logic in Interchange: " Use a flat rate shipping price based on quantity with price breaks at 1 and 10, but exclude any items in the quantity count that have a true value in the 'download' column in the products table". I had the basic price point structure set up, but adding in the exception for soft goods (which don't effect the shipping charge), has thrown me for a loop. Perhaps related: In the simple demo of Interchange, there doesn't appear to be a mention of handling soft goods in the shipping table, but I assume they are not being charged for shipping. How is shipping being handled for those items? Thanks! -mark personal website } Summersault Website Development http://mark.stosberg.com/ { http://www.summersault.com/ From: mark at summersault.com (Mark Stosberg ) Date: Mon, 12 Mar 2001 14:13:52 -0500 Subject: [ic] need help with acl for soft goods purchasing Hello! I'm working on getting soft goods downloading working with Minivend 4.04a and have progressed a bit. I believe I'm currently getting stuck with a problem related to the "ACL" permissions of the file. I'm getting back the error: "Sorry, not authorized for PDF1. Buy it first, please." Any help in this area would be appreciated. The pertinent details are below. On the receipt page, I have code that trys to have the logic of: " for each downloadable file, set it's expiration date to 7 days, and return a return a link to where it can be downloaded" [set download_present][/set] [item-list] [if-item-field dl_location] [set download_present]1[/set] [userdb function=set_file_acl mode="expire 7 days" location="[item-code]" ] [calc] my $save = delete $Scratch->{mv_add_dot_html}; [/calc] <BR><A HREF=[area href="deliver/[item-field dl_location]" arg=[item-field code]]download</A> [calc] $Scratch->{mv_add_dot_html} = $save if $save;[/calc] [/if-item-field] ###################################### I'm keeping the files in the pages/deliver directory and I'm using the standard "deliver.html" page delivered with Minivend. In Catalog.cfg, I have these related Variables: # Add some variables that might help with Soft Goods downloading Variable MV_USERDB_ACL_TABLE userdb Variable MV_USERDB_ACL_COLUMN acl The "acl" column did not appear in the userdb.txt file, so I added it. This also appears to use the "deliver" ActionMap, which was already defined in Catalog.cfg. I tried creating a zero byte ".access" file in the deliver directory, but I got a different error: "You must be logged in to view this page". Although I expect the user to have a session, our scheme doesn't require them to be logged in. Thanks! -mark personal website } Summersault Website Development http://mark.stosberg.com/ { http://www.summersault.com/ From: krislists at sledge-hammer.net (Kris Dahl ) Date: Mon, 12 Mar 2001 11:37:13 -0800 Subject: [ic] Switching Databases I would like very much to be able to switch tables (such as access) to be a MySQL table. Ideally I'd like to be able to have this information stored in an global LDAP server at some point. I haven't been able to figure out exactly how one switches tables--am I missing some information? It seems to me that on IRC and this list it is a common problem that people encounter. Also, as I understand there LDAP suppport has been integrated into Interchange. Is there any documentation for it? Thanks, -k > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Larry > Morley > Sent: Sunday, March 11, 2001 12:50 AM > To: interchange-users@lists.akopia.com > Subject: [ic] Switching Databases > > > Hi - > > Is there an easy way to switch a table from using an SQL database > to, say, gdbm? Or text? And, is there a way to switch from > test_catname to another database? > > I saw in a prior post it was done in interchange.cfg; I dont see > where - am I missing something? > > Is there anything inherently wrong with the test_catname database > created by makecat other than it needs to be tweaked once created? > > Lastly, can anyone tell me what this means in my products.dbm file: > > Database products products.txt TAB > Database products HOT 1 > Database products INDEX category:c > > specifically HOT and INDEX? > > Thanks very much, > > Larry Morley > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: jlauman at nwcascades.com (Jack Lauman ) Date: Mon, 12 Mar 2001 12:08:21 -0800 Subject: [ic] Non-Inventory Items I'm using the 'construct' template for a store that has no physical inventory. The product is a service. I would like to use the QuickBooks interface, but don't want inventory messages to appear. How can this be done? I also need to disable the shipping function, as there isn't any need. Thanks in advance, Jack From: markj at redhat.com (Mark Johnson ) Date: Mon, 12 Mar 2001 18:33:19 -0500 Subject: [ic] SQL query on multiple databases. If you're talking about a join, then there is no such thing as "which table the result came from". However, I assume you are not talking about a join, but rather collecting the results of multiple searches into one bucket. Here's some simple code for two tables; you can extend it to N from there. I'll assume a character sort on the 'foo' column. [query st=db hashref=table1 sql="select 'table1' as tablename, code, foo from table1"][/query] [query st=db hashref=table2 sql="select 'table2' as tablename, code, foo from table2"][/query] [perl] my @all = (@{ $Tmp->{table1} },@{ $Tmp->{table2} }); # Combining results. my ($row, $out); foreach $row ( sort { $a->{foo} cmp $b->{foo} } @all ) { # Sorting $out .= <<EOP; $row->{code} is the key for this row from $row->{tablename}<br> The sort is ascending character based on $row->{foo}<p> EOP } return $out; [/perl] For more detail about queries, consult an SQL book or some websites describing syntax. For more detail about the sort function in perl, the man pages should give you a good description of the comparison operators and what $a and $b do. Mathew Jones wrote: > > I would like to search several seperate databases at the same time, returning > the results on the same page. > What I previously set up was 4 seperate [QUERY SQL] tags, which each returned > independent sets of results to the page. Ideally I would like to be able to > pull all the results into the same array or hash so i can sort them by the > price field and they appear as one combined set of results. > I have looked on the developers site and through the old mailing list > questions and only got more confused. I am not a perl programmer by nature, > and need a little help on finding the best possible solution to my problem. > So i guess I have a couple of questions: > 1) How do I get all the seperate search results into the same > array/hash/whatever I need to use? > 2) How do I sort the data based on 1 particular field of the combined results > > 3)How can I push an 'identifier' into each row returned so i can identify > which db the result came from? > > Thanks > > Mat > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: Scott.Andreas at learningco.com (Andreas, Scott ) Date: Mon, 12 Mar 2001 15:28:14 -0800 Subject: [ic] mv_order_route I have a problem... I'm trying to do a special order route for a particular group of items. I want to use the standard routing for all but these special items----> <input type="hidden" name="mv_order_route" value="log glenda user_copy"> which I have put in to the form of "Buy these Items" The form is also pointing to a special cart page with this form value also, then it is handed off to a checkout page with this form value also. I'm using IC 4.6.0 on a redhat machine 6.0 with supercharged hardware J. Scott Andreas :) IS/Programmer/WebDevelopement e-mail: scotta@homer.learnserv.com phone: 1-800-877-9378 ext. 146 fax: (541) 744-2056 --- __o --- _-\<,_ --- (_)/ (_) From: deryk at bluemandala.com (Deryk Wenaus ) Date: Mon, 12 Mar 2001 15:43:01 -0800 Subject: [ic] SSL problem hi, I have been trying to fix this problem for over 5 hours now. I have scoured the akopia website, manuals, and mailing list. But have found no answers. Here is the problem, I am accessing the secure checkout using a different url than my main store and the browser returns "Internal Server Error" The server log for the secure server reads "Premature end of script headers: /usr/local/apache/secure/secure-store/link.cgi" I have tried so many different settings--too many to list--always with the same results. I've tried making a symbolic link from the secure server to the store html directory, I've tried putting a copy of the link.cgi in the secure server folder, I've tried making a symbolic link directly for the link.cgi. I've tried different setting in interchange.cfg. Here are some settings that may help in solving the problem: interchange.cfg: Catalog mystore /home/mystore/catalog /link.cgi /secure-store/link.cgi (I don't fully understand what the last part of that directive does?) Catalog.cfg: Variable SERVER_NAME www.mystore.com Variable CGI_URL /link.cgi Variable SECURE_SERVER https://secure.anotherurl.com/symlink-to-mystore The secure server and the catalog run on the same machine. The non secure store works great. Everytime I try something I always get the Premature end of script headers error. I would really appreciate any and all help. Thanks, Deryk From: lmorley at flexihost.com (Larry Morley ) Date: Mon, 12 Mar 2001 19:47:20 -0800 Subject: [ic] mv_order_route Scott, Its not clear to mee what the problem is - are you having trouble with custom routes? -Larry ----- Original Message ----- From: "Andreas, Scott" <Scott.Andreas@learningco.com> To: <interchange-users@lists.akopia.com> Sent: Monday, March 12, 2001 3:28 PM Subject: [ic] mv_order_route > I have a problem... > I'm trying to do a special order route for a particular group of items. > > I want to use the standard routing for all but these special items----> > <input type="hidden" name="mv_order_route" value="log glenda user_copy"> > which I have put in to the form of "Buy these Items" > > The form is also pointing to a special cart page with this form value also, > then it is handed off to a checkout page with this form value also. > > I'm using IC 4.6.0 on a redhat machine 6.0 with supercharged hardware > > > > J. Scott Andreas :) > IS/Programmer/WebDevelopement > e-mail: scotta@homer.learnserv.com > phone: 1-800-877-9378 ext. 146 > fax: (541) 744-2056 > --- __o > --- _-\<,_ > --- (_)/ (_) > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: kerryb at basicq.com (kerryb ) Date: Mon, 12 Mar 2001 20:45:15 -0500 (EST) Subject: [ic] Re: Interchange-users digest, Vol 1 #357 - 18 msgs Hello, I am in the process of setting up the current download of interchange. I have worked my way through the demo, and have some questions. I am wondering how may sku items the included database can handle well, and how many items can be handled using database like mysql? am atempting to use interchange to sell custom products that have many sizes in width and length, and various patterns and colors. I have over 600 line items in mysql at present with just the 4 product catagories, and the entire price points. The list may have to be much bigger if I have to break down futher. Any suggestions on how to approach appreciated. I have a sampling of the project attached to my basiq.com site. -------------------------------------------------------------------------------- reply to: visit: kerryb@basicq.com http://www.blalock1.com http://www.basicq.com -------------------------------------------------------------------------------- From: jlauman at nwcascades.com (Jack Lauman ) Date: Mon, 12 Mar 2001 17:49:40 -0800 Subject: [ic] Non-Inventory Items How do you disable inventory so that the 'Backordered' message does not appear in the cart when your selling non-inventory items? Also how do you disable shipping on non-inventory items? Thanks in advance, Jack From: jlauman at nwcascades.com (Jack Lauman ) Date: Mon, 12 Mar 2001 17:56:01 -0800 Subject: [ic] Static Site I have a static web site with several hundered products. I the sample web site when you select a product it takes you to the basket.html page. I just want to add the item/qty and allow the customer to continue shopping until they are ready to check out. I haven't been able to find any examples of what I need, and I would appreciate any help. Thanks, Jack From: db at cyclonehq.dnsalias.net (Dan B ) Date: Mon, 12 Mar 2001 18:10:14 -0800 Subject: [ic] mv_order_route At 07:47 PM 3/12/2001 -0800, you wrote: >Scott, > >Its not clear to mee what the problem is - are you having trouble with >custom routes? He clearly outlined the problem below: > > I'm using IC 4.6.0 on a redhat machine 6.0 with supercharged hardware Obviously, "supercharged hardware" means that you're having electrical difficulties. We usually recommend a good industrial power conditioner and UPS. If your power supply is giving you problems, try moving to a 400 watt or higher N+1 power supply. If, on the other hand, you meant "supercharged hardware", then I recommend downloading your credit report off the net and checking just how "super" your "charge" was. If, on the third hand, you mean "supercharg'ed", then I recommend you de-superchargg your hardware right away. Chargg'ing is a leading cause of hardware failures, and the super-chargg procedure can be detrimental. -Dan > > > > > > > > J. Scott Andreas :) > > IS/Programmer/WebDevelopement > > e-mail: scotta@homer.learnserv.com > > phone: 1-800-877-9378 ext. 146 > > fax: (541) 744-2056 > > --- __o > > --- _-\<,_ > > --- (_)/ (_) > > > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: mschick at brightredproductions.com (Matthew Schick ) Date: Mon, 12 Mar 2001 20:26:03 -0600 Subject: [ic] mv_order_route On Monday March 12 2001 20:10, you wrote: > He clearly outlined the problem below: > > > I'm using IC 4.6.0 on a redhat machine 6.0 with supercharged hardware > > Obviously, "supercharged hardware" means that you're having electrical > difficulties. We usually recommend a good industrial power conditioner and > UPS. If your power supply is giving you problems, try moving to a 400 watt > or higher N+1 power supply. > > If, on the other hand, you meant "supercharged hardware", then I recommend > downloading your credit report off the net and checking just how "super" > your "charge" was. > > If, on the third hand, you mean "supercharg'ed", then I recommend you > de-superchargg your hardware right away. Chargg'ing is a leading cause of > hardware failures, and the super-chargg procedure can be detrimental. > > -Dan > ROTFLMAO!!!!!!!!! -- Matthew Schick Owner Bright Red Productions, LLC mschick@brightredproductions.com www.brightredproductions.com From: lmorley at flexihost.com (LM ) Date: Mon, 12 Mar 2001 21:27:44 -0800 Subject: [ic] Databases and IC; RE to Switching Databases Hi, all - thanks for the help - its helped me to figure out quite a few things I'd still be pulling my hair out over. I made a few some discoveries along the way too that I probably wouldn't have otherwise (at least not very readily) . In part this a reply to an earlier post I made as to what they are. Still have one unanswered Q - is there an easy/directly supported way to switch a given table (within a catalog) from using an SQL database to, say, gdbm, or text? The system does this for several tables - 2ndDayAir, Ground, and 4 others aren't in my SQL database so I'm assuming its possible; just can't quite figure out how (yet). --- Here's what I've (I think) figured out, at least to a degree: The database name for a catalog seems to be set in catalog.cfg. I'm using a DBI/SQL db; changing this name lets me switch over to a different DBI/SQL database. I plan to set up a few other scenarios and run some diff's to see what changed for other db types etc. If anyone is curious I'd be more than happy to send you what I find. After looking over (in /usr/lib/interchange/lib in my case) Vend/Data.pm, Vend/Config.pm, and UI/usertag/dbinfo the contents of my products.dbm make a little more sense: Database products products.txt TAB Database products HOT 1 Database products INDEX category:c The HOT keyword seems to make "auto-export" work when editing items from within the IC admin interface; changes I make there show up in products.txt too (as long as the "auto-export" checkbox is checked - it is by default). INDEX indicates a char field index on "category". --- Can anyone with a more IC experiece confirm that the above is accurate? Also, is there really anything wrong with the "test" database's structure etc. that'd make it problematic to use in a production system? The structure of it looks OK, but makecat made a point of saying it was a test database, so I thought I would ask... Thanks, Larry From: ernaldi at agoes.com (Ernaldi Agoes ) Date: Tue, 13 Mar 2001 09:45:15 -0800 Subject: [ic] network problem Hello, I have successed install interchange into my server and it worked. But today, when i want to access it, it failed and the msg is "We're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand, please try again soon." Why? Rgds, Ernaldi From: ftnx at ksbase.com (Kari Suomela ) Date: Mon, 12 Mar 2001 21:56:37 -0500 Subject: [ic] Sorry the page (expired) was not found Every time a user wants to buy something, the subj error pops up. Using a non-customized demo. KS KARICO Business Services Toronto, ON Canada http://www.ksbase.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Mon, 12 Mar 2001 18:59:51 -0800 Subject: [ic] network problem At 09:45 AM 3/13/2001 -0800, you wrote: >Hello, > >I have successed install interchange into my server and it worked. But >today, when i want to access it, it failed and the msg is "We're sorry, >the Interchange server is unavailable... >We are out of service or may be experiencing high system demand, >please try again soon." >Why? I would recommend analyzing your CATROOT/error.log and VENDROOT/error.log files. Also read the section in the docs that have to do with this question (which can easily be searched at developer.akopia.com). If you run 'tail -n 100 error.log' it will give you the last 100 lines of the logfile. HTH, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: support at integricity.com (Integricity Support ) Date: Tue, 13 Mar 2001 11:12:23 +0800 Subject: [ic] CC Now Hello interchange-users, I know this is a weird question, but has anyone done any integration of Interchange and CCnow? I know they have their own shopping cart that ties in with payment. Just evaluating possibilities and what others have done. -- Best regards, Integricity mailto:support@integricity.com From: chc at mninter.net (Curt Hauge ) Date: Mon, 12 Mar 2001 21:10:14 -0600 Subject: [ic] expireall and server --start fail to run in crontab (was: Where is checkstat.sh?) Thank you Dan. I believe this is what I need, however, I can't seem to execute anything from my crontab for some reason. This may be a crontab thing. I have tried: 5,10,15,20,45,55 * * * * /home/myfiles/interchange/bin/interchange --start and 5,10,15,20,45,55 * * * * /home/myfiles/interchange/bin/interchange --serve These both work when executed from /interchange as bin/interchange --start but not from cron. Any pointers out there? This crontab worked fine for MV4.04 but not the IC4.6.3 tarball on Linux Mandrake 6.0. What could I have screwed up? Nothing appears in error logs in either /interchange or /catalogs/cat. It's like the crontab is not doing anything, although I know it is because it fails this also: 44 4 * * * /home/tgis/interchange/bin/expireall (or expireall -r) and reports to me via email as: >From root Mon Mar 12 04:44:01 2001 Return-Path: <root> Received: (from root@localhost) by myhost.com (8.9.3/8.8.7) id EAA16611 for mylogin; Mon, 12 Mar 2001 04:44:01 -0600 Date: Mon, 12 Mar 2001 04:44:01 -0600 Message-Id: <200103121044.EAA16611@myhost.com> From: root@myhost.com (Cron Daemon) To: mylogin@myhost.com Subject: Cron <mylogin@myhost> /home/myfiles/interchange/bin/expireall X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/home/myfiles> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=mylogin> Status: RO Couldn't read interchange.cfg: No such file or directory The file is definately there. I have checked spelling of everything. Can anybody point me in the right direction or offer tips to troubleshoot this? Thanks all. Curt -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Dan B Sent: Monday, March 12, 2001 12:36 AM To: interchange-users@lists.akopia.com Subject: Re: [ic] Where is checkstat.sh? At 11:14 PM 3/10/2001 -0600, you wrote: >After converting a Minivend 4.04 site to Interchange 4.6.3, I can not find >checkstat.sh (which checks to see if the server is running and restarts it >if not) in the Interchange directory, nor can I get the old checkstat.sh >to work via my crontab after copying it to /home/myfiles/interchange/bin. >I know it used to be in the /eg directory of the source, but it is not in >the interchange-4.6.3/eg directory. My crontab looks like: > >5,15,25,35,45,55 * * * * /home/myfiles/interchange/bin/checkstat.sh>&2 > >Is checkstat.sh still being used? Can I use the old one? If yes, what >changes are necessary to use the old one? I think that checkstat.sh is not being used anymore in favor of bin/interchange If I'm correct, bin/interchange will look at the .pid file to see if it is till running, and if not, it will start itself again. Otherwise it will just go through init until it realizes it was already running, and not fork an additional copy. So I think you could try a call to bin/interchange in your crontab. >Thanks in advance. > >Curt Hauge > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: 6tc1 at qlink.queensu.ca (Timothy Cassidy ) Date: Mon, 12 Mar 2001 22:23:34 -0500 (EST) Subject: [ic] still unable to call global subroutines in html files I think you may have misunderstood my question. I have set AllowGlobal for my catalog that I am working in. I did this by putting AllowGlobal construct on a single line. The catalog I am working with is called construct. In addition I have defined a Global subroutine (in truth it was already defined in the interchange.cfg file GlobalSub sub test_global_sub { return 'Test of global subroutine OK.' } now when I put [perl sub] test_global_sub(); [/perl] in one of my html files (aboutus.html), I get the following error: 192.168.0.13 I7nXoc3U:192.168.0.13 - [12/March/2001:21:56:53 -0500] construct /c gi-bin/construct/aboutus.html Safe: Undefined subroutine &MVSAFE::test_global_su b called at (eval 239) line 6. > > > test_global_sub(); > > 192.168.0.13 I7nXoc3U:192.168.0.13 - [12/March/2001:21:56:53 -0500] construct /c gi-bin/construct/aboutus.html Safe: Undefined subroutine &MVSAFE::test_global_su b called at (eval 239) line 6. > > > test_global_sub(); > > 192.168.0.13 I7nXoc3U:192.168.0.13 - [12/March/2001:21:56:53 -0500] construct /c gi-bin/construct/aboutus.html Runtime error: Can't call method "open_table" on a n undefined value at //usr/lib/interchange/lib/Vend/Data.pm line 872. > 192.168.0.13 I7nXoc3U:192.168.0.13 - [12/March/2001:21:56:53 -0500] construct /c gi-bin/construct/aboutus.html Runtime error: Can't call method "open_table" on a n undefined value at //usr/lib/interchange/lib/Vend/Data.pm line 872. > I don't know why I get the error twice, but I clear the error.log file each time I restart the interchange server. Anyway, perhaps I have misunderstood your answer, but I think it is just that I am not calling the functions correctly. For instance, are my user tags correct? I found the [perl sub] tag in one of the documents. But it seems strange that it is ended with a regular end perl tag. I actually do know how to use grep and I tried your suggestion of grep'ing on the various pm files that are part of interchange, and I did find code that referred to MVSAFE, but I am unsure as to what to do with that code. I wouldn't have thought that I should have to alter the code in the interchange libraries (/usr/lib/interchange/, /usr/local/interchange/lib/) Thanks very much for your help, Tim On Sat, 10 Mar 2001 cfm@maine.com wrote: > On Sat, Mar 10, 2001 at 08:44:01PM -0500, Timothy Cassidy wrote: > > This is a stupid question, but how do you call one of these > > GlobalSub subroutines (in your interchange.cfg file)? I have been trying > > to call these subroutines from within a section of my html pages like > > this: > > [perl sub] > > test(); > > [/perl] > > > > I also tried adding this line: > > &charge=custom test > > to my profiles.order file. > > > > But regardless this fails with an error like this: > > 192.168.0.13 vqMqdKVZ:192.168.0.13 - [10/March/2001:20:25:08 -0500] > > construct /c > > gi-bin/construct/aboutus.html Safe: Undefined subroutine &MVSAFE::test > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > You probably need AllowGlobal in your interchange.cfg file. > > If one is writing embedded perl one should learn how to grep through > the code to find something like that and how to systematically > isolate the issue. > > grep MVSAFE *.pm > > Yeah it would be nice if IC logs were more syslog typical, > __FILE__:__LINE__ message. We've never run it with the syslog > option (there is one isn't there), maybe it already is. > > -- > > Christopher F. Miller, Publisher cfm@maine.com > MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 > 1.207.657.5078 http://www.maine.com/ > Content management, electronic commerce, internet integration, Debian linux > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: lmorley at flexihost.com (LM ) Date: Mon, 12 Mar 2001 22:26:54 -0800 Subject: [ic] network problem Did you start interchange? For the RPM version: /etc/rc.d/init.d/interchange start >From the sources (assuming you installed to /usr/local/interchange) If you're logged in as the interchange user ("interch"): /usr/local/interchange/bin/interchange -r or as root: su interch -c '/usr/local/interchange/bin/interchange -r' You might want to get the tutorial at developer.akopia.com (iccattut.pdf); its got a lot of helpful info in it. - Larry > I have successed install interchange into my server and it worked. But > today, when i want to access it, it failed and the msg is "We're sorry, the Interchange server is unavailable... > We are out of service or may be experiencing high system demand, > please try again soon." > Why? > > Rgds, > Ernaldi From: db at cyclonehq.dnsalias.net (Dan B ) Date: Mon, 12 Mar 2001 20:19:26 -0800 Subject: [ic] Sorry the page (expired) was not found At 09:56 PM 3/12/2001 -0500, you wrote: >Every time a user wants to buy something, the subj error pops up. Using >a non-customized demo. Here is a diagnosis tip: 'tail -f error.log' the browse the sight in a seperate box and see what pops up in the error log (kind of real-time). Also check your RobotLimit setting in your catalog.cfg, and lookup what it means in the docs. Some other people have had this problem before, but I don't know how/if it was resolved: http://developer.akopia.com/archive/interchange-users/2001/msg02031.html -Dan > KS > > KARICO Business Services > Toronto, ON Canada > http://www.ksbase.com > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Mon, 12 Mar 2001 20:23:49 -0800 Subject: [ic] expireall and server --start fail to run in crontab Good troubleshooting, Curt. Answer below... At 09:10 PM 3/12/2001 -0600, you wrote: >Thank you Dan. I believe this is what I need, however, I can't seem to >execute anything from my crontab for some reason. This may be a crontab >thing. I have tried: > >5,10,15,20,45,55 * * * * /home/myfiles/interchange/bin/interchange --start > >and > >5,10,15,20,45,55 * * * * /home/myfiles/interchange/bin/interchange --serve > >These both work when executed from /interchange as > >bin/interchange --start > >but not from cron. Any pointers out there? This crontab worked fine for >MV4.04 but not the IC4.6.3 tarball on Linux Mandrake 6.0. What could I >have screwed up? Nothing appears in error logs in either /interchange or >/catalogs/cat. It's like the crontab is not doing anything, although I >know it is because it fails this also: > >44 4 * * * /home/tgis/interchange/bin/expireall > >(or expireall -r) > >and reports to me via email as: > > >From root Mon Mar 12 04:44:01 2001 >Return-Path: <root> >Received: (from root@localhost) > by myhost.com (8.9.3/8.8.7) id EAA16611 > for mylogin; Mon, 12 Mar 2001 04:44:01 -0600 >Date: Mon, 12 Mar 2001 04:44:01 -0600 >Message-Id: <200103121044.EAA16611@myhost.com> >From: root@myhost.com (Cron Daemon) >To: mylogin@myhost.com >Subject: Cron <mylogin@myhost> /home/myfiles/interchange/bin/expireall >X-Cron-Env: <SHELL=/bin/sh> >X-Cron-Env: <HOME=/home/myfiles> >X-Cron-Env: <PATH=/usr/bin:/bin> >X-Cron-Env: <LOGNAME=mylogin> >Status: RO > >Couldn't read interchange.cfg: No such file or directory > >The file is definately there. I have checked spelling of everything. Can >anybody point me in the right direction or offer tips to troubleshoot this? Tell your crontab to execute the command as your interchange user (which gives the process the effective user id: EUID same as UID interchange) with the following command: su interch -c "/home/myfiles/interchange/bin/interchange --start" (of course, replace interch with your interchange username). And enjoy, -Dan Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: hopley at ccgenesis.com (hopley at ccgenesis.com ) Date: Mon, 12 Mar 2001 22:56:39 -0700 Subject: [ic] Performance Related Greetings, I am new to the list and have a question surrounding the issues of performance and scale. I am planning on building sites using Interchange as a platform. What I would like to do is pull together a picture that will address performance as it is made up of the hardware, operating system, web server, application, and database server. My question is: Are there any published or posted performance related information available related to Interchange? The specifics as I have planned now are: That I will be running on RedHat v7, with StrongHold, Interchange, and am planning on the database, PostgreSQL, being on a separate server. The hardware platform is likely to be an Intel >=800MHz with >=512MB RAM. I know that performance numbers are all related to the specific instantiations of the system. What I am hoping to find is some benchmarks or other data points that I can use as a measure for my planning. Thanks in advance. -dhOPLEY -- Douglas E. Hopley Jr. Director of Information Technology ccgenesis.com 360 Interlocken Blvd. Suite 104 Broomfield, CO 80021-3440 ph: 303.222.3835 fx: 303.222.3850 em: hopley@ccgenesis.com From: chc at mninter.net (Curt Hauge ) Date: Tue, 13 Mar 2001 04:19:08 -0600 Subject: [ic] expireall and server --start fail to run in crontab (was: Where is checkstat.sh?) It didn't work...don't I need root to su? Now what? I mean, it worked in MV4.04 anyway...this is a crontab problem, correct? Do I need to speak with my host or should I read a book? =) -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Dan B Sent: Monday, March 12, 2001 10:24 PM To: interchange-users@lists.akopia.com Subject: Re: [ic] expireall and server --start fail to run in crontab (was: Where is checkstat.sh?) Good troubleshooting, Curt. Answer below... At 09:10 PM 3/12/2001 -0600, you wrote: >Thank you Dan. I believe this is what I need, however, I can't seem to >execute anything from my crontab for some reason. This may be a crontab >thing. I have tried: > >5,10,15,20,45,55 * * * * /home/myfiles/interchange/bin/interchange --start > >and > >5,10,15,20,45,55 * * * * /home/myfiles/interchange/bin/interchange --serve > >These both work when executed from /interchange as > >bin/interchange --start > >but not from cron. Any pointers out there? This crontab worked fine for >MV4.04 but not the IC4.6.3 tarball on Linux Mandrake 6.0. What could I >have screwed up? Nothing appears in error logs in either /interchange or >/catalogs/cat. It's like the crontab is not doing anything, although I >know it is because it fails this also: > >44 4 * * * /home/tgis/interchange/bin/expireall > >(or expireall -r) > >and reports to me via email as: > > >From root Mon Mar 12 04:44:01 2001 >Return-Path: <root> >Received: (from root@localhost) > by myhost.com (8.9.3/8.8.7) id EAA16611 > for mylogin; Mon, 12 Mar 2001 04:44:01 -0600 >Date: Mon, 12 Mar 2001 04:44:01 -0600 >Message-Id: <200103121044.EAA16611@myhost.com> >From: root@myhost.com (Cron Daemon) >To: mylogin@myhost.com >Subject: Cron <mylogin@myhost> /home/myfiles/interchange/bin/expireall >X-Cron-Env: <SHELL=/bin/sh> >X-Cron-Env: <HOME=/home/myfiles> >X-Cron-Env: <PATH=/usr/bin:/bin> >X-Cron-Env: <LOGNAME=mylogin> >Status: RO > >Couldn't read interchange.cfg: No such file or directory > >The file is definately there. I have checked spelling of everything. Can >anybody point me in the right direction or offer tips to troubleshoot this? Tell your crontab to execute the command as your interchange user (which gives the process the effective user id: EUID same as UID interchange) with the following command: su interch -c "/home/myfiles/interchange/bin/interchange --start" (of course, replace interch with your interchange username). And enjoy, -Dan Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: cfm at maine.com (cfm at maine.com ) Date: Tue, 13 Mar 2001 08:08:03 -0500 Subject: [ic] Debianized version of Interchange-Any tips or tricks There are debs of interchange available at www.minivend.com (or whatever it points to now) Frankly, if you are going to do anything serious with it, make your own package or just install it from tarball. It's easy and you can't afford the possiblity of any upgrade touching it. Nowadays it's the only thing we keep out of the package manager. cfm On Mon, Oct 16, 2000 at 12:10:49PM -0500, John Foster wrote: > I just tried to convert the RH6 version of Akopia Interchange 4.5.7 to a > Debian installation via Alien on a Potato system. I seemed to work and > installed OK, but Interchange did not work. Also the Debian package > manager removed it all without any problems. The main areas of > contention seem to be where Debian interprets the file installation > locations and local permissions. If anyone has successfully accomplished > this please reply with any advise that you may provide. Thanks > -- > AdVance-Computing Systems > > We sell fine quality servers and workstations. > We specialize in multiprocessor units. > We install Debian Linux at no extra charge! > > John Foster > jfoster@augustmail.com > ICQ# 19460173 > > > -- > Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: fraser at starnix.com (Fraser Campbell ) Date: 13 Mar 2001 08:38:33 -0500 Subject: [ic] Debianized version of Interchange-Any tips or tricks John Foster <jfoster@augustmail.com> writes: > I just tried to convert the RH6 version of Akopia Interchange 4.5.7 to a > Debian installation via Alien on a Potato system. I seemed to work and > installed OK, but Interchange did not work. Also the Debian package > manager removed it all without any problems. The main areas of http://ftp.minivend.com/interchange/debian/ It apears that it may even be apt-gettable. -- fraser campbell <fraser@starnix.com> starnix inc. tollfree: (905) 771-0017 thornhill, ontario, canada http://www.starnix.com/ professional linux services & products From: fraser at starnix.com (Fraser Campbell ) Date: 13 Mar 2001 08:38:33 -0500 Subject: [ic] Debianized version of Interchange-Any tips or tricks John Foster <jfoster@augustmail.com> writes: > I just tried to convert the RH6 version of Akopia Interchange 4.5.7 to a > Debian installation via Alien on a Potato system. I seemed to work and > installed OK, but Interchange did not work. Also the Debian package > manager removed it all without any problems. The main areas of http://ftp.minivend.com/interchange/debian/ It apears that it may even be apt-gettable. -- fraser campbell <fraser@starnix.com> starnix inc. tollfree: (905) 771-0017 thornhill, ontario, canada http://www.starnix.com/ professional linux services & products From: zack at office.standardprinting.net (office.standardprinting.net ) Date: Tue, 13 Mar 2001 09:44:41 -0500 Subject: [ic] s/Reg Exps on file paths/headaches/g ; I'm working on an upload page, and found the docs on using [value-extended], etc. So far, so good. But the <input type="file" . . . > tag returns a full path from Win clients, e.g.: F:\folder\file.jpg (Macs dutifully return only the filename, not the whole path :) Of course, on Linux, this is not helpful if I want to upload "file.jpg", preserve its filename, and place it in "uploads/". The docs don't really touch on this point (at least, not the ones that I've seen), as they simply specify the outfile as "junk.upload". I'm afraid I'm doing a pitiful job at reinventing the wheel. What seemed like an easy exercise in Regular Expressions has gone South fast. I'm having a hard time dealing with the Windows' path delimiter '\', as *nix wan't to treat it as a metacharacter. I've tried quotemeta(), but either I'm using it wrong or I'm chasing the wrong tail. The results are always unpredictable. I'm losing my faith in RegExps. The existing /admin/do_upload | /admin/upload_file aren't helping me much. TIA. Zack *** CODE *** [perl]$filename = CGI->{newfile} ; "Our path to parse is: ".$filename."\n\n"; $filename =~ s|.*[\\]{1}|| ; "The filename is: ".$filename."\n\n" ; [/perl] From: email at jasonkohles.com (Jason Kohles ) Date: Tue, 13 Mar 2001 09:50:25 -0500 Subject: [ic] s/Reg Exps on file paths/headaches/g ; On Tue, Mar 13, 2001 at 09:44:41AM -0500, office.standardprinting.net wrote: > I'm working on an upload page, and found the docs on using [value-extended], > etc. So far, so good. > > But the <input type="file" . . . > tag returns a full path from Win clients, > e.g.: F:\folder\file.jpg (Macs dutifully return only the filename, not the > whole path :) > > $filename =~ s|.*[\\]{1}|| ; > All you really need here is: $filename =~ s|.*\\||; to get rid of everything up to and including the last backslash. You might want to include forward slashes as well, as most unix browsers also return the full path. This should do the trick: $filename =~ s|.*[\\/]||; -- Jason S Kohles jason@jasonkohles.com From: blc9483 at ksu.edu (Ben Claar ) Date: Tue, 13 Mar 2001 09:17:38 -0600 (CST) Subject: [ic] Debianized version of Interchange-Any tips or tricks On 13 Mar 2001, Fraser Campbell wrote: > John Foster <jfoster@augustmail.com> writes: > > > I just tried to convert the RH6 version of Akopia Interchange 4.5.7 to a > > Debian installation via Alien on a Potato system. I seemed to work and > > installed OK, but Interchange did not work. Also the Debian package > > manager removed it all without any problems. The main areas of > > http://ftp.minivend.com/interchange/debian/ > > It apears that it may even be apt-gettable. Although there are debian packages available, in my limited experience they do not install anywhere near as nicely as the RPM's. When I used them with 4.6.3, permissions were not set correctly, and once they were fixed I could never get the admin page of the construct demo working even after hours of tweaking. I recommend using the tarball, but YMMV. -Ben Claar -- Ben Claar Student UNIX Admin Kansas State University From: blc9483 at ksu.edu (Ben Claar ) Date: Tue, 13 Mar 2001 09:17:38 -0600 (CST) Subject: [ic] Debianized version of Interchange-Any tips or tricks On 13 Mar 2001, Fraser Campbell wrote: > John Foster <jfoster@augustmail.com> writes: > > > I just tried to convert the RH6 version of Akopia Interchange 4.5.7 to a > > Debian installation via Alien on a Potato system. I seemed to work and > > installed OK, but Interchange did not work. Also the Debian package > > manager removed it all without any problems. The main areas of > > http://ftp.minivend.com/interchange/debian/ > > It apears that it may even be apt-gettable. Although there are debian packages available, in my limited experience they do not install anywhere near as nicely as the RPM's. When I used them with 4.6.3, permissions were not set correctly, and once they were fixed I could never get the admin page of the construct demo working even after hours of tweaking. I recommend using the tarball, but YMMV. -Ben Claar -- Ben Claar Student UNIX Admin Kansas State University From: cfm at maine.com (cfm at maine.com ) Date: Tue, 13 Mar 2001 10:19:49 -0500 Subject: [ic] s/Reg Exps on file paths/headaches/g ; On Tue, Mar 13, 2001 at 09:50:25AM -0500, Jason Kohles wrote: > On Tue, Mar 13, 2001 at 09:44:41AM -0500, office.standardprinting.net wrote: > > I'm working on an upload page, and found the docs on using [value-extended], > > etc. So far, so good. > > > > But the <input type="file" . . . > tag returns a full path from Win clients, > > e.g.: F:\folder\file.jpg (Macs dutifully return only the filename, not the > > whole path :) > > > > $filename =~ s|.*[\\]{1}|| ; > > > All you really need here is: > > $filename =~ s|.*\\||; > > to get rid of everything up to and including the last backslash. You might > want to include forward slashes as well, as most unix browsers also return > the full path. This should do the trick: > > $filename =~ s|.*[\\/]||; We rename anything uploaded and provide the pathname as supplied as an informational field. In that case we want the full local pathname. With the new character sets and all the various ways path delimiters can be represented that seemed safest to us. That regexp won't get .2fetc.2fpasswd or (more likely) anything in .2fsession.2f.... > > -- > Jason S Kohles > jason@jasonkohles.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: racke at linuxia.de (Stefan Hornburg ) Date: 13 Mar 2001 10:22:21 -0500 Subject: [ic] Debianized version of Interchange-Any tips or tricks John Foster <jfoster@augustmail.com> writes: > I just tried to convert the RH6 version of Akopia Interchange 4.5.7 to a > Debian installation via Alien on a Potato system. I seemed to work and > installed OK, but Interchange did not work. Also the Debian package > manager removed it all without any problems. The main areas of > contention seem to be where Debian interprets the file installation > locations and local permissions. If anyone has successfully accomplished > this please reply with any advise that you may provide. Thanks Why do you not try the Debian packages available at Akopia ? Ciao Racke -- I'm currently on holidays in the USA. Don't expect any further mails before March 20th. From: davidb at communitylink.com (davidb ) Date: Tue, 13 Mar 2001 10:01:54 -0600 Subject: [ic] Admin Images Missing I just installed a new catalog and for some reason all of the images in ADMIN are missing. Any ideas as to why? Everything shows up fine on the site. Thanks for any advice. From: Armin.Costa at unibz.it (Costa Armin (Student Econ99) ) Date: Tue, 13 Mar 2001 17:39:08 +0100 Subject: [ic] Admin Images Missing The images in the admin section do not show up because you didn't specifiy the right path during the catalog configuration. Do you remembre the path you had to set: <img src="/......." The Slash is a placeholder of the document root directory (/home/httpd/html) Try to reinstall the catalogue and set the path relatively as you set the path were all "construct" documents are located (I'll suggest not in the document root directory -- /home/httpd/html -- but in /home/httpd/html/construct or whatever you choose as catalogue name). So, set <img src="/construct " >. In the next steps the server will want you to confirm something like that <img src="/construct/images" I hope that helps I had the same problem when first trying to set up interchange.. Bye Armin Costa Italian Guy -----Original Message----- From: davidb [mailto:davidb@communitylink.com] Sent: Dienstag, 13. Mδrz 2001 17:02 To: interchange-users@lists.akopia.com Subject: [ic] Admin Images Missing I just installed a new catalog and for some reason all of the images in ADMIN are missing. Any ideas as to why? Everything shows up fine on the site. Thanks for any advice. _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: edl at newmediaems.com (Ed LaFrance ) Date: Tue, 13 Mar 2001 08:49:26 -0800 Subject: [ic] network problem At 09:45 AM 03/13/2001 -0800, you wrote: >Hello, > >I have successed install interchange into my server and it worked. But >today, when i want to access it, it failed and the msg is "We're sorry, >the Interchange server is unavailable... >We are out of service or may be experiencing high system demand, >please try again soon." >Why? > >Rgds, >Ernaldi Sounds like IC may have died. Issue the start or restart command and see if that helps. - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: caught_one at yahoo.com (Guido Sohne ) Date: Tue, 13 Mar 2001 09:05:19 -0800 (PST) Subject: [ic] Shipped Directly To Jail, Do Not Pass Go, Guru I posted earlier on a shipping problem I was having and was basically told to either 1) Iterate over the cart items in Perl and watch the sun rising ... :-) 2) Or use an add-on product called shipd ... I opted for 'roll-your-own' :-) and am being rolled over by a steam roller. I'm trying to calculate shipping for a set of items in a shopping cart. Each item could potentially have its own shipping method. This is intended to allow for widely varying types of goods. For example, shipping iron rods is different from shipping jewelry, yet both can be bought at the same time. As far as I am aware, Interchange calculates shipping based on the aggregate weight/quantity of the items in a cart by applying a data table to this aggregate quantity. We're shipping based on weight. I've identified a strategy which seems workable except I do not know all the steps needed to achieve it. 1) Add a field to products database called ship. This field is the class of shipping (ie. the data table to be applied to this product) 2) Define tags that are used with [item-list] to be used as below:- ([]'s shifted around for clarity) [reset-shipping] [item-list] [add-to-shipping shipmode="[item-field ship]" weight="[item-field weight]" quantity="[item-quantity]" ] [/item-list] [calculate-shipping-to "New Jersey"] 3) These UserTags go into the catalog.cfg for the store. This UserTag resets all shipping values to zero and should be used each time one is going to do something related to calculating shipping. UserTag reset-shipping Routine <<EOR sub { $Vend::Session->{SendToAfrica} = undef; return ""; } EOR This UserTag sorts the products into bins according to shipping class and calculates the aggregate weight for each bin. UserTag add-to-shipping Order shipmode weight quantity UserTag add-to-shipping Routine <<EOR sub { my ($shipmode,$weight,$quantity) = @_; $Vend::Session->{SendToAfrica}{$shipmode} += $weight * $quantity; return ""; } EOR This UserTag is supposed to apply a data table used in regular Interchange shipping to each bin. If the bin are called '1', '2' and '3', and we are shipping to 'USA', then this UserTag should apply data table USA1 to the aggregate weight of items in bin '1'; apply data table USA2 to the aggregate weight of items in bin '2' etc. I'm setting $::Values->{mv_shipmode} to the concatenation of the shipping destination and the shipping class. That would make data table 'USA1' apply to destination 'USA' and shipping class '1'. Now I want to call an Interchange function, telling it to calculate shipping for the items in bin '1' for destination 'USA'. From looking at the source code for sub shipping in Interpolate.pm, I guess the next step is to create a cart for each bin, put all items in the bin into the cart. I'm having problems trying to work out how to do the calculate-shipping-to UserTag properly. This code doesn't work ... and I need help with it especially as this is my first descent into the Perl side of developing with Interchange. Any ideas ? This would be much easier if Interchange had API level documentation. If something like that exists, please let me know !!!! I'm tearing my hair out trying to grok this Perl :) it's too elite for me, maybe ... Maybe ?!? UserTag calculate-shipping-to Order region UserTag calculate-shipping-to Routine <<EOR sub { my $region = shift; my $method = undef; my $cat = undef; my $total = undef; foreach $cat (keys %{$Vend::Session->{SendToAfrica}}) { # TODO: from region get shipping data table # this is done by setting mv_shipmode $::Values->{mv_shipmode} = $region . $cat; print $Vend::Interpolate::shipping($region . $cat); # TODO: use mv_shipmode on category weight $total += $Vend::Session->{SendToAfrica}{$cat}; } return "$total"; } EOR __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ From: zack at office.standardprinting.net (Zack Johnson ) Date: Tue, 13 Mar 2001 12:14:08 -0500 Subject: [ic] network problem Check with you ISP. Most likely they are running a program called "procmon" will kills any programs which take up more CPU time or memory than the ISP desires. Since IC typically runs at > 14Mb, many procmon configurations will kill it within a few minutes of it's start. Zack ----- Original Message ----- From: "Ed LaFrance" <edl@newmediaems.com> To: <interchange-users@lists.akopia.com> Sent: Tuesday, March 13, 2001 11:49 AM Subject: Re: [ic] network problem > At 09:45 AM 03/13/2001 -0800, you wrote: > >Hello, > > > >I have successed install interchange into my server and it worked. But > >today, when i want to access it, it failed and the msg is "We're sorry, > >the Interchange server is unavailable... > >We are out of service or may be experiencing high system demand, > >please try again soon." > >Why? > > > >Rgds, > >Ernaldi > > Sounds like IC may have died. Issue the start or restart command and see > if that helps. > > - Ed L. > > > > =============================================================== > **** Virtual Hosting w/private IC Installation, $65/month! **** > --------------------------------------------------------------- > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: mat at booksellersolutions.com (Mat Jones - booksellersolutions.com ) Date: Tue, 13 Mar 2001 09:06:33 -0800 Subject: [ic] perl sort I am using the sort function to sort an array of results from an sql query, and it returns the results by name but it is case sensitive. eg - sort {$a->[1] cmp $b->[1]} @array; it returns Andy Dave Paul Steve andy arthur Im sure its an easy fix, could someone help me out? Thanks Mat From: zack at office.standardprinting.net (Zack Johnson ) Date: Tue, 13 Mar 2001 12:16:45 -0500 Subject: [ic] s/Reg Exps on file paths/headaches/g ; Many thanks. For the record, here's the code that works for those people who, down the road, are searching the docs trying to do the same: In the form: <FORM ACTION="[process-target]" METHOD=POST ENCTYPE="multipart/form-data"> <INPUT TYPE=hidden NAME=mv_todo VALUE=return> <INPUT TYPE=hidden NAME=mv_nextpage VALUE=test> <INPUT TYPE=hidden NAME=ui_return_to VALUE="thispage.html"> <INPUT TYPE=hidden NAME=ui_return_to VALUE="item_id=sessions"> <INPUT TYPE=file NAME=newfile> <INPUT type=hidden NAME=upload_fn VALUE="upload/"> <INPUT NAME=ui_upload_ascii TYPE=radio VALUE=1> ASCII<BR> <INPUT NAME=ui_upload_ascii TYPE=radio VALUE=0 CHECKED> Binary <INPUT TYPE=submit name="mv_click" VALUE="Upload"> </FORM> In the target page (test.html): [set name=upload_filename interpolate=1][calc] $filename = $CGI->{newfile} ; $filename =~ s|.*[\\/]||; $filename [/calc][/set] [value-extended Yes=1 No=0 name=newfile outfile="upload/[scratch upload_filename]" ascii="[value ui_upload_ascii]" ] [bounce href="[return-to url]"] That's it! Good luck. Zack mail archive keywords: file upload ----- Original Message ----- From: "Jason Kohles" <email@jasonkohles.com> To: <interchange-users@lists.akopia.com> Cc: "office.standardprinting.net" <zack@office.standardprinting.net> Sent: Tuesday, March 13, 2001 9:50 AM Subject: Re: [ic] s/Reg Exps on file paths/headaches/g ; > On Tue, Mar 13, 2001 at 09:44:41AM -0500, office.standardprinting.net wrote: > > I'm working on an upload page, and found the docs on using [value-extended], > > etc. So far, so good. > > > > But the <input type="file" . . . > tag returns a full path from Win clients, > > e.g.: F:\folder\file.jpg (Macs dutifully return only the filename, not the > > whole path :) > > > > $filename =~ s|.*[\\]{1}|| ; > > > All you really need here is: > > $filename =~ s|.*\\||; > > to get rid of everything up to and including the last backslash. You might > want to include forward slashes as well, as most unix browsers also return > the full path. This should do the trick: > > $filename =~ s|.*[\\/]||; > > -- > Jason S Kohles > jason@jasonkohles.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: email at jasonkohles.com (Jason Kohles ) Date: Tue, 13 Mar 2001 12:07:04 -0500 Subject: [ic] perl sort On Tue, Mar 13, 2001 at 09:06:33AM -0800, Mat Jones - booksellersolutions.com wrote: > I am using the sort function to sort an array of results from an sql query, > and it returns the results by name but it is case sensitive. > eg - sort {$a->[1] cmp $b->[1]} @array; sort {lc($a->[1]) cmp lc($b->[1])} @array; -- Jason S Kohles jason@jasonkohles.com From: mikeofholmes at hotmail.com (Mike Holmes ) Date: Tue, 13 Mar 2001 09:22:11 -0800 Subject: [ic] multiple mv_data_key? Hello all, Is it possible to have two keys into a table using mv_data_key? I am trying to key into a table using fields code and skus, because this particular table uses these two fields as a unique key. I've already tried this and have had no luck. <INPUT TYPE=HIDDEN NAME="mv_data_key" VALUE="code,skus"> this is the syntax I'm working with: <FORM METHOD=POST ACTION="[process]"> <INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="related"> <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="admin/related/update"> <INPUT TYPE=HIDDEN NAME="mv_data_fields" VALUE="code,skus,related_skus,make,model_name,image"> Thanks Mike Holmes _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: edl at newmediaems.com (Ed LaFrance ) Date: Tue, 13 Mar 2001 09:23:49 -0800 Subject: [ic] expireall and server --start fail to run in crontab At 04:19 AM 03/13/2001 -0600, you wrote: >It didn't work...don't I need root to su? Now what? I mean, it worked in >MV4.04 anyway...this is a crontab problem, correct? Do I need to speak >with my host or should I read a book? =) Sounds like you definitely need to verify that you have cron privileges, many hosts do not allow it. If you have a virtual hosting account (which I am guessing is the case), your cron jobs should normally run under your userid, so su should not be needed. You might want to try something in the cron that would generate a file: 5,10,15,20,45,55 * * * * ls -l >~/dir.txt Give it a few minutes, then look for a file called dir.txt in your home directory. If it is not there, contact your host regarding you cron capabilities. BTW - if you ultimate goal with cron is to restart IC if it dies, or the machine is rebooted, you might want to use this shell script (edit to suit): #!/bin/sh var=`ps ux | grep interchange | grep -v -c grep` if [ $var -eq 0 ]; then /yourhomedir/interchange/bin/interchange -s fi If you save this in a file called "autostart" in your home dir and do a chmod 755 on it, your cron entry would then be: 5,10,15,20,45,55 * * * * ./autostart --or -- 5,10,15,20,45,55 * * * * sh ~/autostart Test ./autostart on the command line (stop interchange before invoking) before entrusting it, but it should work; it only issues the interchange start command if IC is not already running. - Ed L. >-----Original Message----- >From: interchange-users-admin@lists.akopia.com >[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Dan B >Sent: Monday, March 12, 2001 10:24 PM >To: interchange-users@lists.akopia.com >Subject: Re: [ic] expireall and server --start fail to run in crontab >(was: Where is checkstat.sh?) > > >Good troubleshooting, Curt. Answer below... > >At 09:10 PM 3/12/2001 -0600, you wrote: > >Thank you Dan. I believe this is what I need, however, I can't seem to > >execute anything from my crontab for some reason. This may be a crontab > >thing. I have tried: > > > >5,10,15,20,45,55 * * * * /home/myfiles/interchange/bin/interchange --start > > > >and > > > >5,10,15,20,45,55 * * * * /home/myfiles/interchange/bin/interchange --serve > > > >These both work when executed from /interchange as > > > >bin/interchange --start > > > >but not from cron. Any pointers out there? This crontab worked fine for > >MV4.04 but not the IC4.6.3 tarball on Linux Mandrake 6.0. What could I > >have screwed up? Nothing appears in error logs in either /interchange or > >/catalogs/cat. It's like the crontab is not doing anything, although I > >know it is because it fails this also: > > > >44 4 * * * /home/tgis/interchange/bin/expireall > > > >(or expireall -r) > > > >and reports to me via email as: > > > > >From root Mon Mar 12 04:44:01 2001 > >Return-Path: <root> > >Received: (from root@localhost) > > by myhost.com (8.9.3/8.8.7) id EAA16611 > > for mylogin; Mon, 12 Mar 2001 04:44:01 -0600 > >Date: Mon, 12 Mar 2001 04:44:01 -0600 > >Message-Id: <200103121044.EAA16611@myhost.com> > >From: root@myhost.com (Cron Daemon) > >To: mylogin@myhost.com > >Subject: Cron <mylogin@myhost> /home/myfiles/interchange/bin/expireall > >X-Cron-Env: <SHELL=/bin/sh> > >X-Cron-Env: <HOME=/home/myfiles> > >X-Cron-Env: <PATH=/usr/bin:/bin> > >X-Cron-Env: <LOGNAME=mylogin> > >Status: RO > > > >Couldn't read interchange.cfg: No such file or directory > > > >The file is definately there. I have checked spelling of everything. Can > >anybody point me in the right direction or offer tips to troubleshoot this? > >Tell your crontab to execute the command as your interchange user (which >gives the process the effective user id: EUID same as UID interchange) with >the following command: >su interch -c "/home/myfiles/interchange/bin/interchange --start" > >(of course, replace interch with your interchange username). > >And enjoy, >-Dan > > >Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: jlauman at nwcascades.com (Jack Lauman ) Date: Tue, 13 Mar 2001 10:54:23 -0800 Subject: [ic] Simple Question.... How do you disable shipping? How do you disable inventory? When processing an order for a non-inventory soft product I get the error: "NOTE: Nothing to ship!" and of course it won't complete the transaction. Jack From: rick at desertlord.com (Rick Lord ) Date: Tue, 13 Mar 2001 12:03:52 -0700 Subject: [ic] match limit in results.html Where the heck is the match limit controlled? I know I could do a complex search and control it that way, but I would like to just do a simple search with "category=something" and have it display a 20 results per page. Is this controlled with the url, in results.html, in LEFTRIGHT_TOP, or what. Please help, I have a tight deasline. -- Rick Lord Desert Lord Enterprises http://www.desertlord.com/ http://www.KitKar.com/ http://www.NavySealsWatches.com/ From: Scott.Andreas at learningco.com (Andreas, Scott ) Date: Tue, 13 Mar 2001 11:29:18 -0800 Subject: [ic] order routing Hello IC'ers Question? I'm trying to figure to figure out a simple way to do some special order routing. Here's the situation... I'm using the standard IC 4.6.0 check-out page and everything works fine with normal ordering. I have a rep who want to have orders for a client emailed only to her only...not to "Order Entry" as the normal orders are being routed. ie ( <input type="hidden" name="mv_order_route" value="log main copy_user"> The catalog.cfg has the following directives ParseVariables Yes Route log attach 0 Route log cybermode "" Route log empty 1 Route log encrypt 0 Route log increment 0 Route log report etc/log_transaction Route log supplant 0 Route log track logs/log Route glenda attach 0 Route glenda cybermode "" Route glenda empty 1 Route glenda encrypt 0 Route glenda increment 0 Route glenda supplant 1 Route glenda email glendac@ls.learnserv.com Route glenda reply glendac@ls.learnserv.com Route glenda track logs/tracking.asc Route glenda individual_track orders Route glenda report etc/report Route glenda receipt etc/receipt.html Route log_entry attach 0 Route log_entry cybermode "" Route log_entry empty 1 Route log_entry encrypt 0 Route log_entry increment 0 Route log_entry report etc/log_entry Route log_entry supplant 0 Route log_entry track logs/log Route copy_user attach 0 Route copy_user cybermode "" Route copy_user empty 1 Route copy_user encrypt 0 Route copy_user increment 0 Route copy_user report etc/mail_receipt Route copy_user supplant 0 Route copy_user track logs/log # Main route must be last to make default Route main attach 0 Route main credit_card 0 Route main cybermode "" Route main default 1 Route main email '__ORDERS_TO__' Route main encrypt 0 Route main encrypt_program '__ENCRYPTOR__' Route main errors_to scotta@homer.learnserv.com Route main increment 0 Route main pgp_cc_key "" Route main pgp_key "" Route main receipt etc/receipt.html Route main report etc/report Route main supplant 1 Route main individual_track orders Route main track logs/tracking.asc Is what I want the last checkout page to have is if this order is a normal order than it would perform the "log main copy_user" order routing directive. The Rep has "on the fly items" (not in the products database) and when the user selects these items the checkout page should have "log glenda copy_user" as the order routing directive Any ideas??? J. Scott Andreas :) IS/Programmer/WebDevelopement e-mail: scotta@homer.learnserv.com phone: 1-800-877-9378 ext. 146 fax: (541) 744-2056 --- __o --- _-\<,_ --- (_)/ (_) From: racke at linuxia.de (Stefan Hornburg ) Date: 13 Mar 2001 16:33:15 -0500 Subject: [ic] Debianized version of Interchange-Any tips or tricks Ben Claar <blc9483@ksu.edu> writes: > On 13 Mar 2001, Fraser Campbell wrote: > > John Foster <jfoster@augustmail.com> writes: > > > > > I just tried to convert the RH6 version of Akopia Interchange 4.5.7 to a > > > Debian installation via Alien on a Potato system. I seemed to work and > > > installed OK, but Interchange did not work. Also the Debian package > > > manager removed it all without any problems. The main areas of > > > > http://ftp.minivend.com/interchange/debian/ > > > > It apears that it may even be apt-gettable. > > Although there are debian packages available, in my limited experience > they do not install anywhere near as nicely as the RPM's. When I used > them with 4.6.3, permissions were not set correctly, and once they were > fixed I could never get the admin page of the construct demo working even > after hours of tweaking. I recommend using the tarball, but YMMV. You have to file bugreports in order to getting these packages better ! Ciao Racke -- I'm currently on holidays in the USA. Don't expect any further mails before March 20th. From: markj at redhat.com (Mark Johnson ) Date: Tue, 13 Mar 2001 17:49:41 -0500 Subject: [ic] match limit in results.html Rick Lord wrote: > > Where the heck is the match limit controlled? I know I could do a > complex search and control it that way, but I would like to just do a > simple search with "category=something" and have it display a 20 results > per page. Is this controlled with the url, in results.html, in > LEFTRIGHT_TOP, or what. Please help, I have a tight deasline. > Wherever you are doing your search, you add it. So, if it's in a form, <input type=hidden name=mv_matchlimit value=20> If it's in a scan url, ml=20 Somewhere, you have to define your search. Where you do that, add in the limit. Assuming your results has [more-list]'s enabled, you'll get 20 results per page. -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: doliver at hampshire.edu (Dylan Oliver ) Date: Tue, 13 Mar 2001 17:40:33 -0600 Subject: [ic] Copying tables into another db -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I set up a catalog with a mysql database called "test_store", and would like to use "store" instead. Is there an easy way to copy the tables of one database, "test_store", into another, "store"? - -- Dylan Oliver http://stout.hampshire.edu/~dao99 Global View International http://www.globalview-intl.com Do you know how little you know? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjqur/EACgkQ7U8r0TCZf4G9FgCZAamKxYUfJr2f3ljUyCsT57CH EKwAoIaGq4b1Vw2Y66HikWwzyUKJ8KGL =cXxM -----END PGP SIGNATURE----- From: anthony at domanet.com (Anthony Anderson ) Date: Tue, 13 Mar 2001 19:04:16 -0500 Subject: [ic] [mv] Buy One, Get One Free Okay, here's the conundrum: The site I'm building has three items that are going to be Buy one get one free. (In other words, you buy two of any and it costs the same as one, you get the idea.) My problem: I can discount ONE item, at a time, through pricing.txt but how do I discount for multiple codes/products? Please help. Anthony From: g.gaskill at aboron.com (Greg Gaskill ) Date: Tue, 13 Mar 2001 20:05:24 -0500 Subject: [ic] Simple Question.... ----- Original Message ----- From: "Jack Lauman" <jlauman@nwcascades.com> To: "Interchange User List" <interchange-users@lists.akopia.com> Sent: Tuesday, March 13, 2001 1:54 PM Subject: [ic] Simple Question.... > How do you disable shipping? > > How do you disable inventory? > > When processing an order for a non-inventory soft product I get the > error: "NOTE: Nothing to ship!" and of course it won't complete the > transaction. The "NOTE: Nothing to ship!" is not an error - the transaction should complete without and 'shipping weight', it works this way for gift_cert items. I diasabled (redefined, actually) invetory by looking for tags like this: [if-item-data inventory quantity < 1] <a href="[area stock-alert [item-code]]"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FF0000">Back Ordered</FONT> [/if-item-data] in places like /templates/components/cart and /pages/ord/checkout and re-write them (or eliminate them) to suit. Personally, we have 3 kinds of inventory at our store: 1) Actual items on hand (inventory > 0) 2) Items we can get within 1 week (inventory = 0) 3) Items we can't get anytime soon (inventory set = -1, by hand) So we don't get a back-ordered listing unless we know that our distributors/manufacturers can't get any either. > > Jack > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: admin at sitemajic.net (Chris Jesseman ) Date: Tue, 13 Mar 2001 20:19:13 -0500 (EST) Subject: [ic] Copying tables into another db Dylan, There are many ways to do it. mysqldump is my personal favorite -> then import into store via the < operator. The mysql manual is pretty detailed- look under Database Backup or something similar. -Chris > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I set up a catalog with a mysql database called "test_store", and would > like > to use "store" instead. Is there an easy way to copy the tables of one > > database, "test_store", into another, "store"? > - -- > Dylan Oliver > http://stout.hampshire.edu/~dao99 > Global View International > http://www.globalview-intl.com > Do you know how little you know? > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.4 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iEYEARECAAYFAjqur/EACgkQ7U8r0TCZf4G9FgCZAamKxYUfJr2f3ljUyCsT57CH > EKwAoIaGq4b1Vw2Y66HikWwzyUKJ8KGL > =cXxM > -----END PGP SIGNATURE----- > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > Chris Jesseman, President http://www.sitemajic.net From: interchange at my-school.com (IC-Admin ) Date: Tue, 13 Mar 2001 23:41:14 -0500 (EST) Subject: [ic] [OT] RH/DigitalThink/IBM e-learning courses I don't know if this is considered abuse of the list. Hopefully not. Because I think it's a good sign for the future. Or do I see a Fata Morgana ? Found on Business Wire: IBM to Offer DigitalThink Courseware; Begins with RedHat Linux Certification and UNIX Courses" http://business.nytimes.com/display_news.asp?doc_id=CT2001072b8407&ticker=RHAT RedHat's elearning Catalog: http://www.redhat.com/training/elearning/catalog/ If I look at the e-learning catalog at the RedHat site, I could imagine they will also offer one day a class for IC. The current courses build a nice foundation of skills necesary for IC. Following that I wished they would work together with colleges and integrate some of these course's contents into certificate programs there, so that students could profit from it too, at a lower price. Birgitt From: mat at booksellersolutions.com (Mathew Jones ) Date: Tue, 13 Mar 2001 22:06:51 -0800 Subject: [ic] format array value The results of an sql query are returned to @$resultsetfinal. What i would like to do is remove any price formating from the 3rd value within the array for each record e.g s/\$//; and write that new format back into the value of the 3rd array element, so that when I use @$resultsetfinal again to sort by price there is no unneccesary formating there. Your help is appreciated... thanks Mat From: sheich at mosinfo.ru (Sergey Sheykin ) Date: Wed, 14 Mar 2001 13:04:07 +0300 Subject: [ic] Basket content Hi, know anybody, - where located content of shopping basket ? Is concrete, From: sheich at mosinfo.ru (Sergey Sheykin ) Date: Wed, 14 Mar 2001 13:06:23 +0300 Subject: [ic] Basket content Hi, know anybody, - where located content of shopping basket ? Is concrete, - codes of items. Sergey. From: sheich at mosinfo.ru (Sergey Sheykin ) Date: Wed, 14 Mar 2001 15:37:28 +0300 Subject: [ic] Basket content Hi again! How can I manually erease shopping cart content? Or else - what happens, when I click "Place Order" - after I see receipt page - content has ereased... Sergey. From: mheins at redhat.com (Mike Heins ) Date: Wed, 14 Mar 2001 09:09:01 -0500 Subject: [ic] Interchange-users guidelines [semi-monthly posting] interchange-users@lists.akopia.com is a list for users who have questions about configuring, setting up, and fine tuning Interchange catalogs. Other topics will include: - announcements of Interchange releases and fixes - notification and submission of Interchange bugs - distributing pages which implement Interchange functions - discussing the future development of Interchange - any other topic relating *directly* to Interchange The list started January 5, 1997 as minivend-users. For an archive of past articles, see: http://developer.akopia.com/archive/interchange-users/ Also, because the list has high volume for one of its type, before posting to the list it is recommended that you use the search feature at: http://developer.akopia.com/ Many questions can be answered by trying some keywords at this facility. Try more than one combination. It is common courtesy when posting to a forum such as this to: 1. Include the version of software you are using, i.e. Interchange 4.6.1. Bugs are fixed and deficiencies corrected in each release of Interchange, as with almost any software. 2. Include relevant information where appropriate. The operating system in question is often relevant, as is the Perl version and database type in use. 3. When talking about tag problems, include a snippet of ITL tags which illustrates the problem. 4. When posting about PGP, Glimpse, or anything else that uses an external command, you need to state what happens when you run the same thing from the command line. 5. Include error log entries or a statement that there are none. If a post to this list doesn't include the relevant information, not only are you unlikely to get a reasonable answer, you will add to the volume of the list and make it less likely that reasonable questions are answered. All entries are archived and available via a web gateway. The "X-No-Archive: Yes" header is honored if you choose to use it. List etiquette issues: -- No HTML mail is allowed. Besides being improper email netiquette, it destroys the digest. -- Please try to keep your line size less than 80 characters. -- No PGP signatures should be used. This is not a legal record. -- No flame wars are tolerated. -- No "courtesy copies" unless specifically requested. It can be annoying to some people to receive two copies of the same message. -- If you must munge, make sure you mention this in the BODY of the message and not buried incomprehensibly in the header or in a cluttered signature attachment. -- The list changes the Reply-To: header to point to the list. While this is by popular demand, it is recognized that it is not always the best mode of operation. You should reply by email directly to the sender if the post will not be of general use. For more information see the Netiquette RFC: http://www.faqs.org/rfcs/rfc1855.html Thanks for your cooperation. We believe we have one of the best user lists going, and we would like to keep it useful and pleasant to use. From: kkoch at kxsu.de (Klaus Koch ) Date: Wed, 14 Mar 2001 15:13:28 +0100 (MET) Subject: [ic] connecting to sybase hello! i have to switch a running shop from mysql to sybase anywhere studio. i installed the ASAny DBI driver and i am able to connect with a perl script and recieve data (i copied this script to the end of this mail). the running sybase server is named cc-shop and the database is called cshop. but i cant figure out how to connect with the shop to the new database i tried this (and many similar) configuration: Database products products dbi:ASAny:cshop Database products USER ic Database products PASS 123456 Database products ENG cc-shop i dont know if i can pass ENG simply like this (compare perlscript). please, can someone who works with a sybase server help me? i just dont know what to do now... many thanks in advance! klaus this is the perl script which recieves data from the database: #!/usr/bin/perl -w use DBI; use strict; my($database) = "CSHOP"; my($data_source) = "DBI:ASAny:$database"; my($username) = "UID=ic;PWD=123456;ENG=cc-shop"; my($sel_statement) = "SELECT code,searchspec,ref01 FROM artikel"; my($dbh) = &db_connect($data_source, $username, ''); &db_query($sel_statement,$dbh); $dbh->disconnect; exit(0); sub db_connect { my($source,$user,$pass) = @_; my($dbh) = DBI->connect($source, $user, $pass); return($dbh); } sub db_query { my($sel,$h) = @_; my($row,$sth) = undef; $sth = $h->prepare($sel); $sth->execute; print "Names: @{$sth->{NAME}}\n"; print "Fields: $sth->{NUM_OF_FIELDS}\n"; print "Params: $sth->{NUM_OF_PARAMS}\n"; print "\nFirst Name\tLast_name\tTitle\n"; while($row = $sth->fetch) { print "@$row[0]\t@$row[1]\t\t@$row[2]\n"; } $sth->finish; } __END__ From: tamas.kohegyi at lmf.ericsson.se (Kohegyi Tamas (LMF) ) Date: Wed, 14 Mar 2001 16:28:00 +0200 Subject: [ic] Delete row Hi all, Can anybody give me an example how to delete a specific row of a specific table? In SQL it would be like DELETE FROM TABLENAME WHERE COLUMNNAME="x"; But what should I do in [ic] and using non-sql-based table (gdbm)? I tried: [sql interpolate=1]delete from mytable where id="[value em_id]" and username="[data session username]"[/sql] but nothing happened. (Also no error message in error.log) Thanks, Tamas From: tamas.kohegyi at unforgettable.com (tamas.kohegyi at unforgettable.com ) Date: Wed, 14 Mar 2001 16:29:31 +0200 Subject: [ic] Delete row Hi all, Can anybody give me an example how to delete a specific row of a specific table? In SQL it would be like DELETE FROM TABLENAME WHERE COLUMNNAME="x"; But what should I do in [ic] and using non-sql-based table (gdbm)? I tried: [sql interpolate=1]delete from mytable where id="[value em_id]" and username="[data session username]"[/sql] but nothing happened. (Also no error message in error.log) Thanks, Tamas From: markj at redhat.com (Mark Johnson ) Date: Wed, 14 Mar 2001 09:44:03 -0500 Subject: [ic] format array value Mathew Jones wrote: > > The results of an sql query are returned to @$resultsetfinal. What i > would like to do is remove any price formating from the 3rd value within > the array for each record e.g s/\$//; > and write that new format back into the value of the 3rd array element, > so that when I use @$resultsetfinal again to sort by price there is no > unneccesary formating there. > Your help is appreciated... > I would look for a way to remove it from the query first, assuming your SQL engine handles substrings in some way *and* your formatting is consistent (which, frankly, is essential to good db management). Something like: SELECT substr(column, 2, length ( column ) - 1 ) as sort_price.... The syntax will heavily depend on your particular db. However, if this isn't an option, or your data are inconsistent, you can do it in Perl: foreach (@$resultsetfinal) { $_->[2] =~ s/\$//g; } Perl is also pretty magical, and it wouldn't surprise me a bit to find that it would perform a numeric sort by simply ignoring your non-numeric $ signs, etc. -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: markj at redhat.com (Mark Johnson ) Date: Wed, 14 Mar 2001 09:45:50 -0500 Subject: [ic] Basket content Sergey Sheykin wrote: > > How can I manually erease shopping cart content? mv_action=cancel -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: caught_one at yahoo.com (Guido Sohne ) Date: Wed, 14 Mar 2001 06:47:19 -0800 (PST) Subject: [ic] [repost] per item shipping cost schedule I posted earlier on a shipping problem I was having and was basically told to either 1) Iterate over the cart items in Perl and watch the sun rising ... :-) 2) Or use an add-on product called shipd ... I opted for 'roll-your-own' :-) and am being rolled over by a steam roller. I'm trying to calculate shipping for a set of items in a shopping cart. Each item could potentially have its own shipping method. This is intended to allow for widely varying types of goods. For example, shipping iron rods is different from shipping jewelry, yet both can be bought at the same time. As far as I am aware, Interchange calculates shipping based on the aggregate weight/quantity of the items in a cart by applying a data table to this aggregate quantity. We're shipping based on weight. I've identified a strategy which seems workable except I do not know all the steps needed to achieve it. 1) Add a field to products database called ship. This field is the class of shipping (ie. the data table to be applied to this product) 2) Define tags that are used with [item-list] to be used as below:- ([]'s shifted around for clarity) [reset-shipping] [item-list] [add-to-shipping shipmode="[item-field ship]" weight="[item-field weight]" quantity="[item-quantity]" ] [/item-list] [calculate-shipping-to "New Jersey"] 3) These UserTags go into the catalog.cfg for the store. This UserTag resets all shipping values to zero and should be used each time one is going to do something related to calculating shipping. UserTag reset-shipping Routine <<EOR sub { $Vend::Session->{SendToAfrica} = undef; return ""; } EOR This UserTag sorts the products into bins according to shipping class and calculates the aggregate weight for each bin. UserTag add-to-shipping Order shipmode weight quantity UserTag add-to-shipping Routine <<EOR sub { my ($shipmode,$weight,$quantity) = @_; $Vend::Session->{SendToAfrica}{$shipmode} += $weight * $quantity; return ""; } EOR This UserTag is supposed to apply a data table used in regular Interchange shipping to each bin. If the bin are called '1', '2' and '3', and we are shipping to 'USA', then this UserTag should apply data table USA1 to the aggregate weight of items in bin '1'; apply data table USA2 to the aggregate weight of items in bin '2' etc. I'm setting $::Values->{mv_shipmode} to the concatenation of the shipping destination and the shipping class. That would make data table 'USA1' apply to destination 'USA' and shipping class '1'. Now I want to call an Interchange function, telling it to calculate shipping for the items in bin '1' for destination 'USA'. From looking at the source code for sub shipping in Interpolate.pm, I guess the next step is to create a cart for each bin, put all items in the bin into the cart. I'm having problems trying to work out how to do the calculate-shipping-to UserTag properly. This code doesn't work ... and I need help with it especially as this is my first descent into the Perl side of developing with Interchange. Any ideas ? This would be much easier if Interchange had API level documentation. If something like that exists, please let me know !!!! I'm tearing my hair out trying to grok this Perl :) it's too elite for me, maybe ... Maybe ?!? UserTag calculate-shipping-to Order region UserTag calculate-shipping-to Routine <<EOR sub { my $region = shift; my $method = undef; my $cat = undef; my $total = undef; foreach $cat (keys %{$Vend::Session->{SendToAfrica}}) { # TODO: from region get shipping data table # this is done by setting mv_shipmode $::Values->{mv_shipmode} = $region . $cat; print $Vend::Interpolate::shipping($region . $cat); # TODO: use mv_shipmode on category weight $total += $Vend::Session->{SendToAfrica}{$cat}; } return "$total"; } EOR __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ From: markj at redhat.com (Mark Johnson ) Date: Wed, 14 Mar 2001 10:03:29 -0500 Subject: [ic] connecting to sybase I would guess that the actual connect call looks something like this: DBI->connect(SQLDSN,SQLUSER,SQLPASS); Given that, I would "try" SQLDSN "DBI:ASAny:CSHOP" SQLUSER "UID=ic;PWD=123456;ENG=cc-shop" SQLPASS Another possibility would be adding the ENG directive to SQLDSN: DBI:ASAny:CSHOP;ENG=cc-shop Or, scour the man page for DBD::ASAny for alternative syntax. Good luck! Klaus Koch wrote: > > hello! > > i have to switch a running shop from mysql to sybase anywhere studio. > i installed the ASAny DBI driver and i am able to connect with a perl > script and recieve data (i copied this script to the end of this mail). > > the running sybase server is named cc-shop and the database is called > cshop. > > but i cant figure out how to connect with the shop to the new database > i tried this (and many similar) configuration: > > Database products products dbi:ASAny:cshop > Database products USER ic > Database products PASS 123456 > Database products ENG cc-shop > > i dont know if i can pass ENG simply like this (compare perlscript). > > please, can someone who works with a sybase server help me? i just dont > know what to do now... > > many thanks in advance! > > klaus > > this is the perl script which recieves data from the database: > > #!/usr/bin/perl -w > use DBI; > use strict; > my($database) = "CSHOP"; > my($data_source) = "DBI:ASAny:$database"; > my($username) = "UID=ic;PWD=123456;ENG=cc-shop"; > my($sel_statement) = "SELECT code,searchspec,ref01 FROM artikel"; > my($dbh) = &db_connect($data_source, $username, ''); > &db_query($sel_statement,$dbh); > $dbh->disconnect; > exit(0); > > sub db_connect { > my($source,$user,$pass) = @_; > my($dbh) = DBI->connect($source, $user, $pass); > return($dbh); > } > > sub db_query { > my($sel,$h) = @_; > my($row,$sth) = undef; > $sth = $h->prepare($sel); > $sth->execute; > print "Names: @{$sth->{NAME}}\n"; > print "Fields: $sth->{NUM_OF_FIELDS}\n"; > print "Params: $sth->{NUM_OF_PARAMS}\n"; > print "\nFirst Name\tLast_name\tTitle\n"; > while($row = $sth->fetch) { > print "@$row[0]\t@$row[1]\t\t@$row[2]\n"; > } > $sth->finish; > } > __END__ > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: rick at desertlord.com (Rick Lord ) Date: Wed, 14 Mar 2001 08:28:33 -0700 Subject: [ic] Simple Question.... It seems to me that many people have this problem, including myself. Does anyone have any answers? Thanks. Jack Lauman wrote: > > How do you disable shipping? > > How do you disable inventory? > > When processing an order for a non-inventory soft product I get the > error: "NOTE: Nothing to ship!" and of course it won't complete the > transaction. > > Jack > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Rick Lord Desert Lord Enterprises http://www.desertlord.com/ http://www.KitKar.com/ http://www.NavySealsWatches.com/ From: chris at vanoosterhout.com (Christopher VanOosterhout ) Date: Wed, 14 Mar 2001 11:16:46 -0500 Subject: [ic] PGP ... Implementation Documentation Greetings All, Things are progressing real well but I am having a bit of trouble figuring out just how to bring PGP and Interchange together. I have looked through the online documentation and mailing list archives and do not find just what I am looking for. If I did miss it, please be so kind to point me in the right direction. Here is what I would like to do. I would like to take my order file and encrypt it with PGP before it is emailed to my order desk. I have PGP installed on my machine. How do I tell Interchange to start encrypting orders? Thanks, Christopher Van Oosterhout From: mark at summersault.com (Mark Stosberg ) Date: Wed, 14 Mar 2001 11:34:59 -0500 Subject: [ic] shipping voo-doo challenge question Hello! After reviewing the IC docs on setting up shipping schemes several times, it still seems somewhat like voodoo to me. So I have extra respect for anyone who can help me implement the following shipping logic in Interchange: " Use a flat rate shipping price based on quantity with price breaks at 1 and 10, but exclude any items in the quantity count that have a true value in the 'download' column in the products table". I had the basic price point structure set up, but adding in the exception for soft goods (which don't effect the shipping charge), has thrown me for a loop. Perhaps related: In the simple demo of Interchange, there doesn't appear to be a mention of handling soft goods in the shipping table, but I assume they are not being charged for shipping. How is shipping being handled for those items? Thanks! -mark personal website } Summersault Website Development http://mark.stosberg.com/ { http://www.summersault.com/ From: mark at summersault.com (Mark Stosberg ) Date: Wed, 14 Mar 2001 11:35:16 -0500 Subject: [ic] need help with acl for soft goods purchasing Hello! I'm working on getting soft goods downloading working with Minivend 4.04a and have progressed a bit. I believe I'm currently getting stuck with a problem related to the "ACL" permissions of the file. I'm getting back the error: "Sorry, not authorized for PDF1. Buy it first, please." Any help in this area would be appreciated. The pertinent details are below. On the receipt page, I have code that trys to have the logic of: " for each downloadable file, set it's expiration date to 7 days, and return a return a link to where it can be downloaded" [set download_present][/set] [item-list] [if-item-field dl_location] [set download_present]1[/set] [userdb function=set_file_acl mode="expire 7 days" location="[item-code]" ] [calc] my $save = delete $Scratch->{mv_add_dot_html}; [/calc] <BR><A HREF=[area href="deliver/[item-field dl_location]" arg=[item-field code]]download</A> [calc] $Scratch->{mv_add_dot_html} = $save if $save;[/calc] [/if-item-field] ###################################### I'm keeping the files in the pages/deliver directory and I'm using the standard "deliver.html" page delivered with Minivend. In Catalog.cfg, I have these related Variables: # Add some variables that might help with Soft Goods downloading Variable MV_USERDB_ACL_TABLE userdb Variable MV_USERDB_ACL_COLUMN acl The "acl" column did not appear in the userdb.txt file, so I added it. This also appears to use the "deliver" ActionMap, which was already defined in Catalog.cfg. I tried creating a zero byte ".access" file in the deliver directory, but I got a different error: "You must be logged in to view this page". Although I expect the user to have a session, our scheme doesn't require them to be logged in. Thanks! -mark personal website } Summersault Website Development http://mark.stosberg.com/ { http://www.summersault.com/ From: edl at newmediaems.com (Ed LaFrance ) Date: Wed, 14 Mar 2001 08:38:44 -0800 Subject: [ic] Delete row At 04:29 PM 03/14/2001 +0200, you wrote: >Hi all, > >Can anybody give me an example how to delete a specific row of a specific >table? >In SQL it would be like DELETE FROM TABLENAME WHERE COLUMNNAME="x"; >But what should I do in [ic] and using non-sql-based table (gdbm)? > >I tried: >[sql interpolate=1]delete from mytable where id="[value em_id]" and >username="[data session username]"[/sql] >but nothing happened. (Also no error message in error.log) > Here is a Usertag from (from Mike Heins, I believe), orginally for earlier Minivend versions, but it may work in Interchange, though some tweaking could be necessary: #To use it as a tag: # # [tag flag write]products[/tag] # [delete_record table="products" key="00-0011a"] # #I will leave the production of a subroutine as an exercise for #the reader. # #Of course [tag flag write] must be at the top of the page. And of #course this won't work with the old parser. # #If you want to update the ASCII source file, of course: # # [tag export products][/tag] ################################################################ UserTag delete_record Order table key UserTag delete_record PosNumber 2 UserTag delete_record Routine <<EOR 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); } EOR - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: Scott.Andreas at learningco.com (Andreas, Scott ) Date: Wed, 14 Mar 2001 08:42:09 -0800 Subject: [ic] connecting to sybase If you have IC version 4.6.X look under Administraion -> info and under Database Information if you see your DBI listed, IC can connect using that interface. Of course you need to declare your products database in IC to use your dbi interface. If it not listed there, install that module within the interchange directory, then restart the server. Other opotions are to install the dbi::sybase perl module Or, the one that I'm looking at that has cross compatability with Microsoft SQL serve, since both Sybase and Microsoft SQL Servers use Tabular Data Streams, is dbi::freeTDS. good luck. -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Klaus Koch Sent: Wednesday, March 14, 2001 6:13 AM To: interchange-users@lists.akopia.com Subject: [ic] connecting to sybase hello! i have to switch a running shop from mysql to sybase anywhere studio. i installed the ASAny DBI driver and i am able to connect with a perl script and recieve data (i copied this script to the end of this mail). the running sybase server is named cc-shop and the database is called cshop. but i cant figure out how to connect with the shop to the new database i tried this (and many similar) configuration: Database products products dbi:ASAny:cshop Database products USER ic Database products PASS 123456 Database products ENG cc-shop i dont know if i can pass ENG simply like this (compare perlscript). please, can someone who works with a sybase server help me? i just dont know what to do now... many thanks in advance! klaus this is the perl script which recieves data from the database: #!/usr/bin/perl -w use DBI; use strict; my($database) = "CSHOP"; my($data_source) = "DBI:ASAny:$database"; my($username) = "UID=ic;PWD=123456;ENG=cc-shop"; my($sel_statement) = "SELECT code,searchspec,ref01 FROM artikel"; my($dbh) = &db_connect($data_source, $username, ''); &db_query($sel_statement,$dbh); $dbh->disconnect; exit(0); sub db_connect { my($source,$user,$pass) = @_; my($dbh) = DBI->connect($source, $user, $pass); return($dbh); } sub db_query { my($sel,$h) = @_; my($row,$sth) = undef; $sth = $h->prepare($sel); $sth->execute; print "Names: @{$sth->{NAME}}\n"; print "Fields: $sth->{NUM_OF_FIELDS}\n"; print "Params: $sth->{NUM_OF_PARAMS}\n"; print "\nFirst Name\tLast_name\tTitle\n"; while($row = $sth->fetch) { print "@$row[0]\t@$row[1]\t\t@$row[2]\n"; } $sth->finish; } __END__ _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: dan at mailturtle.com (Dan McFarland ) Date: Wed, 14 Mar 2001 11:26:47 -0600 Subject: [ic] Authorize Net... Can someone send me the details about getting Interchange to work real-tine with authorize net? Thanks! From: hostmaster at shupp.org (Bill Shupp ) Date: Wed, 14 Mar 2001 11:36:58 -0600 Subject: [ic] Authorize Net... on 3/14/01 11:26 AM, Dan McFarland at dan@mailturtle.com wrote: > Can someone send me the details about getting Interchange to work real-tine > with authorize net? And me as well! Thanks, Bill Shupp From: doliver at hampshire.edu (Dylan Oliver ) Date: Wed, 14 Mar 2001 12:33:02 -0600 Subject: [ic] Quantities -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, As I've been working on the ord/basket.html page, I've noticed that each refresh adds another item to my basket. Which makes sense, as the url I used to get to the page includes "&mv_order_item=gvah18". However, instead of adding to the quantity of one item in the basket, each refresh adds a whole 'nother item, like so: 1 Rajasthan Painted Table $215.00 $215.00 1 Rajasthan Painted Table $215.00 $215.00 1 Rajasthan Painted Table $215.00 $215.00 instead of: 3 Rajasthan Painted Table $215.00 $645.00 This seems like a bug to me; how can I get around it? Dylan Oliver http://stout.hampshire.edu/~dao99 Global View International http://www.globalview-intl.com Do you know how little you know? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjqvuV4ACgkQ7U8r0TCZf4H69wCdFMXR8+LITpeE+c0OOcrijRK4 WWkAn1e/Bts+6qQDf4WrB6/wVNH0M5+9 =R1l6 -----END PGP SIGNATURE----- From: bob at nleaudio.com (Bob Puff at NLE ) Date: Wed, 14 Mar 2001 13:28:53 -0500 Subject: [ic] Quantities I've noticed this same thing happens if you go an order two of the same item separately - it doesn't see that the item is already in the basket, and just bump up the quantity. Would be nice if this did this. BOb Dylan Oliver wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > As I've been working on the ord/basket.html page, I've noticed that each > refresh adds another item to my basket. Which makes sense, as the url I used > to get to the page includes "&mv_order_item=gvah18". However, instead of > adding to the quantity of one item in the basket, each refresh adds a whole > 'nother item, like so: > > 1 Rajasthan Painted Table $215.00 $215.00 > > 1 Rajasthan Painted Table $215.00 $215.00 > > 1 Rajasthan Painted Table $215.00 $215.00 > > instead of: > > 3 Rajasthan Painted Table $215.00 $645.00 > > This seems like a bug to me; how can I get around it? > > Dylan Oliver > http://stout.hampshire.edu/~dao99 > Global View International > http://www.globalview-intl.com > Do you know how little you know? > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.4 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iEYEARECAAYFAjqvuV4ACgkQ7U8r0TCZf4H69wCdFMXR8+LITpeE+c0OOcrijRK4 > WWkAn1e/Bts+6qQDf4WrB6/wVNH0M5+9 > =R1l6 > -----END PGP SIGNATURE----- > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: edl at newmediaems.com (Ed LaFrance ) Date: Wed, 14 Mar 2001 10:49:48 -0800 Subject: [ic] Quantities At 12:33 PM 03/14/2001 -0600, you wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Hi, > >As I've been working on the ord/basket.html page, I've noticed that each >refresh adds another item to my basket. Which makes sense, as the url I used >to get to the page includes "&mv_order_item=gvah18". However, instead of >adding to the quantity of one item in the basket, each refresh adds a whole >'nother item, like so: > >1 Rajasthan Painted Table $215.00 $215.00 > >1 Rajasthan Painted Table $215.00 $215.00 > >1 Rajasthan Painted Table $215.00 $215.00 > >instead of: > >3 Rajasthan Painted Table $215.00 $645.00 > >This seems like a bug to me; how can I get around it? > The catalog.cfg directive which controls this is SeparateItems, and it is well-documented. - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: cfm at maine.com (cfm at maine.com ) Date: Wed, 14 Mar 2001 13:50:36 -0500 Subject: [ic] Shipped Directly To Jail, Do Not Pass Go, Guru On Tue, Mar 13, 2001 at 09:05:19AM -0800, Guido Sohne wrote: > I posted earlier on a shipping problem I was having and was basically > told to either > > 1) Iterate over the cart items in Perl and watch the sun rising ... :-) > 2) Or use an add-on product called shipd ... > > I opted for 'roll-your-own' :-) and am being rolled over by a steam > roller. > > I'm trying to calculate shipping for a set of items in a shopping cart. > Each item could potentially have its own shipping method. > > This is intended to allow for widely varying types of goods. For > example, shipping iron rods is different from shipping jewelry, yet > both can be bought at the same time. > > As far as I am aware, Interchange calculates shipping based on the > aggregate weight/quantity of the items in a cart by applying a data > table to this aggregate quantity. We're shipping based on weight. > > I've identified a strategy which seems workable except I do not know > all > the steps needed to achieve it. > This is not at all a trivial project. What I'll lay out here is going to have lots of holes. There are also **OTHER** ways to solve it. YMMV. We use a tag in shipping.asc specifically so we can build these shipping routines outside of precompiled code. We only do this for exceptional cases; I think only a couple of our catalogs use it. It does allow you to do **anything**. included Shipping is by FedEx quantity 1 9999 f [merchants_shipping] [merchants_shipping] UserTag merchants_shipping Order base UserTag merchants_shipping Routine <<EOF sub { require MV::Merchants; require MV::Shipping; my($M,$adj,%opt); $opt{config}=$Vend::Cfg->{CatalogName}; # opt hack $adj=0; $M=&MV::Merchants::load_merchant(\%opt,$Vend::Session->{values}); # stubbed $opt{shipping_rules}=$M->{$opt{config}}{shipping_rules} if($M); return unless ($opt{shipping_rules}); $adj+=&MV::Shipping::base_item_shipping(\%opt,$opt{shipping_rules}); $adj+=&MV::Shipping::extra_item_shipping(\%opt,$opt{shipping_rules}); $adj+=&MV::Shipping::gift_certificate_shipping(\%opt,$opt{shipping_rules}); return $adj; } EOF Any particular shipping routine checks to see if it is enabled, then if it is, it iterates the cart, touches it up as required, and then returns price adjustment. CommonAdjust &{Vend::myModule::supa_pricing();} That routine iterates the cart. for $item (@items) { > 1) Add a field to products database called ship. This field is the > class > of shipping (ie. the data table to be applied to this product) > > 2) Define tags that are used with [item-list] to be used as below:- > > ([]'s shifted around for clarity) > > [reset-shipping] > [item-list] > [add-to-shipping > shipmode="[item-field ship]" > weight="[item-field weight]" > quantity="[item-quantity]" > ] > [/item-list] > [calculate-shipping-to "New Jersey"] > > > 3) These UserTags go into the catalog.cfg for the store. > > This UserTag resets all shipping values to zero and should be used each > time one is going to do something related to calculating shipping. > > UserTag reset-shipping Routine <<EOR > sub { $Vend::Session->{SendToAfrica} = undef; return ""; } > EOR > > This UserTag sorts the products into bins according to shipping class > and calculates the aggregate weight for each bin. > > UserTag add-to-shipping Order shipmode weight quantity > UserTag add-to-shipping Routine <<EOR > sub { > my ($shipmode,$weight,$quantity) = @_; > $Vend::Session->{SendToAfrica}{$shipmode} += $weight * > $quantity; > return ""; > } > EOR > > This UserTag is supposed to apply a data table used in regular > Interchange shipping to each bin. If the bin are called '1', '2' and > '3', and we are shipping to 'USA', then this UserTag should apply data > table USA1 to the aggregate weight of items in bin '1'; apply data > table USA2 to the aggregate weight of items in bin '2' etc. > > I'm setting $::Values->{mv_shipmode} to the concatenation of the > shipping destination and the shipping class. That would make data table > 'USA1' apply to destination 'USA' and shipping class '1'. > > Now I want to call an Interchange function, telling it to calculate > shipping for the items in bin '1' for destination 'USA'. From looking > at the source code for sub shipping in Interpolate.pm, I guess the next > step is to create a cart for each bin, put all items in the bin into > the cart. > > I'm having problems trying to work out how to do the > calculate-shipping-to UserTag properly. This code doesn't work ... and > I need help with it especially as this is my first descent into the > Perl side of developing with Interchange. > > Any ideas ? This would be much easier if Interchange had API level > documentation. If something like that exists, please let me know !!!! > > I'm tearing my hair out trying to grok this Perl :) it's too > elite for me, maybe ... Maybe ?!? > > UserTag calculate-shipping-to Order region > UserTag calculate-shipping-to Routine <<EOR > sub { > my $region = shift; > my $method = undef; > my $cat = undef; > my $total = undef; > > foreach $cat (keys %{$Vend::Session->{SendToAfrica}}) { > # TODO: from region get shipping data table > # this is done by setting mv_shipmode > $::Values->{mv_shipmode} = $region . $cat; > > print $Vend::Interpolate::shipping($region . $cat); > # TODO: use mv_shipmode on category weight > $total += $Vend::Session->{SendToAfrica}{$cat}; > } > return "$total"; > } > EOR > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - Buy the things you want at great prices. > http://auctions.yahoo.com/ > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: admin at sitemajic.net (Chris Jesseman ) Date: Wed, 14 Mar 2001 14:00:56 -0500 (EST) Subject: [ic] Quantities Look at SeparateItems aka mv_separate_items in the manual -Chris > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > As I've been working on the ord/basket.html page, I've noticed that each > > refresh adds another item to my basket. Which makes sense, as the url I > used > to get to the page includes "&mv_order_item=gvah18". However, instead of > > adding to the quantity of one item in the basket, each refresh adds a > whole > 'nother item, like so: > > 1 Rajasthan Painted Table $215.00 $215.00 > > 1 Rajasthan Painted Table $215.00 $215.00 > > 1 Rajasthan Painted Table $215.00 $215.00 > > instead of: > > 3 Rajasthan Painted Table $215.00 $645.00 > > This seems like a bug to me; how can I get around it? > > Dylan Oliver > http://stout.hampshire.edu/~dao99 > Global View International > http://www.globalview-intl.com > Do you know how little you know? > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.4 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iEYEARECAAYFAjqvuV4ACgkQ7U8r0TCZf4H69wCdFMXR8+LITpeE+c0OOcrijRK4 > WWkAn1e/Bts+6qQDf4WrB6/wVNH0M5+9 > =R1l6 > -----END PGP SIGNATURE----- > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > Chris Jesseman, President http://www.sitemajic.net From: Jfunke at kortexcomputer.com (Justin Funke ) Date: Wed, 14 Mar 2001 12:57:43 -0600 Subject: [ic] Installing as root I am writing a how-to on getting interchange to work on a specialized Linux distribution. The only practical way to install it on this particular distribution is from the root account. Is there anything I need to be aware of when changing ownerships/grps of all the files back from "root" to the "interch" user for security reasons before starting the service as account "interch"? Thanks, Justin From: valankar at nmo.net (Lord Valankar ) Date: Wed, 14 Mar 2001 15:43:56 -0500 Subject: [ic] Operating System Choice - RH 6.2 or 7.0 Greetings all! This is just a general question and I'm looking for some general input. I have a dell power edge 2450 here that we bought some time ago just to run interchange. I am about to start assembling our production interchange on it and it occurred to me that I might want to upgrade from the factory installed 6.2 to 7.0 For the folks who don't know in RH 7.0 some of the basic directories are in slightly different places (i.e.. 6.2 /home/httpd/html is /var/www/html in 7.0) This would seem to make upgrading after the fact a major headache although possible. (Not to mention maintaining the source code.) I was just wondering if anyone had any thoughts to share in this matter, and if Akopia will be dropping support for the older RH 6.2 any time soon. Thanks in advance to any and all }:8> 0==----------=^=----------==0 Valankar (aka Dwagon) "Just remember: If life didn't suck we would all fly off the earth." From: steveandpatti at wubs.org (Steve & Patti Getzinger ) Date: Wed, 14 Mar 2001 15:57:59 -0500 Subject: [ic] Operating System Choice - RH 6.2 or 7.0 I ran on 6.2 for quite some time with no problem. In fact I have been running Minivend / Interchange since Red Hat 5.0 on Red Hat boxes. I recently upgraded our 6.2 server to 7 and the problems you speak of were fixed in less than 4 hours time. Naturally being 7.0 first would negate quite a bit of work later and I did have problems with Interchange. I attempted an upgrade to the rpm which failed miserably. I ended up uninstalling the 6.2 version of IC and then installing the 7.0 version. I have also found some of my perl scripts had some problems but they too are part of the 4 hour fix time. My advice: If you have the luxery of upgrading first by all means. In fact I would blow the entire drive/drives and do a complete fresh install. Steve Lord Valankar wrote: > Greetings all! > This is just a general question and I'm looking for some general input. > I have a dell power edge 2450 here that we bought some time ago just to > run interchange. I am about to start assembling our production > interchange on it and it occurred to me that I might want to upgrade > from the factory installed 6.2 to 7.0 > For the folks who don't know in RH 7.0 some of the basic directories > are in slightly different places (i.e.. 6.2 /home/httpd/html is > /var/www/html in 7.0) This would seem to make upgrading after the fact a > major headache although possible. (Not to mention maintaining the source > code.) > I was just wondering if anyone had any thoughts to share in this > matter, and if Akopia will be dropping support for the older RH 6.2 any > time soon. > > Thanks in advance to any and all }:8> > > 0==----------=^=----------==0 > Valankar (aka Dwagon) > > "Just remember: If life didn't suck we would all fly off the earth." > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: jud-lists at copernica.com (Jud Harris ) Date: Wed, 14 Mar 2001 15:35:15 -0600 Subject: [ic] Authorize.Net integration instructions Hey folks - Here's how to get authorize.net processing into Interchange. Please note that my understanding of the ins and outs of IC is limited, I just know our store is working well so far with authorize.net. This should work out-of-the-box with the included demo construct store. We're using a slightly modified pages/ord/checkout.html page for orders, but none of the processing variables were changed. First off... With the newer version(s) of IC, an authorizenet module is included in the [src/interchange]/eg/globalsub/authorizenet *copy this* file to your installed ../interchange/globalsub directory - NOTE: don't attempt to perl -d the file or run it to check its functionality, as it is made to be embedded into interchange when it starts. If you make modifications to it, remove everything except the section beginning with "sub authorizenet .. {" and ending with "}" After copying the file, take a look at it. It should tell you to add the following lines to your catalog's catalog.cfg file: Variable MV_PAYMENT_ID [YourAuthorizeNetID] Variable MV_PAYMENT_SECRET [YourAuthorizeNetPassword] Variable MV_PAYMENT_MODE custom authorizenet Variable MV_PAYMENT_REFERER [http://www.yourstore.com/cgi-bin/yourICbinary.cgi/process.html] Restart the interchange server - note: you won't see any textual notification that the authorizenet module is successfully included, but if there's an error in the file, it will report it. **NOTE: Be sure your authorize.net account is in TEST MODE before running any transactions, or at least be ready to void transactions and incur transaction fees. Now you *should* be able to order an item using a valid credit card. You'll notice that authorize.net won't notice any of your test transactions in its Transactions section, so there's no way for you to know if the customer data (other than the credit card num and expiration) are being transmitted successfully. In fact, by default, they aren't. You'll notice the authorizenet module only processes a minimum amount of information with each transcation. For instance, if an order has different billing and shipping addresses, the billing first name and last name, address, city, state, zip, etc, .. are transmitted to authorize.net as the shipping information as well. You'll also probably notice that all other fields except first name, last name, city, state, and zip are NOT transmitted to authorize.net. This is because the variable names in the authorizenet module do not correspond to the variable names in the checkout.html file. You can easily adjust the code to account for other variable names. Refer to the Appendix B of the developer section of the authorize.net interface for a mapping of their field names (such as x_Ship_To_First_Name). Here's some code from my slightly modified authorizenet file. Now my transactions are logging the correct address data, but I still can't get the phone or email to appear at all. (Anyone have clues?) --- # if the billing section of checkout.html appears to be blank, # copy the customer shipping info to the billing vars if (($actual{b_address1} eq "") || ($actual{b_zip} eq "")) { $actual{b_fname} = $actual{fname}; $actual{b_lname} = $actual{lname}; $actual{b_company} = $actual{company}; $actual{b_address1} = $actual{address1}; $actual{b_address2} = $actual{address2}; $actual{b_city} = $actual{city}; $actual{b_state} = $actual{state}; $actual{b_zip} = $actual{zip}; $actual{b_country} = $actual{country}; } # concatenate the two addresses into one if a second address line exists if ($actual{address2} ne "") { $actual{address} = "$actual{address1}" . ", " . "$actual{address2}"; } else { $actual{address} = $actual{address1}; } if ($actual{b_address2} ne "") { $actual{b_address} = "$actual{b_address1}" . ", " . "$actual{b_address2}"; } else { $actual{b_address} = $actual{b_address1}; } my %query = ( x_Method => 'CC', x_Type => $actual{mv_payment_mode}, x_Card_Num => $actual{mv_credit_card_number}, x_Exp_Date => $exp, x_Amount => $amount, x_First_Name => $actual{b_fname}, x_Last_Name => $actual{b_lname}, x_Company => $actual{company}, x_Address => $actual{b_address}, x_City => $actual{b_city}, x_State => $actual{b_state}, x_Zip => $actual{b_zip}, x_Country => $actual{b_country}, x_Ship_To_First_Name => $actual{fname}, x_Ship_To_Last_Name => $actual{lname}, x_Ship_To_Company => $actual{company}, x_Ship_To_Address => $actual{address}, x_Ship_To_City => $actual{city}, x_Ship_To_State => $actual{state}, x_Ship_To_Zip => $actual{zip}, x_Ship_To_Country => $actual{country}, x_Email => $actual{email}, x_Invoice_Num => $actual{mv_order_number}, x_Phone => $actual{phone_day}, x_Password => $secret, x_Login => $user, x_Version => '3.0', x_ADC_URL => 'FALSE', x_ADC_Delim_Data => 'TRUE', ); --- So... give the default code a try first and let me know how it goes. I really sympathize with authorize.net folks because of the lack of documentation and scattered mailing list archive contents. Good luck! -Jud From: rick at desertlord.com (Rick Lord ) Date: Wed, 14 Mar 2001 15:15:27 -0700 Subject: [ic] Operating System Choice - RH 6.2 or 7.0 I have interchange on RedHat 7.0 servers. Both were fresh installs. I wanted to keep the sites in the /home partition, so I made a symbolic link from /var/www/domain to /home/domain. Works fine so far. I also had problems installing the RPM but the tar file worked fine. Steve & Patti Getzinger wrote: > > I ran on 6.2 for quite some time with no problem. In fact I have been running > Minivend / Interchange since Red Hat 5.0 on Red Hat boxes. I recently upgraded our > 6.2 server to 7 and the problems you speak of were fixed in less than 4 hours > time. Naturally being 7.0 first would negate quite a bit of work later and I did > have problems with Interchange. I attempted an upgrade to the rpm which failed > miserably. I ended up uninstalling the 6.2 version of IC and then installing the > 7.0 version. I have also found some of my perl scripts had some problems but they > too are part of the 4 hour fix time. My advice: If you have the luxery of > upgrading first by all means. In fact I would blow the entire drive/drives and do > a complete fresh install. > > Steve > > Lord Valankar wrote: > > > Greetings all! > > This is just a general question and I'm looking for some general input. > > I have a dell power edge 2450 here that we bought some time ago just to > > run interchange. I am about to start assembling our production > > interchange on it and it occurred to me that I might want to upgrade > > from the factory installed 6.2 to 7.0 > > For the folks who don't know in RH 7.0 some of the basic directories > > are in slightly different places (i.e.. 6.2 /home/httpd/html is > > /var/www/html in 7.0) This would seem to make upgrading after the fact a > > major headache although possible. (Not to mention maintaining the source > > code.) > > I was just wondering if anyone had any thoughts to share in this > > matter, and if Akopia will be dropping support for the older RH 6.2 any > > time soon. > > > > Thanks in advance to any and all }:8> > > > > 0==----------=^=----------==0 > > Valankar (aka Dwagon) > > > > "Just remember: If life didn't suck we would all fly off the earth." > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Rick Lord Desert Lord Enterprises http://www.desertlord.com/ http://www.KitKar.com/ http://www.NavySealsWatches.com/ From: shui at lunamedium.com (Sam Hui ) Date: Wed, 14 Mar 2001 14:49:38 -0800 Subject: [ic] Interchange slower on a faster machine? Hi, We are having a wierd problem that we do not have on our 3 dev servers, only on our 2 production servers. Tracing the code, we found the following lines in Order.pm under sub order_route cause a pause of 1-3min each during the submit order process. $page = interpolate_html($page) if $page; send_mail(@$msg); Adding items to the cart and display a searh, however, does not pause. When the PIDcheck is set to 120, the server would return an 500 Internal Server Error page. When set to 300, the receipt page comes up, but usually after couple minutes of waiting. Here are the specs: We are running Redhat 6.2 with 2.2.x kernel, perl 5.00503, and interchange-4.6.3-1.rh6.i386.rpm running off of the default demo construct catalog. The most prominent difference is that our dev servers are 200mhz single pentium pro with 128mb memory and our production servers are 1ghz dual pentium IIIs with 1gig memory. Has anyone experience this before? From: doliver at hampshire.edu (Dylan Oliver ) Date: Wed, 14 Mar 2001 17:01:28 -0600 Subject: [ic] GPG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I want to encrypt order information with gpg and email it. I've got the following in catalog.cfg: Variable ENCRYPTOR /usr/bin/gpg --always-trust --batch -ear globalv 2>/tmp/debug_gpg I've tested this in the console, and it seems to work. However, when I do a test order, the email only contains: 0-- /tmp/debug_gpg doesn't say anything.. What am I doing wrong? - -- Dylan Oliver http://stout.hampshire.edu/~dao99 Global View International http://www.globalview-intl.com Do you know how little you know? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjqv+EkACgkQ7U8r0TCZf4F8AQCdE5cCRiDvRTyWFx4K051BoR0P BxoAn00dAOvLRo5TEYgwxVe0b0e9IWMI =f+TG -----END PGP SIGNATURE----- From: jon at akopia.com (Jon Jensen ) Date: Wed, 14 Mar 2001 16:57:03 -0600 (CST) Subject: [ic] Interchange slower on a faster machine? On Wed, 14 Mar 2001, Sam Hui wrote: > We are having a wierd problem that we do not have on our 3 dev servers, only > on our 2 production servers. Tracing the code, we found the following lines > in Order.pm under sub order_route cause a pause of 1-3min each during the > submit order process. > > $page = interpolate_html($page) if $page; > send_mail(@$msg); Sounds to me like you have a problem with your name server. sendmail looks up the hostname of your server and the MX record of the machine you're sending mail to, and tends to go *very* slow if there's any trouble there. You can test this theory by trying to send mail from something like 'mail' or 'pine' on that server, and seeing if that hangs as well. Or you can just remove the send_mail command -- it should work fine and then you can start figuring out what's wrong with your mail configuration. Jon From: stanley at ciphersys.com (Stanley Major ) Date: Wed, 14 Mar 2001 16:24:32 -0700 Subject: [ic] Shipping charge problem for same product code items My Minivend site sells a shirt which comes in a variety of colors. I am using the same product code, with a drop down color selection box. My shipping.asc contains price breaks at $20, $40, $60, $80, etc. When several shirts are ordered, as separate items, with different colors, bringing the aggregate total over $20, the basket shows the shipping charge for under $20. I can add items to increase the shipping charge, as it is supposed to be applied in the $20 - $40 range, but the cumulative charge seems to be ignoring some of the (same product code) item, when totalling shipping charges. Has anyone else seen similar behaviour and are there any suggestions? Thanks. Stanley Major, Programmer Cipher Systems - A Cedar Group Company Providing quality software solutions & services since 1978. E-mail: stanley@ciphersys.com Phone: (403) 256-8877, ext. 234 Fax: (403) 256-8878 Cipher was selected as the "Fastest Growing Company in Alberta" by Alberta Venture magazine in 2000 & included in the 1999 Deloitte & Touche "Canadian Technology Fast 50." Visit us at: http://www.ciphersys.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Wed, 14 Mar 2001 21:15:16 -0800 Subject: [ic] Please wait while your request is processed I have a metric ton of IML code that I would like to process in a visually aesthetic way. How do I write a page so that it goes something like this: Please wait while your request is processed... -->(tons of code that takes 5+ seconds to complete goes here)<-- ...Done. Thank you for your patience, you will now be forwarded to ... [bounce ...] I've tried a form that used: [seti long_code] -->(tons of code that takes 5+ seconds to complete goes here)<-- [/seti] mv_click=[scratch long_code] But it didn't do anything when I clicked submit. o Does anyone have a tip for handling 1 certain page that you know will take a *long* time to execute? o What is the code that tells interchange *not* to wait until the entire page is done before sending it? Thanks, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: ramana at myweb.com.my (Ramana ) Date: Thu, 15 Mar 2001 16:23:29 +0800 Subject: [ic] Weight Priceing Hi, Can any body help me out, how I can do "Weight Priceing" insted of quantity priceing? Txs in advance ----- Original Message ----- From: <interchange-users-admin@lists.akopia.com> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 15, 2001 2:48 AM Subject: Interchange-users digest, Vol 1 #361 - 18 msgs > > Send Interchange-users mailing list submissions to > interchange-users@lists.akopia.com > > To subscribe or unsubscribe via the web, visit > http://lists.akopia.com/mailman/listinfo/interchange-users > or, via email, send a message with subject or body 'help' to > interchange-users-request@lists.akopia.com > You can reach the person managing the list at > interchange-users-admin@lists.akopia.com > > When replying, please edit your Subject line so it is more specific than > "Re: Contents of Interchange-users digest..." > > > Today's Topics: > > 1. connecting to sybase (Klaus Koch) > 2. Delete row (Kohegyi Tamas (LMF)) > 3. Delete row (tamas.kohegyi@unforgettable.com) > 4. Re: format array value (Mark Johnson) > 5. Re: Basket content (Mark Johnson) > 6. [repost] per item shipping cost schedule (Guido Sohne) > 7. Re: connecting to sybase (Mark Johnson) > 8. Re: Simple Question.... (Rick Lord) > 9. PGP ... Implementation Documentation (Christopher VanOosterhout) > 10. shipping voo-doo challenge question (Mark Stosberg) > 11. need help with acl for soft goods purchasing (Mark Stosberg) > 12. Re: Delete row (Ed LaFrance) > 13. RE: connecting to sybase (Andreas, Scott) > 14. Authorize Net... (Dan McFarland) > 15. Re: Authorize Net... (Bill Shupp) > 16. Quantities (Dylan Oliver) > 17. Re: Quantities (Bob Puff@NLE) > 18. Re: Quantities (Ed LaFrance) > > --__--__-- > > Message: 1 > Date: Wed, 14 Mar 2001 15:13:28 +0100 (MET) > Reply-To: kkoch@kxsu.de > From: Klaus Koch <kkoch@kxsu.de> > To: interchange-users@lists.akopia.com > Subject: [ic] connecting to sybase > Reply-To: interchange-users@lists.akopia.com > > hello! > > i have to switch a running shop from mysql to sybase anywhere studio. > i installed the ASAny DBI driver and i am able to connect with a perl > script and recieve data (i copied this script to the end of this mail). > > the running sybase server is named cc-shop and the database is called > cshop. > > but i cant figure out how to connect with the shop to the new database > i tried this (and many similar) configuration: > > Database products products dbi:ASAny:cshop > Database products USER ic > Database products PASS 123456 > Database products ENG cc-shop > > i dont know if i can pass ENG simply like this (compare perlscript). > > please, can someone who works with a sybase server help me? i just dont > know what to do now... > > many thanks in advance! > > klaus > > > this is the perl script which recieves data from the database: > > #!/usr/bin/perl -w > use DBI; > use strict; > my($database) = "CSHOP"; > my($data_source) = "DBI:ASAny:$database"; > my($username) = "UID=ic;PWD=123456;ENG=cc-shop"; > my($sel_statement) = "SELECT code,searchspec,ref01 FROM artikel"; > my($dbh) = &db_connect($data_source, $username, ''); > &db_query($sel_statement,$dbh); > $dbh->disconnect; > exit(0); > > sub db_connect { > my($source,$user,$pass) = @_; > my($dbh) = DBI->connect($source, $user, $pass); > return($dbh); > } > > sub db_query { > my($sel,$h) = @_; > my($row,$sth) = undef; > $sth = $h->prepare($sel); > $sth->execute; > print "Names: @{$sth->{NAME}}\n"; > print "Fields: $sth->{NUM_OF_FIELDS}\n"; > print "Params: $sth->{NUM_OF_PARAMS}\n"; > print "\nFirst Name\tLast_name\tTitle\n"; > while($row = $sth->fetch) { > print "@$row[0]\t@$row[1]\t\t@$row[2]\n"; > } > $sth->finish; > } > __END__ > > > --__--__-- > > Message: 2 > From: Kohegyi Tamas (LMF) <tamas.kohegyi@lmf.ericsson.se> > Date: Wed, 14 Mar 2001 16:28:00 +0200 > charset="iso-8859-1" > To: interchange-users@lists.akopia.com > Subject: [ic] Delete row > Reply-To: interchange-users@lists.akopia.com > > Hi all, > > Can anybody give me an example how to delete a specific row of a specific table? > In SQL it would be like DELETE FROM TABLENAME WHERE COLUMNNAME="x"; > But what should I do in [ic] and using non-sql-based table (gdbm)? > > I tried: > [sql interpolate=1]delete from mytable where id="[value em_id]" and username="[data session username]"[/sql] > but nothing happened. (Also no error message in error.log) > > Thanks, > Tamas > > --__--__-- > > Message: 3 > From: tamas.kohegyi@unforgettable.com > Date: Wed, 14 Mar 2001 16:29:31 +0200 > charset="iso-8859-1" > To: interchange-users@lists.akopia.com > Subject: [ic] Delete row > Reply-To: interchange-users@lists.akopia.com > > Hi all, > > Can anybody give me an example how to delete a specific row of a specific table? > In SQL it would be like DELETE FROM TABLENAME WHERE COLUMNNAME="x"; > But what should I do in [ic] and using non-sql-based table (gdbm)? > > I tried: > [sql interpolate=1]delete from mytable where id="[value em_id]" and username="[data session username]"[/sql] > but nothing happened. (Also no error message in error.log) > > Thanks, > Tamas > > --__--__-- > > Message: 4 > Date: Wed, 14 Mar 2001 09:44:03 -0500 > From: Mark Johnson <markj@redhat.com> > Organization: Red Hat E-Business Solutions > To: interchange-users@lists.akopia.com > Subject: Re: [ic] format array value > Reply-To: interchange-users@lists.akopia.com > > Mathew Jones wrote: > > > > The results of an sql query are returned to @$resultsetfinal. What i > > would like to do is remove any price formating from the 3rd value within > > the array for each record e.g s/\$//; > > and write that new format back into the value of the 3rd array element, > > so that when I use @$resultsetfinal again to sort by price there is no > > unneccesary formating there. > > Your help is appreciated... > > > > I would look for a way to remove it from the query first, assuming your > SQL engine handles substrings in some way *and* your formatting is > consistent (which, frankly, is essential to good db management). > Something like: > > SELECT substr(column, 2, length ( column ) - 1 ) as sort_price.... > > The syntax will heavily depend on your particular db. > > However, if this isn't an option, or your data are inconsistent, you can > do it in Perl: > > foreach (@$resultsetfinal) { > $_->[2] =~ s/\$//g; > } > > Perl is also pretty magical, and it wouldn't surprise me a bit to find > that it would perform a numeric sort by simply ignoring your non-numeric > $ signs, etc. > > -- > Mark Johnson > Senior Developer - Professional Services > Red Hat, Inc. > E-Business Solutions > markj@redhat.com > 703-456-2912 > > --__--__-- > > Message: 5 > Date: Wed, 14 Mar 2001 09:45:50 -0500 > From: Mark Johnson <markj@redhat.com> > Organization: Red Hat E-Business Solutions > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Basket content > Reply-To: interchange-users@lists.akopia.com > > Sergey Sheykin wrote: > > > > How can I manually erease shopping cart content? > > mv_action=cancel > > -- > Mark Johnson > Senior Developer - Professional Services > Red Hat, Inc. > E-Business Solutions > markj@redhat.com > 703-456-2912 > > --__--__-- > > Message: 6 > Date: Wed, 14 Mar 2001 06:47:19 -0800 (PST) > From: Guido Sohne <caught_one@yahoo.com> > To: interchange-users@lists.akopia.com > Subject: [ic] [repost] per item shipping cost schedule > Reply-To: interchange-users@lists.akopia.com > > I posted earlier on a shipping problem I was having and was basically > told > to either > > 1) Iterate over the cart items in Perl and watch the sun rising ... :-) > 2) Or use an add-on product called shipd ... > > I opted for 'roll-your-own' :-) and am being rolled over by a steam > roller. > > I'm trying to calculate shipping for a set of items in a shopping cart. > Each item could potentially have its own shipping method. > > This is intended to allow for widely varying types of goods. For > example, > shipping iron rods is different from shipping jewelry, yet both can be > bought > at the same time. > > As far as I am aware, Interchange calculates shipping based on the > aggregate > weight/quantity of the items in a cart by applying a data table to this > > aggregate quantity. We're shipping based on weight. > > I've identified a strategy which seems workable except I do not know > all > the steps needed to achieve it. > > 1) Add a field to products database called ship. This field is the > class > of shipping (ie. the data table to be applied to this product) > > 2) Define tags that are used with [item-list] to be used as below:- > > ([]'s shifted around for clarity) > > [reset-shipping] > [item-list] > [add-to-shipping > shipmode="[item-field ship]" > weight="[item-field weight]" > quantity="[item-quantity]" > ] > [/item-list] > [calculate-shipping-to "New Jersey"] > > > 3) These UserTags go into the catalog.cfg for the store. > > This UserTag resets all shipping values to zero and should > be used each time one is going to do something related to > calculating shipping. > > UserTag reset-shipping Routine <<EOR > sub { $Vend::Session->{SendToAfrica} = undef; return ""; } > EOR > > This UserTag sorts the products into bins according to shipping class > and calculates the aggregate weight for each bin. > > UserTag add-to-shipping Order shipmode weight quantity > UserTag add-to-shipping Routine <<EOR > sub { > my ($shipmode,$weight,$quantity) = @_; > $Vend::Session->{SendToAfrica}{$shipmode} += $weight * > $quantity; > return ""; > } > EOR > > This UserTag is supposed to apply a data table used in regular > Interchange > shipping to each bin. If the bin are called '1', '2' and '3', and we > are > shipping to 'USA', then this UserTag should apply data table USA1 to > the > aggregate weight of items in bin '1'; apply data table USA2 to the > aggregate weight of items in bin '2' etc. > > I'm setting $::Values->{mv_shipmode} to the concatenation of the > shipping > destination and the shipping class. That would make data table 'USA1' > apply > to destination 'USA' and shipping class '1'. > > Now I want to call an Interchange function, telling it to calculate > shipping > for the items in bin '1' for destination 'USA'. From looking at the > source > code for sub shipping in Interpolate.pm, I guess the next step is to > create > a cart for each bin, put all items in the bin into the cart. > > I'm having problems trying to work out how to do the > calculate-shipping-to > UserTag properly. This code doesn't work ... and I need help with it > especially > as this is my first descent into the Perl side of developing with > Interchange. > > Any ideas ? This would be much easier if Interchange had API level > documentation. If something like that exists, please let me know !!!! > > I'm tearing my hair out trying to grok this Perl :) it's too > elite for me, maybe ... Maybe ?!? > > UserTag calculate-shipping-to Order region > UserTag calculate-shipping-to Routine <<EOR > sub { > my $region = shift; > my $method = undef; > my $cat = undef; > my $total = undef; > > foreach $cat (keys %{$Vend::Session->{SendToAfrica}}) { > # TODO: from region get shipping data table > # this is done by setting mv_shipmode > $::Values->{mv_shipmode} = $region . $cat; > > print $Vend::Interpolate::shipping($region . $cat); > # TODO: use mv_shipmode on category weight > $total += $Vend::Session->{SendToAfrica}{$cat}; > } > return "$total"; > } > EOR > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - Buy the things you want at great prices. > http://auctions.yahoo.com/ > > --__--__-- > > Message: 7 > Date: Wed, 14 Mar 2001 10:03:29 -0500 > From: Mark Johnson <markj@redhat.com> > Organization: Red Hat E-Business Solutions > To: interchange-users@lists.akopia.com > Subject: Re: [ic] connecting to sybase > Reply-To: interchange-users@lists.akopia.com > > I would guess that the actual connect call looks something like this: > > DBI->connect(SQLDSN,SQLUSER,SQLPASS); > > Given that, I would "try" > > SQLDSN "DBI:ASAny:CSHOP" > SQLUSER "UID=ic;PWD=123456;ENG=cc-shop" > SQLPASS > > Another possibility would be adding the ENG directive to SQLDSN: > > DBI:ASAny:CSHOP;ENG=cc-shop > > Or, scour the man page for DBD::ASAny for alternative syntax. > > Good luck! > > > Klaus Koch wrote: > > > > hello! > > > > i have to switch a running shop from mysql to sybase anywhere studio. > > i installed the ASAny DBI driver and i am able to connect with a perl > > script and recieve data (i copied this script to the end of this mail). > > > > the running sybase server is named cc-shop and the database is called > > cshop. > > > > but i cant figure out how to connect with the shop to the new database > > i tried this (and many similar) configuration: > > > > Database products products dbi:ASAny:cshop > > Database products USER ic > > Database products PASS 123456 > > Database products ENG cc-shop > > > > i dont know if i can pass ENG simply like this (compare perlscript). > > > > please, can someone who works with a sybase server help me? i just dont > > know what to do now... > > > > many thanks in advance! > > > > klaus > > > > this is the perl script which recieves data from the database: > > > > #!/usr/bin/perl -w > > use DBI; > > use strict; > > my($database) = "CSHOP"; > > my($data_source) = "DBI:ASAny:$database"; > > my($username) = "UID=ic;PWD=123456;ENG=cc-shop"; > > my($sel_statement) = "SELECT code,searchspec,ref01 FROM artikel"; > > my($dbh) = &db_connect($data_source, $username, ''); > > &db_query($sel_statement,$dbh); > > $dbh->disconnect; > > exit(0); > > > > sub db_connect { > > my($source,$user,$pass) = @_; > > my($dbh) = DBI->connect($source, $user, $pass); > > return($dbh); > > } > > > > sub db_query { > > my($sel,$h) = @_; > > my($row,$sth) = undef; > > $sth = $h->prepare($sel); > > $sth->execute; > > print "Names: @{$sth->{NAME}}\n"; > > print "Fields: $sth->{NUM_OF_FIELDS}\n"; > > print "Params: $sth->{NUM_OF_PARAMS}\n"; > > print "\nFirst Name\tLast_name\tTitle\n"; > > while($row = $sth->fetch) { > > print "@$row[0]\t@$row[1]\t\t@$row[2]\n"; > > } > > $sth->finish; > > } > > __END__ > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > -- > Mark Johnson > Senior Developer - Professional Services > Red Hat, Inc. > E-Business Solutions > markj@redhat.com > 703-456-2912 > > --__--__-- > > Message: 8 > Date: Wed, 14 Mar 2001 08:28:33 -0700 > From: Rick Lord <rick@desertlord.com> > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Simple Question.... > > It seems to me that many people have this problem, including myself. > Does anyone have any answers? > Thanks. > > Jack Lauman wrote: > > > > How do you disable shipping? > > > > How do you disable inventory? > > > > When processing an order for a non-inventory soft product I get the > > error: "NOTE: Nothing to ship!" and of course it won't complete the > > transaction. > > > > Jack > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > -- > Rick Lord > Desert Lord Enterprises > http://www.desertlord.com/ > http://www.KitKar.com/ > http://www.NavySealsWatches.com/ > > > --__--__-- > > Message: 9 > Date: Wed, 14 Mar 2001 11:16:46 -0500 > To: interchange-users@lists.akopia.com > From: Christopher VanOosterhout <chris@vanoosterhout.com> > Subject: [ic] PGP ... Implementation Documentation > > > Greetings All, > > Things are progressing real well but I am having a bit of trouble figuring > out just how to bring PGP and Interchange together. > > I have looked through the online documentation and mailing list archives > and do not find just what I am looking for. If I did miss it, please be so > kind to point me in the right direction. > > Here is what I would like to do. > > I would like to take my order file and encrypt it with PGP before it is > emailed to my order desk. I have PGP installed on my machine. > > How do I tell Interchange to start encrypting orders? > > Thanks, > > Christopher Van Oosterhout > > > > > > > --__--__-- > > Message: 10 > Date: Wed, 14 Mar 2001 11:34:59 -0500 > From: Mark Stosberg <mark@summersault.com> > Reply-To: mark@summersault.com > Organization: Summersault > To: interchange-users@lists.akopia.com > Subject: [ic] shipping voo-doo challenge question > > > Hello! > > After reviewing the IC docs on setting up shipping schemes several > times, it still seems somewhat like voodoo to me. So I have extra > respect for anyone who can help me implement the following shipping > logic in Interchange: > > " Use a flat rate shipping price based on quantity with price breaks at > 1 and 10, but exclude any items in the quantity count that have a true > value in the 'download' column in the products table". > > I had the basic price point structure set up, but adding in the > exception for soft goods (which don't effect the shipping charge), has > thrown me for a loop. > > Perhaps related: In the simple demo of Interchange, there doesn't appear > to be a mention of handling soft goods in the shipping table, but I > assume they are not being charged for shipping. How is shipping being > handled for those items? > > Thanks! > > -mark > > personal website } Summersault Website Development > http://mark.stosberg.com/ { http://www.summersault.com/ > > --__--__-- > > Message: 11 > Date: Wed, 14 Mar 2001 11:35:16 -0500 > From: Mark Stosberg <mark@summersault.com> > Reply-To: mark@summersault.com > Organization: Summersault > To: interchange-users@lists.akopia.com > Subject: [ic] need help with acl for soft goods purchasing > > > Hello! > > I'm working on getting soft goods downloading working with Minivend > 4.04a and have progressed a bit. I believe I'm currently getting stuck > with a problem related to the "ACL" permissions of the file. I'm getting > back the error: > "Sorry, not authorized for PDF1. Buy it first, please." > > Any help in this area would be appreciated. The pertinent details are > below. > > On the receipt page, I have code that trys to have the logic of: > > " for each downloadable file, set it's expiration date to 7 days, and > return a return a link > to where it can be downloaded" > > [set download_present][/set] > [item-list] > [if-item-field dl_location] > [set download_present]1[/set] > [userdb > function=set_file_acl > mode="expire 7 days" > location="[item-code]" > ] > [calc] my $save = delete $Scratch->{mv_add_dot_html}; [/calc] > <BR><A HREF=[area href="deliver/[item-field dl_location]" > arg=[item-field code]]download</A> > [calc] $Scratch->{mv_add_dot_html} = $save if $save;[/calc] > [/if-item-field] > > ###################################### > > I'm keeping the files in the pages/deliver directory > and I'm using the standard "deliver.html" page delivered with Minivend. > In Catalog.cfg, I have these related Variables: > > # Add some variables that might help with Soft Goods downloading > Variable MV_USERDB_ACL_TABLE userdb > Variable MV_USERDB_ACL_COLUMN acl > > The "acl" column did not appear in the userdb.txt file, so I added it. > > This also appears to use the "deliver" ActionMap, which was already > defined in Catalog.cfg. > > I tried creating a zero byte ".access" file in the deliver directory, > but I got a different error: "You must be logged in to view this page". > Although I expect the user to have a session, our scheme doesn't require > them to be logged in. > > Thanks! > > -mark > > personal website } Summersault Website Development > http://mark.stosberg.com/ { http://www.summersault.com/ > > --__--__-- > > Message: 12 > Date: Wed, 14 Mar 2001 08:38:44 -0800 > To: interchange-users@lists.akopia.com > From: Ed LaFrance <edl@newmediaems.com> > Subject: Re: [ic] Delete row > > At 04:29 PM 03/14/2001 +0200, you wrote: > >Hi all, > > > >Can anybody give me an example how to delete a specific row of a specific > >table? > >In SQL it would be like DELETE FROM TABLENAME WHERE COLUMNNAME="x"; > >But what should I do in [ic] and using non-sql-based table (gdbm)? > > > >I tried: > >[sql interpolate=1]delete from mytable where id="[value em_id]" and > >username="[data session username]"[/sql] > >but nothing happened. (Also no error message in error.log) > > > > Here is a Usertag from (from Mike Heins, I believe), orginally for earlier > Minivend versions, but it may work in Interchange, though some tweaking > could be necessary: > > > #To use it as a tag: > # > # [tag flag write]products[/tag] > # [delete_record table="products" key="00-0011a"] > # > #I will leave the production of a subroutine as an exercise for > #the reader. > # > #Of course [tag flag write] must be at the top of the page. And of > #course this won't work with the old parser. > # > #If you want to update the ASCII source file, of course: > # > # [tag export products][/tag] > ################################################################ > > UserTag delete_record Order table key > UserTag delete_record PosNumber 2 > UserTag delete_record Routine <<EOR > 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); > } > EOR > > > - Ed L. > > > > =============================================================== > **** Virtual Hosting w/private IC Installation, $65/month! **** > --------------------------------------------------------------- > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > > --__--__-- > > Message: 13 > From: "Andreas, Scott" <Scott.Andreas@learningco.com> > To: "'interchange-users@lists.akopia.com'" > <interchange-users@lists.akopia.com> > Subject: RE: [ic] connecting to sybase > Date: Wed, 14 Mar 2001 08:42:09 -0800 > charset="iso-8859-1" > > If you have IC version 4.6.X look under Administraion -> info and under > Database Information if you see your DBI listed, IC can connect using that > interface. Of course you need to declare your products database in IC to > use your dbi interface. > > If it not listed there, install that module within the interchange > directory, then restart the server. > > Other opotions are to install the dbi::sybase perl module Or, the one that > I'm looking at that has cross compatability with Microsoft SQL serve, since > both Sybase and Microsoft SQL Servers use Tabular Data Streams, is > dbi::freeTDS. > > good luck. > > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Klaus Koch > Sent: Wednesday, March 14, 2001 6:13 AM > To: interchange-users@lists.akopia.com > Subject: [ic] connecting to sybase > > > hello! > > i have to switch a running shop from mysql to sybase anywhere studio. > i installed the ASAny DBI driver and i am able to connect with a perl > script and recieve data (i copied this script to the end of this mail). > > the running sybase server is named cc-shop and the database is called > cshop. > > but i cant figure out how to connect with the shop to the new database > i tried this (and many similar) configuration: > > Database products products dbi:ASAny:cshop > Database products USER ic > Database products PASS 123456 > Database products ENG cc-shop > > i dont know if i can pass ENG simply like this (compare perlscript). > > please, can someone who works with a sybase server help me? i just dont > know what to do now... > > many thanks in advance! > > klaus > > > this is the perl script which recieves data from the database: > > #!/usr/bin/perl -w > use DBI; > use strict; > my($database) = "CSHOP"; > my($data_source) = "DBI:ASAny:$database"; > my($username) = "UID=ic;PWD=123456;ENG=cc-shop"; > my($sel_statement) = "SELECT code,searchspec,ref01 FROM artikel"; > my($dbh) = &db_connect($data_source, $username, ''); > &db_query($sel_statement,$dbh); > $dbh->disconnect; > exit(0); > > sub db_connect { > my($source,$user,$pass) = @_; > my($dbh) = DBI->connect($source, $user, $pass); > return($dbh); > } > > sub db_query { > my($sel,$h) = @_; > my($row,$sth) = undef; > $sth = $h->prepare($sel); > $sth->execute; > print "Names: @{$sth->{NAME}}\n"; > print "Fields: $sth->{NUM_OF_FIELDS}\n"; > print "Params: $sth->{NUM_OF_PARAMS}\n"; > print "\nFirst Name\tLast_name\tTitle\n"; > while($row = $sth->fetch) { > print "@$row[0]\t@$row[1]\t\t@$row[2]\n"; > } > $sth->finish; > } > __END__ > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > --__--__-- > > Message: 14 > From: "Dan McFarland" <dan@mailturtle.com> > To: <interchange-users@lists.akopia.com> > Date: Wed, 14 Mar 2001 11:26:47 -0600 > charset="iso-8859-1" > Subject: [ic] Authorize Net... > > Can someone send me the details about getting Interchange to work real-tine > with authorize net? > > Thanks! > > > > > --__--__-- > > Message: 15 > Date: Wed, 14 Mar 2001 11:36:58 -0600 > Subject: Re: [ic] Authorize Net... > From: Bill Shupp <hostmaster@shupp.org> > To: <interchange-users@lists.akopia.com> > > on 3/14/01 11:26 AM, Dan McFarland at dan@mailturtle.com wrote: > > > Can someone send me the details about getting Interchange to work real-tine > > with authorize net? > > And me as well! > > Thanks, > > Bill Shupp > > > --__--__-- > > Message: 16 > charset="iso-8859-1" > From: Dylan Oliver <doliver@hampshire.edu> > Organization: Global View International > To: interchange-users@lists.akopia.com > Date: Wed, 14 Mar 2001 12:33:02 -0600 > Subject: [ic] Quantities > Reply-To: interchange-users@lists.akopia.com > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > As I've been working on the ord/basket.html page, I've noticed that each > refresh adds another item to my basket. Which makes sense, as the url I used > to get to the page includes "&mv_order_item=gvah18". However, instead of > adding to the quantity of one item in the basket, each refresh adds a whole > 'nother item, like so: > > 1 Rajasthan Painted Table $215.00 $215.00 > > 1 Rajasthan Painted Table $215.00 $215.00 > > 1 Rajasthan Painted Table $215.00 $215.00 > > instead of: > > 3 Rajasthan Painted Table $215.00 $645.00 > > This seems like a bug to me; how can I get around it? > > Dylan Oliver > http://stout.hampshire.edu/~dao99 > Global View International > http://www.globalview-intl.com > Do you know how little you know? > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.4 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iEYEARECAAYFAjqvuV4ACgkQ7U8r0TCZf4H69wCdFMXR8+LITpeE+c0OOcrijRK4 > WWkAn1e/Bts+6qQDf4WrB6/wVNH0M5+9 > =R1l6 > -----END PGP SIGNATURE----- > > --__--__-- > > Message: 17 > Date: Wed, 14 Mar 2001 13:28:53 -0500 > From: "Bob Puff@NLE" <bob@nleaudio.com> > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Quantities > Reply-To: interchange-users@lists.akopia.com > > I've noticed this same thing happens if you go an order two of the same item separately - it doesn't see that the item is already in the basket, and just bump up the quantity. Would be nice if this did this. > > BOb > > > Dylan Oliver wrote: > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hi, > > > > As I've been working on the ord/basket.html page, I've noticed that each > > refresh adds another item to my basket. Which makes sense, as the url I used > > to get to the page includes "&mv_order_item=gvah18". However, instead of > > adding to the quantity of one item in the basket, each refresh adds a whole > > 'nother item, like so: > > > > 1 Rajasthan Painted Table $215.00 $215.00 > > > > 1 Rajasthan Painted Table $215.00 $215.00 > > > > 1 Rajasthan Painted Table $215.00 $215.00 > > > > instead of: > > > > 3 Rajasthan Painted Table $215.00 $645.00 > > > > This seems like a bug to me; how can I get around it? > > > > Dylan Oliver > > http://stout.hampshire.edu/~dao99 > > Global View International > > http://www.globalview-intl.com > > Do you know how little you know? > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.0.4 (GNU/Linux) > > Comment: For info see http://www.gnupg.org > > > > iEYEARECAAYFAjqvuV4ACgkQ7U8r0TCZf4H69wCdFMXR8+LITpeE+c0OOcrijRK4 > > WWkAn1e/Bts+6qQDf4WrB6/wVNH0M5+9 > > =R1l6 > > -----END PGP SIGNATURE----- > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > --__--__-- > > Message: 18 > Date: Wed, 14 Mar 2001 10:49:48 -0800 > To: interchange-users@lists.akopia.com > From: Ed LaFrance <edl@newmediaems.com> > Subject: Re: [ic] Quantities > Reply-To: interchange-users@lists.akopia.com > > At 12:33 PM 03/14/2001 -0600, you wrote: > >-----BEGIN PGP SIGNED MESSAGE----- > >Hash: SHA1 > > > >Hi, > > > >As I've been working on the ord/basket.html page, I've noticed that each > >refresh adds another item to my basket. Which makes sense, as the url I used > >to get to the page includes "&mv_order_item=gvah18". However, instead of > >adding to the quantity of one item in the basket, each refresh adds a whole > >'nother item, like so: > > > >1 Rajasthan Painted Table $215.00 $215.00 > > > >1 Rajasthan Painted Table $215.00 $215.00 > > > >1 Rajasthan Painted Table $215.00 $215.00 > > > >instead of: > > > >3 Rajasthan Painted Table $215.00 $645.00 > > > >This seems like a bug to me; how can I get around it? > > > > The catalog.cfg directive which controls this is SeparateItems, and it is > well-documented. > > - Ed L. > > > > > =============================================================== > **** Virtual Hosting w/private IC Installation, $65/month! **** > --------------------------------------------------------------- > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > > > > --__--__-- > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > End of Interchange-users Digest > From: tamas.kohegyi at unforgettable.com (tamas.kohegyi at unforgettable.com ) Date: Thu, 15 Mar 2001 12:28:48 +0200 Subject: [ic] Delete row + Column does not exist Hi all, Thanks for the delete_column idea (from Ed), now it works for me as: [tag flag write]current_table[/tag] [perl tables="current_table"] $ref = $Db{current_table}; #set reference $cart_sku = $Values->{'current_key'}; $ref->delete_record($cart_sku); #delete the record from the database [/perl] ---- New problem: I created this to check something is the row: [tag flag write]current_table[/tag] [perl tables="current_table"] $ref = $Db{current_table}; #set reference $cart_sku = $Values->{'filename'}; #this is the row we have to check #if record does not exist, we have to do something $ref->record_exists($cart_sku) or do { I_have_to_do_something; return; }; #record exists. do some other checks in the row... [/perl] It works well if the row exists. But when the row does not exist, I got this error message: a.b.c.d cMyY6HKo:a.b.c.d - [15/March/2001:12:07:28 +0200] ctlg /cgi-bin/ctlg/process Safe: There is no column named 'x' at /local/mvend/lib/Vend/Table/Common.pm line 217. How can I handle this problem? (Exeption handling? Other setting in [perl] tag?) Thanks, Tamas From: sheich at mosinfo.ru (Sergey Sheykin ) Date: Thu, 15 Mar 2001 17:20:53 +0300 Subject: [ic] Basket content Mark, can I make this without <Form ...>, without sending parameters through the form and clickon submit button? > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Mark Johnson > Sent: Wednesday, March 14, 2001 5:46 PM > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Basket content > > > Sergey Sheykin wrote: > > > > How can I manually erease shopping cart content? > > mv_action=cancel > > -- > Mark Johnson > Senior Developer - Professional Services > Red Hat, Inc. > E-Business Solutions > markj@redhat.com > 703-456-2912 > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: markj at redhat.com (Mark Johnson ) Date: Thu, 15 Mar 2001 10:04:11 -0500 Subject: [ic] Delete row + Column does not exist tamas.kohegyi@unforgettable.com wrote: > New problem: > I created this to check something is the row: > > [tag flag write]current_table[/tag] > [perl tables="current_table"] > $ref = $Db{current_table}; #set reference > $cart_sku = $Values->{'filename'}; #this is the row we have to check > > #if record does not exist, we have to do something > $ref->record_exists($cart_sku) or do { I_have_to_do_something; return; }; > > #record exists. > do some other checks in the row... > [/perl] > Not sure why that would be happening, but you can force a soft failure. [try] [perl] . . [/perl] [/try] [catch] # only executed if something went ary in the [try][/try] tag I_have_to_do_something; [/catch] Think of this as a perl: eval { } if ($@) { } pair. -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: markj at redhat.com (Mark Johnson ) Date: Thu, 15 Mar 2001 10:09:37 -0500 Subject: [ic] Basket content Sergey Sheykin wrote: > > Mark, > > can I make this without <Form ...>, > without sending parameters through the form > and clickon submit button? > You have to somehow pass the information to IC to make the action occur. There's simply no way around it. That is, the user has to take *some* action--whatever it is--and based on that action, you have to set up the proper directives. So, when you say, "Can I make this happen without a form or sending parameters or clicking on the submit button," I'd have to say no. But, perhaps I don't understand what you're asking, so maybe describe what you want to do, under what situation, and what you want to have the user do to trigger that action. Then, I can tell you what would work. > > -----Original Message----- > > From: interchange-users-admin@lists.akopia.com > > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Mark Johnson > > Sent: Wednesday, March 14, 2001 5:46 PM > > To: interchange-users@lists.akopia.com > > Subject: Re: [ic] Basket content > > > > > > Sergey Sheykin wrote: > > > > > > How can I manually erease shopping cart content? > > > > mv_action=cancel > > -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: cfm at maine.com (cfm at maine.com ) Date: Thu, 15 Mar 2001 10:06:09 -0500 Subject: [ic] Please wait while your request is processed On Wed, Mar 14, 2001 at 09:15:16PM -0800, Dan B wrote: > I have a metric ton of IML code that I would like to process in a visually > aesthetic way. How do I write a page so that it goes something like this: > > Please wait while your request is processed... > > -->(tons of code that takes 5+ seconds to complete goes here)<-- > > ...Done. Thank you for your patience, you will now be forwarded to ... > > [bounce ...] something like push @OUT,qq` {mv_cartname}" ]" HTTP-EQUIV="REFRESH"> >

A moment please while your order is processed...
`; > > I've tried a form that used: > > [seti long_code] > -->(tons of code that takes 5+ seconds to complete goes here)<-- > [/seti] > mv_click=[scratch long_code] > > But it didn't do anything when I clicked submit. > > o Does anyone have a tip for handling 1 certain page that you know will > take a *long* time to execute? > o What is the code that tells interchange *not* to wait until the entire > page is done before sending it? > > Thanks, > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: markj at redhat.com (Mark Johnson ) Date: Thu, 15 Mar 2001 10:43:58 -0500 Subject: [ic] Please wait while your request is processed cfm@maine.com wrote: > > On Wed, Mar 14, 2001 at 09:15:16PM -0800, Dan B wrote: > > I have a metric ton of IML code that I would like to process in a visually > > aesthetic way. How do I write a page so that it goes something like this: > > > > Please wait while your request is processed... > > > > -->(tons of code that takes 5+ seconds to complete goes here)<-- > > > > ...Done. Thank you for your patience, you will now be forwarded to ... > > > > [bounce ...] > All the IC processing will occur before the buffer is returned to vlink (though it seems there's some way to force a flush that I can't remember). However, you can always use good ol' html to solve your problem, with a little restructuring of your messaging system. We thank you for your patience while your request is processed... <meta http-equiv="refresh" content="0;url=[area bouncepage]"> Put the 5 seconds of code in 'bouncepage' along with whatever info you were planning on having on the page that you previously were [bounce]'ing to. -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: jud-lists at copernica.com (Jud Harris ) Date: Thu, 15 Mar 2001 10:10:37 -0600 Subject: [ic] Preventing non-secure /admin access Hey folks - What's the best method used to force users to connect to the IC back-end via HTTPS preventing non-secure use? Thanks, Jud From: shui at lunamedium.com (Sam Hui ) Date: Thu, 15 Mar 2001 08:12:17 -0800 Subject: [ic] Interchange slower on a faster machine? Jon, Thanks, that was it since the DNS has not switch over to the production servers yet, it couldn't resolve its own domain name. -Sam > -----Original Message----- > Date: Wed, 14 Mar 2001 16:57:03 -0600 (CST) > From: Jon Jensen <jon@akopia.com> > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Interchange slower on a faster machine? > Reply-To: interchange-users@lists.akopia.com > > On Wed, 14 Mar 2001, Sam Hui wrote: > > > We are having a wierd problem that we do not have on our 3 > dev servers, only > > on our 2 production servers. Tracing the code, we found > the following lines > > in Order.pm under sub order_route cause a pause of 1-3min > each during the > > submit order process. > > > > $page = interpolate_html($page) if $page; > > send_mail(@$msg); > > Sounds to me like you have a problem with your name server. > sendmail looks > up the hostname of your server and the MX record of the machine you're > sending mail to, and tends to go *very* slow if there's any > trouble there. > You can test this theory by trying to send mail from > something like 'mail' > or 'pine' on that server, and seeing if that hangs as well. Or you can > just remove the send_mail command -- it should work fine and > then you can > start figuring out what's wrong with your mail configuration. > > Jon From: schurkmaster at yahoo.com (johny brabo ) Date: Thu, 15 Mar 2001 09:00:59 -0800 (PST) Subject: [ic] tutorial with UI hello all, What would be needed to use the UI to work with the tutorial? What should be the steps one should take? I know it's possible to access the admin-section with the normal link, but there's no login neccessary since there's no access db. Will I need to do other things? thanks __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ From: treahy at mmaz.com (Barry Treahy, Jr. ) Date: Thu, 15 Mar 2001 10:24:26 -0700 Subject: [ic] Basket content You could use javascript to auto-submit a form based on a timer, I've had to do this before but it gets problematic with IE and NS handling JS and forms differently in the DOM. Barry Mark Johnson wrote: > Sergey Sheykin wrote: > > > > Mark, > > > > can I make this without <Form ...>, > > without sending parameters through the form > > and clickon submit button? > > > > You have to somehow pass the information to IC to make the action occur. > There's simply no way around it. That is, the user has to take *some* > action--whatever it is--and based on that action, you have to set up the > proper directives. So, when you say, "Can I make this happen without a > form or sending parameters or clicking on the submit button," I'd have > to say no. > > But, perhaps I don't understand what you're asking, so maybe describe > what you want to do, under what situation, and what you want to have the > user do to trigger that action. Then, I can tell you what would work. > > > > -----Original Message----- > > > From: interchange-users-admin@lists.akopia.com > > > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Mark Johnson > > > Sent: Wednesday, March 14, 2001 5:46 PM > > > To: interchange-users@lists.akopia.com > > > Subject: Re: [ic] Basket content > > > > > > > > > Sergey Sheykin wrote: > > > > > > > > How can I manually erease shopping cart content? > > > > > > mv_action=cancel > > > > > -- > Mark Johnson > Senior Developer - Professional Services > Red Hat, Inc. > E-Business Solutions > markj@redhat.com > 703-456-2912 > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Barry Treahy, Jr * Midwest Microwave * Vice President & CIO E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028 From: mark at summersault.com (Mark Stosberg ) Date: Thu, 15 Mar 2001 12:29:04 -0500 Subject: [ic] shipping voo-doo challenge question (a solution!) cfm@maine.com wrote: > > > " Use a flat rate shipping price based on quantity with price breaks at > > 1 and 10, but exclude any items in the quantity count that have a true > > value in the 'download' column in the products table". > > Maybe I'm missing something: > > shipping.asc > uspsp USPS Priority shipping_charge 0.01 9 5.99 > uspsp USPS Priority shipping_charge 9.01 99999 10.99 > > CustomShipping quantity Christopher, Thanks so much. I was able to get this working with your help. I added a new column to my products.txt file and set the value to "1" for every item except the shipping-free items. I created a schipping.asc entry like this: ############## 0 No shipping weight 0 99999999 e No shipping mode selected. ssp Soft Skull shipping_charge 1 9 30 ssp Soft Skull shipping_charge 10 99999 10 ssp Soft Skull quantity 0 0 e Nothing to Ship. #################### I wasn't exactly sure how the min and max values were functioning, but I'm guessing they work like this: For all the items in the order, the values in the "shipping charge" column are totalled. If that value is in between the min and max, the resulting shipping price is given. -mark personal website } Summersault Website Development http://mark.stosberg.com/ { http://www.summersault.com/ From: stevep at sga.org (Steve Palm ) Date: Thu, 15 Mar 2001 11:46:39 -0600 Subject: [ic] Permissions question (still getting nowhere, trying again for help on this one....) I am trying to set up a user who only has permission to view pending orders and change their status. ---------------------------------------------------------------------------- Order Manager: View list, View single, Edit, Archive, Un-Archive (Not Delete, InputNew) Orderline and Transactions permissions: View, Edit, Delete, Export (Not Hide, Create, Import) ---------------------------------------------------------------------------- When they try to change the global order status, it doesn't update, and when they log-out they get this error: Failure: Unauthorized for key archived Any ideas? -- Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * http://www.sga.org From: dan at mailturtle.com (Dan McFarland ) Date: Thu, 15 Mar 2001 12:15:53 -0600 Subject: [ic] Importing tables... I am using the Construct template with the default databases. With that in mind, I am trying to import to the products table a new list of items with the fields sku, description and price. Then I will go back and manually edit those items to add quantity discounts, images, etc. When I try to import this data from a tab-delimited txt file, I get a FATAL ERROR - Non-existent table 'sku description price ' What would be causing this error? From: Scott.Andreas at learningco.com (Andreas, Scott ) Date: Thu, 15 Mar 2001 10:23:50 -0800 Subject: [ic] error in routing I get this error in when an order is submitted. Error during creation of order routing main: Empty order routing main (and not explicitly empty) at /usr/local/interchange/lib/Vend/Order.pm line 1541. the order page has <INPUT TYPE=hidden NAME=mv_order_route VALUE="log main glenda copy_user"> catalog.cfg has ParseVariables Yes Route log attach 0 Route log cybermode "" Route log empty 1 Route log encrypt 0 Route log increment 0 Route log report etc/log_transaction Route log supplant 0 Route log track logs/log Route log_entry attach 0 Route log_entry cybermode "" Route log_entry empty 1 Route log_entry encrypt 0 Route log_entry increment 0 Route log_entry report etc/log_entry Route log_entry supplant 0 Route log_entry track logs/log Route copy_user attach 0 Route copy_user cybermode "" Route copy_user empty 1 Route copy_user encrypt 0 Route copy_user increment 0 Route copy_user report etc/mail_receipt Route copy_user supplant 0 Route copy_user track logs/log Route glenda attach 0 Route glenda cybermode "" Route glenda empty 1 Route glenda encrypt 0 Route glenda increment 0 Route glenda supplant 1 Route glenda email scotta@ls.learnserv.com Route glenda reply scotta@ls.learnserv.com Route main_email email '__ORDERS_TO__' Route main_email reply '__ORDERS_TO__' # Main route must be last to make default Route main attach 0 Route main credit_card 0 Route main cybermode "" Route main default 1 Route main encrypt 0 Route main encrypt_program '__ENCRYPTOR__' Route main errors_to '__ORDERS_TO__' Route main increment 0 Route main pgp_cc_key "" Route main pgp_key "" Route main receipt etc/receipt.html Route main report etc/report Route main supplant 1 Route main individual_track orders Route main track logs/tracking.asc J. Scott Andreas :) IS/Programmer/WebDevelopement e-mail: scotta@homer.learnserv.com phone: 1-800-877-9378 ext. 146 fax: (541) 744-2056 --- __o --- _-\<,_ --- (_)/ (_) From: doliver at hampshire.edu (Dylan Oliver ) Date: Thu, 15 Mar 2001 12:39:57 -0600 Subject: [ic] Importing tables... -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 15 March 2001 12:15, you wrote: > I am using the Construct template with the default databases. With that in > mind, I am trying to import to the products table a new list of items with > the fields sku, description and price. Then I will go back and manually > edit those items to add quantity discounts, images, etc. > > When I try to import this data from a tab-delimited txt file, I get a FATAL > ERROR - Non-existent table 'sku description price' > What would be causing this error? It would help if you posted the command that produced the error. I am not very MySQL-savvy, but am sure it would work to make a tab-delimited file including all of the fields expected by the demo's database. Tab past the fields you don't want to fill out and enter the sku, description, and price where they fit. Then mysql> LOAD DATA LOCAL INFILE 'data.txt' INTO TABLE products A quick check into the MySQL documentation yielded this: If you wish to load only some of a table's columns, specify a field list: mysql> LOAD DATA INFILE 'persondata.txt' INTO TABLE persondata (col1,col2,...); You must also specify a field list if the order of the fields in the input file differs from the order of the columns in the table. Otherwise, MySQL cannot tell how to match up input fields with table columns. - -- Dylan Oliver http://stout.hampshire.edu/~dao99 Global View International http://www.globalview-intl.com Do you know how little you know? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjqxDH0ACgkQ7U8r0TCZf4E9wQCcD/TdZPlf0N/8tFce9oAm5y6S GoYAnizlBcGXE9FvsC6wxSkPWkbLMBpE =CtXq -----END PGP SIGNATURE----- From: dan at mailturtle.com (Dan McFarland ) Date: Thu, 15 Mar 2001 12:34:55 -0600 Subject: [ic] Importing tables... It's not a SQL database. Strictly the built in database. Dan ----- Original Message ----- From: Dylan Oliver <doliver@hampshire.edu> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 15, 2001 12:39 PM Subject: Re: [ic] Importing tables... > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Thursday 15 March 2001 12:15, you wrote: > > I am using the Construct template with the default databases. With that in > > mind, I am trying to import to the products table a new list of items with > > the fields sku, description and price. Then I will go back and manually > > edit those items to add quantity discounts, images, etc. > > > > When I try to import this data from a tab-delimited txt file, I get a FATAL > > ERROR - Non-existent table 'sku description price' > > > What would be causing this error? > > It would help if you posted the command that produced the error. I am not > very MySQL-savvy, but am sure it would work to make a tab-delimited file > including all of the fields expected by the demo's database. Tab past the > fields you don't want to fill out and enter the sku, description, and price > where they fit. Then > > mysql> LOAD DATA LOCAL INFILE 'data.txt' INTO TABLE products > > A quick check into the MySQL documentation yielded this: > > If you wish to load only some of a table's columns, specify a field list: > mysql> LOAD DATA INFILE 'persondata.txt' > INTO TABLE persondata (col1,col2,...); > > You must also specify a field list if the order of the fields in the input > file differs from the order of the columns in the table. Otherwise, MySQL > cannot tell how to match up input fields with table columns. > > - -- > Dylan Oliver > http://stout.hampshire.edu/~dao99 > Global View International > http://www.globalview-intl.com > Do you know how little you know? > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.4 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iEYEARECAAYFAjqxDH0ACgkQ7U8r0TCZf4E9wQCcD/TdZPlf0N/8tFce9oAm5y6S > GoYAnizlBcGXE9FvsC6wxSkPWkbLMBpE > =CtXq > -----END PGP SIGNATURE----- > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: sebastian.kummer at pointec.de (Sebastian Kummer ) Date: Thu, 15 Mar 2001 19:58:25 +0100 Subject: [ic] size:pricing doesn't work hey interchange list, it's the first time I'm writing to the list, so I'm a little bit nervous ;-) I'm building a shop for a client. They want a lot of price variations. so, i add fields in the pricing table, and added the follow line in the catalog.cfg CommonAdjust products:price ; ==size:pricing i've put the variations with the fieldnames into the size field of the product table. Everything worked fine, till I've changed the database to MySql. After this, the function screwed up!!!! in the template I loop trough the products with: [loop prefix=size arg="[item-accessories size, options]"] and show the price with [price code="[item-code]" size="[size-code]"] and the "buy-link" <A HREF="[area form=" mv_order_item=[item-code] mv_order_size=[size-code] mv_order_quantity=1 mv_separate_items=1 mv_todo=refresh "]">BUY</a> Now, after switching to mysql, the price is always $0.00 in the template and in the basket. the pricing table is OK, 'cause I can access the price with [data table=pricing column=[size-code] key=[item-code]] It seems that the CommonAdjust line is gone to be ignored! I don't now what to do!!!!! Any suggestion?? Thanks a lot! Regards, Sebastian Kummer From: caught_one at yahoo.com (Guido Sohne ) Date: Thu, 15 Mar 2001 11:24:47 -0800 (PST) Subject: [ic] [SOLUTION] different shipping cost schedule for each item in cart Hi! I've posted earlier on trying to find a way to charge shipping on a per item basis and got some leads that gave birth to the code I wrote below (thank you, cfm@maine.com, for responding to my plea for help!). Here's how it works ... Basically, one extends the products table with a ship field. Each product can now have a shipping class. For example, household electricals can have a shipping class of '1' and building materials can have a shipping class of '2'. A shipping class is basically an ordinary Interchange shipping method. Next one defines shipping methods via the usual means (editing shipping.asc or using the admin interface to create shipping methods and associated data tables). For example, if I am shipping to Ghana and I have products of shipping class '1' and '2' then I define two shipping methods, one called Ghana1, the other called Ghana2. Finally, you set mv_shipmode to 'Ghana' (notice that this is without the trailing '1' or '2' that are part of the actual ship mode). In your HTML, just use a [delivery-charge] tag anywhere you want to see the actual shipping charges for all products in all shipping classes. The UserTag below will have to be put into your catalog.cfg ... It's not perfect code but is a good and importantly, working, first cut. UserTag delivery-charge Routine <<EOR sub { my $mv_shipmode = $::Values->{mv_shipmode}; my $items = $Vend::Items; my $delivery_charges = 0; my $opt = { convert => 1, noformat => 1 }; my %carts; # iterate over the cart, watch the sun rise :) foreach my $i (0 .. $#$Vend::Items) { # decode cart item into components my $code = $Vend::Items->[$i]{code}; my $mv_ib = $Vend::Items->[$i]{mv_ib}; # get shipping class of product my $db = Vend::Data::database_exists_ref($mv_ib); $db = $db->ref(); return "no such sku $code" unless $db->record_exists($code); my $ship = $db->field($code, "ship"); # create cart for each shipping class push @{$carts{$ship}}, $Vend::Items->[$i]; } # calculate shipping for each cart ... foreach my $c (keys %carts) { $Vend::Items = $carts{$c}; # set shopping cart to this subset of items my $delivery = Vend::Interpolate::tag_shipping($mv_shipmode . $c, $opt); $delivery_charges += $delivery; } # restore original shipping cart $Vend::Items = $items; return $delivery_charges; } EOR __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ From: dave at davetotten.com (dave at davetotten.com ) Date: Thu, 15 Mar 2001 12:26:34 -0700 Subject: [ic] Permissions question On Thu, Mar 15, 2001 at 11:46:39AM -0600, Steve Palm wrote: > > (still getting nowhere, trying again for help on this one....) > > > I am trying to set up a user who only has permission to view pending orders and change their status. > > ---------------------------------------------------------------------------- > Order Manager: > View list, View single, Edit, Archive, Un-Archive (Not Delete, InputNew) > > Orderline and Transactions permissions: > View, Edit, Delete, Export (Not Hide, Create, Import) > ---------------------------------------------------------------------------- > > When they try to change the global order status, it doesn't update, and when they log-out they get this error: > > Failure: Unauthorized for key archived > > > Any ideas? If you can live with a user that can view any orders, but only is allowed to change the status (to shipped, backordered... etc.) then this might help you. When editting the access table in the admin interface, there is a column for table_control. As the name depicts, you can control your tables with this. What goes into this field is an anonymous hash that may look like this: { 'pricing' => { 'no_fields' => "price_group", }, 'products' => { 'no_keys' => "weight nontaxable", 'yes_keys' => "00-0011 00-0011a 00-342 00-343 00-404", 'yes_fields' => "sku artist title description comment", }, } of course you will have to put it all in one line. I have just formatted this so it is easier to see. so in this field, you could put something like { 'orderline' => { 'yes_fields' => "status", }, } and when going into select an item to order, they will be able to see most of the order information, but when they go to edit a specific order, all they will get a chance to edit is the status field. I know this isn't exactly what you wanted, but perhaps it is enough. Dave Totten > -- > Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * > http://www.sga.org > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: caught_one at yahoo.com (Guido Sohne ) Date: Thu, 15 Mar 2001 11:31:29 -0800 (PST) Subject: [ic] How to override existing [shipping] and [total-cost] tags ? I've created a UserTag called [deliverycharge] that iterates over the shopping cart and calculates a delivery charge. Now, how do I override the [shipping] and [total-cost] tags so that the figures are correct and minimal changes would be necessary to ITL code ? If I override the [shipping] tag (which I have not yet figured out how to do), will the [total-cost] value reflect the new logic for shipping ? I would be interested in finding out the various ways in which this can be done. __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ From: michelle at wilant.com (Michelle Wilant (home) ) Date: Thu, 15 Mar 2001 16:05:37 -0500 Subject: [ic] needed examples of subscription sites! I need to "prove" to co-workers that interchange can/does sell subscriptions (unlike a gift certificate, a product without a click through to a download). I would love to have tons of examples to give them. Also, any "pointers" regarding set up for subscriptions vs. other products are appreciated. Thanks in advance! From: chrisbair at tssphoto.com (Chris Bair ) Date: Thu, 15 Mar 2001 14:22:43 -0700 Subject: [ic] Problems on Xmission Solaris Our current shopping cart system is very lacking so I'm trying to set up Interchange. But I can't even get through the demo "construct" store! I didn't get any errors during the installation, I started up interchange and when I try to go into the system I get that "Interchange not available" error. I've checked the FAQ's, RTFM'd, searched this list's archive and I still can't figure it out. I've switched from UNIX mode and back again, set the CGI to -rwsr-xr-x and the socket file to srw-rw-rw- but I still get nothing. I suppose I must be mission something horribly obvious. I was wondering if anyone out there has had experience setting up interchange on Solaris (if that matters any) and especially on Xmission's server or one of their virtual servers. -- --- Sincerely, Chris Bair, Webmaster Inkjet Art Solutions chrisbair@tssphoto.com The Stock Solution Phone: 801-363-9700 Fax: 801-363-9707 Order Online! <http://www.tssphoto.com/sp/dg/> Free consulting line: 801-363-9709 Toll-free for orders: 800-777-2076 From: email at jasonkohles.com (Jason Kohles ) Date: Thu, 15 Mar 2001 16:29:17 -0500 Subject: [ic] Problems on Xmission Solaris On Thu, Mar 15, 2001 at 02:22:43PM -0700, Chris Bair wrote: > > I was wondering if anyone out there has had experience setting up > interchange on Solaris (if that matters any) and especially on > Xmission's server or one of their virtual servers. > Funny you should ask, as I used to be one of XMission's system administrators, and just this week moved to Virginia to work for Red Hat as an Interchange developer. The problem is that the shell server where you are doing the installation is not the same machine as the web server where your virtual host is located, you will need to do one of the following things: * Convince XMission to install interchange systemwide on the web servers and setup a catalog for you. * Arrange with XMission to get the interchange server running on the webserver your virtual host is located on. * Use tlink and set it up to connect to the interchange server you are running on the shell server. * Write a CGI script you can load through your web site which will run the interchange server on the same machine your virtual host is located on. -- Jason S Kohles jason@jasonkohles.com From: billr at exgate.tek.com (Bill Randle ) Date: Thu, 15 Mar 2001 13:33:10 -0800 Subject: [ic] Basket content "Barry Treahy, Jr." wrote: > > You could use javascript to auto-submit a form based on a timer, I've had to do > this before but it gets problematic with IE and NS handling JS and forms > differently in the DOM. > > Barry > > Mark Johnson wrote: > > > Sergey Sheykin wrote: > > > > > > Mark, > > > > > > can I make this without <Form ...>, > > > without sending parameters through the form > > > and clickon submit button? > > > > > > > You have to somehow pass the information to IC to make the action occur. > > There's simply no way around it. That is, the user has to take *some* > > action--whatever it is--and based on that action, you have to set up the > > proper directives. So, when you say, "Can I make this happen without a > > form or sending parameters or clicking on the submit button," I'd have > > to say no. > > > > But, perhaps I don't understand what you're asking, so maybe describe > > what you want to do, under what situation, and what you want to have the > > user do to trigger that action. Then, I can tell you what would work. > > > > > > -----Original Message----- > > > > From: interchange-users-admin@lists.akopia.com > > > > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Mark Johnson > > > > Sent: Wednesday, March 14, 2001 5:46 PM > > > > To: interchange-users@lists.akopia.com > > > > Subject: Re: [ic] Basket content > > > > > > > > > > > > Sergey Sheykin wrote: > > > > > > > > > > How can I manually erease shopping cart content? > > > > > > > > mv_action=cancel > > > > > > > > -- > > Mark Johnson > > Senior Developer - Professional Services > > Red Hat, Inc. > > E-Business Solutions > > markj@redhat.com > > 703-456-2912 > > > Barry Treahy, Jr * Midwest Microwave * Vice President & CIO > > E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028 I may be missing something, but why not: [perl global=1] use Vend::Session; @$Vend::Items = (); put_session(); get_session(); init_session(); [/perl] This is what "mv_cancel" does. -Bill From: chrisbair at tssphoto.com (Chris Bair ) Date: Thu, 15 Mar 2001 14:59:08 -0700 Subject: [ic] Problems on Xmission Solaris >On Thu, Mar 15, 2001 at 02:22:43PM -0700, Chris Bair wrote: >> >> I was wondering if anyone out there has had experience setting up >> interchange on Solaris (if that matters any) and especially on >> Xmission's server or one of their virtual servers. >> >Funny you should ask, as I used to be one of XMission's system administrators, >and just this week moved to Virginia to work for Red Hat as an Interchange >developer. > >The problem is that the shell server where you are doing the installation is >not the same machine as the web server where your virtual host is located, you >will need to do one of the following things: > >* Convince XMission to install interchange systemwide on the web servers and > setup a catalog for you. > >* Arrange with XMission to get the interchange server running on the webserver > your virtual host is located on. > >* Use tlink and set it up to connect to the interchange server you are running > on the shell server. > >* Write a CGI script you can load through your web site which will run the > interchange server on the same machine your virtual host is located on. Let's see... Is this the same Jason that carried the umbrella to hit cars that tried to run him down while crossing the street? (I used to work there too, you might remember, although I'm sure you tried to forget!) I doubt I could get them to do the first two (although they sound like the better alternatives) how might I go about doing the last two? I tried setting up the catalog to use INET, rather than UNIX, but given my inexperience with Interchange, it still gave me that "unavailable" message. -- --- Sincerely, Chris Bair, Webmaster Inkjet Art Solutions chrisbair@tssphoto.com The Stock Solution Phone: 801-363-9700 Fax: 801-363-9707 Order Online! <http://www.tssphoto.com/sp/dg/> Free consulting line: 801-363-9709 Toll-free for orders: 800-777-2076 From: billr at exgate.tek.com (Bill Randle ) Date: Thu, 15 Mar 2001 13:59:21 -0800 Subject: [ic] Please wait while your request is processed Mark Johnson wrote: > > cfm@maine.com wrote: > > > > On Wed, Mar 14, 2001 at 09:15:16PM -0800, Dan B wrote: > > > I have a metric ton of IML code that I would like to process in a visually > > > aesthetic way. How do I write a page so that it goes something like this: > > > > > > Please wait while your request is processed... > > > > > > -->(tons of code that takes 5+ seconds to complete goes here)<-- > > > > > > ...Done. Thank you for your patience, you will now be forwarded to ... > > > > > > [bounce ...] > > > > All the IC processing will occur before the buffer is returned to vlink > (though it seems there's some way to force a flush that I can't > remember). However, you can always use good ol' html to solve your > problem, with a little restructuring of your messaging system. Are you thinking about $Document->send() and/or $Document->hot(1)? > We thank you for your patience while your request is processed... > <meta http-equiv="refresh" content="0;url=[area bouncepage]"> > > Put the 5 seconds of code in 'bouncepage' along with whatever info you > were planning on having on the page that you previously were > [bounce]'ing to. > > -- > Mark Johnson > Senior Developer - Professional Services > Red Hat, Inc. > E-Business Solutions > markj@redhat.com > 703-456-2912 Another possibility, perhaps (untested): [mvasp] <% HTML "This will take awhile, please be patient..."; $Document->send(); # flush buffer $Document->hot(1); # send stuff as soon as it's written # some perl task that takes awhile # if there are some points in the process you can update the # user status, so much the better. E.g.: # foreach (@some_array) { # HTML " ."; # show another period as a progress indicator # some code that processes each item # } HTML "
All done, thank you for waiting."; %> [/mvasp] -Bill From: hostmaster at shupp.org (Bill Shupp ) Date: Thu, 15 Mar 2001 16:34:42 -0600 Subject: [ic] Authorize.Net integration instructions on 3/14/01 3:35 PM, Jud Harris at jud-lists@copernica.com wrote: > Hey folks - > > Here's how to get authorize.net processing into Interchange. Please note that > my understanding of the ins and outs of IC is limited, I just know our store > is > working well so far with authorize.net. This should work out-of-the-box with > the included demo construct store. We're using a slightly modified > pages/ord/checkout.html page for orders, but none of the processing variables > were changed. > > First off... > > With the newer version(s) of IC, an authorizenet module is included in the > [src/interchange]/eg/globalsub/authorizenet > > *copy this* file to your installed ../interchange/globalsub directory - > > NOTE: don't attempt to perl -d the file or run it to check its functionality, > as > it is made to be embedded into interchange when it starts. If you make > modifications to it, remove everything except the section beginning with "sub > authorizenet .. {" and ending with "}" > > After copying the file, take a look at it. It should tell you to add the > following lines to your catalog's catalog.cfg file: > > Variable MV_PAYMENT_ID [YourAuthorizeNetID] > Variable MV_PAYMENT_SECRET [YourAuthorizeNetPassword] > Variable MV_PAYMENT_MODE custom authorizenet > Variable MV_PAYMENT_REFERER > [http://www.yourstore.com/cgi-bin/yourICbinary.cgi/process.html] > > Restart the interchange server - note: you won't see any textual notification > that the authorizenet module is successfully included, but if there's an error > in the file, it will report it. > > **NOTE: Be sure your authorize.net account is in TEST MODE before running any > transactions, or at least be ready to void transactions and incur transaction > fees. > > Now you *should* be able to order an item using a valid credit card. You'll > notice that authorize.net won't notice any of your test transactions in its > Transactions section, so there's no way for you to know if the customer data > (other than the credit card num and expiration) are being transmitted > successfully. > > In fact, by default, they aren't. You'll notice the authorizenet module only > processes a minimum amount of information with each transcation. For > instance, > if an order has different billing and shipping addresses, the billing first > name > and last name, address, city, state, zip, etc, .. are transmitted to > authorize.net as the shipping information as well. You'll also probably > notice > that all other fields except first name, last name, city, state, and zip are > NOT > transmitted to authorize.net. This is because the variable names in the > authorizenet module do not correspond to the variable names in the > checkout.html > file. You can easily adjust the code to account for other variable names. > Refer to the Appendix B of the developer section of the authorize.net > interface > for a mapping of their field names (such as x_Ship_To_First_Name). > > Here's some code from my slightly modified authorizenet file. Now my > transactions are logging the correct address data, but I still can't get the > phone or email to appear at all. (Anyone have clues?) > > --- > > # if the billing section of checkout.html appears to be blank, > # copy the customer shipping info to the billing vars > > if (($actual{b_address1} eq "") || > ($actual{b_zip} eq "")) { > > $actual{b_fname} = $actual{fname}; > $actual{b_lname} = $actual{lname}; > $actual{b_company} = $actual{company}; > $actual{b_address1} = $actual{address1}; > $actual{b_address2} = $actual{address2}; > $actual{b_city} = $actual{city}; > $actual{b_state} = $actual{state}; > $actual{b_zip} = $actual{zip}; > $actual{b_country} = $actual{country}; > } > > > # concatenate the two addresses into one if a second address line exists > > if ($actual{address2} ne "") { > $actual{address} = "$actual{address1}" . ", " . "$actual{address2}"; > } else { > $actual{address} = $actual{address1}; > } > > if ($actual{b_address2} ne "") { > $actual{b_address} = "$actual{b_address1}" . ", " . > "$actual{b_address2}"; > } else { > $actual{b_address} = $actual{b_address1}; > } > > > my %query = ( > x_Method => 'CC', > x_Type => $actual{mv_payment_mode}, > x_Card_Num => $actual{mv_credit_card_number}, > x_Exp_Date => $exp, > x_Amount => $amount, > x_First_Name => $actual{b_fname}, > x_Last_Name => $actual{b_lname}, > x_Company => $actual{company}, > x_Address => $actual{b_address}, > x_City => $actual{b_city}, > x_State => $actual{b_state}, > x_Zip => $actual{b_zip}, > x_Country => $actual{b_country}, > x_Ship_To_First_Name => $actual{fname}, > x_Ship_To_Last_Name => $actual{lname}, > x_Ship_To_Company => $actual{company}, > x_Ship_To_Address => $actual{address}, > x_Ship_To_City => $actual{city}, > x_Ship_To_State => $actual{state}, > x_Ship_To_Zip => $actual{zip}, > x_Ship_To_Country => $actual{country}, > x_Email => $actual{email}, > x_Invoice_Num => $actual{mv_order_number}, > x_Phone => $actual{phone_day}, > x_Password => $secret, > x_Login => $user, > x_Version => '3.0', > x_ADC_URL => 'FALSE', > x_ADC_Delim_Data => 'TRUE', > ); > > --- > > So... give the default code a try first and let me know how it goes. I really > sympathize with authorize.net folks because of the lack of documentation and > scattered mailing list archive contents. > > Good luck! > -Jud Judd, Thanks so much for your post. I will be able to try this out later this weekend and will let you know how it goes. Thanks again! -Bill Shupp From: billr at exgate.tek.com (Bill Randle ) Date: Thu, 15 Mar 2001 14:37:36 -0800 Subject: [ic] Bug (and fix) for File::CounterFile and MS Windows As part of getting a site running under Windows I ran into a problem where the File::CounterFile messed up when it was given a DOS style directory path. For example, lets say you set SratchDir to "C:\Minivend\tmp"; what will happen is that File::CounterFile will try to create the file (e.g.) "/usr/tmp/C:\Minivend\tmp/addr_ctr/1/2/127_0_0_1" - which needless to say does not work too well. The problem is that File::CounterFile does not recognize the "C:/" as specifying an absolute pathname. The fix shown below replaces the existing file name test with the test used in Vend::Util. This problem is in the version of CounterFile.pm shipped with Minivend 4.04 and Interchange 4.6.3. -Bill --- CounterFile.pm.orig Sat May 6 08:27:40 2000 +++ CounterFile.pm Tue Mar 13 15:54:15 2001 @@ -101,13 +101,21 @@ fallback => 1, ); +# File test taken from Vend::Util and tweaked to check for relative paths, too + +my $abs_rel_pat = $^O =~ /win32/i ? '^([a-z]:)?[\\\\/\.]' : '^[/\.]'; + +sub fname_is_absolute_or_relative { + my($file) = @_; + $file =~ m{$abs_rel_pat}oi ; +} sub new { my($class, $file, $initial) = @_; croak "No file specified\n" unless defined $file; - $file = "$DEFAULT_DIR/$file" unless $file =~ /^[\.\/]/; + $file = "$DEFAULT_DIR/$file" unless fname_is_absolute_or_relative($file); $initial = $DEFAULT_INITIAL unless defined $initial; my $value; From: g.gaskill at aboron.com (Greg Gaskill ) Date: Thu, 15 Mar 2001 17:55:29 -0500 Subject: [ic] Importing tables... ----- Original Message ----- From: "Dan McFarland" <dan@mailturtle.com> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 15, 2001 1:15 PM Subject: [ic] Importing tables... > I am using the Construct template with the default databases. With that in > mind, I am trying to import to the products table a new list of items with > the fields sku, description and price. Then I will go back and manually > edit those items to add quantity discounts, images, etc. > > When I try to import this data from a tab-delimited txt file, I get a FATAL > ERROR - Non-existent table 'sku description price > ' Dan, What I did the first time I imported a database to the construct demo was: 1) Delete all products from the construct database, except the gift_cert using the UI. 2) Export the products database to my computer (just one line with field names and one item line to model after). 3) Open this exported version in Excel and cut and paste the sku, description, and price from my old system (also an exported text listing) leaving the unused columns blank. 4) Save the new text file and import that using the construct UI. Greg > > What would be causing this error? > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: ramoore at axion-it.net (Randy Moore ) Date: Thu, 15 Mar 2001 18:01:42 -0500 Subject: [ic] needed examples of subscription sites! One of the stores we created uses subscriptions. Really it is a "buyers club" type of store. If you buy a membership (subscription), you can buy the rest of the products on the site at a discount. This store allows both member and non-member purchases at different prices. The URL is: http://www.cigarsatcost.com This is not something you can do directly with the sample stores that come with Interchange, but Interchange is flexible enough to do just about anything you can imagine. At 04:05 PM 3/15/01 -0500, you wrote: >I need to "prove" to co-workers that interchange can/does sell subscriptions >(unlike a gift certificate, a product without a click through to a >download). I would love to have tons of examples to give them. Also, any >"pointers" regarding set up for subscriptions vs. other products are >appreciated. Thanks in advance! > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Randy Moore Axion Information Technologies, Inc. email ramoore@axion-it.net phone 301-408-1200 fax 301-445-3947 From: markj at redhat.com (Mark Johnson ) Date: Thu, 15 Mar 2001 18:25:46 -0500 Subject: [ic] Please wait while your request is processed Bill Randle wrote: > Are you thinking about $Document->send() and/or $Document->hot(1)? That may be their intended purpose, but they don't work in that way. You can try below with a while loop that goes 10000000 times, which takes about 5 secs (on my server). > > Another possibility, perhaps (untested): > <HTML> > <HEAD></HEAD> > <BODY> > <other tags you may want to use> > [mvasp] > <% > HTML "This will take awhile, please be patient..."; > $Document->send(); # flush buffer > $Document->hot(1); # send stuff as soon as it's written > > # some perl task that takes awhile > # if there are some points in the process you can update the > # user status, so much the better. E.g.: > # foreach (@some_array) { > # HTML " ."; # show another period as a progress indicator > # some code that processes each item > # } > > HTML "<br>All done, thank you for waiting."; > %> > [/mvasp] > </BODY> > </HTML> > > -Bill > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: markj at redhat.com (Mark Johnson ) Date: Thu, 15 Mar 2001 18:46:41 -0500 Subject: [ic] Basket content Bill Randle wrote: > > I may be missing something, but why not: > [perl global=1] > use Vend::Session; > @$Vend::Items = (); > put_session(); > get_session(); > init_session(); > [/perl] > > This is what "mv_cancel" does. > > -Bill That certainly works. Putting mv_action=cancel in your query string seems easier to me. Just a matter of calling code that exists over re-writing and reparsing it. -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: billr at exgate.tek.com (Bill Randle ) Date: Thu, 15 Mar 2001 16:14:44 -0800 Subject: [ic] Basket content Mark Johnson wrote: > > Bill Randle wrote: > > > > I may be missing something, but why not: > > [perl global=1] > > use Vend::Session; > > @$Vend::Items = (); > > put_session(); > > get_session(); > > init_session(); > > [/perl] > > > > This is what "mv_cancel" does. > > > > -Bill > > That certainly works. Putting mv_action=cancel in your query string > seems easier to me. Just a matter of calling code that exists over > re-writing and reparsing it. For sure! I was under the impression that the requestor wanted to clear the cart without doing a form submission, like perhaps he had some other inline Perl code that did some checks and under some condition wanted to clear the cart without doing a seperate submit. On the otherhand, one could argue that the way to do that is via a mv_click routine that changes the mv_action from "submit" to "cancel" when the cart needs to be cleared. We don't really know enough about his requirements to say. -Bill From: dingdong.sobida at q-linux.com (dingdong ) Date: Fri, 16 Mar 2001 09:28:46 +0800 Subject: [ic] Construct Structure Guys, I've been looking around the Construct demo store but I couldn't determine the structure of the demo. I can't the file that contains the products and I can't seem to get in the Admin pages. I thinks I forgot to set the Admin user. Where should I go first on this concern?? I've already looked into the manuals. I 've not seen anything that would help. Can anyone help DD From: ramana at myweb.com.my (Ramana ) Date: Fri, 16 Mar 2001 12:26:54 +0800 Subject: [ic] Priceing Hi all, I am posting this question 2nd time since my erlier qustion not yet been answered, My client bassically selles cakes and flowers, the bussiness rule in this is priceing the items depending on the weight and units, CAKES: for example 1 quantity of American Chocolate cake costs depending on the weight like 1kg -- $10, 2kg -- $20 and so on.... FLOWER Bouquets: these costs like 1 quantity of XXX flower Bouquet costs depending on the unit of flowers used in it ... like 1 dozen of flowers used in it costs $10 , 1 1/2 dozen costs $15 and so on... so, please help me out, how can sovlve this problem? Thanks for any advise, Peace--(^_^) ----- Original Message ----- From: <interchange-users-admin@lists.akopia.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 16, 2001 8:15 AM Subject: Interchange-users digest, Vol 1 #364 - 15 msgs > > Send Interchange-users mailing list submissions to > interchange-users@lists.akopia.com > > To subscribe or unsubscribe via the web, visit > http://lists.akopia.com/mailman/listinfo/interchange-users > or, via email, send a message with subject or body 'help' to > interchange-users-request@lists.akopia.com > You can reach the person managing the list at > interchange-users-admin@lists.akopia.com > > When replying, please edit your Subject line so it is more specific than > "Re: Contents of Interchange-users digest..." > > > Today's Topics: > > 1. Re: Permissions question (dstotten@mediabang.com) > 2. How to override existing [shipping] and [total-cost] tags ? (Guido Sohne) > 3. needed examples of subscription sites! (Michelle Wilant (home)) > 4. Problems on Xmission Solaris (Chris Bair) > 5. Re: Problems on Xmission Solaris (Jason Kohles) > 6. Re: Basket content (Bill Randle) > 7. Re: Problems on Xmission Solaris (Chris Bair) > 8. Re: Please wait while your request is processed (Bill Randle) > 9. Re: Authorize.Net integration instructions (Bill Shupp) > 10. Bug (and fix) for File::CounterFile and MS Windows (Bill Randle) > 11. Re: Importing tables... (Greg Gaskill) > 12. Re: needed examples of subscription sites! (Randy Moore) > 13. Re: Please wait while your request is processed (Mark Johnson) > 14. Re: Basket content (Mark Johnson) > 15. Re: Basket content (Bill Randle) > > --__--__-- > > Message: 1 > Date: Thu, 15 Mar 2001 12:26:34 -0700 > From: dave@davetotten.com > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Permissions question > Reply-To: dave@davetotten.com > Reply-To: interchange-users@lists.akopia.com > > On Thu, Mar 15, 2001 at 11:46:39AM -0600, Steve Palm wrote: > > > > (still getting nowhere, trying again for help on this one....) > > > > > > I am trying to set up a user who only has permission to view pending orders and change their status. > > > -------------------------------------------------------------------------- -- > > Order Manager: > > View list, View single, Edit, Archive, Un-Archive (Not Delete, InputNew) > > > > Orderline and Transactions permissions: > > View, Edit, Delete, Export (Not Hide, Create, Import) > -------------------------------------------------------------------------- -- > > > > When they try to change the global order status, it doesn't update, and when they log-out they get this error: > > > > Failure: Unauthorized for key archived > > > > > > Any ideas? > > If you can live with a user that can view any orders, but only is allowed > to change the status (to shipped, backordered... etc.) then this might help > you. > > When editting the access table in the admin interface, there is a column for > table_control. As the name depicts, you can control your tables with this. > > What goes into this field is an anonymous hash that may look like this: > > { > 'pricing' => { > 'no_fields' => "price_group", > }, > 'products' => { > 'no_keys' => "weight nontaxable", > 'yes_keys' => "00-0011 00-0011a 00-342 00-343 00-404", > 'yes_fields' => "sku artist title description comment", > }, > } > > of course you will have to put it all in one line. I have just formatted > this so it is easier to see. > > so in this field, you could put something like > > { > 'orderline' => { > 'yes_fields' => "status", > }, > } > > and when going into select an item to order, they will be able to see most > of the order information, but when they go to edit a specific order, all > they will get a chance to edit is the status field. > > I know this isn't exactly what you wanted, but perhaps it is enough. > > Dave Totten > > > > > -- > > Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * > > http://www.sga.org > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > --__--__-- > > Message: 2 > Date: Thu, 15 Mar 2001 11:31:29 -0800 (PST) > From: Guido Sohne <caught_one@yahoo.com> > To: interchange-users@lists.akopia.com > Cc: cfm@maine.com > Subject: [ic] How to override existing [shipping] and [total-cost] tags ? > Reply-To: interchange-users@lists.akopia.com > > I've created a UserTag called [deliverycharge] that iterates over the > shopping cart and calculates a delivery charge. > > Now, how do I override the [shipping] and [total-cost] tags so that the > figures are correct and minimal changes would be necessary to ITL code > ? > > If I override the [shipping] tag (which I have not yet figured out how > to do), will the [total-cost] value reflect the new logic for shipping > ? > > I would be interested in finding out the various ways in which this can > be done. > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - Buy the things you want at great prices. > http://auctions.yahoo.com/ > > --__--__-- > > Message: 3 > Reply-To: "Michelle Wilant \(home\)" <michelle@wilant.com> > From: "Michelle Wilant \(home\)" <michelle@wilant.com> > To: "ic list" <interchange-users@lists.akopia.com> > Date: Thu, 15 Mar 2001 16:05:37 -0500 > charset="iso-8859-1" > Subject: [ic] needed examples of subscription sites! > Reply-To: interchange-users@lists.akopia.com > > I need to "prove" to co-workers that interchange can/does sell subscriptions > (unlike a gift certificate, a product without a click through to a > download). I would love to have tons of examples to give them. Also, any > "pointers" regarding set up for subscriptions vs. other products are > appreciated. Thanks in advance! > > > --__--__-- > > Message: 4 > Date: Thu, 15 Mar 2001 14:22:43 -0700 > To: interchange-users@lists.akopia.com > From: Chris Bair <chrisbair@tssphoto.com> > Subject: [ic] Problems on Xmission Solaris > Reply-To: interchange-users@lists.akopia.com > > Our current shopping cart system is very lacking so I'm trying to set > up Interchange. But I can't even get through the demo "construct" > store! > > I didn't get any errors during the installation, I started up > interchange and when I try to go into the system I get that > "Interchange not available" error. I've checked the FAQ's, RTFM'd, > searched this list's archive and I still can't figure it out. I've > switched from UNIX mode and back again, set the CGI to -rwsr-xr-x > and the socket file to srw-rw-rw- but I still get nothing. I suppose > I must be mission something horribly obvious. > > I was wondering if anyone out there has had experience setting up > interchange on Solaris (if that matters any) and especially on > Xmission's server or one of their virtual servers. > > -- > --- > Sincerely, > > Chris Bair, Webmaster Inkjet Art Solutions > chrisbair@tssphoto.com The Stock Solution > Phone: 801-363-9700 Fax: 801-363-9707 > Order Online! <http://www.tssphoto.com/sp/dg/> > Free consulting line: 801-363-9709 > Toll-free for orders: 800-777-2076 > > --__--__-- > > Message: 5 > Date: Thu, 15 Mar 2001 16:29:17 -0500 > From: Jason Kohles <email@jasonkohles.com> > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Problems on Xmission Solaris > Reply-To: interchange-users@lists.akopia.com > > On Thu, Mar 15, 2001 at 02:22:43PM -0700, Chris Bair wrote: > > > > I was wondering if anyone out there has had experience setting up > > interchange on Solaris (if that matters any) and especially on > > Xmission's server or one of their virtual servers. > > > Funny you should ask, as I used to be one of XMission's system administrators, > and just this week moved to Virginia to work for Red Hat as an Interchange > developer. > > The problem is that the shell server where you are doing the installation is > not the same machine as the web server where your virtual host is located, you > will need to do one of the following things: > > * Convince XMission to install interchange systemwide on the web servers and > setup a catalog for you. > > * Arrange with XMission to get the interchange server running on the webserver > your virtual host is located on. > > * Use tlink and set it up to connect to the interchange server you are running > on the shell server. > > * Write a CGI script you can load through your web site which will run the > interchange server on the same machine your virtual host is located on. > > -- > Jason S Kohles > jason@jasonkohles.com > > --__--__-- > > Message: 6 > Date: Thu, 15 Mar 2001 13:33:10 -0800 > From: Bill Randle <billr@exgate.tek.com> > Organization: Tektronix, Inc., Beaverton, OR > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Basket content > Reply-To: interchange-users@lists.akopia.com > > "Barry Treahy, Jr." wrote: > > > > You could use javascript to auto-submit a form based on a timer, I've had to do > > this before but it gets problematic with IE and NS handling JS and forms > > differently in the DOM. > > > > Barry > > > > Mark Johnson wrote: > > > > > Sergey Sheykin wrote: > > > > > > > > Mark, > > > > > > > > can I make this without <Form ...>, > > > > without sending parameters through the form > > > > and clickon submit button? > > > > > > > > > > You have to somehow pass the information to IC to make the action occur. > > > There's simply no way around it. That is, the user has to take *some* > > > action--whatever it is--and based on that action, you have to set up the > > > proper directives. So, when you say, "Can I make this happen without a > > > form or sending parameters or clicking on the submit button," I'd have > > > to say no. > > > > > > But, perhaps I don't understand what you're asking, so maybe describe > > > what you want to do, under what situation, and what you want to have the > > > user do to trigger that action. Then, I can tell you what would work. > > > > > > > > -----Original Message----- > > > > > From: interchange-users-admin@lists.akopia.com > > > > > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Mark Johnson > > > > > Sent: Wednesday, March 14, 2001 5:46 PM > > > > > To: interchange-users@lists.akopia.com > > > > > Subject: Re: [ic] Basket content > > > > > > > > > > > > > > > Sergey Sheykin wrote: > > > > > > > > > > > > How can I manually erease shopping cart content? > > > > > > > > > > mv_action=cancel > > > > > > > > > > > -- > > > Mark Johnson > > > Senior Developer - Professional Services > > > Red Hat, Inc. > > > E-Business Solutions > > > markj@redhat.com > > > 703-456-2912 > > > > > > Barry Treahy, Jr * Midwest Microwave * Vice President & CIO > > > > E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028 > > I may be missing something, but why not: > [perl global=1] > use Vend::Session; > @$Vend::Items = (); > put_session(); > get_session(); > init_session(); > [/perl] > > This is what "mv_cancel" does. > > -Bill > > --__--__-- > > Message: 7 > <20010315162917.A21696@mediabang.com> > Date: Thu, 15 Mar 2001 14:59:08 -0700 > To: interchange-users@lists.akopia.com > From: Chris Bair <chrisbair@tssphoto.com> > Subject: Re: [ic] Problems on Xmission Solaris > Reply-To: interchange-users@lists.akopia.com > > >On Thu, Mar 15, 2001 at 02:22:43PM -0700, Chris Bair wrote: > >> > >> I was wondering if anyone out there has had experience setting up > >> interchange on Solaris (if that matters any) and especially on > >> Xmission's server or one of their virtual servers. > >> > >Funny you should ask, as I used to be one of XMission's system administrators, > >and just this week moved to Virginia to work for Red Hat as an Interchange > >developer. > > > >The problem is that the shell server where you are doing the installation is > >not the same machine as the web server where your virtual host is located, you > >will need to do one of the following things: > > > >* Convince XMission to install interchange systemwide on the web servers and > > setup a catalog for you. > > > >* Arrange with XMission to get the interchange server running on the webserver > > your virtual host is located on. > > > >* Use tlink and set it up to connect to the interchange server you are running > > on the shell server. > > > >* Write a CGI script you can load through your web site which will run the > > interchange server on the same machine your virtual host is located on. > > Let's see... Is this the same Jason that carried the umbrella to hit > cars that tried to run him down while crossing the street? (I used to > work there too, you might remember, although I'm sure you tried to > forget!) > > I doubt I could get them to do the first two (although they sound > like the better alternatives) how might I go about doing the last > two? I tried setting up the catalog to use INET, rather than UNIX, > but given my inexperience with Interchange, it still gave me that > "unavailable" message. > -- > --- > Sincerely, > > Chris Bair, Webmaster Inkjet Art Solutions > chrisbair@tssphoto.com The Stock Solution > Phone: 801-363-9700 Fax: 801-363-9707 > Order Online! <http://www.tssphoto.com/sp/dg/> > Free consulting line: 801-363-9709 > Toll-free for orders: 800-777-2076 > > --__--__-- > > Message: 8 > Date: Thu, 15 Mar 2001 13:59:21 -0800 > From: Bill Randle <billr@exgate.tek.com> > Organization: Tektronix, Inc., Beaverton, OR > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Please wait while your request is processed > Reply-To: interchange-users@lists.akopia.com > > Mark Johnson wrote: > > > > cfm@maine.com wrote: > > > > > > On Wed, Mar 14, 2001 at 09:15:16PM -0800, Dan B wrote: > > > > I have a metric ton of IML code that I would like to process in a visually > > > > aesthetic way. How do I write a page so that it goes something like this: > > > > > > > > Please wait while your request is processed... > > > > > > > > -->(tons of code that takes 5+ seconds to complete goes here)<-- > > > > > > > > ...Done. Thank you for your patience, you will now be forwarded to ... > > > > > > > > [bounce ...] > > > > > > > All the IC processing will occur before the buffer is returned to vlink > > (though it seems there's some way to force a flush that I can't > > remember). However, you can always use good ol' html to solve your > > problem, with a little restructuring of your messaging system. > > Are you thinking about $Document->send() and/or $Document->hot(1)? > > > We thank you for your patience while your request is processed... > > <meta http-equiv="refresh" content="0;url=[area bouncepage]"> > > > > Put the 5 seconds of code in 'bouncepage' along with whatever info you > > were planning on having on the page that you previously were > > [bounce]'ing to. > > > > -- > > Mark Johnson > > Senior Developer - Professional Services > > Red Hat, Inc. > > E-Business Solutions > > markj@redhat.com > > 703-456-2912 > > Another possibility, perhaps (untested): > <HTML> > <HEAD></HEAD> > <BODY> > <other tags you may want to use> > [mvasp] > <% > HTML "This will take awhile, please be patient..."; > $Document->send(); # flush buffer > $Document->hot(1); # send stuff as soon as it's written > > # some perl task that takes awhile > # if there are some points in the process you can update the > # user status, so much the better. E.g.: > # foreach (@some_array) { > # HTML " ."; # show another period as a progress indicator > # some code that processes each item > # } > > HTML "<br>All done, thank you for waiting."; > %> > [/mvasp] > </BODY> > </HTML> > > -Bill > > --__--__-- > > Message: 9 > Date: Thu, 15 Mar 2001 16:34:42 -0600 > Subject: Re: [ic] Authorize.Net integration instructions > From: Bill Shupp <hostmaster@shupp.org> > To: Jud Harris <jud-lists@copernica.com> > CC: <interchange-users@lists.akopia.com> > Reply-To: interchange-users@lists.akopia.com > > on 3/14/01 3:35 PM, Jud Harris at jud-lists@copernica.com wrote: > > > Hey folks - > > > > Here's how to get authorize.net processing into Interchange. Please note that > > my understanding of the ins and outs of IC is limited, I just know our store > > is > > working well so far with authorize.net. This should work out-of-the-box with > > the included demo construct store. We're using a slightly modified > > pages/ord/checkout.html page for orders, but none of the processing variables > > were changed. > > > > First off... > > > > With the newer version(s) of IC, an authorizenet module is included in the > > [src/interchange]/eg/globalsub/authorizenet > > > > *copy this* file to your installed ../interchange/globalsub directory - > > > > NOTE: don't attempt to perl -d the file or run it to check its functionality, > > as > > it is made to be embedded into interchange when it starts. If you make > > modifications to it, remove everything except the section beginning with "sub > > authorizenet .. {" and ending with "}" > > > > After copying the file, take a look at it. It should tell you to add the > > following lines to your catalog's catalog.cfg file: > > > > Variable MV_PAYMENT_ID [YourAuthorizeNetID] > > Variable MV_PAYMENT_SECRET [YourAuthorizeNetPassword] > > Variable MV_PAYMENT_MODE custom authorizenet > > Variable MV_PAYMENT_REFERER > > [http://www.yourstore.com/cgi-bin/yourICbinary.cgi/process.html] > > > > Restart the interchange server - note: you won't see any textual notification > > that the authorizenet module is successfully included, but if there's an error > > in the file, it will report it. > > > > **NOTE: Be sure your authorize.net account is in TEST MODE before running any > > transactions, or at least be ready to void transactions and incur transaction > > fees. > > > > Now you *should* be able to order an item using a valid credit card. You'll > > notice that authorize.net won't notice any of your test transactions in its > > Transactions section, so there's no way for you to know if the customer data > > (other than the credit card num and expiration) are being transmitted > > successfully. > > > > In fact, by default, they aren't. You'll notice the authorizenet module only > > processes a minimum amount of information with each transcation. For > > instance, > > if an order has different billing and shipping addresses, the billing first > > name > > and last name, address, city, state, zip, etc, .. are transmitted to > > authorize.net as the shipping information as well. You'll also probably > > notice > > that all other fields except first name, last name, city, state, and zip are > > NOT > > transmitted to authorize.net. This is because the variable names in the > > authorizenet module do not correspond to the variable names in the > > checkout.html > > file. You can easily adjust the code to account for other variable names. > > Refer to the Appendix B of the developer section of the authorize.net > > interface > > for a mapping of their field names (such as x_Ship_To_First_Name). > > > > Here's some code from my slightly modified authorizenet file. Now my > > transactions are logging the correct address data, but I still can't get the > > phone or email to appear at all. (Anyone have clues?) > > > > --- > > > > # if the billing section of checkout.html appears to be blank, > > # copy the customer shipping info to the billing vars > > > > if (($actual{b_address1} eq "") || > > ($actual{b_zip} eq "")) { > > > > $actual{b_fname} = $actual{fname}; > > $actual{b_lname} = $actual{lname}; > > $actual{b_company} = $actual{company}; > > $actual{b_address1} = $actual{address1}; > > $actual{b_address2} = $actual{address2}; > > $actual{b_city} = $actual{city}; > > $actual{b_state} = $actual{state}; > > $actual{b_zip} = $actual{zip}; > > $actual{b_country} = $actual{country}; > > } > > > > > > # concatenate the two addresses into one if a second address line exists > > > > if ($actual{address2} ne "") { > > $actual{address} = "$actual{address1}" . ", " . "$actual{address2}"; > > } else { > > $actual{address} = $actual{address1}; > > } > > > > if ($actual{b_address2} ne "") { > > $actual{b_address} = "$actual{b_address1}" . ", " . > > "$actual{b_address2}"; > > } else { > > $actual{b_address} = $actual{b_address1}; > > } > > > > > > my %query = ( > > x_Method => 'CC', > > x_Type => $actual{mv_payment_mode}, > > x_Card_Num => $actual{mv_credit_card_number}, > > x_Exp_Date => $exp, > > x_Amount => $amount, > > x_First_Name => $actual{b_fname}, > > x_Last_Name => $actual{b_lname}, > > x_Company => $actual{company}, > > x_Address => $actual{b_address}, > > x_City => $actual{b_city}, > > x_State => $actual{b_state}, > > x_Zip => $actual{b_zip}, > > x_Country => $actual{b_country}, > > x_Ship_To_First_Name => $actual{fname}, > > x_Ship_To_Last_Name => $actual{lname}, > > x_Ship_To_Company => $actual{company}, > > x_Ship_To_Address => $actual{address}, > > x_Ship_To_City => $actual{city}, > > x_Ship_To_State => $actual{state}, > > x_Ship_To_Zip => $actual{zip}, > > x_Ship_To_Country => $actual{country}, > > x_Email => $actual{email}, > > x_Invoice_Num => $actual{mv_order_number}, > > x_Phone => $actual{phone_day}, > > x_Password => $secret, > > x_Login => $user, > > x_Version => '3.0', > > x_ADC_URL => 'FALSE', > > x_ADC_Delim_Data => 'TRUE', > > ); > > > > --- > > > > So... give the default code a try first and let me know how it goes. I really > > sympathize with authorize.net folks because of the lack of documentation and > > scattered mailing list archive contents. > > > > Good luck! > > -Jud > > > Judd, > > Thanks so much for your post. I will be able to try this out later this > weekend and will let you know how it goes. > > Thanks again! > > -Bill Shupp > > > --__--__-- > > Message: 10 > Date: Thu, 15 Mar 2001 14:37:36 -0800 > From: Bill Randle <billr@exgate.tek.com> > Organization: Tektronix, Inc., Beaverton, OR > To: interchange-users@lists.akopia.com > Subject: [ic] Bug (and fix) for File::CounterFile and MS Windows > Reply-To: interchange-users@lists.akopia.com > > As part of getting a site running under Windows I ran into a problem where > the File::CounterFile messed up when it was given a DOS style directory path. > For example, lets say you set SratchDir to "C:\Minivend\tmp"; what will > happen is that File::CounterFile will try to create the file (e.g.) > "/usr/tmp/C:\Minivend\tmp/addr_ctr/1/2/127_0_0_1" - which needless to say > does not work too well. > > The problem is that File::CounterFile does not recognize the "C:/" as > specifying an absolute pathname. The fix shown below replaces the existing > file name test with the test used in Vend::Util. > > This problem is in the version of CounterFile.pm shipped with Minivend 4.04 > and Interchange 4.6.3. > > -Bill > > --- CounterFile.pm.orig Sat May 6 08:27:40 2000 > +++ CounterFile.pm Tue Mar 13 15:54:15 2001 > @@ -101,13 +101,21 @@ > fallback => 1, > ); > > +# File test taken from Vend::Util and tweaked to check for relative paths, too > + > +my $abs_rel_pat = $^O =~ /win32/i ? '^([a-z]:)?[\\\\/\.]' : '^[/\.]'; > + > +sub fname_is_absolute_or_relative { > + my($file) = @_; > + $file =~ m{$abs_rel_pat}oi ; > +} > > sub new > { > my($class, $file, $initial) = @_; > croak "No file specified\n" unless defined $file; > > - $file = "$DEFAULT_DIR/$file" unless $file =~ /^[\.\/]/; > + $file = "$DEFAULT_DIR/$file" unless fname_is_absolute_or_relative($file); > $initial = $DEFAULT_INITIAL unless defined $initial; > > my $value; > > --__--__-- > > Message: 11 > From: "Greg Gaskill" <g.gaskill@aboron.com> > To: <interchange-users@lists.akopia.com> > Subject: Re: [ic] Importing tables... > Date: Thu, 15 Mar 2001 17:55:29 -0500 > charset="iso-8859-1" > Reply-To: interchange-users@lists.akopia.com > > > ----- Original Message ----- > From: "Dan McFarland" <dan@mailturtle.com> > To: <interchange-users@lists.akopia.com> > Sent: Thursday, March 15, 2001 1:15 PM > Subject: [ic] Importing tables... > > > > I am using the Construct template with the default databases. With that > in > > mind, I am trying to import to the products table a new list of items with > > the fields sku, description and price. Then I will go back and manually > > edit those items to add quantity discounts, images, etc. > > > > When I try to import this data from a tab-delimited txt file, I get a > FATAL > > ERROR - Non-existent table 'sku description price > > ' > > Dan, > > What I did the first time I imported a database to the construct demo was: > > 1) Delete all products from the construct database, except the gift_cert > using the UI. > > 2) Export the products database to my computer (just one line with field > names and one item line to model after). > > 3) Open this exported version in Excel and cut and paste the sku, > description, and price from my old system (also an exported text listing) > leaving the unused columns blank. > > 4) Save the new text file and import that using the construct UI. > > Greg > > > > > > What would be causing this error? > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > --__--__-- > > Message: 12 > Date: Thu, 15 Mar 2001 18:01:42 -0500 > To: interchange-users@lists.akopia.com > From: Randy Moore <ramoore@axion-it.net> > Subject: Re: [ic] needed examples of subscription sites! > Reply-To: interchange-users@lists.akopia.com > > One of the stores we created uses subscriptions. Really it is a "buyers > club" type of store. If you buy a membership (subscription), you can buy > the rest of the products on the site at a discount. > > This store allows both member and non-member purchases at different prices. > > The URL is: > http://www.cigarsatcost.com > > This is not something you can do directly with the sample stores that come > with Interchange, but Interchange is flexible enough to do just about > anything you can imagine. > > > At 04:05 PM 3/15/01 -0500, you wrote: > >I need to "prove" to co-workers that interchange can/does sell subscriptions > >(unlike a gift certificate, a product without a click through to a > >download). I would love to have tons of examples to give them. Also, any > >"pointers" regarding set up for subscriptions vs. other products are > >appreciated. Thanks in advance! > > > > > >_______________________________________________ > >Interchange-users mailing list > >Interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > Randy Moore > Axion Information Technologies, Inc. > > email ramoore@axion-it.net > phone 301-408-1200 > fax 301-445-3947 > > > --__--__-- > > Message: 13 > Date: Thu, 15 Mar 2001 18:25:46 -0500 > From: Mark Johnson <markj@redhat.com> > Organization: Red Hat E-Business Solutions > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Please wait while your request is processed > Reply-To: interchange-users@lists.akopia.com > > Bill Randle wrote: > > > Are you thinking about $Document->send() and/or $Document->hot(1)? > > That may be their intended purpose, but they don't work in that way. You > can try below with a while loop that goes 10000000 times, which takes > about 5 secs (on my server). > > > > > > Another possibility, perhaps (untested): > > <HTML> > > <HEAD></HEAD> > > <BODY> > > <other tags you may want to use> > > [mvasp] > > <% > > HTML "This will take awhile, please be patient..."; > > $Document->send(); # flush buffer > > $Document->hot(1); # send stuff as soon as it's written > > > > # some perl task that takes awhile > > # if there are some points in the process you can update the > > # user status, so much the better. E.g.: > > # foreach (@some_array) { > > # HTML " ."; # show another period as a progress indicator > > # some code that processes each item > > # } > > > > HTML "<br>All done, thank you for waiting."; > > %> > > [/mvasp] > > </BODY> > > </HTML> > > > > -Bill > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > -- > Mark Johnson > Senior Developer - Professional Services > Red Hat, Inc. > E-Business Solutions > markj@redhat.com > 703-456-2912 > > --__--__-- > > Message: 14 > Date: Thu, 15 Mar 2001 18:46:41 -0500 > From: Mark Johnson <markj@redhat.com> > Organization: Red Hat E-Business Solutions > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Basket content > Reply-To: interchange-users@lists.akopia.com > > Bill Randle wrote: > > > > I may be missing something, but why not: > > [perl global=1] > > use Vend::Session; > > @$Vend::Items = (); > > put_session(); > > get_session(); > > init_session(); > > [/perl] > > > > This is what "mv_cancel" does. > > > > -Bill > > That certainly works. Putting mv_action=cancel in your query string > seems easier to me. Just a matter of calling code that exists over > re-writing and reparsing it. > > -- > Mark Johnson > Senior Developer - Professional Services > Red Hat, Inc. > E-Business Solutions > markj@redhat.com > 703-456-2912 > > --__--__-- > > Message: 15 > Date: Thu, 15 Mar 2001 16:14:44 -0800 > From: Bill Randle <billr@exgate.tek.com> > Organization: Tektronix, Inc., Beaverton, OR > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Basket content > Reply-To: interchange-users@lists.akopia.com > > Mark Johnson wrote: > > > > Bill Randle wrote: > > > > > > I may be missing something, but why not: > > > [perl global=1] > > > use Vend::Session; > > > @$Vend::Items = (); > > > put_session(); > > > get_session(); > > > init_session(); > > > [/perl] > > > > > > This is what "mv_cancel" does. > > > > > > -Bill > > > > That certainly works. Putting mv_action=cancel in your query string > > seems easier to me. Just a matter of calling code that exists over > > re-writing and reparsing it. > > For sure! I was under the impression that the requestor wanted to clear > the cart without doing a form submission, like perhaps he had some > other inline Perl code that did some checks and under some condition > wanted to clear the cart without doing a seperate submit. On the > otherhand, one could argue that the way to do that is via a mv_click > routine that changes the mv_action from "submit" to "cancel" when the > cart needs to be cleared. We don't really know enough about his > requirements to say. > > -Bill > > > > --__--__-- > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > End of Interchange-users Digest > From: jason at wiredwebsites.com (Jason Griffiths ) Date: Thu, 15 Mar 2001 20:41:51 -0800 Subject: [ic] MySQL and Text files Hi, I am new to Interchange, and I have a question about MySQL. I have got MySQL and Interchange working but there is one thing I dont understand: Database products products.txt dbi:mysql:tutorialdata In the above line, why do I have to specify products.txt, even after all of my data has been imported into the database? Is there a way to use only the database? All of the examples I have found are similar to the one above, such as: Database arbitrary arbitrary.asc dbi:mSQL:minivend:localhost:1114 So I guess what I am saying is, if I have a database, why do I need to specify an ascii file? This may be a dumb question, but I can't figure it out! Thanks, Jason Griffiths Engineering Director Wired Websites 714.470.4924 jason@wiredwebsites.com www.wiredwebsites.com From: db at m-and-d.com (DB ) Date: Thu, 15 Mar 2001 23:39:42 -0500 Subject: [ic] checkout lag I have 4.6.3 installed and running using the test store. All seems well, except for the annoying 10 second delay between when I click the Checkout button and when the next page is displayed. The archives suggest maybe a DNS delay, but this happens on two separate hosts, each with respectable hardware (both run Redhat Linux). Using a non-secure URL doesn't help, nor does using a local address for email delivery of the order info. "uptime" reports reasonable cpu loads. Does anyone know how to remedy or even diagnose this? DB From: bob at nleaudio.com (Bob Puff at NLE ) Date: Fri, 16 Mar 2001 01:22:18 -0500 Subject: [ic] flypage doesn't work as normal page Tonight I was trying to customize the info page for a particular product. The Interchange docs say that when you click on a link, it checks for the (sku).html file, and if it isn't present, it displays the flypage.html page. Well, I tried simply copying flypage.html to a product's sku. It did call the file up, but with no proper data - a lot of interchange tags showing through. Why is this? I thought that Interchange always interpreted its stuff enclosed in brackets. I want to only add a little bit to the flypage, and use this same file for a number of products. Bob From: soudant at home.nl (Guy Soudant ) Date: Fri, 16 Mar 2001 08:22:46 +0100 Subject: [ic] Need help with Secure server setup Hi All, I run the 4.6.3 interchange server, and it all works fine on the normal webserver. But when I try to chech out using a secure server, or call pages on the secure server (except for the main index page) I get a 404 Error. The secure server itself works fine, and I can browse all folders on the secure server (has been activated for test purposes). I can access the main index page through the secure server (https://mydomain.net). If I try to view a different page on my secure server, then I also get a 404 error. In my opinion this is strange, since when I access http://www.mydomain.net/construct I see the same directory structure as when I call https://mydomain.net/construct. The IP addresses are exactly the same for the regular and secure server. Is there anyone who knows what I did wrong and how I can get this secure server to work properly with Interchange. I simply cannot figure out why I get this error. PS1! If you like you can view the setup of the admin client with the standard login details at http://tvguidecentral.net. Don't ruin the install though PS2! I have this problem with both Netscape 6 as well as IE 5 Help highly appreciated. Thanx in advance Guy Soudant From: jojo at blackpoint.de (jojo at blackpoint.de ) Date: Fri, 16 Mar 2001 09:57:03 +0100 (CET) Subject: [ic] Please wait while your request is processed On 15 Mar, Bill Randle wrote: [DEL] > Another possibility, perhaps (untested): > <HTML> > <HEAD></HEAD> > <BODY> > <other tags you may want to use> > [mvasp] > <% > HTML "This will take awhile, please be patient..."; > $Document->send(); # flush buffer > $Document->hot(1); # send stuff as soon as it's written > > # some perl task that takes awhile > # if there are some points in the process you can update the > # user status, so much the better. E.g.: > # foreach (@some_array) { > # HTML " ."; # show another period as a progress indicator > # some code that processes each item > # } > > HTML "<br>All done, thank you for waiting."; > %> > [/mvasp] > </BODY> > </HTML> I've tested your codes with [mvasp] <% HTML "This will take awhile, please be patient..."; $Document->send(); # flush buffer $Document->hot(1); # send stuff as soon as it's written # some perl task that takes awhile # if there are some points in the process you can update the # user status, so much the better. E.g.: # foreach (@some_array) { # HTML " ."; # show another period as a progress indicator # some code that processes each item # } $i=0; HTML "<BR>In process "; for ($i = 1; $i <= 30; $i++) { HTML " ."; $Document->send(); select(undef,undef,undef,1.000); } HTML "<br>All done, thank you for waiting."; %> [/mvasp] and I get the whole page after the mvasp is finish (30 seconds) and I can't see another period (HTML " .";) during the process. What did I do wrong? Thanks! Joachim -- -------------<FreeBsd>-------------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: rleon at rtspain.com (roberto leon lopez ) Date: Fri, 16 Mar 2001 10:15:26 +0100 Subject: [ic] interchange server don't stop I have installe interchange and this server is initialized good. But if I make ./interchange --stop show me this error message: Could not lock file: Recurso no disponible temporalmente. And the example construct not run, cgi don't connect with the server and the permisions are good. From: barry at netgraphic.co.uk (barry ) Date: 16 Mar 2001 09:21:41 +0000 Subject: [ic] Interchange on cobalt RAQ Hi Just wondering if anyone has installed Interchange on a Cobalt and got it to load the demo store. I keep getting the wrong page loading when i try it. Any help out there???? -- Barry Smith Netherton Creative Solutions 19 Commercial Rd Buckie AB51 1UQ Tel: 01542 835593 Fax: 01542 835570 http://www.netgraphic.co.uk From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Fri, 16 Mar 2001 01:37:55 -0800 Subject: [ic] Interchange on cobalt RAQ > Hi > > Just wondering if anyone has installed Interchange on a Cobalt and got it to load the demo store. I keep getting the wrong page loading when i try it. > Please search the archives which can be found at http://developer.akopia.com This question has been asked a lot, thanks! -Ron From: mat at booksellersolutions.com (Mat Jones - booksellersolutions.com ) Date: Thu, 15 Mar 2001 12:44:54 -0800 Subject: [ic] restart I have 30 catalogs running under 1 installation of interchange. After i install a new catalog, i would like to start that particular catalog only, without restarting everything. As you know, while restarting the sites are unavailable. Im sure there is a simple answer. Thanks Mat From: Armin.Costa at unibz.it (Costa Armin (Student Econ99) ) Date: Fri, 16 Mar 2001 11:02:12 +0100 Subject: [ic] interchange server don't stop To stop interchange defenitely try simple to cancell all program directories and stop the interchange server by killing the appropriate process with this command: kill -9 79876 (79876 should be replaced with the PID of the interchange server) I hope it works, On my server I killed the server several times in this way Italian Guy Rusty -----Original Message----- From: roberto leon lopez [mailto:rleon@rtspain.com] Sent: Freitag, 16. Mδrz 2001 10:15 To: interchange-users@lists.akopia.com Subject: [ic] interchange server don't stop I have installe interchange and this server is initialized good. But if I make ./interchange --stop show me this error message: Could not lock file: Recurso no disponible temporalmente. And the example construct not run, cgi don't connect with the server and the permisions are good. _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: barrd at mac.com (Dave Barr ) Date: Fri, 16 Mar 2001 11:33:15 +0000 Subject: [ic] checkout lag You haven't said what user-agents or OS you were using... however I had the same problem using Netscrape under Mac/Unix/Wdoze. With M$IE the tables are built much faster. The reason is that there is a great deal of extraneousness HTML (produced with a WYSIWYG editor?) in the standard pages that come with the "Construct Something" distribution. Try cutting back the HTML (and I also seem to remember that for me at least, removing the JavaScript that does a tax lookup if in the States expedited things somewhat). Dave >I have 4.6.3 installed and running using the test store. All seems well, >except for the annoying 10 second delay between when I click the >Checkout button and when the next page is displayed. > >The archives suggest maybe a DNS delay, but this happens on two separate >hosts, each with respectable hardware (both run Redhat Linux). Using a >non-secure URL doesn't help, nor does using a local address for email >delivery of the order info. "uptime" reports reasonable cpu loads. Does >anyone know how to remedy or even diagnose this? From: res087jh at verizon.net (Dan Garwood ) Date: Fri, 16 Mar 2001 07:37:50 -0500 Subject: [ic] Errors after Bundle::Interchange upgrade I am using Interchnage 4.6.3 I I was upgrading my perl modules and upon upgrading my Bundle::Interchange I now get the following errors on restart of interchange by using the following command su -c "/usr/local/interchange/bin/interchange -r" interch: Name "Global::LockoutCommand" used only once: possible typo at /usr/local/interchange/bin/interchange line 1745, <DATA> line 1. Name "Global::Profiles" used only once: possible typo at /usr/local/interchange/bin/interchange line 529, <DATA> line 1. Name "Global::ProfilesName" used only once: possible typo at /usr/local/interchange/bin/interchange line 527, <DATA> line 1. Name "Vend::CC2" used only once: possible typo at /usr/local/interchange/bin/interchange line 2191, <DATA> line 1. Name "Vend::CC3" used only once: possible typo at /usr/local/interchange/bin/interchange line 2207, <DATA> line 1. Name "Vend::CC3server" used only once: possible typo at /usr/local/interchange/bin/interchange line 2208, <DATA> line 1. Name "Vend::ForeGround" used only once: possible typo at /usr/local/interchange/bin/interchange line 2379, <DATA> line 1. Name "Vend::BuildSpec" used only once: possible typo at /usr/local/interchange/bin/interchange line 2043, <DATA> line 1. Name "File::Find::prune" used only once: possible typo at /usr/local/interchange/bin/interchange line 1738, <DATA> line 1. Killing Interchange server 6788 with TERM. Name "Global::LockoutCommand" used only once: possible typo at /usr/local/interchange/bin/interchange line 1745, <DATA> line 1. Name "Global::Profiles" used only once: possible typo at /usr/local/interchange/bin/interchange line 529, <DATA> line 1. Name "Global::ProfilesName" used only once: possible typo at /usr/local/interchange/bin/interchange line 527, <DATA> line 1. Name "Vend::CC2" used only once: possible typo at /usr/local/interchange/bin/interchange line 2191, <DATA> line 1. Name "Vend::CC3" used only once: possible typo at /usr/local/interchange/bin/interchange line 2207, <DATA> line 1. Name "Vend::CC3server" used only once: possible typo at /usr/local/interchange/bin/interchange line 2208, <DATA> line 1. Name "Vend::ForeGround" used only once: possible typo at /usr/local/interchange/bin/interchange line 2379, <DATA> line 1. Name "Vend::BuildSpec" used only once: possible typo at /usr/local/interchange/bin/interchange line 2043, <DATA> line 1. Name "File::Find::prune" used only once: possible typo at /usr/local/interchange/bin/interchange line 1738, <DATA> line 1. Is this a bug? or something that needs to be fixed on my end? Can someone advise to the problem here. All catalogs seem to be working correctly, but I am affraid that there will be errors somewhere hidden. Dan From: webmaster at infothai.com (Webmaster of Infothai ) Date: Fri, 16 Mar 2001 20:45:12 +0700 Subject: [ic] Errors after Bundle::Interchange upgrade These are perl warnings, typically turned on with the "perl -w" or "!/usr/local/bin/perl -w" type of usage. It sounds like your warnings are now turned where they were OFF before. Mike On Fri, 16 Mar 2001 07:37:50 -0500, Dan Garwood wrote: >I am using Interchnage 4.6.3 I I was upgrading my perl modules and upon >upgrading my Bundle::Interchange I now get the following errors on restart >of interchange by using the following command su -c >"/usr/local/interchange/bin/interchange -r" interch: > >Name "Global::LockoutCommand" used only once: possible typo at >/usr/local/interchange/bin/interchange line 1745, <DATA> line 1. >Name "Global::Profiles" used only once: possible typo at >/usr/local/interchange/bin/interchange line 529, <DATA> line 1. >Name "Global::ProfilesName" used only once: possible typo at >/usr/local/interchange/bin/interchange line 527, <DATA> line 1. >Name "Vend::CC2" used only once: possible typo at >/usr/local/interchange/bin/interchange line 2191, <DATA> line 1. >Name "Vend::CC3" used only once: possible typo at >/usr/local/interchange/bin/interchange line 2207, <DATA> line 1. >Name "Vend::CC3server" used only once: possible typo at >/usr/local/interchange/bin/interchange line 2208, <DATA> line 1. >Name "Vend::ForeGround" used only once: possible typo at >/usr/local/interchange/bin/interchange line 2379, <DATA> line 1. >Name "Vend::BuildSpec" used only once: possible typo at >/usr/local/interchange/bin/interchange line 2043, <DATA> line 1. >Name "File::Find::prune" used only once: possible typo at >/usr/local/interchange/bin/interchange line 1738, <DATA> line 1. >Killing Interchange server 6788 with TERM. >Name "Global::LockoutCommand" used only once: possible typo at >/usr/local/interchange/bin/interchange line 1745, <DATA> line 1. >Name "Global::Profiles" used only once: possible typo at >/usr/local/interchange/bin/interchange line 529, <DATA> line 1. >Name "Global::ProfilesName" used only once: possible typo at >/usr/local/interchange/bin/interchange line 527, <DATA> line 1. >Name "Vend::CC2" used only once: possible typo at >/usr/local/interchange/bin/interchange line 2191, <DATA> line 1. >Name "Vend::CC3" used only once: possible typo at >/usr/local/interchange/bin/interchange line 2207, <DATA> line 1. >Name "Vend::CC3server" used only once: possible typo at >/usr/local/interchange/bin/interchange line 2208, <DATA> line 1. >Name "Vend::ForeGround" used only once: possible typo at >/usr/local/interchange/bin/interchange line 2379, <DATA> line 1. >Name "Vend::BuildSpec" used only once: possible typo at >/usr/local/interchange/bin/interchange line 2043, <DATA> line 1. >Name "File::Find::prune" used only once: possible typo at >/usr/local/interchange/bin/interchange line 1738, <DATA> line 1. > >Is this a bug? or something that needs to be fixed on my end? Can someone >advise to the problem here. All catalogs seem to be working correctly, but I >am affraid that there will be errors somewhere hidden. > > >Dan > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users > webmaster@infothai.com http://www.infothai.com From: email at jasonkohles.com (Jason Kohles ) Date: Fri, 16 Mar 2001 09:14:55 -0500 Subject: [ic] Problems on Xmission Solaris On Thu, Mar 15, 2001 at 02:59:08PM -0700, Chris Bair wrote: > > Let's see... Is this the same Jason that carried the umbrella to hit > cars that tried to run him down while crossing the street? (I used to > work there too, you might remember, although I'm sure you tried to > forget!) > I knew I recognized your name, but I'm so bad at remembering names I couldn't quite remember why I recognized it, so I took the safe route and didn't say anything. > I doubt I could get them to do the first two (although they sound > like the better alternatives) how might I go about doing the last > two? I tried setting up the catalog to use INET, rather than UNIX, > but given my inexperience with Interchange, it still gave me that > "unavailable" message. That message indicates that the link cgi was unable to contact the interchange server, without getting the ISP involved there are two main ways you can solve the problem. In order to start interchange running on the web server, you could make a cgi script that ran the restart command on the web server itself, something as simple as: #!/bin/sh echo 'Content-Type: text/plain' echo '' $HOME/interchange/bin/interchange -r put it somewhere web accessible and then load it from the browser and it should restart on the web server, making it accessible to vlink. Since your home directory is NFS mounted, make sure interchange is not running on any of the other servers and fighting over the files with the one on the web server. The other option is to use tlink to connect over the network, when makecat asks if you want to use INET or UNIX mode, choose INET, then set the host and port to the server you will be running interchange on, and make sure to run 'interchange -r' on that server to get the interchange server running, then it should connect over the network to the interchange server. -- Jason S Kohles jason@jasonkohles.com From: richard.siddall at elirion.net (Richard Siddall ) Date: Fri, 16 Mar 2001 11:31:42 -0500 Subject: [ic] Interchange on cobalt RAQ Ron Phipps wrote: > > > Hi > > > > Just wondering if anyone has installed Interchange on a Cobalt and got it > to load the demo store. I keep getting the wrong page loading when i try it. > > > > Please search the archives which can be found at http://developer.akopia.com > This question has been asked a lot, thanks! > > -Ron Well, I haven't found the answer to THIS Cobalt question in the archives. I've installed Mike Heins' patch to bin/interchange to work with the RaQ's different configuration of CGIwrap. However, I'm still getting "Undefined catalog" errors from the CGI program. I finally re-read the introduction screen at http://www.mydomain.com/construct and saw that it suggested trying just the CGI program. I get the front page of the store at http://www.mydomain.com/construct.cgi, but if I click on any of the links, say "Login" I get "Undefined catalog: /construct.cgi/login.html" and Interchange logs an error: 64.24.65.96 - - [16/March/2001:11:27:40 -0500] - /construct.cgi/login.html Undefined catalog: /construct.cgi/login.html I have the CGI running under CGIwrap in the root directory for the site, e.g. /home/sites/siten/web Any suggestions on what to try next? Could this be a permissions problem? Thanks, Richard Siddall. From: edl at newmediaems.com (Ed LaFrance ) Date: Fri, 16 Mar 2001 08:48:41 -0800 Subject: [ic] Priceing At 12:26 PM 03/16/2001 +0800, you wrote: >Hi all, > I am posting this question 2nd time since my erlier qustion not yet been >answered, > > My client bassically selles cakes and flowers, the bussiness rule in >this is priceing the items depending on the weight and units, >CAKES: for example 1 quantity of American Chocolate cake costs depending on >the weight like 1kg -- $10, 2kg -- $20 and so on.... >FLOWER Bouquets: these costs like 1 quantity of XXX flower Bouquet costs >depending on the unit of flowers used in it ... like 1 dozen of flowers used >in it costs $10 , 1 1/2 dozen costs $15 and so on... > so, please help me out, how can sovlve this problem? > >Thanks for any advise, >Peace--(^_^) > Using item modifiers (Accessories) in conjunction with CommonAdjust pricing is one way to handle this: in catalog.cfg... UseModifier weight,flower CommonAdjust products:price, ==weight:pricing, ==flower:pricing in pricing database... sku 1kg 2kg 1doz 1.5doz cake 10 20 bouquet 10 15 Then set the modifier on the order form for the item, either in a hidden form variable (mv_order_wieght=1kg) or using [item-accessories nnnnn] to read a list of selections from the products database. I realize this is a little sketchy. there are several steps in setting this up. Unfortunately the latest docs (at least the HTML versions online) are quite deficient in describing this feature. I suggest you get your hands on a late copy of the Minivend docs (still archived at ftp.akopia.com, I believe) and give the section on CommonAdjust a good read. - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: edl at newmediaems.com (Ed LaFrance ) Date: Fri, 16 Mar 2001 08:55:15 -0800 Subject: [ic] MySQL and Text files At 08:41 PM 03/15/2001 -0800, you wrote: >Hi, > >I am new to Interchange, and I have a question about MySQL. I have got >MySQL and Interchange working but there is one thing I dont understand: > >Database products products.txt dbi:mysql:tutorialdata > >In the above line, why do I have to specify products.txt, even after all of >my data has been imported into the database? Is there a way to use only the >database? All of the examples I have found are similar to the one above, >such as: > >Database arbitrary arbitrary.asc dbi:mSQL:minivend:localhost:1114 > >So I guess what I am saying is, if I have a database, why do I need to >specify an ascii file? This may be a dumb question, but I can't figure it >out! > >Thanks, > >Jason Griffiths >Engineering Director >Wired Websites >714.470.4924 >jason@wiredwebsites.com >www.wiredwebsites.com Jason - Straight from the docs: To use an existing SQL database instead of importing, set the NoImport directive in catalog.cfg to include any database identifiers not to be imported: NoImport products inventory - Ed L. >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: edl at newmediaems.com (Ed LaFrance ) Date: Fri, 16 Mar 2001 08:57:01 -0800 Subject: [ic] flypage doesn't work as normal page At 01:22 AM 03/16/2001 -0500, you wrote: >Tonight I was trying to customize the info page for a particular >product. The Interchange docs say >that when you click on a link, it checks for the (sku).html file, and if >it isn't present, it displays >the flypage.html page. Well, I tried simply copying flypage.html to a >product's sku. It did call >the file up, but with no proper data - a lot of interchange tags showing >through. > >Why is this? I thought that Interchange always interpreted its stuff >enclosed in brackets. Yes, but it needs a key. Try this change at the top of the page: [fly-list code="@@MV_PAGE@@"] - Ed L. >I want to only add a little bit to the flypage, and use this same file for >a number of products. > >Bob > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: jbeima at reality.palb.com (John Beima ) Date: Fri, 16 Mar 2001 10:03:26 -0700 (MST) Subject: [ic] Operating System Choice - RH 6.2 or 7.0 G'Day, I myself am waiting and have been playing with the upcomming 7.1... It has some MAJOR improvments over 7.0 including the actual 2.4 kernel and full plug & play support. USB support, X Version 4.0, and many many other items. Personally I would wait for that one and then upgrade to that. Actually our new Interchange sever which will public host MiniVend/Interchange sites for cheap rates will be up within days of 7.1 being released. John Beima Quoting Lord Valankar <valankar@nmo.net>: > Greetings all! > This is just a general question and I'm looking for some general input. > I have a dell power edge 2450 here that we bought some time ago just to > run interchange. I am about to start assembling our production > interchange on it and it occurred to me that I might want to upgrade > from the factory installed 6.2 to 7.0 > For the folks who don't know in RH 7.0 some of the basic directories > are in slightly different places (i.e.. 6.2 /home/httpd/html is > /var/www/html in 7.0) This would seem to make upgrading after the fact a > major headache although possible. (Not to mention maintaining the source > code.) > I was just wondering if anyone had any thoughts to share in this > matter, and if Akopia will be dropping support for the older RH 6.2 any > time soon. > > Thanks in advance to any and all }:8> > > 0==----------=^=----------==0 > Valankar (aka Dwagon) > > "Just remember: If life didn't suck we would all fly off the earth." > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange at superiorsites.net (Bobby G. Brown, Jr. ) Date: Fri, 16 Mar 2001 11:48:48 -0600 Subject: [ic] credit card merchant I've got the newest version of interchange running on Redhat 6.2. I would like to have interchange do credit card verification and processing if at all possible instead of it sending me an email with the information if at all possible. The first question I have is what credit card merchants are compatible with interchange? Secondly, what do i need to do to interchange to make it work? From: db at m-and-d.com (DB ) Date: Fri, 16 Mar 2001 12:50:41 -0500 Subject: [ic] checkout lag Wow... you're right... IE goes much faster. I'll be sure to keep the HTML lean when I create my real pages. Thanks for the help!! DB > Reply-To: interchange-users@lists.akopia.com > > You haven't said what user-agents or OS you were using... however I > had the same problem using Netscrape under Mac/Unix/Wdoze. With M$IE > the tables are built much faster. The reason is that there is a great > deal of extraneousness HTML (produced with a WYSIWYG editor?) in the > standard pages that come with the "Construct Something" distribution. > > Try cutting back the HTML (and I also seem to remember that for me at > least, removing the JavaScript that does a tax lookup if in the > States expedited things somewhat). > > Dave > > >I have 4.6.3 installed and running using the test store. All seems well, > >except for the annoying 10 second delay between when I click the > >Checkout button and when the next page is displayed. > > > >The archives suggest maybe a DNS delay, but this happens on two separate > >hosts, each with respectable hardware (both run Redhat Linux). Using a > >non-secure URL doesn't help, nor does using a local address for email > >delivery of the order info. "uptime" reports reasonable cpu loads. Does > >anyone know how to remedy or even diagnose this? > > > From: mikeslists at msquaredweb.net (Mike K ) Date: Fri, 16 Mar 2001 11:52:24 -0800 Subject: [ic] Install Problem on FBSD box.. please help Hello everyone.... I setup the user interchange and ran ./configure. It installed the required perl modules and then said to cd /usr/local/interchange then type bin/makecat However, there is no bin subdir of interchange. I did cat locale.error and the output is pasted below. Please help!! Thanks. --------------------------------- Locale en_US <<EOF { 'CfgMgr.pm:1', "CfgMgr - bad call combo_select: no name", 'CfgMgr.pm:2', "CfgMgr - bad call combo_select: name=%s", 'CfgMgr.pm:3', "CfgMgr: found line '%s'", 'Data.pm:1', "Bad SQL query selector: '%s' for %s", 'Data.pm:2', "Could not open shipping file %s: %s", 'Data.pm:3', "Bad shipping configuration for mode %s, skipping.", 'Data.pm:4', "Bad shipping file for zone '%s', lookup disabled.", 'Data.pm:5', "Could not open salestax file %s: %s", 'Data.pm:6', "Vend::Data export: non-existent database %s", 'Data.pm:7', "Adding field %s", 'Data.pm:8', "Deleting %s...", 'Data.pm:9', "Deleting field %s", 'Interpolate.pm:1', "Bad data '%s' '%s' '%s'", 'Interpolate.pm:2', "Safe: %s\n%s\n", 'Interpolate.pm:3', "Safe: %s\n%s\n", 'Interpolate.pm:4', "Missing special page: %s", 'Interpolate.pm:5', "Missing special page: %s", 'Interpolate.pm:6', "No search page '%s' found!", 'Interpolate.pm:7', "Missing special page: %s", 'Interpolate.pm:8', "Missing special page: %s", 'Order.pm:1', "CyberCash module found (CyberCash 2).", 'Order.pm:2', "CyberCash module found (CyberCash 3).", 'Order.pm:3', "Test CyberCash SetServer:\n%s\n", 'Scan.pm:1', "non-existent database '%s'", 'Scan.pm:2', "Bad search type %s: %s", 'Scan.pm:3', "Bad search column '%s'", 'Scan.pm:4', "Bad search column '%s'", 'Server.pm:1', "Bad script name '%s' for reconfig.", 'Server.pm:2', "Reconfig of %s successful, build=%s.", 'Server.pm:3', "Error reconfiguring catalog %s from running server (%s)\n%s", 'Server.pm:4', "INET mode error port %s: %s\n\nContinuing in UNIX MODE ONLY\n", 'Server.pm:5', "INET mode server failed to start on port %s: %s", 'Server.pm:6', "SERVER TERMINATING", 'Server.pm:7', "error '%s' from select.", 'Server.pm:8', "Died in select, retrying: %s", 'Server.pm:9', "Can't fork: %s", 'Server.pm:10', "Runtime error: %s", 'Server.pm:11', "Runtime error: %s", 'Server.pm:12', "Died in server spawn: %s", 'Server.pm:13', "Died in housekeeping, retry.", 'Server.pm:14', "STOP server (%s) on signal TERM", 'Server.pm:15', "START server (%s) (%s)", 'Session.pm:1', "Hammered session lock %s left by PID %s", 'UserDB.pm:1', "Vend::UserDB error: %s\n", 'UserDB.pm:2', "Vend::UserDB error: %s\n", 'Util.pm:1', "attempt to set non-existant locale '%s'", 'Util.pm:2', "attempt to set non-existant currency '%s'", 'Util.pm:3', "Can't read file '%s' with NoAbsolute set", 'Util.pm:4', "Can't read file '%s' with NoAbsolute set", 'Table/DBI.pm:1', "table %s created: %s", 'Table/DBI.pm:2', "table %s index failed: %s", 'Table/DBI.pm:3', "set_row %s: field with value '%s' removed from record '%s'", 'Table/Import.pm:1', "notes_field='%s' delimiter: %s", 'bin/minivend:1', "Can't check HTML: No global CheckHTML defined. Contact admin.", 'bin/minivend:2', "Difficulty interacting with browser: %s", 'bin/minivend:3', "Missing special page: interact", 'bin/minivend:4', "Page cache failure: %s", 'bin/minivend:5', "Attempt to order missing product code: %s", 'bin/minivend:6', "Attempt to order missing product code: %s", 'bin/minivend:7', "Attempted database operation without table, fields, or key.\n" . "Table: '%s'\n" . "Fields:'%s'\n" . "Key: '%s'\n", 'bin/minivend:8', "Alias %s used a second time, skipping.\n", 'bin/minivend:9', "Bad alias %s, skipping.\n", 'bin/minivend:10', "Attempt to remove non-existant catalog %s.\n", 'bin/minivend:11', "Can't find catalog '%s'", 'bin/minivend:12', "Config '%s' %s", 'bin/minivend:13', "%s config error: %s", 'bin/minivend:14', "%s config error: %s", 'bin/minivend:15', "Undefined catalog: %s", 'bin/minivend:16', "Can't set group to GID %s: %s", 'bin/minivend:17', "Can't set group to GID %s: %s", 'bin/minivend:18', "Reconfig '%s' rebuild=%s", } EOF From: admin at sitemajic.net (Chris Jesseman ) Date: Fri, 16 Mar 2001 15:48:22 -0500 (EST) Subject: [ic] Install Problem on FBSD box.. please help Hi, Look in /usr/interchange/bin Evertime I upgrade on FreeBSD I have to move the IC binarys over. This is covered a bit in this list archive, but I've never seen a reason/solution. -Chris > Hello everyone.... > > I setup the user interchange and ran ./configure. It installed the > required > perl modules and then said to cd /usr/local/interchange then type > bin/makecat > > However, there is no bin subdir of interchange. I did cat locale.error > and > the output is pasted below. Please help!! > > Thanks. > > --------------------------------- > Locale en_US <<EOF > { > 'CfgMgr.pm:1', > "CfgMgr - bad call combo_select: no name", > > 'CfgMgr.pm:2', > "CfgMgr - bad call combo_select: name=%s", > > 'CfgMgr.pm:3', > "CfgMgr: found line '%s'", > > 'Data.pm:1', > "Bad SQL query selector: '%s' for %s", > > 'Data.pm:2', > "Could not open shipping file %s: %s", > > 'Data.pm:3', > "Bad shipping configuration for mode %s, skipping.", > > 'Data.pm:4', > "Bad shipping file for zone '%s', lookup disabled.", > > 'Data.pm:5', > "Could not open salestax file %s: %s", > > 'Data.pm:6', > "Vend::Data export: non-existent database %s", > > 'Data.pm:7', > "Adding field %s", > > 'Data.pm:8', > "Deleting %s...", > > 'Data.pm:9', > "Deleting field %s", > > 'Interpolate.pm:1', > "Bad data '%s' '%s' '%s'", > > 'Interpolate.pm:2', > "Safe: %s\n%s\n", > > 'Interpolate.pm:3', > "Safe: %s\n%s\n", > > 'Interpolate.pm:4', > "Missing special page: %s", > > 'Interpolate.pm:5', > "Missing special page: %s", > > 'Interpolate.pm:6', > "No search page '%s' found!", > > 'Interpolate.pm:7', > "Missing special page: %s", > > 'Interpolate.pm:8', > "Missing special page: %s", > > 'Order.pm:1', > "CyberCash module found (CyberCash 2).", > > 'Order.pm:2', > "CyberCash module found (CyberCash 3).", > > 'Order.pm:3', > "Test CyberCash SetServer:\n%s\n", > > 'Scan.pm:1', > "non-existent database '%s'", > > 'Scan.pm:2', > "Bad search type %s: %s", > > 'Scan.pm:3', > "Bad search column '%s'", > > 'Scan.pm:4', > "Bad search column '%s'", > > 'Server.pm:1', > "Bad script name '%s' for reconfig.", > > 'Server.pm:2', > "Reconfig of %s successful, build=%s.", > > 'Server.pm:3', > "Error reconfiguring catalog %s from running server (%s)\n%s", > > 'Server.pm:4', > "INET mode error port %s: %s\n\nContinuing in UNIX MODE ONLY\n", > > 'Server.pm:5', > "INET mode server failed to start on port %s: %s", > > 'Server.pm:6', > "SERVER TERMINATING", > > 'Server.pm:7', > "error '%s' from select.", > > 'Server.pm:8', > "Died in select, retrying: %s", > > 'Server.pm:9', > "Can't fork: %s", > > 'Server.pm:10', > "Runtime error: %s", > > 'Server.pm:11', > "Runtime error: %s", > > 'Server.pm:12', > "Died in server spawn: %s", > > 'Server.pm:13', > "Died in housekeeping, retry.", > > 'Server.pm:14', > "STOP server (%s) on signal TERM", > > 'Server.pm:15', > "START server (%s) (%s)", > > 'Session.pm:1', > "Hammered session lock %s left by PID %s", > > 'UserDB.pm:1', > "Vend::UserDB error: %s\n", > > 'UserDB.pm:2', > "Vend::UserDB error: %s\n", > > 'Util.pm:1', > "attempt to set non-existant locale '%s'", > > 'Util.pm:2', > "attempt to set non-existant currency '%s'", > > 'Util.pm:3', > "Can't read file '%s' with NoAbsolute set", > > 'Util.pm:4', > "Can't read file '%s' with NoAbsolute set", > > 'Table/DBI.pm:1', > "table %s created: %s", > > 'Table/DBI.pm:2', > "table %s index failed: %s", > > 'Table/DBI.pm:3', > "set_row %s: field with value '%s' removed from record '%s'", > > 'Table/Import.pm:1', > "notes_field='%s' delimiter: %s", > > 'bin/minivend:1', > "Can't check HTML: No global CheckHTML defined. Contact admin.", > > 'bin/minivend:2', > "Difficulty interacting with browser: %s", > > 'bin/minivend:3', > "Missing special page: interact", > > 'bin/minivend:4', > "Page cache failure: %s", > > 'bin/minivend:5', > "Attempt to order missing product code: %s", > > 'bin/minivend:6', > "Attempt to order missing product code: %s", > > 'bin/minivend:7', > "Attempted database operation without table, fields, or key.\n" . > "Table: '%s'\n" . > "Fields:'%s'\n" . > "Key: '%s'\n", > > 'bin/minivend:8', > "Alias %s used a second time, skipping.\n", > > 'bin/minivend:9', > "Bad alias %s, skipping.\n", > > 'bin/minivend:10', > "Attempt to remove non-existant catalog %s.\n", > > 'bin/minivend:11', > "Can't find catalog '%s'", > > 'bin/minivend:12', > "Config '%s' %s", > > 'bin/minivend:13', > "%s config error: %s", > > 'bin/minivend:14', > "%s config error: %s", > > 'bin/minivend:15', > "Undefined catalog: %s", > > 'bin/minivend:16', > "Can't set group to GID %s: %s", > > 'bin/minivend:17', > "Can't set group to GID %s: %s", > > 'bin/minivend:18', > "Reconfig '%s' rebuild=%s", > > > } > EOF > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: tintones at hotmail.com (Marcelo F. De Paula ) Date: Fri, 16 Mar 2001 20:44:07 Subject: [ic] How many stores can I run? Hello list, I would like to know how many stores can I run with a Pentium celeron 633mhz with 64 ram? This is the confuration that I have from a dedicated server. Thanks, Marcelo _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From: billr at exgate.tek.com (Bill Randle ) Date: Fri, 16 Mar 2001 12:49:45 -0800 Subject: [ic] Please wait while your request is processed jojo@blackpoint.de wrote: > > On 15 Mar, Bill Randle wrote: > [DEL] > > Another possibility, perhaps (untested): > > I've tested your codes with > > [mvasp] > <% > HTML "This will take awhile, please be patient..."; > $Document->send(); # flush buffer > $Document->hot(1); # send stuff as soon as it's written > > # some perl task that takes awhile > # if there are some points in the process you can update the > # user status, so much the better. E.g.: > # foreach (@some_array) { > # HTML " ."; # show another period as a progress indicator > # some code that processes each item > # } > $i=0; > HTML "<BR>In process "; > > for ($i = 1; $i <= 30; $i++) > { > HTML " ."; > $Document->send(); > select(undef,undef,undef,1.000); > } > HTML "<br>All done, thank you for waiting."; > %> > [/mvasp] > > and I get the whole page after the mvasp is finish (30 seconds) and I > can't see another period (HTML " .";) during the process. What did I do > wrong? I don't know that you're doing anything wrong. After the reply from Mark, I tested it too and got the same results. I haven't had the time to look into it any deeper to see why it doesn't work as expected. -Bill From: steveandpatti at wubs.org (Steve & Patti Getzinger ) Date: Fri, 16 Mar 2001 15:59:40 -0500 Subject: [ic] How many stores can I run? Better up the RAM. I run 512 in ours with 250 swap. My development machine has 128 megs. I know that did not answer your question. I would also think about a machine with something more traditional in CPU (read that as no Celeron). As to yoru question there are far to many variables to consider. What is your estimated simultaneous traffic, db size, etc... Steve "Marcelo F. De Paula" wrote: > Hello list, > > I would like to know how many stores can I run with a Pentium celeron 633mhz > with 64 ram? > > This is the confuration that I have from a dedicated server. > > Thanks, > > Marcelo > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange at superiorsites.net (Bobby G. Brown, Jr. ) Date: Fri, 16 Mar 2001 15:08:35 -0600 Subject: [ic] How many stores can I run? I'm not sure about your machine but my machine (AMD 1Gig, 512Mb RAM) i have 3 running right now with PLENTY of room left. ----- Original Message ----- From: "Marcelo F. De Paula" <tintones@hotmail.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 16, 2001 8:44 PM Subject: [ic] How many stores can I run? > Hello list, > > I would like to know how many stores can I run with a Pentium celeron 633mhz > with 64 ram? > > This is the confuration that I have from a dedicated server. > > Thanks, > > Marcelo > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: mark at summersault.com (Mark Stosberg ) Date: Fri, 16 Mar 2001 16:39:02 -0500 Subject: [ic] Install Problem on FBSD box.. please help Mike K wrote: > > Hello everyone.... > > I setup the user interchange and ran ./configure. It installed the required > perl modules and then said to cd /usr/local/interchange then type > bin/makecat > > However, there is no bin subdir of interchange. I did cat locale.error and > the output is pasted below. Please help!! I'm surprised this hasn't been addressed yet. This is what worked for me with Minivend on FreeBSD: As root: perl Makefile.PL make make test as mvend: (or whatever the interchange user is called) make install PREFIX=/usr/local ################################ I think that will put everything in /usr/local/interchange -mark personal website } Summersault Website Development http://mark.stosberg.com/ { http://www.summersault.com/ From: mark at summersault.com (Mark Stosberg ) Date: Fri, 16 Mar 2001 16:44:49 -0500 Subject: [ic] how can I verify what the [userdb] tag is doing? Hello, I'm working on getting soft goods downloading working with Minivend 4.04. The process consistently gets stalled at this point: [userdb function=check_file_acl location="[scratch deliverable]" mode=expire ] So my assumption was the the acl wasn't be set appropriately. I've modeled the example closely though: [userdb function=set_file_acl mode="expire 7 days" location="[item-code]" ] If anything is going wrong with either of these calls, Minivend isn't giving me any feedback. :) What I would like to do at this point is to verify that these two tags are performing their operations as expected. My rudimentary trick was to see if the size of the userdb.db file change after the 'set' operation occurred. It didn't, but that didn't totally convince me the operation failed. How can I either "watch" these operations happen (and see any notes about their failure), or check the data they manipulate myself? Finally, If you happen to recognize the reason I'm stuck as being something else entirely, I'm all ears. :) Thanks, -mark personal website } Summersault Website Development http://mark.stosberg.com/ { http://www.summersault.com/ From: jwashco at hotmail.com (Joseph Washco ) Date: Fri, 16 Mar 2001 22:33:30 Subject: [ic] Sybase Question Hi All, I have just installed the demo store "construct something" on my Linux box. Currently the store is running off of the txt file database that came with the store. I want to change the database to Sybase for the backend of the store. So far this is what I plan to do: 1) I have the dsn (or dbi) set up to see Sybase. If I go into the Administration -> Info page. In the Database Information Area I can see Sybase listed at one of the available drivers. 2) Looking through the interchange/catalogs/construct/dbconf/oracle folder i can see the .ora files. I was going to modify these to import the database structure into Sybase. After the structure was created then i was going to bring in the txt files from interchange/catalogs/construct/products to create the stores data again. Is there an easier way to do this???? 3) Change Interchange to look away from the text file and at Sybase. In the DB documentation, there was a reference to a file called product.sql in interchange/catalogs/construct/products folder to stop it from using the text file. How does this file get in here and what does it contain?? Is this file only created at the time I configured the store?? Do I have to recreate the store to get interchange to use Sybase?? I also noticed some other info in regard to the DBs in the admin tool? Do I need to modify any of these? Thanks, Joe Washco _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Fri, 16 Mar 2001 15:42:32 -0800 Subject: [ic] restart At 12:44 PM 3/15/2001 -0800, you wrote: >I have 30 catalogs running under 1 installation of interchange. After i >install a new catalog, i would like to start that particular catalog only, >without restarting everything. As you know, while restarting the sites are >unavailable. >Im sure there is a simple answer. See if this helps: # bin/interchange --help Interchange version 4.6.2 Copyright 1996-2000 Akopia, Inc. Interchange comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute and modify it under the terms of the GNU General Public License. Command line options (first letter will usually work): --add=catalog remove a catalog from operation, parms taken from the standard input -b catalog --build=catalog build static page tree for catalog -d dir, --dir=dir directory for VendRoot (interchange.cfg, error.log, etc.) -e name, --exclude=name exclude catalog -f file, --config=file configuration file (default interchange.cfg) --files spec filespec (perl regexp OK) for static page tree -h, --help display this message -i, --inetmode run with Internet-domain socket (TCP) --kill [signal] kill server ungracefully (9 or with optional signal) -q, --quiet suppress informational messages on startup --reconfig=catalog reconfig a particular catalog on the server --remove=catalog remove a catalog from operation --restart restart server --serve start server (default) (-start is alias) --stop stop server gracefully -t, --test report problems with config files -u, --unix run with UNIX-domain socket -v, --version display program version -D, --DEBUG run foreground in debug mode -Dan Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: martyk at gmx.de (Martin Kisser ) Date: Sat, 17 Mar 2001 00:49:49 +0100 Subject: [ic] Interchange on cobalt RAQ > Subject: Re: [ic] Interchange on cobalt RAQ > Reply-To: interchange-users@lists.akopia.com > > > Just wondering if anyone has installed Interchange on a Cobalt and got it > > to load the demo store. I keep getting the wrong page loading when i try it. > > > > Please search the archives which can be found at http://developer.akopia.com > > This question has been asked a lot, thanks! > > > > -Ron > Well, I haven't found the answer to THIS Cobalt question in the archives. > I did ;-) http://developer.akopia.com/archive/interchange-users/2000/msg08935.html Martin From: treahy at mmaz.com (Barry Treahy, Jr. ) Date: Fri, 16 Mar 2001 17:42:41 -0700 Subject: [ic] restart Dan B wrote: > --add=catalog remove a catalog from operation, parms taken > from the standard input > --remove=catalog remove a catalog from operation as clear as mud if the --add removes a catalog from operation and doesn't restart it... I presume this is a typo. Barry -- Barry Treahy, Jr * Midwest Microwave * Vice President & CIO E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028 From: ryan at whoopersnetwork.com (Ryan ) Date: Sat, 17 Mar 2001 11:36:25 +0800 Subject: [ic] Secure server problem i am getting We're sorry, the interchange srver is unavailable... etc. was wondering why? have changed nothing, and i have no traffic...i am still in development does anyone have any idea whats going ? has anyone experienced this? From: dan at mailturtle.com (Dan McFarland ) Date: Fri, 16 Mar 2001 21:45:43 -0600 Subject: [ic] Secure server problem We foud that when it happened it was due to the cron job not being successful. It doesn't take much for IC to shut itself down for an error. just restart it. Whatwe also did was added a cron job that after something is set to run, it restarts IC automatically every couple of hours just to make sure it is up and running. ----- Original Message ----- From: Ryan <ryan@whoopersnetwork.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 16, 2001 9:36 PM Subject: Re: [ic] Secure server problem > i am getting > We're sorry, the interchange srver is unavailable... > etc. > > was wondering why? > have changed nothing, and i have no traffic...i am still in development > does anyone have any idea whats going ? > has anyone experienced this? > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: ryan at whoopersnetwork.com (Ryan ) Date: Sat, 17 Mar 2001 12:00:34 +0800 Subject: [ic] unavailable thats where i am dumb founded.... i restart the server and it starts fine... but i can't connect.... i dont understand i use phpMyAdmin to look at the database and seems fine... i am not sure why the server is unavailable...we only have 1200 products currently..... We are in the stages of inputing products and it is important to have this service up. I am reading through all the FAQ, Doc's but i can't find anything to help me out. It start, but its unavailable....and i have no idea......there is no traffic...so thats out of the question. any ideas of how i may trouble shoot this better? On Sat, 17 Mar 2001, you wrote: > We foud that when it happened it was due to the cron job not being > successful. It doesn't take much for IC to shut itself down for an error. > just restart it. Whatwe also did was added a cron job that after something > is set to run, it restarts IC automatically every couple of hours just to > make sure it is up and running. > > > ----- Original Message ----- > From: Ryan <ryan@whoopersnetwork.com> > To: <interchange-users@lists.akopia.com> > Sent: Friday, March 16, 2001 9:36 PM > Subject: Re: [ic] Secure server problem > > > > i am getting > > We're sorry, the interchange srver is unavailable... > > etc. > > > > was wondering why? > > have changed nothing, and i have no traffic...i am still in development > > does anyone have any idea whats going ? > > has anyone experienced this? > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: dan at mailturtle.com (Dan McFarland ) Date: Fri, 16 Mar 2001 22:11:22 -0600 Subject: [ic] unavailable What do you mean by can't connect? When the server restarts, does it open the database? ----- Original Message ----- From: Ryan <ryan@whoopersnetwork.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 16, 2001 10:00 PM Subject: Re: [ic] unavailable > > thats where i am dumb founded.... > > i restart the server and it starts fine... > but i can't connect.... > i dont understand > i use phpMyAdmin to look at the database > and seems fine... > > i am not sure why the server is unavailable...we only have 1200 products > currently..... > > We are in the stages of inputing products and it is important to have this > service up. I am reading through all the FAQ, Doc's but i can't find anything > to help me out. It start, but its unavailable....and i have no idea......there > is no traffic...so thats out of the question. > > any ideas of how i may trouble shoot this better? > > On Sat, 17 Mar 2001, you wrote: > > We foud that when it happened it was due to the cron job not being > > successful. It doesn't take much for IC to shut itself down for an error. > > just restart it. Whatwe also did was added a cron job that after something > > is set to run, it restarts IC automatically every couple of hours just to > > make sure it is up and running. > > > > > > ----- Original Message ----- > > From: Ryan <ryan@whoopersnetwork.com> > > To: <interchange-users@lists.akopia.com> > > Sent: Friday, March 16, 2001 9:36 PM > > Subject: Re: [ic] Secure server problem > > > > > > > i am getting > > > We're sorry, the interchange srver is unavailable... > > > etc. > > > > > > was wondering why? > > > have changed nothing, and i have no traffic...i am still in development > > > does anyone have any idea whats going ? > > > has anyone experienced this? > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Fri, 16 Mar 2001 20:20:51 -0800 Subject: [ic] unavailable > thats where i am dumb founded.... > > i restart the server and it starts fine... > but i can't connect.... > i dont understand > i use phpMyAdmin to look at the database > and seems fine... > > i am not sure why the server is unavailable...we only have 1200 products > currently..... > > We are in the stages of inputing products and it is important to have this > service up. I am reading through all the FAQ, Doc's but i can't find anything > to help me out. It start, but its unavailable....and i have no idea......there > is no traffic...so thats out of the question. > > any ideas of how i may trouble shoot this better? Ryan, Please search the archive at http://developer.akopia.com with a part of that error message as the criteria. For each message return check and see if you have the same sympton and apply the fix to get it working again. I'm sure your situation is not unique and can be answered from the archive. This would most likely be quicker then everyone posting again. Thanks. -Ron From: ryan at whoopersnetwork.com (Ryan ) Date: Sat, 17 Mar 2001 12:18:08 +0800 Subject: [ic] unavailable sorry for not being more specific. okay i start the server with this command: su -c "/usr/local/interchange/bin/interchange -r" interch RESPONSE: Killing Interchange server 26744 with TERM High traffic settings. Calling UI.... ..UI is loaded... Configuring catalog construct...Using MySQL, DSN-dbi:mysql:test_construct. done. Interchange server started in INET and UNIX mode(s) (proccess id 26869) i go to the URL and it gives me teh unavailable page....blah blah the thing is last night when i left the office it was fine....working great... i dont understand cause everything appears to start up fine. and i have no traffic on the site.????? i really appreciate your help On Sat, 17 Mar 2001, you wrote: > What do you mean by can't connect? When the server restarts, does it open > the database? > > > ----- Original Message ----- > From: Ryan <ryan@whoopersnetwork.com> > To: <interchange-users@lists.akopia.com> > Sent: Friday, March 16, 2001 10:00 PM > Subject: Re: [ic] unavailable > > > > > > thats where i am dumb founded.... > > > > i restart the server and it starts fine... > > but i can't connect.... > > i dont understand > > i use phpMyAdmin to look at the database > > and seems fine... > > > > i am not sure why the server is unavailable...we only have 1200 products > > currently..... > > > > We are in the stages of inputing products and it is important to have this > > service up. I am reading through all the FAQ, Doc's but i can't find > anything > > to help me out. It start, but its unavailable....and i have no > idea......there > > is no traffic...so thats out of the question. > > > > any ideas of how i may trouble shoot this better? > > > > On Sat, 17 Mar 2001, you wrote: > > > We foud that when it happened it was due to the cron job not being > > > successful. It doesn't take much for IC to shut itself down for an > error. > > > just restart it. Whatwe also did was added a cron job that after > something > > > is set to run, it restarts IC automatically every couple of hours just > to > > > make sure it is up and running. > > > > > > > > > ----- Original Message ----- > > > From: Ryan <ryan@whoopersnetwork.com> > > > To: <interchange-users@lists.akopia.com> > > > Sent: Friday, March 16, 2001 9:36 PM > > > Subject: Re: [ic] Secure server problem > > > > > > > > > > i am getting > > > > We're sorry, the interchange srver is unavailable... > > > > etc. > > > > > > > > was wondering why? > > > > have changed nothing, and i have no traffic...i am still in > development > > > > does anyone have any idea whats going ? > > > > has anyone experienced this? > > > > > > > > _______________________________________________ > > > > Interchange-users mailing list > > > > Interchange-users@lists.akopia.com > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: ryan at whoopersnetwork.com (Ryan ) Date: Sat, 17 Mar 2001 12:25:04 +0800 Subject: [ic] unavailable--ron i have searched the site , i searched the old mailing list records and i searched the faq, and they are not helping. Please do not assume i am not doing my homework. I rarely post here. I am just lost on how to trouble shoot this. There appears to be nothing wrong. thanks. On Sat, 17 Mar 2001, you wrote: > > thats where i am dumb founded.... > > > > i restart the server and it starts fine... > > but i can't connect.... > > i dont understand > > i use phpMyAdmin to look at the database > > and seems fine... > > > > i am not sure why the server is unavailable...we only have 1200 products > > currently..... > > > > We are in the stages of inputing products and it is important to have this > > service up. I am reading through all the FAQ, Doc's but i can't find > anything > > to help me out. It start, but its unavailable....and i have no > idea......there > > is no traffic...so thats out of the question. > > > > any ideas of how i may trouble shoot this better? > > > Ryan, > > Please search the archive at http://developer.akopia.com with a part of that > error message as the criteria. For each message return check and see if you > have the same sympton and apply the fix to get it working again. I'm sure > your situation is not unique and can be answered from the archive. This > would most likely be quicker then everyone posting again. Thanks. > > -Ron > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: dan at mailturtle.com (Dan McFarland ) Date: Fri, 16 Mar 2001 22:34:23 -0600 Subject: [ic] unavailable Make sure Apache is running.... Also try going to domain/store and see if you get the admin log-in page. If you do, then the problem may not be in IC... ----- Original Message ----- From: Ryan <ryan@whoopersnetwork.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 16, 2001 10:18 PM Subject: Re: [ic] unavailable > sorry for not being more specific. > > okay > i start the server > > with this command: > > su -c "/usr/local/interchange/bin/interchange -r" interch > > RESPONSE: > > Killing Interchange server 26744 with TERM > High traffic settings. > Calling UI.... > ..UI is loaded... > Configuring catalog construct...Using MySQL, DSN-dbi:mysql:test_construct. > done. > Interchange server started in INET and UNIX mode(s) (proccess id 26869) > > i go to the URL > > and it gives me teh unavailable page....blah blah > the thing is last night when i left the office it was fine....working great... > i dont understand cause everything appears to start up fine. > and i have no traffic on the site.????? > > i really appreciate your help > > > On Sat, 17 Mar 2001, you wrote: > > What do you mean by can't connect? When the server restarts, does it open > > the database? > > > > > > ----- Original Message ----- > > From: Ryan <ryan@whoopersnetwork.com> > > To: <interchange-users@lists.akopia.com> > > Sent: Friday, March 16, 2001 10:00 PM > > Subject: Re: [ic] unavailable > > > > > > > > > > thats where i am dumb founded.... > > > > > > i restart the server and it starts fine... > > > but i can't connect.... > > > i dont understand > > > i use phpMyAdmin to look at the database > > > and seems fine... > > > > > > i am not sure why the server is unavailable...we only have 1200 products > > > currently..... > > > > > > We are in the stages of inputing products and it is important to have this > > > service up. I am reading through all the FAQ, Doc's but i can't find > > anything > > > to help me out. It start, but its unavailable....and i have no > > idea......there > > > is no traffic...so thats out of the question. > > > > > > any ideas of how i may trouble shoot this better? > > > > > > On Sat, 17 Mar 2001, you wrote: > > > > We foud that when it happened it was due to the cron job not being > > > > successful. It doesn't take much for IC to shut itself down for an > > error. > > > > just restart it. Whatwe also did was added a cron job that after > > something > > > > is set to run, it restarts IC automatically every couple of hours just > > to > > > > make sure it is up and running. > > > > > > > > > > > > ----- Original Message ----- > > > > From: Ryan <ryan@whoopersnetwork.com> > > > > To: <interchange-users@lists.akopia.com> > > > > Sent: Friday, March 16, 2001 9:36 PM > > > > Subject: Re: [ic] Secure server problem > > > > > > > > > > > > > i am getting > > > > > We're sorry, the interchange srver is unavailable... > > > > > etc. > > > > > > > > > > was wondering why? > > > > > have changed nothing, and i have no traffic...i am still in > > development > > > > > does anyone have any idea whats going ? > > > > > has anyone experienced this? > > > > > > > > > > _______________________________________________ > > > > > Interchange-users mailing list > > > > > Interchange-users@lists.akopia.com > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > _______________________________________________ > > > > Interchange-users mailing list > > > > Interchange-users@lists.akopia.com > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Fri, 16 Mar 2001 20:46:21 -0800 Subject: [ic] unavailable > and it gives me teh unavailable page....blah blah > the thing is last night when i left the office it was fine....working great... > i dont understand cause everything appears to start up fine. > and i have no traffic on the site.????? > > i really appreciate your help > I was not assuming that you haven't done your homework. It's just that this is a generic error and can be caused by so many things. Generally someone runs into the same problem and it just takes time to go through each message and try the solution. Trust me I've spent many nights with the archives and it can be time consuming. On to your problem. Can you post the permissions on your socket file? This is a common problem. Thanks. -Ron From: ryan at whoopersnetwork.com (Ryan ) Date: Sat, 17 Mar 2001 12:48:56 +0800 Subject: [ic] unavailable yeah apache is up even looks through the config files... i have other virtual hosts on the server.....and they are running... the admin doesn't work either... gotta love computers...always so moody...thanks for the help i will keep looking On Sat, 17 Mar 2001, you wrote: > Make sure Apache is running.... Also try going to domain/store and see if > you get the admin log-in page. If you do, then the problem may not be in > IC... > > > ----- Original Message ----- > From: Ryan <ryan@whoopersnetwork.com> > To: <interchange-users@lists.akopia.com> > Sent: Friday, March 16, 2001 10:18 PM > Subject: Re: [ic] unavailable > > > > sorry for not being more specific. > > > > okay > > i start the server > > > > with this command: > > > > su -c "/usr/local/interchange/bin/interchange -r" interch > > > > RESPONSE: > > > > Killing Interchange server 26744 with TERM > > High traffic settings. > > Calling UI.... > > ..UI is loaded... > > Configuring catalog construct...Using MySQL, DSN-dbi:mysql:test_construct. > > done. > > Interchange server started in INET and UNIX mode(s) (proccess id 26869) > > > > i go to the URL > > > > and it gives me teh unavailable page....blah blah > > the thing is last night when i left the office it was fine....working > great... > > i dont understand cause everything appears to start up fine. > > and i have no traffic on the site.????? > > > > i really appreciate your help > > > > > > On Sat, 17 Mar 2001, you wrote: > > > What do you mean by can't connect? When the server restarts, does it > open > > > the database? > > > > > > > > > ----- Original Message ----- > > > From: Ryan <ryan@whoopersnetwork.com> > > > To: <interchange-users@lists.akopia.com> > > > Sent: Friday, March 16, 2001 10:00 PM > > > Subject: Re: [ic] unavailable > > > > > > > > > > > > > > thats where i am dumb founded.... > > > > > > > > i restart the server and it starts fine... > > > > but i can't connect.... > > > > i dont understand > > > > i use phpMyAdmin to look at the database > > > > and seems fine... > > > > > > > > i am not sure why the server is unavailable...we only have 1200 > products > > > > currently..... > > > > > > > > We are in the stages of inputing products and it is important to have > this > > > > service up. I am reading through all the FAQ, Doc's but i can't find > > > anything > > > > to help me out. It start, but its unavailable....and i have no > > > idea......there > > > > is no traffic...so thats out of the question. > > > > > > > > any ideas of how i may trouble shoot this better? > > > > > > > > On Sat, 17 Mar 2001, you wrote: > > > > > We foud that when it happened it was due to the cron job not being > > > > > successful. It doesn't take much for IC to shut itself down for an > > > error. > > > > > just restart it. Whatwe also did was added a cron job that after > > > something > > > > > is set to run, it restarts IC automatically every couple of hours > just > > > to > > > > > make sure it is up and running. > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: Ryan <ryan@whoopersnetwork.com> > > > > > To: <interchange-users@lists.akopia.com> > > > > > Sent: Friday, March 16, 2001 9:36 PM > > > > > Subject: Re: [ic] Secure server problem > > > > > > > > > > > > > > > > i am getting > > > > > > We're sorry, the interchange srver is unavailable... > > > > > > etc. > > > > > > > > > > > > was wondering why? > > > > > > have changed nothing, and i have no traffic...i am still in > > > development > > > > > > does anyone have any idea whats going ? > > > > > > has anyone experienced this? > > > > > > > > > > > > _______________________________________________ > > > > > > Interchange-users mailing list > > > > > > Interchange-users@lists.akopia.com > > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > _______________________________________________ > > > > > Interchange-users mailing list > > > > > Interchange-users@lists.akopia.com > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > _______________________________________________ > > > > Interchange-users mailing list > > > > Interchange-users@lists.akopia.com > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: ryan at whoopersnetwork.com (Ryan ) Date: Sat, 17 Mar 2001 12:59:34 +0800 Subject: [ic] unavailable the permissions on my sock file is srw------- interch interch the thing is all this was up and running as of 10 hours ago and now its down for no reason...thats why i am out of options to trouble shoot this.... thanks for you help Ron, i didn't mean to sound like an arse. On Sat, 17 Mar 2001, you wrote: > > and it gives me teh unavailable page....blah blah > > the thing is last night when i left the office it was fine....working > great... > > i dont understand cause everything appears to start up fine. > > and i have no traffic on the site.????? > > > > i really appreciate your help > > > > I was not assuming that you haven't done your homework. It's just that this > is a generic error and can be caused by so many things. Generally someone > runs into the same problem and it just takes time to go through each message > and try the solution. Trust me I've spent many nights with the archives and > it can be time consuming. > > On to your problem. Can you post the permissions on your socket file? This > is a common problem. Thanks. > > -Ron > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: db at cyclonehq.dnsalias.net (Dan B ) Date: Fri, 16 Mar 2001 21:08:43 -0800 Subject: [ic] unavailable At 12:48 PM 3/17/2001 +0800, Ryan wrote: >yeah apache is up >even looks through the config files... >i have other virtual hosts on the server.....and they are running... >the admin doesn't work either... >gotta love computers...always so moody...thanks for the help >i will keep looking What does your CATROOT/error.log and VENDROOT/error.log files say? Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Fri, 16 Mar 2001 21:20:13 -0800 Subject: [ic] unavailable > the permissions on my sock file is > > srw------- interch interch > > the thing is all this was up and running as of 10 hours ago > and now its down for no reason...thats why i am out of options to trouble > shoot this.... thanks for you help Ron, i didn't mean to sound like an arse. > Hey Ryan, No harm done bud. Your permissions look correct. Was this the first time that the server had been restarted when this started failing? Can you post the permissions for the cgi link program? -Ron From: ryan at whoopersnetwork.com (Ryan ) Date: Sat, 17 Mar 2001 13:20:44 +0800 Subject: [ic] unavailable - - - [16/March/2001:13:03:25 -0500] - - High traffic settings. - - - [16/March/2001:13:03:25 -0500] - - Calling UI.... - - - [16/March/2001:13:03:26 -0500] - - ...UI is loaded.... - - - [16/March/2001:13:03:26 -0500] - - Interchange V4.6.3 - - - [16/March/2001:13:03:26 -0500] - - Config 'construct' at server startup - - - [16/March/2001:13:03:26 -0500] - - Using MySQL, DSN=dbi:mysql:test_construct. - - - [16/March/2001:13:03:27 -0500] - - START server (740) (INET and UNIX) - - - [16/March/2001:13:03:28 -0500] - - Accepting connections from localhost|127\.0\.0\.1 - - - [16/March/2001:13:03:28 -0500] - - START server (763) (INET and UNIX) this is my error log.... if it helps. other log has no errors after feb 25 On Sat, 17 Mar 2001, you wrote: > At 12:48 PM 3/17/2001 +0800, Ryan wrote: > >yeah apache is up > >even looks through the config files... > >i have other virtual hosts on the server.....and they are running... > >the admin doesn't work either... > >gotta love computers...always so moody...thanks for the help > >i will keep looking > > What does your CATROOT/error.log and VENDROOT/error.log files say? > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: bob at nleaudio.com (Bob Puff at NLE ) Date: Sat, 17 Mar 2001 00:28:05 -0500 Subject: [ic] unavailable FWIW, I had problems keeping the program up when I tried using MYSQL.. so I went with the default database structure, and it's been working fine ever since. Bob From: ryan at whoopersnetwork.com (Ryan ) Date: Sat, 17 Mar 2001 13:28:23 +0800 Subject: [ic] unavailable they are -rwxr-xr-x 1 interch interch 7348 Feb 25 12:19 construct they seem to be fine also. and i have restarted the server numerious times before and it worked fine... i am really baffled. On Sat, 17 Mar 2001, you wrote: > > the permissions on my sock file is > > > > srw------- interch interch > > > > the thing is all this was up and running as of 10 hours ago > > and now its down for no reason...thats why i am out of options to trouble > > shoot this.... thanks for you help Ron, i didn't mean to sound like an > arse. > > > > Hey Ryan, > > No harm done bud. Your permissions look correct. Was this the first > time that the server had been restarted when this started failing? Can you > post the permissions for the cgi link program? > > -Ron > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: db at cyclonehq.dnsalias.net (Dan B ) Date: Fri, 16 Mar 2001 21:41:03 -0800 Subject: [ic] unavailable At 01:28 PM 3/17/2001 +0800, you wrote: >they are > >-rwxr-xr-x 1 interch interch 7348 Feb 25 12:19 construct > >they seem to be fine also. >and i have restarted the server numerious times before >and it worked fine... chmod u+s construct Maybe? Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Fri, 16 Mar 2001 23:16:14 -0800 Subject: [ic] unavailable That's probably the problem, try setting like so: -r-sr-xr-x 1 minivend minivend 7348 Dec 16 20:14 caseetc Good luck! -Ron ----- Original Message ----- From: "Ryan" <ryan@whoopersnetwork.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 16, 2001 9:28 PM Subject: Re: [ic] unavailable > they are > > -rwxr-xr-x 1 interch interch 7348 Feb 25 12:19 construct > > they seem to be fine also. > and i have restarted the server numerious times before > and it worked fine... > > i am really baffled. > > On Sat, 17 Mar 2001, you wrote: > > > the permissions on my sock file is > > > > > > srw------- interch interch > > > > > > the thing is all this was up and running as of 10 hours ago > > > and now its down for no reason...thats why i am out of options to trouble > > > shoot this.... thanks for you help Ron, i didn't mean to sound like an > > arse. > > > > > > > Hey Ryan, > > > > No harm done bud. Your permissions look correct. Was this the first > > time that the server had been restarted when this started failing? Can you > > post the permissions for the cgi link program? > > > > -Ron > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: soudant at home.nl (Guy Soudant ) Date: Sat, 17 Mar 2001 10:18:44 +0100 Subject: [ic] Desperately Need help with Secure server setup Hi All, I run the 4.6.3 interchange server, and it all works fine on the normal webserver. But when I try to chech out using a secure server, or call pages on the secure server (except for the main index page) I get a 404 Error. The secure server itself works fine, and I can browse all folders on the secure server (has been activated for test purposes). I can access the main index page through the secure server (https://mydomain.net). If I try to view a different page on my secure server (e.g. https://tvguidecentral.net/cgi- bin/construct/), then I also get a 404 error. In my opinion this is strange, since when I access http://www.mydomain.net/construct I see the same directory structure as when I call https://mydomain.net/construct. The IP addresses are exactly the same for the regular and secure server. Is there anyone who knows what I did wrong and how I can get this secure server to work properly with Interchange. I simply cannot figure out why I get this error. PS1! If you like you can view the setup of the admin client with the standard login details at http://tvguidecentral.net. PS2! I have this problem with both Netscape 6 as well as IE 5 Help highly appreciated. Thanx in advance Guy Soudant From: proudlyindian at yahoo.com (Amit Kulkarni ) Date: Sat, 17 Mar 2001 17:41:09 +0530 Subject: [ic] Can GlobalSub override item_price routine? NOT WORKING i tried the what u had mentioned in this post with 4.6.3 and with a extra table called pricelist instead of custpricing. Then made the required changes in select and database name in catalog.cfg Then used the [user-price] tag instead of [item-price] in flypage.html ....*it didnt work* it showed the origial prices from products table any clue whats happening? i hope this [user-price] tag works on every page thanks regards amit From: jonc at webmaint.com (Jonathan Clark ) Date: Sat, 17 Mar 2001 14:08:55 -0000 Subject: [ic] Can GlobalSub override item_price routine? NOT WORKING > Then used the [user-price] tag instead of [item-price] in flypage.html > ....*it didnt work* You should still be using [item-price] on the pages. The tag is used in catalog.cfg in order to alter the way prices are looked up for the [item-price] tag. You should have comething like: CommonAdjust [user-price] ;products:price in your catalog.cfg file. Jonathan. Webmaint From: mikeh at minivend.com (Mike Heins ) Date: Sat, 17 Mar 2001 11:59:23 -0500 Subject: [ic] Install Problem on FBSD box.. please help Quoting Mark Stosberg (mark@summersault.com): > Mike K wrote: > > > > Hello everyone.... > > > > I setup the user interchange and ran ./configure. It installed the required > > perl modules and then said to cd /usr/local/interchange then type > > bin/makecat > > > > However, there is no bin subdir of interchange. I did cat locale.error and > > the output is pasted below. Please help!! > > I'm surprised this hasn't been addressed yet. This is what worked for me > with Minivend on FreeBSD: > > As root: > perl Makefile.PL > make > make test > > as mvend: (or whatever the interchange user is called) > make install PREFIX=/usr/local > > ################################ > > I think that will put everything in /usr/local/interchange It really depends on how your Perl was installed. BSD often has non-standard Perl installs, with non-intuitive default settings of the INSTALLARCHLIB, INSTALLPRIVLIB, etc. We try, but we can't characterize the problem as the BSD perl installs seem to be all over the map. -- 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: ven at pragakhan.com (Victor Nolton ) Date: Sat, 17 Mar 2001 18:28:43 -0500 Subject: [ic] Install Problem on FBSD box.. please help I don't know why it does this. But I've installed interchange on 5 freebsd boxes and eventhough I specify /usr/local/interchange (as you have) it still installs the "bin" directory in /usr/interchange/bin/ so either move /usr/interchange/bin/ to /usr/local/interchange/bin or create a symlink. Ven >Hello everyone.... > >I setup the user interchange and ran ./configure. It installed the required >perl modules and then said to cd /usr/local/interchange then type >bin/makecat > >However, there is no bin subdir of interchange. I did cat locale.error and >the output is pasted below. Please help!! > >Thanks. -- http://www.vensnews.com Victor "Ven" Nolton __________________________ http://www.VensNews.com http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com All HTML Encoded email will be ignored. Learn Standards. From: steveandpatti at wubs.org (Steve & Patti Getzinger ) Date: Sat, 17 Mar 2001 19:15:18 -0500 Subject: [ic] Search not working Since upgrading to RH 7 search no longer returns anything. Interchange 4.6 Worked fine with 6.2 (RH) Kinda funny the cats I left running on minivend 3.14 are just fine. Ideas? Oh yes flat file not SQL TIA Steve From: jojo at blackpoint.de (jojo at blackpoint.de ) Date: Sun, 18 Mar 2001 02:19:53 +0100 (CET) Subject: [ic] Please wait while your request is processed On 16 Mar, Bill Randle wrote: > jojo@blackpoint.de wrote: >> >> On 15 Mar, Bill Randle wrote: >> [DEL] >> > Another possibility, perhaps (untested): >> >> I've tested your codes with >> >> [mvasp] >> <% >> HTML "This will take awhile, please be patient..."; >> $Document->send(); # flush buffer >> $Document->hot(1); # send stuff as soon as it's written >> >> # some perl task that takes awhile >> # if there are some points in the process you can update the >> # user status, so much the better. E.g.: >> # foreach (@some_array) { >> # HTML " ."; # show another period as a progress indicator >> # some code that processes each item >> # } >> $i=0; >> HTML "<BR>In process "; >> >> for ($i = 1; $i <= 30; $i++) >> { >> HTML " ."; >> $Document->send(); >> select(undef,undef,undef,1.000); >> } >> HTML "<br>All done, thank you for waiting."; >> %> >> [/mvasp] >> >> and I get the whole page after the mvasp is finish (30 seconds) and I >> can't see another period (HTML " .";) during the process. What did I do >> wrong? > > I don't know that you're doing anything wrong. After the reply from Mark, I > tested it too and got the same results. I haven't had the time to look > into it any deeper to see why it doesn't work as expected. I'm in a muddle. The codes is right, but I get not the same results? What I want is, IC has to send the line or the content of the line HTML " any nice message"; as soon as possible to the agent. But it seems to me, IC makes the whole pages or codes first and send the page to the agent only, if IC is finish with the whole work of building that page. Hmmm....what I want is the same behavior like the site http://www.metager.de . You can use any keyword, what you wisch. You get a part ot the top page immediatly and then, you get every 10 seconds a line like .... 3ί Sekunde ... (30 seconds) 20 Sekunde ... (20 seconds) 10 Sekunde ... (10 seconds) etc. ...and suddenly.... I get a lot of transfered datas by my agent (NS Navigator) and get a list of the results. Another case. You can use the [search-region]. But, you get a page only, if the building of the results page process is finish and not during that process. But if you use [search-region send=1], you get the page immediatly page during the page building by Minivend or Interchange. I want to write some inline perl codes and send some message from such inline perl codes to the agent immadiatliy or ASAP and not at the the end of the building HTML page by IC or the inline perl codes. Am I missing a special codes as a replacement of the option "send=1"? Was is my wrong? Thanks! Joachim -- -------------<FreeBsd>-------------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: jojo at blackpoint.de (jojo at blackpoint.de ) Date: Sun, 18 Mar 2001 02:40:51 +0100 (CET) Subject: [ic] Install Problem on FBSD box.. please help On 17 Mar, Mike Heins wrote: [DEL] > It really depends on how your Perl was installed. BSD often has > non-standard Perl installs, with non-intuitive default settings > of the INSTALLARCHLIB, INSTALLPRIVLIB, etc. We try, but we can't > characterize the problem as the BSD perl installs seem to be all > over the map. Dear Mike, can you tell me more? Ic Version 4.6.4 works well on Perl Version # perl -v This is perl, version 5.005_03 built for i386-freebsd (but not with the current Version 4.7.x) I work with IC, since MV Verson 3.10 was coming out. Thanks for your time. Joachim BTW: I am missing some usefull infomation like "How did Mike done to install IC on FreeSD"? -- -------------<FreeBsd>-------------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: db at cyclonehq.dnsalias.net (Dan B ) Date: Sat, 17 Mar 2001 17:43:12 -0800 Subject: [ic] Search not working At 07:15 PM 3/17/2001 -0500, you wrote: >Since upgrading to RH 7 search no longer returns anything. Interchange >4.6 Worked fine with 6.2 (RH) Kinda funny the cats I left running on >minivend 3.14 are just fine. Ideas? Oh yes flat file not SQL Do you have all the perl modules installed? (Are you sure?) I don't know if SQL-Statement is used with a flat file, but it might be worth checking out. Any clues in the error.log files? Also, what do you mean by "search"? Do mean all searches, or just <FORM> searches, or just in-page searches? Do you have a sample search code snippet that doesn't work? -Dan Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: doug at lathi.net (Doug Alcorn ) Date: 17 Mar 2001 22:29:35 -0500 Subject: [ic] jEdit xml syntax highlight preview Sorry to follow-up so far down the thread, but I purged the original message. "Craig Beasland" <craig@hotmix.com.au> writes: > > At 07:39 PM 3/6/2001 -0500, you wrote: > > > Hi, > > > > > > I put together a preliminary look at my syntax highlight file > > > for IC and jEdit. You can download the jEdit XML file and see a > > > screen shot here: http://www.sitemajic.net/jedit/ > > > > > > Overall, I'm impressed with jEdit's syntax highlighting engine. > > > Embedded perl highlights work pretty good and are completely > > > separate from IC tags []. One thing I haven't solved yet is user > > > defined PREFIX words; maybe someone else will have a suggestion. > > > > > > This is a WIP for me and I mostly use it for personal stuff- but > > > if their is sufficient demand it could be refined even more and > > > included in the jEdit release. Let me know what you think. > > > > > > > > > -Chris Jesseman I'm a fairly long-time xemacs user. Switching editors is painfull. However, I'm certainly willing to give jEdit a try if it means a good mode for editing IC files. The alternative is to write an interchange-mode for xemacs. Not something I'm looking forward to. Thanks for your effort in getting it to work. My first impression of jEdit is not bad. My first question is about indentation. Have you done anything with that yet? I can't seem to get it to work. I tried to select the whole buffer and Edit->Lines->Indent Selected Lines. That basically left-justified the whole file. I'm guessing this is a simple "indent this line to be the same as the one before it." I guess I was hoping for (x)emac's smart indenting. [time passes] OK, I've now actually read the interchange.xml file and the documenation from jEdit on writing modes. It looks like you've made a really good start. I will hack on it a little bit and send you a patch. Actually, i'm going to look closer at how to create new modes for xemacs and see how it compares with what jEdit has. It looks like it should be too hard to flush out what you have. -- (__) Doug Alcorn <doug@lathi.net> http://www.lathi.net chat:lathinet@yahoo|aol oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: mikeslists at msquaredweb.net (Mike K ) Date: Sat, 17 Mar 2001 19:31:05 -0800 Subject: [ic] Install Problem on FBSD box.. please help This is perl, version 5.005_03 built for i386-freebsd It installed /bin to /usr/interchange/bin and everything else to /usr/local/interchange/bin Thanks everyone. Can interchange handle many merchants on 1 domain? Like an online mall with many merchants? -Mike ----- Original Message ----- From: <jojo@blackpoint.de> To: <interchange-users@lists.akopia.com> Sent: Saturday, March 17, 2001 5:40 PM Subject: Re: [ic] Install Problem on FBSD box.. please help > On 17 Mar, Mike Heins wrote: > [DEL] > > It really depends on how your Perl was installed. BSD often has > > non-standard Perl installs, with non-intuitive default settings > > of the INSTALLARCHLIB, INSTALLPRIVLIB, etc. We try, but we can't > > characterize the problem as the BSD perl installs seem to be all > > over the map. > > Dear Mike, > > can you tell me more? > Ic Version 4.6.4 works well on Perl Version > > # perl -v > > This is perl, version 5.005_03 built for i386-freebsd > > (but not with the current Version 4.7.x) > > I work with IC, since MV Verson 3.10 was coming out. > > Thanks for your time. > > Joachim > > BTW: > I am missing some usefull infomation like "How did Mike done to install > IC on FreeSD"? > > > -- > -------------<FreeBsd>-------------------------------------------------- > Hans-Joachim Leidinger black point arts Internet Solutions GmbH > email: jojo@blackpoint.de FAX : +49 0209-398265 > http://www.bpaserver.net > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: admin at sitemajic.net (Chris Jesseman ) Date: Sat, 17 Mar 2001 23:35:38 -0500 (EST) Subject: [ic] jEdit xml syntax highlight preview Doug, jEdit will do somewhat smart indentation, but I left that out because of the uniqueness of IC tags. The Java & PHP modes indent well. Also there are different styles of indentation like the GNU one, and I really don't know that much about any of them (yet). In jEdit, select a block of text and Alt+Arrow Key and it will manually indent. Please let me know how the xemacs thing goes... I learned a lot just from looking at other modes. -Chris > > I'm a fairly long-time xemacs user. Switching editors is painfull. > However, I'm certainly willing to give jEdit a try if it means a good > mode for editing IC files. The alternative is to write an > interchange-mode for xemacs. Not something I'm looking forward to. > Thanks for your effort in getting it to work. My first impression of > jEdit is not bad. > > My first question is about indentation. Have you done anything with > that yet? I can't seem to get it to work. I tried to select the > whole buffer and Edit->Lines->Indent Selected Lines. That basically > left-justified the whole file. I'm guessing this is a simple "indent > this line to be the same as the one before it." I guess I was hoping > for (x)emac's smart indenting. > > [time passes] OK, I've now actually read the interchange.xml file and > the documenation from jEdit on writing modes. It looks like you've > made a really good start. I will hack on it a little bit and send you > a patch. Actually, i'm going to look closer at how to create new > modes for xemacs and see how it compares with what jEdit has. It > looks like it should be too hard to flush out what you have. > -- > (__) Doug Alcorn <doug@lathi.net> http://www.lathi.net > chat:lathinet@yahoo|aol > oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 > |_/ If you're a capitalist and you have the best goods and they're > free, you don't have to proselytize, you just have to wait. > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: tom_bille at email.com (Tom Bille ) Date: Sun, 18 Mar 2001 09:34:44 +0100 Subject: [ic] Interchange on cobalt RAQ Hi ! The solution i came up after identifiing the cgi-wrapper as the problem is a ScriptAlias /cgi-bin/ /home/sites/site1/cgi-bin/ <Directory /home/sites/site1/cgi-bin> Options All ExecCgi </Directory> in httpd.conf and install all the link cgi there. I hope this woks for you to. regards, tom -------------------------------------------------- | Tom Bille | Eschweiler / Germany | mailto:tom_bille@email.com From: steveandpatti at wubs.org (Steve & Patti Getzinger ) Date: Sun, 18 Mar 2001 08:41:25 -0500 Subject: [ic] Search not working All searches. The process is operational as the results page returns the standard "No entries found for ..." so I know it is passing the search specs I have coordinate set to true (1) and wonder if the stack of fields could be the cause. Was the order reversed in the new IC? The version for RH7. Before I go hacking my code to death I thought I would check and see if anyone has hit this bump before. It acts as though it is not reading the file or not reading it properly. Here is an example link: [page scan se=01/se=1/sf=co/sf=chapter/co=yes/sp=bibleresults/ml=25]Genesis[/page] Here is a form: <FORM ACTION="[area search]"> <INPUT TYPE=hidden NAME=mv_matchlimit VALUE=25> <INPUT TYPE=hidden NAME=mv_search_page VALUE=biblesearchresults> <INPUT TYPE=hidden NAME=mv_coordinate VALUE=1> <INPUT TYPE=hidden NAME=mv_search_field VALUE=category> <INPUT TYPE=hidden NAME=mv_search_field VALUE=":book,chapter,verse,description,testament"> <INPUT TYPE=hidden NAME=mv_searchspec VALUE=Bible> <INPUT MAXLENGTH=30 ALIGN=LEFT SIZE=10> <INPUT TYPE="image" SRC="template/biblenow.gif" WIDTH=26 ALT="now" HEIGHT=8 ALIGN="bottom" BORDER=0> </FORM> As I stated before all searches worked fine with same IC version and Red Hat 6.2. Uninstalled the interchange rpm, upgraded to 7 installed the interchange rh7 rpm. All perl modules were in place prior to the upgrade but I will check to verify Steve Dan B wrote: > At 07:15 PM 3/17/2001 -0500, you wrote: > >Since upgrading to RH 7 search no longer returns anything. Interchange > >4.6 Worked fine with 6.2 (RH) Kinda funny the cats I left running on > >minivend 3.14 are just fine. Ideas? Oh yes flat file not SQL > > Do you have all the perl modules installed? (Are you sure?) I don't know > if SQL-Statement is used with a flat file, but it might be worth checking out. > > Any clues in the error.log files? > > Also, what do you mean by "search"? Do mean all searches, or just <FORM> > searches, or just in-page searches? Do you have a sample search code > snippet that doesn't work? > > -Dan > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: steveandpatti at wubs.org (Steve & Patti Getzinger ) Date: Sun, 18 Mar 2001 08:56:43 -0500 Subject: [ic] Search not working Found the problem. Seems as though products is no longer a default searched file. Once I added searchfile=products all went fine. Steve Steve & Patti Getzinger wrote: > All searches....but I will check to verify > > Steve > > Dan B wrote: > > > At 07:15 PM 3/17/2001 -0500, you wrote: > > >Since upgrading... not SQL > > > > Do you have...doesn't work? > > > > -Dan > > From: malcolmw at upshot.com (Webb, Malcolm ) Date: Sun, 18 Mar 2001 14:17:18 -0800 Subject: [ic] HTMLsuffix not working... Hi- Does anyone know if it is possible to enable IC to parse .jsp pages? I tried adding HTMLsuffix .jsp to my catalog.cfg and restarting IC without success. Any info would be appreciated. =========================================== Malcolm Webb =========================================== From: rcc at dresults.com (Ron C. Colcernian ) Date: Sun, 18 Mar 2001 22:28:14 -0500 Subject: [ic] How to User perl -d on interchange How do you make this work: "perl -d interchange"? In learning the internals of interchange I'd like to single step, set break points, and query variables. I've tried several combinations modifing Server.pm to stop forking, but have been frustrated and have received several differing errors and problems. I'm tired spend 10 hours on this, I really need help from the pro's. I realize this is a testing and development strategy. What tools do the developers use? Thank you Ron Colcernian From: cfm at maine.com (cfm at maine.com ) Date: Sun, 18 Mar 2001 22:34:09 -0500 Subject: [ic] How to User perl -d on interchange On Sun, Mar 18, 2001 at 10:28:14PM -0500, Ron C. Colcernian wrote: > > How do you make this work: "perl -d interchange"? > > In learning the internals of interchange I'd > like to single step, set break points, and query variables. > > I've tried several combinations modifing Server.pm > to stop forking, but have been frustrated and have received > several differing errors and problems. I'm tired spend 10 hours > on this, I really need help from the pro's. > > I realize this is a testing and development strategy. Don't start at the top, start with Interpolate.pm and work out. > > What tools do the developers use? > > Thank you > Ron Colcernian > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: vladimir.alonso at verizon.net (Vladimir Alonso ) Date: Sun, 18 Mar 2001 23:50:33 -0500 Subject: [ic] interchange-4.6.3 in Red Hat 7 from RPM package This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C0B006.38C96930 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi list, Some body can help me to fix this errors and mistakes, installation the interchange-4.6.3 in Red Hat 7 from RPM package. History of the problem. 1- I updated Red Hat 6.1 to 7.0. Fine. 2- I made a mistake, I installed the interchange-4.6.3 supposedly to Red Hat 6 in Red Hat 7. an obtained this errors. PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/i3 86-linux -I/usr/lib/perl5/5.6.0 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 later, 3- I installed the RPM packet download to Red Hat 7 . and obtained this errors. PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/i3 86-linux -I/usr/lib/perl5/5.6.0 test.pl server/unixmode....... Couldn't change to /e-commerce/akopia/RedHat: No such file or directory test: error in configuration. Skipping. ok 1 server/startup........ok 2 link/unixmode.........not ok 3 # When the above test fails, it may be due to your ISP or some other # mechanism blocking port 8786. server/inetmode....... Couldn't change to /e-commerce/akopia/RedHat: No such file or directory test: error in configuration. Skipping. ok 4 link/inetmode.........not ok 5 server/control........ok 6 6 tests run -- 2/6 failed. make: *** [test_dynamic] Error 1 -------------------------------------------------------------------------- end of errors ----------------- How to fix this errors now?. Thank you in advanced, V. Alonso ------=_NextPart_000_0000_01C0B006.38C96930 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IiEEAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAQABAAEGgAMADgAAANEHAwASABcAMgAAAAAANgEB A5AGACwJAAAjAAAACwACAAEAAAALACMAAAAAAAMAJgABAAAACwApAAEAAAACATEAAQAAADQBAABQ Q0RGRUIwOQABAAIAnwAAAAAAAAA4obsQBeUQGqG7CAArKlbCAABQU1RQUlguRExMAAAAAAAAAABO SVRB+b+4AQCqADfZbgAAAEM6XERvY3VtZW50cyBhbmQgU2V0dGluZ3NcQWRtaW5pc3RyYXRvclxM b2NhbCBTZXR0aW5nc1xBcHBsaWNhdGlvbiBEYXRhXE1pY3Jvc29mdFxPdXRsb29rXG91dGxvb2su cHN0ABgAAAAAAAAAYvC93ji76ki8MkMgpAsou8KBAAAAAAAAGAAAAAAAAABi8L3eOLvqSLwyQyCk Cyi7woAAABAAAAB8rM3nfh3HQ7fMe+4T5/NBMAAAAGludGVyY2hhbmdlLTQuNi4zIGluIFJlZCBI YXQgNyBmcm9tIFJQTSBwYWNrYWdlAAMANgAAAAAAHgBwAAEAAAAwAAAAaW50ZXJjaGFuZ2UtNC42 LjMgaW4gUmVkIEhhdCA3IGZyb20gUlBNIHBhY2thZ2UAAgFxAAEAAAAWAAAAAcCwMCD6wJnKRPUB Rx+HPHiRvg/SGAAAAgEdDAEAAAAhAAAAU01UUDpWTEFESU1JUi5BTE9OU09AVkVSSVpPTi5ORVQA AAAACwABDgAAAABAAAYOAMyhDTCwwAECAQoOAQAAABgAAAAAAAAAYvC93ji76ki8MkMgpAsou8KA AAALAB8OAQAAAAIBCRABAAAAygMAAMYDAAD1BwAATFpGdWzBTl4DAAoAcmNwZzEyNRYyAPgLYG4O EDAzM08B9wKkA+MCAGNoCsBzsGV0MCAHEwKAfQqBknYIkHdrC4BkNAxgDmMAUAsDC7UgSGkgsmwE AHQsCqIKgFMDcIRlIAbgZHkgYwORIGhlbHAgFNF0b1AgZml4FgBoBAAg1wSQA2ARECAAcGQV0BQR ZGFrB5AsIAuAF6FseQtgdGkCIBZxFOALgHQHBJAQ4Q8gZS00LjZ8LjMYEQfwCYATwBiQII43FjAD YQfwUE0gCrDoY2thGcAuFFQUVBPQpxQgBbAVMG9mGONwA2AJAmBlbRwrMS0gSfAgdXBkGJAakRqG GhDCMRYCNy4wLgrjCoD2RguAHBwyHzIAwAEAFzB/F3YYAB9QGCUakRj/GgNzyR9wcG8RIGRsFTAW Ef8f9xpLHCUDkR4AAZAhoSSSDxanHCkLMRRyUEVSTARfRCuATk9OTEEIWlk9IJAvdXNyZC9iC4Av cASQAyAt4kkCYGliLwrAEOAtRh8tgS1BLHMtgi0CNS81IRoBMC9pMxw6ODbyLRQAbnUWYC7PL9MW ADkHkHQuC1AUVBEgcnZXBJAscAMAeARiLjTUb/xrIBLjM8cXoQAgH3A01e81Mg5QFGMxQWs0TjUj MEX7M+UhoXQ0nBKgN5g6XTTQ7G5vBUA1QTUziwWgAjD1A2BsNsk2FFQncDMSBCBOcjRQLUAfMDEv J3BmHwtwJHEqOiLhF9A6ICopQuAgWzMSXxUgbmHhF4BjXSBFFuI1ZjeF7R+hchgAFFQzHzIkHBt2 wREwIGRvd24JACMA/ya6GwAoVxdgKP8qDEIGK1//LG8tfy6PL58xDzIfMy80P8MUVAhRbGRuJwVA GYRtFgIvGdAFoG0HgBlwZdFO0GtvcAcwLxqBGsH9QsBOFiAmEE8BFkAeIB1g6QXAZGkJcGMdIhw6 U9LfQsAW0xpCPpEWQGcIcBiT3SEQUxJgJjALgGccJTVPHzZfN288fzlIFFQjIFf3FZAY1AGgb1TQ U8NBQxfy1wVAAMAVMGIU4GQKUBYCpnkIYR9AU1BaAnMUwvs9UBWQcmNGB4AZggQAG1A9AmBvG9Bd wRugCREgOP43UdAcKznvVb9Wz1ffWO//Wf9bD1wfXS9eNDt/Ya89n/c+rz+/QMMyQS5Cj0OfS37/ QOB+z3/fgO+B/4JCFsBJ0v8dgBbVgk8clUgAFg8XEXaw9Hc/HCtUGZFecGaBGkJtIwB2AHBucGQU RRRUVu0hEEEJAACAb32eCoAR4QIAjEAAAAsAAYAIIAYAAAAAAMAAAAAAAABGAAAAAAOFAAAAAAAA AwADgAggBgAAAAAAwAAAAAAAAEYAAAAAEIUAAAAAAAADAAeACCAGAAAAAADAAAAAAAAARgAAAABS hQAA+W8BAB4ACYAIIAYAAAAAAMAAAAAAAABGAAAAAFSFAAABAAAABAAAADkuMAALAA2ACCAGAAAA AADAAAAAAAAARgAAAACChQAAAQAAAAsAOoAIIAYAAAAAAMAAAAAAAABGAAAAAA6FAAAAAAAAAwA8 gAggBgAAAAAAwAAAAAAAAEYAAAAAEYUAAAAAAAADAD2ACCAGAAAAAADAAAAAAAAARgAAAAAYhQAA AAAAAAsAUoAIIAYAAAAAAMAAAAAAAABGAAAAAAaFAAAAAAAAAwBTgAggBgAAAAAAwAAAAAAAAEYA AAAAAYUAAAAAAAACAfgPAQAAABAAAABi8L3eOLvqSLwyQyCkCyi7AgH6DwEAAAAQAAAAYvC93ji7 6ki8MkMgpAsouwIB+w8BAAAAnwAAAAAAAAA4obsQBeUQGqG7CAArKlbCAABQU1RQUlguRExMAAAA AAAAAABOSVRB+b+4AQCqADfZbgAAAEM6XERvY3VtZW50cyBhbmQgU2V0dGluZ3NcQWRtaW5pc3Ry YXRvclxMb2NhbCBTZXR0aW5nc1xBcHBsaWNhdGlvbiBEYXRhXE1pY3Jvc29mdFxPdXRsb29rXG91 dGxvb2sucHN0AAADAP4PBQAAAAMADTT9NwAAAgF/AAEAAAA7AAAAPE9LRUlMTURDQ0JOQUJKTkZC QUFBRUVQT0NBQUEudmxhZGltaXIuYWxvbnNvQHZlcml6b24ubmV0PgAAAwAGECif+B4DAAcQ2wQA AAMAEBAAAAAAAwAREAAAAAAeAAgQAQAAAGUAAABISUxJU1QsU09NRUJPRFlDQU5IRUxQTUVUT0ZJ WFRISVNFUlJPUlNBTkRNSVNUQUtFUyxJTlNUQUxMQVRJT05USEVJTlRFUkNIQU5HRS00NjNJTlJF REhBVDdGUk9NUlBNUEFDAAAAAIxk ------=_NextPart_000_0000_01C0B006.38C96930-- From: support at integricity.com (Integricity Support ) Date: Mon, 19 Mar 2001 13:33:08 +0800 Subject: [ic] Form to E-mail Hello interchange-users, Has anyone ever designed a form to e-mail for "Contact Us", "enquire" purposes? If so, I'd appreciate if you could send me a sample form. It'll save having to learn from scratch. Thanks. -- Best regards, Integricity mailto:support@integricity.com From: ryan at whoopersnetwork.com (Ryan ) Date: Mon, 19 Mar 2001 13:51:47 +0800 Subject: [ic] unavailable yeah the SUID bit was flipped...i am an idoit..... no idea why it was though, cause i never moved the file..it makes me feel better to think that someone hosting my site did it....haha.... On Sat, 17 Mar 2001, you wrote: > That's probably the problem, try setting like so: > > -r-sr-xr-x 1 minivend minivend 7348 Dec 16 20:14 caseetc > > Good luck! > -Ron > > ----- Original Message ----- > From: "Ryan" <ryan@whoopersnetwork.com> > To: <interchange-users@lists.akopia.com> > Sent: Friday, March 16, 2001 9:28 PM > Subject: Re: [ic] unavailable > > > > they are > > > > -rwxr-xr-x 1 interch interch 7348 Feb 25 12:19 construct > > > > they seem to be fine also. > > and i have restarted the server numerious times before > > and it worked fine... > > > > i am really baffled. > > > > On Sat, 17 Mar 2001, you wrote: > > > > the permissions on my sock file is > > > > > > > > srw------- interch interch > > > > > > > > the thing is all this was up and running as of 10 hours ago > > > > and now its down for no reason...thats why i am out of options to > trouble > > > > shoot this.... thanks for you help Ron, i didn't mean to sound like an > > > arse. > > > > > > > > > > Hey Ryan, > > > > > > No harm done bud. Your permissions look correct. Was this the > first > > > time that the server had been restarted when this started failing? Can > you > > > post the permissions for the cgi link program? > > > > > > -Ron > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: db at cyclonehq.dnsalias.net (Dan B ) Date: Sun, 18 Mar 2001 22:14:08 -0800 Subject: [ic] interchange-4.6.3 in Red Hat 7 from RPM package At 11:50 PM 3/18/2001 -0500, you wrote: >Hi list, >Some body can help me to fix this errors and mistakes, installation the >interchange-4.6.3 in Red Hat 7 from RPM package. It is so easy to install the tar version that I would recommend you try that parallel to debugging this. Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: webmaster at infothai.com (Webmaster of Infothai ) Date: Mon, 19 Mar 2001 13:10:44 +0700 Subject: [ic] Form to E-mail Check out "Matt's Script Archive" and look for FormMail.pl: http://worldwidemart.com/scripts/ I have used this script for the exact purpose you mention. It is easy to install and set up. Here is a URL for a site that already has such an enquiry form: http://www.boi.go.th/english/admin/usersurvey.html Mike On Mon, 19 Mar 2001 13:33:08 +0800, Integricity Support wrote: >Hello interchange-users, > >Has anyone ever designed a form to e-mail for "Contact Us", "enquire" >purposes? > >If so, I'd appreciate if you could send me a sample form. It'll save >having to learn from scratch. > >Thanks. > >-- >Best regards, > Integricity mailto:support@integricity.com > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users > webmaster@infothai.com http://www.infothai.com From: support at integricity.com (Integricity Support ) Date: Mon, 19 Mar 2001 14:27:15 +0800 Subject: Re[2]: [ic] Form to E-mail Hi Mike, Thanks for the reply, but I'd like to have a sample script that integrates with Interchange for easy replication, so it can interact with variables that are preset thru the backend. I know there is an [email] tag but not too sure. I'd appreciate a sample page, if possible Monday, March 19, 2001, 2:10:44 PM, you wrote: WoI> Check out "Matt's Script Archive" and look for FormMail.pl: WoI> http://worldwidemart.com/scripts/ WoI> I have used this script for the exact purpose you mention. It is WoI> easy to install and set up. Here is a URL for a site that already WoI> has such an enquiry form: WoI> http://www.boi.go.th/english/admin/usersurvey.html WoI> Mike WoI> On Mon, 19 Mar 2001 13:33:08 +0800, Integricity Support wrote: >>Hello interchange-users, >> >>Has anyone ever designed a form to e-mail for "Contact Us", "enquire" >>purposes? >> >>If so, I'd appreciate if you could send me a sample form. It'll save >>having to learn from scratch. >> >>Thanks. >> >>-- >>Best regards, >> Integricity mailto:support@integricity.com >> >> >> >>_______________________________________________ >>Interchange-users mailing list >>Interchange-users@lists.akopia.com >>http://lists.akopia.com/mailman/listinfo/interchange-users >> WoI> webmaster@infothai.com WoI> http://www.infothai.com WoI> _______________________________________________ WoI> Interchange-users mailing list WoI> Interchange-users@lists.akopia.com WoI> http://lists.akopia.com/mailman/listinfo/interchange-users -- Best regards, Integricity mailto:support@integricity.com From: proudlyindian at yahoo.com (Amit Kulkarni ) Date: Mon, 19 Mar 2001 13:08:31 +0530 Subject: [ic] Can GlobalSub override item_price routine? NOT WORKING Sorry john Could u be more vivid with ur reply coz i really didnt get ur reply i have used [user-price] tag in common adjust and also the code in catalog.cfg and i used [user-price] tag in flypage.html ... now ur reply "you should be still be using..." confused me even more .... i have used [user-prcie] tag instead of [item-price] in catalog.cfg ...is it wrong or right. i have also commented the following line #UserDB default scratch dealer > Then used the [user-price] tag instead of [item-price] in flypage.html > ....*it didnt work* You should still be using [item-price] on the pages. The tag is used in catalog.cfg in order to alter the way prices are looked up for the [item-price] tag. You should have comething like: CommonAdjust [user-price] ;products:price in your catalog.cfg file. Jonathan. Webmaint From: Murray at scotweb.ltd.uk (Murray Gibbins ) Date: Mon, 19 Mar 2001 09:04:24 +0000 Subject: [ic] How many stores can I run? "Marcelo F. De Paula" wrote: > > Hello list, > > I would like to know how many stores can I run with a Pentium celeron 633mhz > with 64 ram? > > This is the confuration that I have from a dedicated server. Interchange has an inbuilt limitation, of which I have complained and patched for those who are interested. The limitation is in the common adjust code and means that you can have at max 20 shops in interchange each using Common Adjust separatly while each has access to each others products, if those products are kept in separate db files. Yours Murray -- ____ \__/ Murray Gibbins murray@scotweb.ltd.uk / \ Programmer _ \__/ _ ================================================ \\ || // Scotweb Limited, info@scotweb.ltd.uk \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 From: info at 4co.de (Company InterNet Services ) Date: Mon, 19 Mar 2001 11:50:18 +0100 Subject: [ic] Getting DB categories on the flypage I edited the flypage for by adding: [item-catnamehere] so it will show more product information. but this is my result on the www: desc [item-sku] $0.00 [item-sku] $0.00 desc [item-datasource] [item-isbn] [item-songproductformat] [item-title] [item-editionnum] The "desc" is correct as is the price "0.00" however none of the other information came up, I confired that the headers are in the database. From: sheich at mosinfo.ru (Sergey Sheykin ) Date: Mon, 19 Mar 2001 15:14:46 +0300 Subject: [ic] Basket content Hi, when I try use this code [perl global=1] use Vend::Session; @$Vend::Items = (); put_session(); get_session(); init_session(); [/perl] interchange said : Safe: require trapped by operation mask at (eval 311) line 2. (in error.log) > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Bill Randle > Sent: Friday, March 16, 2001 12:33 AM > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Basket content > > > "Barry Treahy, Jr." wrote: > > > > You could use javascript to auto-submit a form based on a > timer, I've had to do > > this before but it gets problematic with IE and NS handling JS and forms > > differently in the DOM. > > > > Barry > > > > Mark Johnson wrote: > > > > > Sergey Sheykin wrote: > > > > > > > > Mark, > > > > > > > > can I make this without <Form ...>, > > > > without sending parameters through the form > > > > and clickon submit button? > > > > > > > > > > You have to somehow pass the information to IC to make the > action occur. > > > There's simply no way around it. That is, the user has to take *some* > > > action--whatever it is--and based on that action, you have to > set up the > > > proper directives. So, when you say, "Can I make this happen without a > > > form or sending parameters or clicking on the submit button," I'd have > > > to say no. > > > > > > But, perhaps I don't understand what you're asking, so maybe describe > > > what you want to do, under what situation, and what you want > to have the > > > user do to trigger that action. Then, I can tell you what would work. > > > > > > > > -----Original Message----- > > > > > From: interchange-users-admin@lists.akopia.com > > > > > [mailto:interchange-users-admin@lists.akopia.com]On > Behalf Of Mark Johnson > > > > > Sent: Wednesday, March 14, 2001 5:46 PM > > > > > To: interchange-users@lists.akopia.com > > > > > Subject: Re: [ic] Basket content > > > > > > > > > > > > > > > Sergey Sheykin wrote: > > > > > > > > > > > > How can I manually erease shopping cart content? > > > > > > > > > > mv_action=cancel > > > > > > > > > > > -- > > > Mark Johnson > > > Senior Developer - Professional Services > > > Red Hat, Inc. > > > E-Business Solutions > > > markj@redhat.com > > > 703-456-2912 > > > > > > Barry Treahy, Jr * Midwest Microwave * Vice President & CIO > > > > E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028 > > I may be missing something, but why not: > [perl global=1] > use Vend::Session; > @$Vend::Items = (); > put_session(); > get_session(); > init_session(); > [/perl] > > This is what "mv_cancel" does. > > -Bill > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: rcc at dresults.com (Ron C. Colcernian ) Date: Mon, 19 Mar 2001 08:03:53 -0500 Subject: [ic] Re: How to User perl -d on interchange >On Sun, Mar 18, 2001 at 10:28:14PM -0500, Ron C. Colcernian wrote: >> >> How do you make this work: "perl -d interchange"? > >> In learning the internals of interchange I'd >> like to single step, set break points, and query variables. >> >> I've tried several combinations modifing Server.pm >> to stop forking, but have been frustrated and have received >> several differing errors and problems. I'm tired spend 10 hours >> on this, I really need help from the pro's. >> >> I realize this is a testing and development strategy. > >Don't start at the top, start with Interpolate.pm and work out. How would you suggest doing this. Is there a way in perl to grab a job that is running in the background like gdb's attach [pid] command. Are you suggesting typing perl -d Interpolate.pm? It's not yet clear to me, if you could a couple more clues. Ron. > > >> >> What tools do the developers use? >> >> Thank you >> Ron Colcernian >> >> _______________________________________________ >> Interchange-users mailing list >> Interchange-users@lists.akopia.com >> http://lists.akopia.com/mailman/listinfo/interchange-users > >-- > >Christopher F. Miller, Publisher cfm@maine.com >MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 >1.207.657.5078 http://www.maine.com/ >Content management, electronic commerce, internet integration, Debian linux From: shivadust at hotmail.com (Mary Jo Gray ) Date: Mon, 19 Mar 2001 00:39:28 -0700 Subject: [ic] Password I was directed to change my password and login information by the domain hosting plan I use as soon as I was able to and now that I have I know the password I am using is correct but no matter what I try even the other user I set up does not work either and now once again I have a completely useless shopping cart on my site. What should I do? I do not know html or anything like that so I can only change things through the administration panel so I need to access this. My son knows html and cgi so maybe he can figure out what technical things are necessary. From: sheich at mosinfo.ru (Sergey Sheykin ) Date: Mon, 19 Mar 2001 18:50:02 +0300 Subject: [ic] Get item-field title into variable Hi, when I use like: [perl arg=scratch interpolate=1] $title="[item-field title]"; [/perl] ... [query query=" insert into orderline (code,description) values( '1', '[scratch title]' ) "][/query] if in field TITLE meets quota(") symbol - this calls an error. (in $title="[item-field title]";) How can I set to variable value from session(form)? I think, this is some like: [perl arg=scratch interpolate=1] $Safe{'scratch'}{'var'}=$Safe{'session'}{'item-field title'}; [/perl] but this not work... How I can do this? From: smoat at chartermi.net (Scott Moat ) Date: Mon, 19 Mar 2001 09:45:16 -0600 Subject: [ic] disabling stock status I need to not have stock status shown on either some items or all items depending which is easier. Most of my orders are drop shipped and I don't have anyway to access their inventory. So I don't want to tell the customer I don't have inventory when most likely my vendor does. I have seen this item listed a few times and not seen a workable answer yet. Thanks for your help. Scott smoat@bresnanlink.net From: rohlf at life.bio.sunysb.edu (F. James Rohlf ) Date: Mon, 19 Mar 2001 11:14:04 -0500 Subject: [ic] construct demo I have just installed interchange on my RH 7 Linux system using the rpm. Seems to work fine. Installed the perl additions for MySQL etc. ok. The construct demo that was automatically installed works fine also. The admin page asking for a userid/pw loads but I don't know the admin userid and pw. The online version at akopia uses demo/demo but that does not work on the copy installed on my computer. What is the userid/pw? Thanks, Jim From: billr at exgate.tek.com (Bill Randle ) Date: Mon, 19 Mar 2001 08:15:17 -0800 Subject: [ic] Form to E-mail Integricity Support wrote: > > Hi Mike, > > Thanks for the reply, but I'd like to have a sample script that > integrates with Interchange for easy replication, so it can interact > with variables that are preset thru the backend. > > I know there is an [email] tag but not too sure. I'd appreciate a > sample page, if possible > > Monday, March 19, 2001, 2:10:44 PM, you wrote: > > WoI> Check out "Matt's Script Archive" and look for FormMail.pl: > > WoI> http://worldwidemart.com/scripts/ I don't see it right off in the Interchange 'construct' demo, so go check out the Minivend 'simple' demo. Look at pages/feedback.html and pages/special/feedback.html for an example feedback form. It's done in two parts: one to gather the user info and another to use the [email] tag to mail it. -Bill From: billr at exgate.tek.com (Bill Randle ) Date: Mon, 19 Mar 2001 08:17:34 -0800 Subject: [ic] Basket content Sergey Sheykin wrote: > > Hi, > > when I try use this code > > [perl global=1] > use Vend::Session; > @$Vend::Items = (); > put_session(); > get_session(); > init_session(); > [/perl] > > interchange said : > > Safe: require trapped by operation mask at (eval 311) line 2. > > (in error.log) One possible solution may be to add: AllowGlobal <your-catalog-name> to your minivend.cfg/interchange.cfg file and restart. -Bill From: rick at desertlord.com (Rick Lord ) Date: Mon, 19 Mar 2001 09:19:42 -0700 Subject: [ic] Or Search How do you do an "Or search? I am trying to make a link called "Programming" and have it search for things like "Visual Basic", "Java", etc. Everything I try results in "No matches for Visual Basic AND Java. Thanks. -- Rick Lord Desert Lord Enterprises http://www.desertlord.com/ http://www.KitKar.com/ http://www.NavySealsWatches.com/ From: doug at lathi.net (Doug Alcorn ) Date: 19 Mar 2001 11:12:51 -0500 Subject: [ic] disabling stock status "Scott Moat" <smoat@chartermi.net> writes: > I need to not have stock status shown on either some items or all > items depending which is easier. Most of my orders are drop shipped > and I don't have anyway to access their inventory. So I don't want > to tell the customer I don't have inventory when most likely my > vendor does. Add a new field to the products table called 'dropship'. In your results page and flypage add a condition like this: [if !item-field dropship] <!-- html here for displaying in-stock or out-of-stock --> [else] <!-- optional message here about dropshipping and unknown ship dtes --> [/else] [/if] -- (__) 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: Scott.Andreas at learningco.com (Andreas, Scott ) Date: Mon, 19 Mar 2001 08:23:23 -0800 Subject: [ic] Form to E-mail just use the easy to use [email][/email] tags or if you have a copy of the old simple catalog examlple their is a copy of formmail.cfg included in the tags directory. [email][/email] tag is its equivilant. -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Integricity Support Sent: Sunday, March 18, 2001 9:33 PM To: interchange-users@lists.akopia.com Subject: [ic] Form to E-mail Hello interchange-users, Has anyone ever designed a form to e-mail for "Contact Us", "enquire" purposes? If so, I'd appreciate if you could send me a sample form. It'll save having to learn from scratch. Thanks. -- Best regards, Integricity mailto:support@integricity.com _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: george at 1stomni.com (George Schindler ) Date: Mon, 19 Mar 2001 17:28:46 +0100 Subject: [ic] link menu problem Hello, please is here some way to get only link (http://www.something.com/cgi_bin/store/abcdefgh) for each subcategory? I'm using [set found_cat][/set] [loop prefix=cat search="fi=cat st=db tf=sort tf=name rf=code, name sf=sel se=[box-code] " ] addItem('[cat-exec bar_link]cat[/cat-exec]', ''); [/loop] This I took from construct something demo, but I need to get only link no font and other things which will generate this. Thanks. George Schindler 1stOmni Inc. E-mail: george@1stomni.com WWW: http://www.1stOmni.com From: ary at communicationfactory.com (Young Family ) Date: Sat, 17 Mar 2001 08:29:02 -0800 Subject: [ic] Fw: Big Login Problem Hi Folks Well I installed my "construct us" demo and I cant get in to the Admin section. I do not have the default password and login name. Any clues? Where are the system files so I can go in and reset it? I am using mysql, do In need to set anything there? I noticed in the dbuser data base that there is a field called ACL? Please can somebody point me in the right direction? Alan Young From: markj at redhat.com (Mark Johnson ) Date: Mon, 19 Mar 2001 11:39:39 -0500 Subject: [ic] Basket content Sergey Sheykin wrote: > > Hi, > > when I try use this code > > [perl global=1] > use Vend::Session; > @$Vend::Items = (); > put_session(); > get_session(); > init_session(); > [/perl] > > interchange said : > > Safe: require trapped by operation mask at (eval 311) line 2. > use is a safe violation. In order to use any of the code above, you will have to enable AllowGlobal for the catalog. If you are not creating new carts, then the following will clear your cart (but not the rest of the session): [calc] @{ $Carts->{main} } = (); return; [/calc] BTW, mv_action=cancel will *still* take you where you want to go. -- Mark Johnson Senior Developer - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: george at 1stomni.com (George Schindler ) Date: Mon, 19 Mar 2001 17:21:51 +0100 Subject: [ic] link from menu problem Hello, please is here some way to get only link (http://www.something.com/cgi_bin/store/abcdefgh) for each subcategory? I'm using [set found_cat][/set] [loop prefix=cat search="fi=cat st=db tf=sort tf=name rf=code, name sf=sel se=[box-code] " ] addItem('[cat-exec bar_link]cat[/cat-exec]', ''); [/loop] This I took from construct something demo, but I need to get only link no font and other things which will generate this. Thanks. George Schindler 1stOmni Inc. E-mail: george@1stomni.com WWW: http://www.1stOmni.com From: bob at nleaudio.com (Bob Puff at NLE ) Date: Mon, 19 Mar 2001 11:42:59 -0500 Subject: [ic] Fw: Big Login Problem username: interchange Password: pass From: Scott.Andreas at learningco.com (Andreas, Scott ) Date: Mon, 19 Mar 2001 09:52:44 -0800 Subject: [ic] ?-passing variable to cart and checkout so that each sales rep ca Hello IC'ers I have a situation where we want the orders emailed to the different sales reps if the users input is based on affiliates For instance if the affiliate is "steve" then bob the sales rep would get the emailed order. So my concern is how do I set up the order page to view the affiliates data and to parse that data such that an email would be sent to the sales rep, yet if no data is from any affiliate than the order would use the default email method. J. Scott Andreas :) IS/Programmer/WebDevelopement e-mail: scotta@homer.learnserv.com phone: 1-800-877-9378 ext. 146 fax: (541) 744-2056 --- __o --- _-\<,_ --- (_)/ (_) From: barrd at cricinfo.com (Dave Barr ) Date: Mon, 19 Mar 2001 18:02:03 +0000 Subject: [ic] set-cookie tag + the expire parameter IC 4.6.3 / Perl 5.005-03 Hi y'all, I have a question about the [set-cookie] tag... Having gone thro all the dox, and the developer site I cannot find anywhere what the format is for the 'expire' parameter. To date nothing I have tried will show up in the MagicCookie file, however, server side cookies (leaving out the expire parameter) work just fine. I've always used Netscapes specs: http://www.netscape.com/newsref/std/cookie_spec.html which basically state that the expire parameter should be expressed as: Wdy, DD-Mon-YYYY HH:MM:SS GMT [set-cookie name=foo value=bar expire="Tuesday, 20-Mar-2001 23:00:00 GMT"] This does not work, as indeed was putting in the number of days till expiration which was my next guess. No error messages are produced, the tag is simply ignored. Has anyone managed to get this working or point me in a different direction? Any help appreciated. Dave From: mikeh at minivend.com (Mike Heins ) Date: Mon, 19 Mar 2001 13:18:08 -0500 Subject: [ic] set-cookie tag + the expire parameter Quoting Dave Barr (barrd@cricinfo.com): > IC 4.6.3 / Perl 5.005-03 > > Hi y'all, > I have a question about the [set-cookie] tag... > Having gone thro all the dox, and the developer site I cannot find > anywhere what the format is for the 'expire' parameter. To date nothing > I have tried will show up in the MagicCookie file, however, server side > cookies (leaving out the expire parameter) work just fine. > > I've always used Netscapes specs: > http://www.netscape.com/newsref/std/cookie_spec.html > which basically state that the expire parameter should be expressed as: > Wdy, DD-Mon-YYYY HH:MM:SS GMT > [set-cookie name=foo value=bar expire="Tuesday, 20-Mar-2001 23:00:00 GMT"] > > This does not work, as indeed was putting in the number of days till > expiration which was my next guess. No error messages are produced, the > tag is simply ignored. > > Has anyone managed to get this working or point me in a different > direction? Any help appreciated. It is just a UNIX time value. [tag time]%s[/tag] on a Linux machine, or some number like 985025809. I should probably set it to ignore the generation of that if there is a preformatted string, and will do so in the next version. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> When the only tool you have is a hammer, all your problems tend to look like nails. -- Abraham Maslow From: mheins at redhat.com (Mike Heins ) Date: Mon, 19 Mar 2001 13:38:34 -0500 Subject: [ic] Cookie patch I fixed Vend/Server.pm to accept formatted date strings as well as UNIX time values. Patch below, will be applied to both stable and development. =================================================================== RCS file: /anon_cvs/repository/interchange/lib/Vend/Server.pm,v retrieving revision 1.8 diff -r1.8 Server.pm 285,287c285,296 < $expire = $Vend::Expire unless defined $expire; < $out .= " expires=" . < strftime "%a, %d-%b-%y %H:%M:%S GMT ", gmtime($expire); --- > my $expstring; > if(! $expire) { > $expire = $Vend::Expire; > } > elsif($expire =~ /\s\S+\s/) { > $expstring = $expire; > } > $expstring = strftime "%a, %d-%b-%Y %H:%M:%S GMT ", gmtime($expire) > unless $expstring; > $expstring = "expires=$expstring" if $expstring !~ /^\s*expires=/i; > $expstring =~ s/^\s*/ /; > $out .= $expstring; -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> My wife is great. She doesn't care where I go, just as long as I don't have any fun. -- Lee Trevino From: interchange at superiorsites.net (Bobby G. Brown, Jr. ) Date: Mon, 19 Mar 2001 13:28:21 -0600 Subject: [ic] who should i use for a credit card merchant Does anyone have any suggestions on who i should use as a credit card merchant that is compatible with interchange? From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Mon, 19 Mar 2001 11:34:40 -0800 Subject: [ic] who should i use for a credit card merchant >Does anyone have any suggestions on who i should use as a credit card >merchant that is compatible with interchange? I would suggest Verisign. http://www.verisign.net/payment Their prices are reasonable (not nearly as expensive as Cybercash), their service has only been down for 1 hour in the last 9 months and their support is good. Setup fees are about $250 and $60 a month per account. Good luck! -Ron From: interchange at my-school.com (IC-Admin ) Date: Mon, 19 Mar 2001 16:20:34 -0500 (EST) Subject: [ic] OrSearch Rick Lord wrote: > How do you do an Or Search ? Look up mv_orsearch in the documentation. http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=reference12%2e10 http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=reference12%2e11 BF From: tintones at hotmail.com (Marcelo F. De Paula ) Date: Mon, 19 Mar 2001 20:12:53 Subject: [ic] How many stores can I run? Steve, To start I'll run 4 stores and a db with 100 product each. This should increase to 10 or more. What do you think? Will store be slow? Thanks for you help, Marcelo _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From: tintones at hotmail.com (Marcelo F. De Paula ) Date: Mon, 19 Mar 2001 20:19:31 Subject: [ic] encrypt entire order - problem Hello list, I runnning IC 4.6.3. I using GPG to encrypt the order and it's running okay. The problem is that when I receive the order by e-mail only the credit card is encrypted, the user information and product purchased aren't. If i open the store/order/oderder_file, the order is all encrypted but in the e-mail only the credit card info is encrypted. Is there a possible to receive all the order encrypted by e-mail? And which configuration should i do to make it possible? Thank you in advance and best regards, Marcelo F. De Paula _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From: dan at mailturtle.com (Dan McFarland ) Date: Mon, 19 Mar 2001 14:22:34 -0600 Subject: [ic] How many stores can I run? > > To start I'll run 4 stores and a db with 100 product each. > This should increase to 10 or more. What do you think? > Will store be slow? > Thanks for you help, > Marcelo Slow will be relative to your SWAP size, memory size, system speed, internet speed, etc. You could run that scenario above on a 533mhz, 512MB Ram, 500MB Swap and a T1 getting about 2500 users a day and see little performance degradation as long as it's not all 2500 people the same hour.... -users From: tintones at hotmail.com (Marcelo F. De Paula ) Date: Mon, 19 Mar 2001 20:21:47 Subject: [ic] How many stores can I run? Hello list, I would like to know how many stores can I run with a Pentium celeron 633mhz with 64 ram? This is the confuration that I have from a dedicated server. Thanks, Marcelo _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From: steveandpatti at wubs.org (Steve & Patti Getzinger ) Date: Mon, 19 Mar 2001 15:27:58 -0500 Subject: [ic] How many stores can I run? You should be fine as long as your code is decent. Poor code slows it way down. Your primary concern is simultaneous traffic. Since it is dynamic in nature each request takes time to build. more requests = more resources required. So if you are talking a hit and miss type of sites should be no real problem but I would still up the ram to at least 128. You will notice performance decreases as traffic flow increases. The machine seems strong enough just minus RAM. Steve "Marcelo F. De Paula" wrote: > Steve, > > To start I'll run 4 stores and a db with 100 product each. > This should increase to 10 or more. What do you think? > Will store be slow? > Thanks for you help, > Marcelo > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange at superiorsites.net (Bobby G. Brown, Jr. ) Date: Mon, 19 Mar 2001 14:25:59 -0600 Subject: [ic] who should i use for a credit card merchant Once I sign up with a company such as Verisign is it very hard to configure Interchange to use their service. Also, will Interchange go ahead and complete the transaction or will it only verify the credit card for me. Finally, will Verisign be able to help me set this up? ----- Original Message ----- From: "Ron Phipps" <rphipps@reliant-solutions.com> To: <interchange-users@lists.akopia.com> Sent: Monday, March 19, 2001 1:34 PM Subject: Re: [ic] who should i use for a credit card merchant > >Does anyone have any suggestions on who i should use as a credit card > >merchant that is compatible with interchange? > > > I would suggest Verisign. http://www.verisign.net/payment > Their prices are reasonable (not nearly as expensive as Cybercash), their > service has only been down for 1 hour in the last 9 months and their support > is good. Setup fees are about $250 and $60 a month per account. Good luck! > > -Ron > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: doliver at hampshire.edu (Dylan Oliver ) Date: Mon, 19 Mar 2001 14:43:04 -0600 Subject: [ic] Getting DB categories on the flypage -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 19 March 2001 04:50, you wrote: > I edited the flypage for by adding: > [item-catnamehere] > > so it will show more product information. > The "desc" is correct as is the price "0.00" however none of the other > information came up, I confired that the headers are in the database. Instead of [item-isbn], try [item-field isbn]. Hope this is what you're looking for. - -- Dylan Oliver http://stout.hampshire.edu/~dao99 Global View International http://www.globalview-intl.com Do you know how little you know? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjq2b1kACgkQ7U8r0TCZf4HabgCeMy7pUlpBFzn9BsP3Vb0Mk0Ei IBQAnRMvQtJQ4+xfzW4gjkd58UjjmA24 =0WIy -----END PGP SIGNATURE----- From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Mon, 19 Mar 2001 12:36:37 -0800 Subject: [ic] who should i use for a credit card merchant >Once I sign up with a company such as Verisign is it very hard to configure >Interchange to use their service. Also, will Interchange go ahead and >complete the transaction or will it only verify the credit card for me. >Finally, will Verisign be able to help me set this up? Bobby, It is not difficult to setup Verisign on your system if it is a supported platform (check the requirements for their payflow pro software). The only setup needed on the IC side can be found in the eg directory of the tar distribution, there is a file called 'signio' or 'verisign' (Signio was the name of the company prior to merging, use Signio and Verisign when searching the archives). It basically consists of changing a path to the binary, put a few directives in the catalog.cfg and testing. The process works like so: 1. User enters CC info and presses checkout 2. IC calls custom charge routine 'signio' which in turn calls pay flow pro binary. 3. Pay flow pro opens a secure link with Verisign requesting either Authorization (if you want to wait to charge once it ships) or Sale (charge right now). 4. The result codes come back and are parsed by the routine which then either accepts the request or denies it with errors. 5. IC interprets the return codes and either displays the errors on the checkout form or finishes the order and the receipt is shown. Verisign's support will only go as far as helping you with the Pay Flow pro setup, I do not think they have anyone that is IC aware (at least not that I have talked too). If you are running on the alpha platform I'm available to help you setup the Java SDK from Compaq and get the Java version of PfPro running (it's a pain!) Good luck, -Ron From: tech at khouse.org (Russ Mann ) Date: Mon, 19 Mar 2001 14:52:33 -0700 Subject: [ic] IC 4.6.3 - Shipping Modes Costs, [shipping [loop-code]] Doesn't Work - REPEAT Hello, I've posted before but received no response. http://developer.akopia.com/archive/interchange-users/2001/msg02316.html (previous post) http://developer.akopia.com/archive/interchange-users/1999/msg02832.html (thing I'm trying to implement) I have implemented these instructions under MV 3.14, however it fails under IC 4.6.3, because it appears [shipping [loop-code]] Doesn't mean anything in IC. Does anyone know how to make this work in IC, and/or what the IC equivilant of [shipping [loop-code]] is? Thanks, Russ From: mikeh at minivend.com (Mike Heins ) Date: Mon, 19 Mar 2001 16:57:16 -0500 Subject: [ic] How many stores can I run? Quoting Marcelo F. De Paula (tintones@hotmail.com): > Hello list, > > I would like to know how many stores can I run with a Pentium celeron 633mhz > with 64 ram? > None. 64MB ram is not enough for more than testing purposes on Interchange. 128M should be minimum. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Any man who is under 30, and is not liberal, has not heart; and any man who is over 30, and is not a conservative, has not brains. -- Winston Churchill From: res087jh at verizon.net (Dan Garwood ) Date: Mon, 19 Mar 2001 17:16:50 -0500 Subject: [ic] IC 4.6.3 - Shipping Modes Costs, [shipping [loop-code]] Doesn't Work - REPEAT If I am not mistaken in 4.6.3 it is simply [shipping] This will go to the default shipping mode the customer has choosen or is set in your catalog.cfg file. You can also use [shipping mode=name] to specify others. I may be wrong here. Dan -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Russ Mann Sent: Monday, March 19, 2001 4:53 PM To: interchange-users@lists.akopia.com Subject: [ic] IC 4.6.3 - Shipping Modes Costs, [shipping [loop-code]] Doesn't Work - REPEAT Hello, I've posted before but received no response. http://developer.akopia.com/archive/interchange-users/2001/msg02316.html (previous post) http://developer.akopia.com/archive/interchange-users/1999/msg02832.html (thing I'm trying to implement) I have implemented these instructions under MV 3.14, however it fails under IC 4.6.3, because it appears [shipping [loop-code]] Doesn't mean anything in IC. Does anyone know how to make this work in IC, and/or what the IC equivilant of [shipping [loop-code]] is? Thanks, Russ _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: vladimir.alonso at verizon.net (Vladimir Alonso ) Date: Mon, 19 Mar 2001 17:33:23 -0500 Subject: [ic] interchange-4.6.3 in Red Hat 7 from RPM package. Problems ??? This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C0B09A.B2CAEF30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Dear list, I installed the interchange from RPM in RedHat 7. I obtained these results, -------------------------------------- PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/i3 86-linux -I/usr/lib/perl5/5.6.0 test.pl server/unixmode....... Couldn't change to /e-commerce/akopia/RedHat: No such file or directory test: error in configuration. Skipping. ok 1 server/startup........ok 2 link/unixmode.........not ok 3 # When the above test fails, it may be due to your ISP or some other # mechanism blocking port 8786. server/inetmode....... Couldn't change to /e-commerce/akopia/RedHat: No such file or directory test: error in configuration. Skipping. ok 4 link/inetmode.........not ok 5 server/control........ok 6 6 tests run -- 2/6 failed. make: *** [test_dynamic] Error 1 ---------------------------------------------------------------------------- ------- Of course, some thing is wrong here. But, I don't know what is?. And now checking the status in finding, that the interchange is dead and ... ./interchange status interchange dead but subsys locked Some body can help me with this? Thank you, Vladimir ------=_NextPart_000_0000_01C0B09A.B2CAEF30 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IhcWAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAQABAAEGgAMADgAAANEHAwATABEAIQAAAAEAIQEB A5AGAOAIAAAjAAAACwACAAEAAAALACMAAAAAAAMAJgABAAAACwApAAEAAAACATEAAQAAAEIBAABQ Q0RGRUIwOQABAAIAnwAAAAAAAAA4obsQBeUQGqG7CAArKlbCAABQU1RQUlguRExMAAAAAAAAAABO SVRB+b+4AQCqADfZbgAAAEM6XERvY3VtZW50cyBhbmQgU2V0dGluZ3NcQWRtaW5pc3RyYXRvclxM b2NhbCBTZXR0aW5nc1xBcHBsaWNhdGlvbiBEYXRhXE1pY3Jvc29mdFxPdXRsb29rXG91dGxvb2su cHN0ABgAAAAAAAAAYvC93ji76ki8MkMgpAsou6KAAAAAAAAAGAAAAAAAAABi8L3eOLvqSLwyQyCk Cyi7woAAABAAAADmp6cfggchRoEQihWwX4EOPgAAAGludGVyY2hhbmdlLTQuNi4zIGluIFJlZCBI YXQgNyBmcm9tIFJQTSBwYWNrYWdlLiBQcm9ibGVtcyA/Pz8AAAADADYAAAAAAB4AcAABAAAAPgAA AGludGVyY2hhbmdlLTQuNi4zIGluIFJlZCBIYXQgNyBmcm9tIFJQTSBwYWNrYWdlLiBQcm9ibGVt cyA/Pz8AAAACAXEAAQAAABYAAAABwLDEmx2G1RqEnRpMtZDg4AbgUF6/AAACAR0MAQAAACEAAABT TVRQOlZMQURJTUlSLkFMT05TT0BWRVJJWk9OLk5FVAAAAAALAAEOAAAAAEAABg4AdnmNxLDAAQIB Cg4BAAAAGAAAAAAAAABi8L3eOLvqSLwyQyCkCyi7woAAAAsAHw4BAAAAAgEJEAEAAABeAwAAWgMA ALMFAABMWkZ1lATkmQMACgByY3BnMTI1FjIA+Atgbg4QMDMzTwH3AqQD4wIAY2gKwHOwZXQwIAcT AoB9CoGSdgiQd2sLgGQ0DGCOYwBQCwMLtSBEZQrBMmwEAHQsCqIKgEkgFwuAFEAHQGwJgCB0aPpl FOF0BJAQ4Q8gFbADUjkH8FBNFOEH8AmASGGZBUA3LgrjFLJvYgGQFwuAFWQRICAJcHN1bMx0cxRl CvMgLRqvG78DG/EUdFBFUkxfRAEdkE5PTkxBWlkAPTEgL3Vzci8yYguAL3AEkAMgLUnxAmBpYi8K wBDgH1YfkQ8fUR6DH5IfEjUvNS5ANi4wL2kzFHQ4xDYtFCBudXggzyHUcxWAB5B0LgtQFHQRIHKu dgSQHoADAHgEYi4mhMMUdAhRbGRuJwVAFiWkdG8ecGUtBaBtB4BFFhBlH8Brb3AHMC+9F1Q6B7Ao YBmAH/FmAxBTFbAFsWRpCXBjKFBy/nkZ6AqAJMIqEASQA2AFwGsXIQWgbiqwZwhwF5Bp6wIgF9BT EmBwKXAPICbleG9rIBLjJXcVEQAgdXpwJoUuL1EOUBSDIvFr8yX+JoBubwVAL1EiVRR0eCMgVxWg A6AVkgGgb+8lwCSzFoALcGwZwBTgBUDRAMB5IGIVsGQKUChCQnkIYSBJU1Aq8nP3A3Aq4RWRcjQ2 B4AWIgQAExbAAmBvYxJhZyBw8QkRIDg3IsAm5SU7GLH+dCZPJ18obyl/Ko8rnyyvvy2/LsoSoDGo PF0zNzUlO1VDwXQDYGww2TYUdDa7JLMEIHImABqRMXAvSoCfNfIJgDsZFXAAwGtlQGASKk1AIFsk wl9keYhuYW0N4F0gRUNDfy+FG/9QT1FfUm8cHxSST/5mQ7EIcBEgNkA4MxWQOkJ5BAAgdwNgOlE4 oTzAIHxCdRRQN7BBcAIgPgFruzNQB+B3EPAFQAQAPz01+kESgCBYAhDgBZA6MxWS/xURMKAEIBch QQASgC6xNkDfFZAXkRWeVjEBAGEVcABw+xVwPRcuPEEV+FqFFHQV2o1dM2JXMEChYnN5BCD3OgIJ gBR0UzhCBuBN4D4g8wORFaBscDlBVlA2YCAA91XRWKBCGlQWMS9gN3EZ2X1CVlYLYEGATiA4xRHh AAFoIAAACwABgAggBgAAAAAAwAAAAAAAAEYAAAAAA4UAAAAAAAADAAOACCAGAAAAAADAAAAAAAAA RgAAAAAQhQAAAAAAAAMAB4AIIAYAAAAAAMAAAAAAAABGAAAAAFKFAAD5bwEAHgAJgAggBgAAAAAA wAAAAAAAAEYAAAAAVIUAAAEAAAAEAAAAOS4wAAsADYAIIAYAAAAAAMAAAAAAAABGAAAAAIKFAAAB AAAACwA6gAggBgAAAAAAwAAAAAAAAEYAAAAADoUAAAAAAAADADyACCAGAAAAAADAAAAAAAAARgAA AAARhQAAAAAAAAMAPYAIIAYAAAAAAMAAAAAAAABGAAAAABiFAAAAAAAACwBSgAggBgAAAAAAwAAA AAAAAEYAAAAABoUAAAAAAAADAFOACCAGAAAAAADAAAAAAAAARgAAAAABhQAAAAAAAAIB+A8BAAAA EAAAAGLwvd44u+pIvDJDIKQLKLsCAfoPAQAAABAAAABi8L3eOLvqSLwyQyCkCyi7AgH7DwEAAACf AAAAAAAAADihuxAF5RAaobsIACsqVsIAAFBTVFBSWC5ETEwAAAAAAAAAAE5JVEH5v7gBAKoAN9lu AAAAQzpcRG9jdW1lbnRzIGFuZCBTZXR0aW5nc1xBZG1pbmlzdHJhdG9yXExvY2FsIFNldHRpbmdz XEFwcGxpY2F0aW9uIERhdGFcTWljcm9zb2Z0XE91dGxvb2tcb3V0bG9vay5wc3QAAAMA/g8FAAAA AwANNP03AAACAX8AAQAAADsAAAA8T0tFSUxNRENDQk5BQkpORkJBQUFDRUFBQ0JBQS52bGFkaW1p ci5hbG9uc29AdmVyaXpvbi5uZXQ+AAADAAYQ4YUpFAMABxCYAwAAAwAQEAAAAAADABEQAAAAAB4A CBABAAAAZQAAAERFQVJMSVNULElJTlNUQUxMRURUSEVJTlRFUkNIQU5HRUZST01SUE1JTlJFREhB VDdJT0JUQUlORURUSEVTRVJFU1VMVFMsLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0AAAAA Ykg= ------=_NextPart_000_0000_01C0B09A.B2CAEF30-- From: howells at siliconcty.com (Howell Silverman ) Date: Mon, 19 Mar 2001 18:40:44 -0500 Subject: [ic] Error Log output - Cant read file status.construct with NoAbsolute set This is a multi-part message in MIME format. ------=_NextPart_000_0012_01C0B0A4.1BFF1180 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Catalog was working then i changed: server_name, sample_url and secure server to point to external addresses. Now I'm getting the message in the error.log and the browser just sits there and then times out. Output from error.log 192.168.2.9 fbQDxNGt:192.168.2.9 - [19/March/2001:18:21:17 -0500] construct /cgi-bin/construct/admin/genconfig.html Can't read file '/var/lib/interchange/construct/etc/status.construct' with NoAbsolute set Checked:file is there. 4 -rw-rw-r-- 1 interch interch 25 Mar 19 11:35 /var/lib/interchange/construct/etc/status.construct Anyone have an idea what's wrong and where I go to fix it. http://www.siliconcty.com http://www.storageyard.com Howell Silverman 354 South Oyster Bay Rd. Syosset, NY 11791 T 516-681-6900 F 516-681-5228 howells@siliconcty.com ------=_NextPart_000_0012_01C0B0A4.1BFF1180 Content-Type: text/x-vcard; name="Howell Silverman (E-mail).vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Howell Silverman (E-mail).vcf" BEGIN:VCARD VERSION:2.1 N:Silverman;Howell FN:Howell Silverman (E-mail) ORG:Silicon City Inc. TEL;WORK;VOICE:(516) 681-6900 x201 TEL;WORK;FAX:(516) 681-5228 ADR;WORK:;;354 So. Oyster Bay Rd.;Syosset;NY;11791;United States of = America LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:354 So. Oyster Bay = Rd.=3D0D=3D0ASyosset, NY 11791=3D0D=3D0AUnited States of America EMAIL;PREF;INTERNET:howells@siliconcty.com REV:20010112T151744Z END:VCARD ------=_NextPart_000_0012_01C0B0A4.1BFF1180-- From: hostmaster at shupp.org (Bill Shupp ) Date: Mon, 19 Mar 2001 18:26:55 -0600 Subject: [ic] who should i use for a credit card merchant on 3/19/01 1:28 PM, Bobby G. Brown, Jr. at interchange@superiorsites.net wrote: > Does anyone have any suggestions on who i should use as a credit card > merchant that is compatible with interchange? I've been using Authorize.net for over a year (not with IC), and there was only one time when they were down. I'm quite happy with them. Their setup fee was a little high ($395 through Cyberauthorize), but the monthly gateway fee is only $30. But you pay another $10 to the bank that sponsors you. It sounds like several people are using IC with Authorize.net successfully, and I'm planning to migrate to it over the next couple of months. Regards, Bill Shupp From: dingdong.sobida at q-linux.com (dingdong ) Date: Tue, 20 Mar 2001 08:43:12 +0800 Subject: [ic] Fw: Big Login Problem Bob, thanks, i asked the same question on the list about a week ago. thanks man DD "Bob Puff@NLE" wrote: > username: interchange > Password: pass > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: doliver at hampshire.edu (Dylan Oliver ) Date: Mon, 19 Mar 2001 19:42:06 -0600 Subject: [ic] GPG Order Encryption -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have looked at the documentation, and cannot figure out why orders, which are supposed to be encrypted with GPG, read like this: From: blah To: blah Subject: Order 000011 0-- Note the 0-- where the encrypted order should be. I've set: CreditCardAuto Yes EncryptProgram /usr/bin/gpg --always-trust --batch -ear globalv The interchange server is running at root as user interchange. Since the documentation says that: The key ring to be used must be for the user that is running the Interchange server, or defined by the environment variable PGPPATH, and the key user specified must have a key on the public key ring of that user. I imported the globalv key into ~interchange/.gnupg. It didn't work, and anyway it doesn't seem like the proper way to do it, as this catalog will be running on a virtual host.. Please help! - -- Dylan Oliver http://stout.hampshire.edu/~dao99 Global View International http://www.globalview-intl.com Do you know how little you know? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjq2tW8ACgkQ7U8r0TCZf4GB6QCfTG+S8utjDV6N5kSTeWvbRj4o YSEAni3h1ZdOG9OpQG5OYMwbRteZwAp7 =bLMJ -----END PGP SIGNATURE----- From: xiaowen at safetopia.com (Xiaowen Wu ) Date: Mon, 19 Mar 2001 19:34:00 -0800 (PST) Subject: [ic] use the tag in the perl function I'm new to the minivend, and I have a very simple question, I want to add the shipping handling fee to the totol_cost, so I think of adding something in the checkout.html like the followings: handling: <perl transaction> $name = $Values->{name}; $handling = $Tag->total_cost($name, 0); return $handling; </perl> but it's not working, did I do something wrong. You help is very appreciated. Thanks in advanced. Wen From: parentjp at videotron.ca (Jean-Pierre Parent ) Date: Mon, 19 Mar 2001 22:23:41 -0500 Subject: [ic] [mv_data_table].autonumber counter help required Hey there, I was playing with the automatic number generation for the lib/UI/pages/admin/flex_editor.html >From what I understand, I just need to create a file named __UI_PRODUCT_DIR__/[mv_data_table].autonumber I have a table named "attributes" which works fine in this editor and i need a unique number each time since I may have thousands of attributes...so i go on and create that file... The thing is I always get the default 'new' in the key field...does anyone can tell me what i am missing? Thank you very much! Jean-Pierre Parent From: pentacleus at yahoo.com (Joshua Harris ) Date: Mon, 19 Mar 2001 20:26:01 -0800 (PST) Subject: [ic] Multiple different Admin users I would like to set up Interchange so that I, the sys admin, alone has full rights to modify all parts of the website through Interchange. I would like to grant my student interns the rights the modify a subset of those rights. And finally, I would like to grant certain Marketting persons the ability to update, add, and delete content to already created templates (ie. news and events webpages) Is this possible? Are there any good examples of websites that use Interchange more as a Content Manager than as eCommerce? Thanks ===== ____________________Joshua Harrispentacleus@yahoo.comjoshh@IS.hhsys.org256.864.4640 (office) __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From: parentjp at pjp.dhs.org (Jean-Pierre Parent ) Date: Tue, 20 Mar 2001 00:04:19 -0500 Subject: [ic] [mv_data_table].autonumber counter help required Update! ATTENTION: Do not set the NUMERIC on that field in the same file as the COLUMN_DEFS! You might end up losing an hour or 2 figuring it out! But dont cry just yet! The field MAY be an integer if you are using an SQL database! The conversion will happen... Happy kung foo fighting! ----- Original Message ----- From: "Jean-Pierre Parent" <parentjp@videotron.ca> To: <interchange-users@lists.akopia.com> Sent: Monday, March 19, 2001 10:23 PM Subject: [ic] [mv_data_table].autonumber counter help required > Hey there, > > I was playing with the automatic number generation for the > lib/UI/pages/admin/flex_editor.html > > >From what I understand, I just need to create a file named > __UI_PRODUCT_DIR__/[mv_data_table].autonumber > > I have a table named "attributes" which works fine in this editor and i need > a unique number each time since I may have > thousands of attributes...so i go on and create that file... > > The thing is I always get the default 'new' in the key field...does anyone > can tell me what i am missing? > > Thank you very much! > > Jean-Pierre Parent > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: bbisaillon at pmail.net (Brian Bisaillon ) Date: Tue, 20 Mar 2001 00:56:58 -0500 Subject: [ic] Master Merchant, HELP please! I want to host several businesses' storefronts on our web server. To do so we require that each business have their own Internet Merchant Account. Therefore, we would essentially be a Master Merchant. Royal Bank here in Canada doesn't provide Master Merchant account status. They referred me to another company called internetsecure (www.internetsecure.com). I was wondering what's the best way I can achieve my goal? This is the only thing holding us back from starting our business. After this we can scope out our customer base and if that's good we can see a lawyer and get the ball rolling. A few more questions though: If we offload the task of internet merchant accounts to say internetsecure.com for example, do they give us the SSL certificates to stick on our server? So like joeblow.whatever.org is a vhost and that business signed up with internetsecure.com through us to get their internet merchant account, internetsecure.com gave us the ssl certs and we put them on our server for the vhost joeblow.whatever.org and that is their online storefront (catalog) with interchange. Is that how it works? I need to fill in the missing pieces of the puzzle here... any help would be appreciated... thanks! From: rohlf at life.bio.sunysb.edu (F. James Rohlf ) Date: Tue, 20 Mar 2001 02:04:20 -0500 Subject: [ic] old name persists To save time, I made a copy of the constuct demo and gave it a new name. I have gone through all of the file in the html directory and the interchange directory to make sure that the word 'construct' no longer is in any of the files. However, when I run it clicking on any href takes me to the original construct directory. There must be another file that gives the home directory. What else do I have to change to make the copy of construct forget its original location? Thanks! Jim From: dingdong.sobida at q-linux.com (dingdong ) Date: Tue, 20 Mar 2001 16:02:08 +0800 Subject: [ic] old name persists Jim, have you tried editing your inerchange.cfg file. say for example the new store's name is "Threads" you have to add this on top of the interchange.cfg Catalog Threads /var/lib/interchange/Threads /cgi-bin/tryThreads /Threads hope it helps r, Yo "F. James Rohlf" wrote: > To save time, I made a copy of the constuct demo and gave it a new name. I > have gone through all of the file in the html directory and the interchange > directory to make sure that the word 'construct' no longer is in any of the > files. However, when I run it clicking on any href takes me to the original > construct directory. There must be another file that gives the home > directory. What else do I have to change to make the copy of construct > forget its original location? > > Thanks! Jim > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: barrd at cricinfo.com (Dave Barr ) Date: Tue, 20 Mar 2001 10:19:30 +0000 Subject: [ic] set-cookie tag + the expire parameter At 1:18 pm -0500 19/3/01, Mike Heins wrote: > > I have a question about the [set-cookie] tag... >> Having gone thro all the dox, and the developer site I cannot find >> anywhere what the format is for the 'expire' parameter. To date nothing >> I have tried will show up in the MagicCookie file, however, server side > > cookies (leaving out the expire parameter) work just fine. [snip snip] >It is just a UNIX time value. [tag time]%s[/tag] on a Linux machine, >or some number like 985025809. > >I should probably set it to ignore the generation of that if there >is a preformatted string, and will do so in the next version. Thanks for the patch Mike! Everything works just great now. Rgds:- Dave From: ton at verhagen.net (Ton Verhagen ) Date: Tue, 20 Mar 2001 13:09:51 +0100 Subject: [ic] Please wait while your request is processed Jojo, This might be what you're looking for: mv_delay_page All the best, Ton At 02:19 AM 3/18/01 +0100, you wrote: >On 16 Mar, Bill Randle wrote: > > jojo@blackpoint.de wrote: > >> > >> On 15 Mar, Bill Randle wrote: > >> [DEL] > >> > Another possibility, perhaps (untested): > >> > >> I've tested your codes with > >> > >> [mvasp] > >> <% > >> HTML "This will take awhile, please be patient..."; > >> $Document->send(); # flush buffer > >> $Document->hot(1); # send stuff as soon as it's written > >> > >> # some perl task that takes awhile > >> # if there are some points in the process you can update the > >> # user status, so much the better. E.g.: > >> # foreach (@some_array) { > >> # HTML " ."; # show another period as a progress indicator > >> # some code that processes each item > >> # } > >> $i=0; > >> HTML "<BR>In process "; > >> > >> for ($i = 1; $i <= 30; $i++) > >> { > >> HTML " ."; > >> $Document->send(); > >> select(undef,undef,undef,1.000); > >> } > >> HTML "<br>All done, thank you for waiting."; > >> %> > >> [/mvasp] > >> > >> and I get the whole page after the mvasp is finish (30 seconds) and I > >> can't see another period (HTML " .";) during the process. What did I do > >> wrong? > > > > I don't know that you're doing anything wrong. After the reply from Mark, I > > tested it too and got the same results. I haven't had the time to look > > into it any deeper to see why it doesn't work as expected. > >I'm in a muddle. The codes is right, but I get not the same results? >What I want is, IC has to send the line or the content of the line > > HTML " any nice message"; > >as soon as possible to the agent. But it seems to me, IC makes the whole >pages or codes first and send the page to the agent only, if IC is >finish with the whole work of building that page. > >Hmmm....what I want is the same behavior like the site >http://www.metager.de . You can use any keyword, what you wisch. You >get a part ot the top page immediatly and then, you get every 10 >seconds a line like > >.... >3ί Sekunde ... (30 seconds) >20 Sekunde ... (20 seconds) >10 Sekunde ... (10 seconds) > >etc. ...and suddenly.... I get a lot of transfered datas by my agent >(NS Navigator) and get a list of the results. > >Another case. > >You can use the [search-region]. But, you get a page only, if the >building of the results page process is finish and not during that >process. > >But if you use [search-region send=1], you get the page immediatly page >during the page building by Minivend or Interchange. > >I want to write some inline perl codes and send some message from such >inline perl codes to the agent immadiatliy or ASAP and not at the the >end of the building HTML page by IC or the inline perl codes. Am I >missing a special codes as a replacement of the option "send=1"? > >Was is my wrong? > >Thanks! > >Joachim > >-- >-------------<FreeBsd>-------------------------------------------------- >Hans-Joachim Leidinger black point arts Internet Solutions GmbH >email: jojo@blackpoint.de FAX : +49 0209-398265 >http://www.bpaserver.net > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users From: tony at leedsnet.com (Tony Crooks ) Date: Tue, 20 Mar 2001 12:17:40 gmt Subject: [ic] "error in your SQL syntax near..." Hi :o) We tried cross selling & upselling & got this error message... Sorry, there was an error in processing this form action. Please report the error or try again later. (You have an error in your SQL syntax near '= NULL where sku = '0501017' ' at line 1 ) Can anyone help please? Regards Tony Crooks www.leedsnet.com From: thomas at prometheas.gr (Thomas N. Stefanidis ) Date: Tue, 20 Mar 2001 15:04:14 +0200 Subject: [ic] A strange problem Hello list, I have manage to have different prices for different sizes for the same product. Each time i choose a product,it displays the correct price. But sometimes,when i choose a different size,it keeps displaying the default price. Any ideas what tag to place together with the [item-price] so as to check if the size has a value(price) so as to take that price? Thank you in advance. Thomas From: rsmith at crepsunited.com (Robert Smith ) Date: Tue, 20 Mar 2001 09:25:42 -0500 Subject: [ic] I need an example of putting a row into a table via Interchange Could someone possibly provide an example of putting a row into a table via Interchange's monster perl code? Thanks, Robert Smith From: davidb at communitylink.com (davidb ) Date: Tue, 20 Mar 2001 10:38:15 -0600 Subject: [ic] Startlingly Slow Loading Time For some reason, when I enter Admin all of the pages load very slowly (we're talking 2 min to load a page w/ T1 connection)- especially when applying changes or editing shipping methods. This is grinding my productivity to a halt. I would appreciate any ideas. Thanks davidb From: dan at mailturtle.com (Dan McFarland ) Date: Tue, 20 Mar 2001 10:49:34 -0600 Subject: [ic] Startlingly Slow Loading Time What type server and is it remote or inhouse? Also, are you hosting other sites that may be eating up your bandwidth? Look at the drive space left if NT or SWAP size if Linux/Unix and icrease if needed. How much RAM? I would recommend at leat 256, preferably 512. Look at the OUTbound connection on the server. See if it may be slow there as well. If so and it's not anything else mentioned, try replacing the Ethernet card or the cable. Those can go out and cause huge slowdowns. ----- Original Message ----- From: davidb <davidb@communitylink.com> To: <interchange-users@lists.akopia.com> Sent: Tuesday, March 20, 2001 10:38 AM Subject: [ic] Startlingly Slow Loading Time > For some reason, when I enter Admin all of the pages load very slowly (we're > talking 2 min to load a page w/ T1 connection)- especially when applying > changes or editing shipping methods. This is grinding my productivity to a > halt. I would appreciate any ideas. > Thanks > davidb > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: ltroncoso at netparatodos.com (Leonardo Troncoso ) Date: Tue, 20 Mar 2001 16:56:33 GMT Subject: [ic] Problem restarting I have a strange and annoying problem with Interchange, I have 2 instalations in different machines, running SuSE 6.3, and both have the same problem. Interchange starts well, and is running without problem, but whenever I call bin/restart, or Interchange again to add a new catalog or any interaction with it from the command line I receive a message like this: Couldnt lock file: resource not available followed by the command usage help. So, when I have to stop the server, I must send a kill signal to it. If someone know what file Interchange's talking, or any fixes to this problem any help would be appreciated. Thank you very much, Leonardo Troncoso From: joachim.richter at usvideocenter.de (joachim.richter ) Date: Tue, 20 Mar 2001 18:15:20 +0100 Subject: [ic] Button be gone ! (please) hi there, we just got the glorious idea to have buttons/ links vanish if certain fields are not present. this is easy [if-item-field xsound1]<a href="scan/fi=[scratch cross_file]/sf=xsound1/se=[item-field xsound1]">[item-field xsound1]</a>[/if-item-field] and it works.....but what if we want to have a link/button vanish, if certain information in a column is missing : we tried this which seems logical (kinda) : [seti count][data table = products_internet column = internet key = Z][/seti] [if scratch count ne 0] <tr><td> [page scan fi=products_internet sf=internet se=Z tf=category to=x tf=title to=x ml=10 su=yes ]<img src="__navigation__/dd.gif" border="0">[/page] </td></tr>[else][/else][/if] but it doesnt seem to work and what if we have 5 buttons/links in one document which we like to attach the same functionality to. do we have to change count into count1, count2, count3 ..... help is greatly appreciated 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: rohlf at life.bio.sunysb.edu (F. James Rohlf ) Date: Tue, 20 Mar 2001 13:02:15 -0500 Subject: [ic] HTML editor Editing the Interchange catalog files seems a bit awkward because the various files (pages, special_pages, and normal HTML files) get swapped in and out dynamically by Interchange. Which HTML editors work best in this environment? Obviously, MS FrontPage which I have used for 'normal' web pages does not work so well here -- even if I could figure out how to get the FrontPage extensions installed. Thanks, Jim From: crt at kiski.net (Casey R. Tweten ) Date: Tue, 20 Mar 2001 13:08:33 -0500 (EST) Subject: [ic] HTML editor Today around 1:02pm, F. James Rohlf hammered out this masterpiece: : Editing the Interchange catalog files seems a bit awkward because the : various files (pages, special_pages, and normal HTML files) get swapped in : and out dynamically by Interchange. Which HTML editors work best in this : environment? Obviously, MS FrontPage which I have used for 'normal' web : pages does not work so well here -- even if I could figure out how to get : the FrontPage extensions installed. emacs vi vim pico elvis notepad BB edit etc... -- print(join(' ', qw(Casey R. Tweten)));my $sig={mail=>'crt@kiski.net',site=> 'http://home.kiski.net/~crt'};print "\n",'.'x(length($sig->{site})+6),"\n"; print map{$_.': '.$sig->{$_}."\n"}sort{$sig->{$a}cmp$sig->{$b}}keys%{$sig}; my $VERSION = '0.01'; #'patched' by Jerrad Pierce <belg4mit at MIT dot EDU> From: rene at hertell.com (Rene Hertell ) Date: Tue, 20 Mar 2001 20:35:06 +0200 Subject: [ic] HTML editor > Editing the Interchange catalog files seems a bit awkward because the > various files (pages, special_pages, and normal HTML files) get swapped in > and out dynamically by Interchange. Which HTML editors work best in this > environment? Obviously, MS FrontPage which I have used for 'normal' web > pages does not work so well here -- even if I could figure out how to get > the FrontPage extensions installed. You should avoid FrontPage completely. It messes up your html/IC code completely. I use Allaire Home Site. It has a perfect ftp-client that works like browsing your own HDD and editing files directly from there. It has an inbuilt browser (some sort of IE) that can map the pages trough the IC-server. You just jump between edit and browse-mode. You have just to remember to set the file saving mode to Unix...! Other people prefer Dream Weaver (if I got it right, Akopia is building some sort of IC module/plugin for dream weaver)... Renι From: interchange at superiorsites.net (Bobby G. Brown, Jr. ) Date: Tue, 20 Mar 2001 12:47:32 -0600 Subject: [ic] (no subject) Does anyone here know if Bank of America's gateway and merchant services is compatible with interchange? From: jshimazu at mail.com (Jason Shimazu ) Date: Tue, 20 Mar 2001 14:57:13 -0500 (EST) Subject: [ic] User Coupons Hi, I am an IC newbie. Our company saw Interchange at a linux expo and got interested. Now I've been given an assignment on an upcoming promotion involved with user coupons. Suppose that they will get a chance to input a coupon code at checkout and the discount will apply to that entire order. And the coupon can only be used once per user. I am thinking about creating another table for recording the coupon usage for the users (for one coupon one user) and do the database check/modify at checkout time. But I dont know too much about IC yet. Can anybody give some suggestions on how I can implement this feature? Using some capabilities built-in the Construct Template? Anything is greatly appreciated. Thanks. -- J. Shimazu ______________________________________________ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup From: mat at booksellersolutions.com (Mat Jones - booksellersolutions.com ) Date: Tue, 20 Mar 2001 11:55:15 -0800 Subject: [ic] search region I am having problems with the search region tag. Here is what I want to achieve: A subset of results need to be displayed at the top of the screen which are pulled from the returned items. If 1000 results are returned, I still want the general results to be displayed 50 per page, however, I want the first search-region to return all results which have a 'href' from the entire set of results. My idea is to do something like below: Right now it only returns hyperlinks which appear within that particular page of results. [search-region] [seti hyperlink][item-field name][/seti] [if scratch hyperlink =~ /href/i] [item-field name] [/if] [/search-region] [search-region] [search-list] ..... displays complete data set from query .... [/search-list] [/search-region] thanks Mat booksellersolutions.com Read what the SF Examiner says about booksellersolutions.com: http://www.sfexaminer.com/business/default.jsp?story=b.web.0121 2141 Mission St #301 San Francisco, CA 94110 (415) 554-0568 From: thomas at prometheas.gr (Thomas N. Stefanidis ) Date: Tue, 20 Mar 2001 22:19:15 +0200 Subject: [ic] shipping.asc file is too big!! Hello list, I'm trying to make the shipping method. But the file is too big.It's 5.6MB! My shipping cost is like this : 1kg=1250 2kg=1350 3kg=1450 (for every kg, 100 drh is added) and so on... I tried to make something like this from 0 to 1=1250 from 1 to 2=1350 from 2 to 3=1450 and so on.... but the server started to become too slow... then the memory went from 150MB to 1MB!.....i checked the shipping.asc file and it was 5.6MB. Any ideas why this happend? Any ideas how to make the shipping method more simple? Thank you in advance, Thomas From: jud-lists at copernica.com (Jud Harris ) Date: Tue, 20 Mar 2001 14:41:28 -0600 Subject: [ic] shipping.asc file is too big!! Hey there, I had a similar problem last week just before the catalog was going into production use online - very inconvenient, I must say. Here's my theory on what happened to me... I was having some packet loss problems between my machine and the server whilst editing the shipping table via the IC admin interface. My submits kept failing. I restarted IC a few times. It was horribly slow. My maching ran out of memory, and I noticed IC was using along the lines of 150MB of memory. My shipping.asc file had grown to 50mbs, and when I opened it in vi, it had a HUGE number of "///" in it. Very odd... at the end of the file was the good shipping data, so I cut the file up to that point. Restarted IC and all worked well. I'm thinking IC went into some type of loop while editing the file due to network problems and the IC server had choking on such a large file. Try nuking the corrupt parts of the shipping.asc file and restarting the IC server. .. .good luck! -Jud ----- Original Message ----- From: "Thomas N. Stefanidis" <thomas@prometheas.gr> To: "Interchange Mailing List" <interchange-users@lists.akopia.com> Sent: Tuesday, March 20, 2001 2:19 PM Subject: [ic] shipping.asc file is too big!! > Hello list, > I'm trying to make the shipping method. > But the file is too big.It's 5.6MB! > My shipping cost is like this : > 1kg=1250 > 2kg=1350 > 3kg=1450 > (for every kg, 100 drh is added) > and so on... > I tried to make something like this > from 0 to 1=1250 > from 1 to 2=1350 > from 2 to 3=1450 > and so on.... > but the server started to become too slow... > then the memory went from 150MB to 1MB!.....i checked the shipping.asc > file and it was 5.6MB. > Any ideas why this happend? > Any ideas how to make the shipping method more simple? > > Thank you in advance, > > Thomas > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: jonc at webmaint.com (Jonathan Clark ) Date: Tue, 20 Mar 2001 20:47:55 -0000 Subject: [ic] Can GlobalSub override item_price routine? NOT WORKING > > i have used [user-price] tag in common adjust and also the code in > catalog.cfg > this is correct. > and i used [user-price] tag in flypage.html ... > this is not correct. The regular price tags should be used on the pages. For example, [item-price]. You should not alter any of the ic price tags in any of the pages from the way they are in the demo site. To get the [user-price] tag to work, it should only be referenced in the CommonAdjust setting in catalog.cfg > i have also commented the following line > #UserDB default scratch dealer > this is ok. It us just used to load a scratch variable from userdb on login. Good luck! Jonathan Webmaint. From: jonc at webmaint.com (Jonathan Clark ) Date: Tue, 20 Mar 2001 21:00:26 -0000 Subject: [ic] storing / displaying images in a database? Hi. I am developing an application in ic which I would like to store and display images from a database (MySQL). I am not sure how I will go about it yet, but I am wondering if this has already been done before I reinvent the wheel. I think Mike may have mentioned this type of functionality would be included in a future version. Are there any tags in existance now I can use? Thanks, Jonathan Webmaint. From: chc at mninter.net (Curt Hauge ) Date: Tue, 20 Mar 2001 16:16:06 -0600 Subject: [ic] error accessing genconfig.html in IC administration Hi everyone, A recent 4.6.3 tarball conversion from MV4.04 on Linux Mandrake 6.0 displays this message in /catalogs/mycat/error.log _and_ interchange/error.log whenever I access genconfig.html (Administration) from the Interchange Administration logged in as Super User: [some_more_info] mycat /cgi-bin/mycat/admin/genconfig.html Can't read file '/local_path/catalogs/mycat/etc/status.mycat' with NoAbsolute set Is this normal? It doesn't seem to hurt anything, so should I just live with it? When I switch NoAbsolute to No, it works fine, however, I understand NoAbsolute is set to Yes for security reasons, so I don't want to set it to No if this leaves me at any risk. It is a single catalog installation, however, I also have a newly configured test cat on this server with the same problem. The NoAbsolute definition says: ...This should be changed (to Yes) in a multi-user environment to minimize security problems... Does multi-user mean more than one catalog or more than one person accessing the administration area of _any_ catalog? The archives have produced nothing more in regard to this same error message or NoAbsolute. Anyone familar with this or have any other key words to search on? Thanks in advance. Curt Hauge From: parentjp at videotron.ca (Jean-Pierre Parent ) Date: Tue, 20 Mar 2001 17:35:00 -0500 Subject: [ic] File::CounterFile not working in flex_editor.html Please I've lost many hours to this...has anyone succesfully set up a counter using the File::CounterFile package? In lib/UI/pages/admin/flex_editor.html, I see: [if cgi ui_new_item] [calc] $CGI->{item_id} = q{[counter file="__UI_PRODUCT_DIR__/[cgi mv_data_table].autonumber" start=new0000]}; return; [/calc] [/if] This should work when creating a file in __UI_PRODUCT_DIR__/table_name.autonumber...but its not (for me at least). I checked the file permissions and put the same as the products.autonumber which uses the same package but in items section. I *think* it should also work in flex but it doesnt...what am I missing? Thanks... Jean-Pierre Parent From: howells at siliconcty.com (Howell Silverman ) Date: Tue, 20 Mar 2001 18:43:17 -0500 Subject: [ic] error accessing genconfig.html in IC administration I'm have the exact same problem which just started happening the other day. In my case, the catalog/browser seems to hang. -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Curt Hauge Sent: Tuesday, March 20, 2001 5:16 PM To: interchange-users@lists.akopia.com Subject: [ic] error accessing genconfig.html in IC administration Hi everyone, A recent 4.6.3 tarball conversion from MV4.04 on Linux Mandrake 6.0 displays this message in /catalogs/mycat/error.log _and_ interchange/error.log whenever I access genconfig.html (Administration) from the Interchange Administration logged in as Super User: [some_more_info] mycat /cgi-bin/mycat/admin/genconfig.html Can't read file '/local_path/catalogs/mycat/etc/status.mycat' with NoAbsolute set Is this normal? It doesn't seem to hurt anything, so should I just live with it? When I switch NoAbsolute to No, it works fine, however, I understand NoAbsolute is set to Yes for security reasons, so I don't want to set it to No if this leaves me at any risk. It is a single catalog installation, however, I also have a newly configured test cat on this server with the same problem. The NoAbsolute definition says: ...This should be changed (to Yes) in a multi-user environment to minimize security problems... Does multi-user mean more than one catalog or more than one person accessing the administration area of _any_ catalog? The archives have produced nothing more in regard to this same error message or NoAbsolute. Anyone familar with this or have any other key words to search on? Thanks in advance. Curt Hauge _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: tlagard at seidata.com (Tom LaGard ) Date: Tue, 20 Mar 2001 19:31:11 -0500 Subject: [ic] HTML editor DONT USE FRONTPAGE Jim I would like ask you to discontinue using Frontpage. It is the worst HTML editor ever. I have had to fix many webpages that don't work because they were built in Frontpage. If you would like some recommendations of HTML Editors, I would recommend Notepad or VI Thanks Tom -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of F. James Rohlf Sent: Tuesday, March 20, 2001 1:02 PM To: Interchange-Users Subject: [ic] HTML editor Editing the Interchange catalog files seems a bit awkward because the various files (pages, special_pages, and normal HTML files) get swapped in and out dynamically by Interchange. Which HTML editors work best in this environment? Obviously, MS FrontPage which I have used for 'normal' web pages does not work so well here -- even if I could figure out how to get the FrontPage extensions installed. Thanks, Jim _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: abellmt at spsp.net (Martin Abell ) Date: Tue, 20 Mar 2001 20:29:52 -0500 Subject: [ic] Search error: looking for products.asc Valankar wrote: (on 2/23) that there was a problem wherein search is looking for products.asc instead of products.txt. I didnΉt read all the traffic to see where this went, but I agree with the statement that the .asc is hardcoded (in some way) into newer versions of Interchange (between 4.6.1 and 4.6.3). Apparently all searches now require the search type to be set. Putting "st=db" is what seems to have fixed my problems. Martin Abell SpeedSpan. From: jbeima at reality.palb.com (John Beima ) Date: Tue, 20 Mar 2001 19:17:22 -0700 (MST) Subject: [ic] HTML editor If you are a REAL web developer, you should use vi, vim, gvim, pico, notepad, or just plain old MS-DOS edit. Frontpage is for people who know nothing. No professional in his right mind would be caught dead using FrontPage. God the hours I have spent cleaning up the crappy useless code it produces. Here is a simple answer real professional web authors write their own code. Just like real programmers. Are you a professional or not? God I always love this one! (-: FrontPage YUCK! John Beima Quoting "F. James Rohlf" <rohlf@life.bio.sunysb.edu>: > Editing the Interchange catalog files seems a bit awkward because the > various files (pages, special_pages, and normal HTML files) get swapped > in > and out dynamically by Interchange. Which HTML editors work best in this > environment? Obviously, MS FrontPage which I have used for 'normal' web > pages does not work so well here -- even if I could figure out how to > get > the FrontPage extensions installed. > > Thanks, Jim > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: ftnx at ksbase.com (Kari Suomela ) Date: Tue, 20 Mar 2001 21:21:56 -0500 Subject: [ic] HTML editor DONT USE FRONTPAGE Tuesday March 20 2001 19:31, Tom LaGard wrote to All: TL> I would like ask you to discontinue using Frontpage. It is the TL> worst TL> HTML editor ever. I have had to fix many webpages that don't work TL> because they were built in Frontpage. If you would like some TL> recommendations of HTML Editors, I would recommend Notepad or VI NONE of the above is an *HTML* editor! KS KARICO Business Services Toronto, ON Canada http://www.ksbase.com From: cfm at maine.com (cfm at maine.com ) Date: Tue, 20 Mar 2001 22:47:03 -0500 Subject: [ic] HTML editor DONT USE FRONTPAGE On Tue, Mar 20, 2001 at 09:21:56PM -0500, Kari Suomela wrote: Please review the list rules and stay on topic. > > Tuesday March 20 2001 19:31, Tom LaGard wrote to All: > > > TL> I would like ask you to discontinue using Frontpage. It is the > TL> worst > TL> HTML editor ever. I have had to fix many webpages that don't work > TL> because they were built in Frontpage. If you would like some > TL> recommendations of HTML Editors, I would recommend Notepad or VI > > NONE of the above is an *HTML* editor! > > KS > > KARICO Business Services > Toronto, ON Canada > http://www.ksbase.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: rcc at dresults.com (Ron C. Colcernian ) Date: Tue, 20 Mar 2001 23:08:01 -0500 Subject: [ic] Meta Field Information, Where is? On Page 14 Sectin 3.15 Titled Meta Field Information Where is the meta information specified? Where are examples of the Meta Field information? Thanks, Ron Colcernian From: g.gaskill at aboron.com (Greg Gaskill ) Date: Tue, 20 Mar 2001 23:09:06 -0500 Subject: [ic] HTML editor ----- Original Message ----- From: "John Beima" <jbeima@reality.palb.com> To: <interchange-users@lists.akopia.com> Sent: Tuesday, March 20, 2001 9:17 PM Subject: Re: [ic] HTML editor > If you are a REAL web developer, you should use vi, vim, gvim, pico, notepad, or > just plain old MS-DOS edit. > > Frontpage is for people who know nothing. No professional in his right mind > would be caught dead using FrontPage. God the hours I have spent cleaning up the > crappy useless code it produces. > > Here is a simple answer real professional web authors write their own code. Just > like real programmers. Are you a professional or not? God I always love this > one! (-: FrontPage YUCK! Actually, I let the graphic artists use whatever they are comfortable with, then clean up the raw html and wedge in the interchange tags where needed. I consider myself a programmer not a visual artist, so I don't use Frontpage for coding, and I don't require them to use a text editor for layout and design. I say what fields are needed on a particular type of page, and they "paint me a picture" of a web page. This way we end up with an end product that looks good and also works correctly. From: crt at kiski.net (Casey R. Tweten ) Date: Tue, 20 Mar 2001 23:23:56 -0500 (EST) Subject: [ic] HTML editor Today around 11:09pm, Greg Gaskill hammered out this masterpiece: : ----- Original Message ----- : From: "John Beima" <jbeima@reality.palb.com> : To: <interchange-users@lists.akopia.com> : Sent: Tuesday, March 20, 2001 9:17 PM : Subject: Re: [ic] HTML editor : : : > If you are a REAL web developer, you should use vi, vim, gvim, pico, notepad, or : > just plain old MS-DOS edit. Ahem, since the "those are not HTML editors" card was already played, I'd like to mention the forgotten hero: emacs. A text editor that can be anything you darn well please. : > Here is a simple answer real professional web authors write their own code. Just : > like real programmers. Are you a professional or not? God I always love this : > one! (-: FrontPage YUCK! Yes, front page sucks. However, blanket statements like this are just wrong. Let me preface: I am a Perl who works only on Linux workstations. I know a great many designers who are professional and nationally recognized who use Dream Weaver. As a developer, I hate revieving their code but I also love their work. It is the constant struggle between the forces. What is good for programmers is not always good for designers. We can't be so narrow minded as to expect them to conform to what we like, likewise for them. Also, it is important to remember that when editing interchange pages and components, it is not HTML that you are editing, it is interchange templates. Thinking that way, you quickly realize that forefitting the HTML syntax highlighting is something one can live with. The front page note suggests the origional asker doen't know HTML ( not knocking you, just guessing ) and doesn't care to learn. My suggestion: 1) pick up a copy of DreamWeaver, 2) Ask your developers to use HTML comment style tags ( you *can* do this right? or am I thinking TT? ) and that shouldn't freak out DreamWeaver too much. I hold no legal accountablilty if DreamWeaver wrecks your "insert buzzwords here" web site. : Actually, I let the graphic artists use whatever they are : comfortable with, then clean up the raw html and wedge in the : interchange tags where needed. I consider myself a programmer not a : visual artist, so I don't use Frontpage for coding, and I don't : require them to use a text editor for layout and design. I say what : fields are needed on a particular type of page, and they "paint me a : picture" of a web page. This way we end up with an end product that : looks good and also works correctly. And, as of today, given the technologies that exist, this is the way it should be. YMMV. -- print(join(' ', qw(Casey R. Tweten)));my $sig={mail=>'crt@kiski.net',site=> 'http://home.kiski.net/~crt'};print "\n",'.'x(length($sig->{site})+6),"\n"; print map{$_.': '.$sig->{$_}."\n"}sort{$sig->{$a}cmp$sig->{$b}}keys%{$sig}; my $VERSION = '0.01'; #'patched' by Jerrad Pierce <belg4mit at MIT dot EDU> From: bob at nleaudio.com (Bob Puff at NLE ) Date: Wed, 21 Mar 2001 01:22:17 -0500 Subject: [ic] UPS shipping - how to change? I have two questions: 1. I looked over UPS's site, and can't seem to locate where the ".CSV" files are that indicate my zone information. Where is this? 2. I want to modify the shipping charges for my "construct" store such that: A. UPS Shipping charges are multiplied by a factor (like 1.15 for a 15% markup), as well as B. Add a base amount (like $3). I've looked through the docs, and think it must be in the shipping.asc file, but my file doesn't seem to exactly line up with what the docs say, so a decent example would be greatly appreciated. Thanks. Bob From: sheich at mosinfo.ru (Sergey Sheykin ) Date: Wed, 21 Mar 2001 09:38:32 +0300 Subject: [ic] HTML editor Hi, I use at this tome HomeSite 4.0, - like notepad, but with color fonts. > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of F. > James Rohlf > Sent: Tuesday, March 20, 2001 9:02 PM > To: Interchange-Users > Subject: [ic] HTML editor > > > Editing the Interchange catalog files seems a bit awkward because the > various files (pages, special_pages, and normal HTML files) get swapped in > and out dynamically by Interchange. Which HTML editors work best in this > environment? Obviously, MS FrontPage which I have used for 'normal' web > pages does not work so well here -- even if I could figure out how to get > the FrontPage extensions installed. > > Thanks, Jim > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: res087jh at verizon.net (Dan Garwood ) Date: Wed, 21 Mar 2001 01:35:26 -0500 Subject: [ic] UPS shipping - how to change? first you need to go to the shipping link at the top of ups page it will give you another link for the charges and zone files. the second thing is go to the shipping in the administration and highlight a charge and click edit. than when you get in that mode. Click the help in the upper right hand of the screen. It gives a mall expliantion for that area. The help button up there will do that through out the UI Dan Garwood E-Profit Designs -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Bob Puff@NLE Sent: Wednesday, March 21, 2001 1:22 AM To: interchange-users@lists.akopia.com Subject: [ic] UPS shipping - how to change? I have two questions: 1. I looked over UPS's site, and can't seem to locate where the ".CSV" files are that indicate my zone information. Where is this? 2. I want to modify the shipping charges for my "construct" store such that: A. UPS Shipping charges are multiplied by a factor (like 1.15 for a 15% markup), as well as B. Add a base amount (like $3). I've looked through the docs, and think it must be in the shipping.asc file, but my file doesn't seem to exactly line up with what the docs say, so a decent example would be greatly appreciated. Thanks. Bob _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: bwdandas at bwdandassociates.com (B.W.D. And Associates ) Date: Wed, 21 Mar 2001 01:42:32 -0500 Subject: [ic] Need some Help (Newbie...Very Newbie) Ok, I am building my business on the internet and currently signed up with a hosting company that carried Interchange as a shopping cart function. However, I am excited to use this program and integrate it into my already made web site. Does anyone know how I can do this? I will be needing quite a bit of help so please bare with me. My first question is this: Do I have to rebuild my site and use Interchange's template or can I just insert some code into my existing site to link to Interchange for each item? If so, how can this be done. I think I will leave it at that for now. More questions to come as soon as these get answered. Thanks in advance! ------------------------------------- B.W.D. And Associates Your Leading Computer Resource Center Brad Deich (Owner) http://www.bwdandassociates.com Sales: sales@bwdandassociates.com ------------------------------------- From: support at integricity.com (Integricity Support ) Date: Wed, 21 Mar 2001 16:05:45 +0800 Subject: [ic] Deleting Affiliates... Hello Team Akopia, Just wondering, is there the functionality to delete affiliates without using the tables? I guess this would be good for the time when the entire access controls, depending on login is implemented. -- Best regards, Integricity mailto:support@integricity.com From: amitk at infinity-design.com (Amit Kulkarni ) Date: Wed, 21 Mar 2001 14:01:25 +0530 Subject: [ic] how to use a variable in a usertag in flypage.html how do i use $somevariable defined inside a usertag defination in catalog.cfg in flypage.html From: jojo at blackpoint.de (jojo at blackpoint.de ) Date: Wed, 21 Mar 2001 11:39:48 +0100 (CET) Subject: [ic] Please wait while your request is processed Ton, I'm glad to get your hint. But I did not find it in the docs. Can you point me, where I can get more informations about mv_delay_page? All the best and a lot of thanks, jojo On 20 Mar, Ton Verhagen wrote: > Jojo, > > This might be what you're looking for: mv_delay_page > > All the best, > > Ton [DEL] -- -------------<FreeBsd>-------------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: ton at verhagen.net (Ton Verhagen ) Date: Wed, 21 Mar 2001 12:22:44 +0100 Subject: [ic] Please wait while your request is processed Jojo, At 11:39 AM 3/21/01 +0100, you wrote: >Ton, > >I'm glad to get your hint. But I did not find it in the docs. >Can you point me, where I can get more informations about mv_delay_page? [DEL] ictemplates.pod: mv_delay_page dp S Delay search until after inital page display One could use mv_delay_page on a search form in order to display a page immediately while waiting for the results of a time consuming search. The results page would be displayed once the search was completed. As far as can recall mv_delay_page was still in MV4.0, but I haven't found it in IC4.6.4. Maybe it is taken out (by accident). If it's taken out, start banging on Mike and his team to put it back in again. This kind of functionality should be part of the default distribution imho. Maybe it's been replaced by something else, but I haven't found that either. Good luck, Ton From: joachim.richter at usvideocenter.de (joachim.richter ) Date: Wed, 21 Mar 2001 13:04:12 +0100 Subject: [ic] Search/Check in Column hi there, we just got the glorious idea to have buttons/ links vanish if certain fields are not present. this is easy [if-item-field xsound1]<a href="scan/fi=[scratch cross_file]/sf=xsound1/se=[item-field xsound1]">[item-field xsound1]</a>[/if-item-field] and it works.....but what if we want to have a link/button vanish, if certain information in a column is missing : we tried this which seems logical (kinda) : [seti count][data table = products_internet column = internet key = Z][/seti] [if scratch count ne 0] <tr><td> [page scan fi=products_internet sf=internet se=Z tf=category to=x tf=title to=x ml=10 su=yes ]<img src="__navigation__/dd.gif" border="0">[/page] </td></tr>[else][/else][/if] but it doesnt seem to work and what if we have 5 buttons/links in one document which we like to attach the same functionality to. do we have to change count into count1, count2, count3 ..... help is greatly appreciated 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: jojo at blackpoint.de (jojo at blackpoint.de ) Date: Wed, 21 Mar 2001 13:20:23 +0100 (CET) Subject: [ic] Please wait while your request is processed On 21 Mar, Ton Verhagen wrote: > Jojo, > > At 11:39 AM 3/21/01 +0100, you wrote: >>Ton, >> >>I'm glad to get your hint. But I did not find it in the docs. >>Can you point me, where I can get more informations about mv_delay_page? > [DEL] > > ictemplates.pod: > mv_delay_page dp S Delay search until after inital page display > > One could use mv_delay_page on a search form in order to display a page > immediately while waiting for the results of a time consuming search. The > results page would be displayed once the search was completed. > > As far as can recall mv_delay_page was still in MV4.0, but I haven't found > it in IC4.6.4. Maybe it is taken out (by accident). > If it's taken out, start banging on Mike and his team to put it back in > again. This kind of functionality should be part of the default > distribution imho. Maybe it's been replaced by something else, but I > haven't found that either. > > Good luck, > > Ton Thank you a lot! Hmmm...can I use mv_delay_page outside of any search and results pages? If I recall right, I can use [search-region send=1] in my results page too, to get the same behavior like mv_delay_page. Hmmm...is there any MV/IC-Tag like [page-region send=1] to display a page immediately during the page building by IC? Thanks! Joachim -- -------------<FreeBsd>-------------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: ary at communicationfactory.com (Young Family ) Date: Mon, 19 Mar 2001 05:41:48 -0800 Subject: >>>[ic] Fw: Big Login Problem You wrote ... >>username: interchange >>Password: pass Ok now that I tried that and it doesnt work, what next? I will reiterate my previous question.. just what files in the system can I go to to reset the password? Obviously I have screwed something up, and I just cannot get in. I need to figure out how to get in to the admin area so aI can build my shop Alan Young ary@communicationfactory.com [ic] Fw: Big Login Problem Bob Puff@NLE bob@nleaudio.com Mon, 19 Mar 2001 11:42:59 -0500 Previous message: [ic] Fw: Big Login Problem Next message: [ic] Fw: Big Login Problem Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] username: interchange Password: pass Previous message: [ic] Fw: Big Login Problem Next message: [ic] Fw: Big Login Problem Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] From: rick at desertlord.com (Rick Lord ) Date: Wed, 21 Mar 2001 07:40:12 -0700 Subject: [ic] HTML editor I use NoteTab when on Windows and Emacs when on Linux. Those are the best editors I have found. John Beima wrote: > > If you are a REAL web developer, you should use vi, vim, gvim, pico, notepad, or > just plain old MS-DOS edit. > > Frontpage is for people who know nothing. No professional in his right mind > would be caught dead using FrontPage. God the hours I have spent cleaning up the > crappy useless code it produces. > > Here is a simple answer real professional web authors write their own code. Just > like real programmers. Are you a professional or not? God I always love this > one! (-: FrontPage YUCK! > > John Beima > > Quoting "F. James Rohlf" <rohlf@life.bio.sunysb.edu>: > > > Editing the Interchange catalog files seems a bit awkward because the > > various files (pages, special_pages, and normal HTML files) get swapped > > in > > and out dynamically by Interchange. Which HTML editors work best in this > > environment? Obviously, MS FrontPage which I have used for 'normal' web > > pages does not work so well here -- even if I could figure out how to > > get > > the FrontPage extensions installed. > > > > Thanks, Jim > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > John Beima > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Rick Lord Desert Lord Enterprises http://www.desertlord.com/ http://www.KitKar.com/ http://www.NavySealsWatches.com/ From: rohlf at life.bio.sunysb.edu (F. James Rohlf ) Date: Wed, 21 Mar 2001 09:47:30 -0500 Subject: [ic] FrontPage I seemed to have touched a raw nerve! Yes, I am a programmer! I started using SOAP (an assembly language) on the IBM 650 in 1958. I have gone through _many_ languages since then. I also am quite comfortable in HTML etc. However, when there is a tool that saves time I use it. I want to get the job done. Developing an entire website in an ASCII editor is possible (I have done it to learn) but it is a waste of time for routine use when _real_ HTML editors offer so many conveniences. I asked the question because I thought there might be enough usage of IC that someone would have developed special add-on tools for one of the HTML editors. I take it that the answer is 'no'. Jim From: crt at kiski.net (Casey R. Tweten ) Date: Wed, 21 Mar 2001 09:56:44 -0500 (EST) Subject: [ic] FrontPage Today around 9:47am, F. James Rohlf hammered out this masterpiece: : I asked the question because I thought there might be enough usage of IC : that someone would have developed special add-on tools for one of the HTML : editors. I take it that the answer is 'no'. One of those reasons is tha Open Source does not equal pay software. Or pay Operating Systems. Therefore, the chances of you finding what your after are slim, since there aren't any useable Open Source WYSIWYG HTML editors. -- print(join(' ', qw(Casey R. Tweten)));my $sig={mail=>'crt@kiski.net',site=> 'http://home.kiski.net/~crt'};print "\n",'.'x(length($sig->{site})+6),"\n"; print map{$_.': '.$sig->{$_}."\n"}sort{$sig->{$a}cmp$sig->{$b}}keys%{$sig}; my $VERSION = '0.01'; #'patched' by Jerrad Pierce <belg4mit at MIT dot EDU> From: mikeh at minivend.com (Mike Heins ) Date: Wed, 21 Mar 2001 10:27:08 -0500 Subject: [ic] FrontPage Quoting F. James Rohlf (rohlf@life.bio.sunysb.edu): > I seemed to have touched a raw nerve! > > Yes, I am a programmer! I started using SOAP (an assembly language) on the > IBM 650 in 1958. I have gone through _many_ languages since then. I also am > quite comfortable in HTML etc. However, when there is a tool that saves time > I use it. I want to get the job done. Developing an entire website in an > ASCII editor is possible (I have done it to learn) but it is a waste of time > for routine use when _real_ HTML editors offer so many conveniences. > > I asked the question because I thought there might be enough usage of IC > that someone would have developed special add-on tools for one of the HTML > editors. I take it that the answer is 'no'. > Please, no editor wars. This is off-topic. As a side note, at one time I spent hundreds of hours trying to integrate FrontPage '97/98 with (at that time) Minivend. It was a losing proposition, as when I delved into the SDK I found quite a few limitations and not a few bugs. Though I am sure they have been fixed somewhat, the non-open nature of FrontPage makes it like pulling teeth to get information about the SDK. Add the bad security problems of the FrontPage publisher and it became clear that it was time to give it up. (I probably would never have started if it had been a Microsoft product to begin with -- perhaps noone else remembers Vermeer, who they bought it from.) Another problem I found was that FrontPage "masterminded" the HTML, relocating comments to whereever if wanted, urlencoding things that should have been left untouched, etc. They have since added the equivalent of a <notouch> tag, but I was soured on FrontPage forever at that point. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Experience is what allows you to recognize a mistake the second time you make it. -- unknown From: davidb at communitylink.com (davidb ) Date: Wed, 21 Mar 2001 09:27:21 -0600 Subject: [ic] Basket won't go anwhere I just tested out my new catalog before inputting any data to make sure that I could place an order and to be certain that the secure server worked. This all appeared to be fine. Next, I added items descriptions and images and customized a few other pages. Now, when I try to place an order from the basket, the page never gets anywhere. It tries to reach the secure server but wont respond. Also, after doing this, all other attempts to access admin have resulted in extremely slow load times. I have tried to restart IC several times to no effect. Could this be a problem with the SSL? I checked my permissions and everything seemed ok. The only thing I could think of is that I deleted something from the cart template. I will continue to check the templates for trouble. The other site that I built works fine and uses the same secure server. Any advice is appreciated. davidb From: edl at newmediaems.com (Ed LaFrance ) Date: Wed, 21 Mar 2001 08:27:18 -0800 Subject: >>>[ic] Fw: Big Login Problem At 05:41 AM 03/19/2001 -0800, you wrote: >You wrote ... > > >>username: interchange > >>Password: pass > >Ok now that I tried that and it doesnt work, what next? I will reiterate my >previous question.. >just what files in the system can I go to to reset the password? Obviously I >have screwed something up, and I just cannot get in. > >I need to figure out how to get in to the admin area so aI can build my shop > >Alan Young >ary@communicationfactory.com Take a look in your products directory for a file called access.asc, and view the contents of the file. The Super User username and password should be there...unfortunately the pwd will be encrypted, but perhaps seeing the username will jog your memory. This uname and pwd was set by you when you created the catalog with makecat (whether you accepted the defaults or entered a custom pair). - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: mat at booksellersolutions.com (Mat Jones - booksellersolutions.com ) Date: Wed, 21 Mar 2001 09:02:52 -0800 Subject: [ic] search fields A client has a coordinated search which has the following fields to search: author title category illustrator How would I display on the results page, the name of the fields which were searched... eg if they only fill out author category, on search form, how can i make it display "You searched for author - whatever in category - whatever" Using [value mv_search_field] only pulls up a list of ALL search_field values, whether empty or not. is there something similar to $Values->{mv_searchspec}[0] i can use ?? Thanks Mat booksellersolutions.com Read what the SF Examiner says about booksellersolutions.com: http://www.sfexaminer.com/business/default.jsp?story=b.web.0121 2141 Mission St #301 San Francisco, CA 94110 (415) 554-0568 From: edl at newmediaems.com (Ed LaFrance ) Date: Wed, 21 Mar 2001 09:11:33 -0800 Subject: [ic] HTML editor At 07:17 PM 03/20/2001 -0700, you wrote: >If you are a REAL web developer, you should use vi, vim, gvim, pico, >notepad, or >just plain old MS-DOS edit. > >Frontpage is for people who know nothing. No professional in his right mind >would be caught dead using FrontPage. God the hours I have spent cleaning >up the >crappy useless code it produces. > >Here is a simple answer real professional web authors write their own >code. Just >like real programmers. Are you a professional or not? God I always love this >one! (-: FrontPage YUCK! > >John Beima I agree, Frontpage is a pig. But I would not condemn all WYSIWYG editors due to its lack of merits. I often use a visual tool when starting a new project, just to generate a few standardized page layouts to solidify the look and feel of the site. Clients like this, and I like it, because it gets the decorating out of the way up front. Then I switch to a text editor and don't look back. - Ed L. >Quoting "F. James Rohlf" <rohlf@life.bio.sunysb.edu>: > > > Editing the Interchange catalog files seems a bit awkward because the > > various files (pages, special_pages, and normal HTML files) get swapped > > in > > and out dynamically by Interchange. Which HTML editors work best in this > > environment? Obviously, MS FrontPage which I have used for 'normal' web > > pages does not work so well here -- even if I could figure out how to > > get > > the FrontPage extensions installed. > > > > Thanks, Jim > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > >John Beima >jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > >P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 >11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > >Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 >2713B Spring Place SW, Decatur, Alabama, United States, 35603 > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: joachim.richter at usvideocenter.de (joachim.richter ) Date: Wed, 21 Mar 2001 18:07:49 +0100 Subject: [ic] Checkout --- Required vs not required hi, on the checkout page there are different fields some of them are required some are not, changing the required form 1 to 0 only changes from "bold" to "not bold" does anybody know the location of the file(?) which configures the requirements of the checkout page ? i like to add fields and make them required i.e. if not filled they should turn red, where I do i change these settings ? thanx US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: jbeima at reality.palb.com (John Beima ) Date: Wed, 21 Mar 2001 10:16:58 -0700 (MST) Subject: [ic] HTML editor G'Day Casey, You are correct I did forget emacs... My appoligies to it! Something you folks may or may not have known is the lastest version of gvim DOES in fact sytax check you HTML code on two different levels! John Quoting "Casey R. Tweten" <crt@kiski.net>: > Today around 11:09pm, Greg Gaskill hammered out this masterpiece: > > : ----- Original Message ----- > : From: "John Beima" <jbeima@reality.palb.com> > : To: <interchange-users@lists.akopia.com> > : Sent: Tuesday, March 20, 2001 9:17 PM > : Subject: Re: [ic] HTML editor > : > : > : > If you are a REAL web developer, you should use vi, vim, gvim, pico, > notepad, or > : > just plain old MS-DOS edit. > > Ahem, since the "those are not HTML editors" card was already played, > I'd like to mention the forgotten hero: emacs. A text editor that can > be anything you darn well please. > > : > Here is a simple answer real professional web authors write their > own code. Just > : > like real programmers. Are you a professional or not? God I always > love this > : > one! (-: FrontPage YUCK! > > Yes, front page sucks. However, blanket statements like this are just > wrong. Let me preface: I am a Perl who works only on Linux > workstations. I know a great many designers who are professional and > nationally recognized who use Dream Weaver. As a developer, I hate > revieving their code but I also love their work. It is the constant > struggle between the forces. What is good for programmers is not > always good for designers. We can't be so narrow minded as to expect > them to conform to what we like, likewise for them. > > Also, it is important to remember that when editing interchange pages > and components, it is not HTML that you are editing, it is interchange > templates. Thinking that way, you quickly realize that forefitting > the HTML syntax highlighting is something one can live with. > > The front page note suggests the origional asker doen't know HTML ( > not knocking you, just guessing ) and doesn't care to learn. My > suggestion: 1) pick up a copy of DreamWeaver, 2) Ask your developers > to use HTML comment style tags ( you *can* do this right? or am I > thinking TT? ) and that shouldn't freak out DreamWeaver too much. I > hold no legal accountablilty if DreamWeaver wrecks your "insert > buzzwords here" web site. > > : Actually, I let the graphic artists use whatever they are > : comfortable with, then clean up the raw html and wedge in the > : interchange tags where needed. I consider myself a programmer not a > : visual artist, so I don't use Frontpage for coding, and I don't > : require them to use a text editor for layout and design. I say what > : fields are needed on a particular type of page, and they "paint me a > : picture" of a web page. This way we end up with an end product that > : looks good and also works correctly. > > And, as of today, given the technologies that exist, this is the way > it should be. YMMV. > > -- > print(join(' ', qw(Casey R. Tweten)));my > $sig={mail=>'crt@kiski.net',site=> > 'http://home.kiski.net/~crt'};print > "\n",'.'x(length($sig->{site})+6),"\n"; > print map{$_.': > '.$sig->{$_}."\n"}sort{$sig->{$a}cmp$sig->{$b}}keys%{$sig}; > my $VERSION = '0.01'; #'patched' by Jerrad Pierce <belg4mit at MIT dot > EDU> > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: doliver at hampshire.edu (Dylan Oliver ) Date: Wed, 21 Mar 2001 11:40:59 -0600 Subject: [ic] gvim indentation, was html editors -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 21 March 2001 11:16, you wrote: > G'Day Casey, > > You are correct I did forget emacs... My appoligies to it! > > Something you folks may or may not have known is the lastest version of > gvim DOES in fact sytax check you HTML code on two different levels! > > John This is, again, off-topic, but I have been seeking help on this subject for a while now. I have seen gvim's syntax highlighting and like its keystrokes, but severely miss XEmacs' html indentation. Can gvim automatically indent HTML? If so, how can I activate it? I'm happy to take answers off-list. - -- Dylan Oliver http://stout.hampshire.edu/~dao99 Global View International http://www.globalview-intl.com Do you know how little you know? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjq456sACgkQ7U8r0TCZf4E0lQCfRi1gokltohoFyL5WPMvpSAgb OxYAn2UOJk8KmPWGcLGMlKrAFEpSY48y =KJFe -----END PGP SIGNATURE----- From: admin at sitemajic.net (Chris Jesseman ) Date: Wed, 21 Mar 2001 12:55:32 -0500 (EST) Subject: [ic] HTML editor Back on topic... I wrote a color syntax highlight mode for Interchange that plugs into jEdit, which is OSS. I'm using it daily and it does a pretty good job (knock knock) of highliting IC tags, embeded perl, and outside HTML. I posted a link on this list a few weeks ago... -Chris > At 07:17 PM 03/20/2001 -0700, you wrote: > >If you are a REAL web developer, you should use vi, vim, gvim, pico, > >notepad, or > >just plain old MS-DOS edit. > > > >Frontpage is for people who know nothing. No professional in his right > mind > >would be caught dead using FrontPage. God the hours I have spent > cleaning > >up the > >crappy useless code it produces. > > > >Here is a simple answer real professional web authors write their own > > >code. Just > >like real programmers. Are you a professional or not? God I always love > this > >one! (-: FrontPage YUCK! > > > >John Beima > > I agree, Frontpage is a pig. But I would not condemn all WYSIWYG > editors > due to its lack of merits. I often use a visual tool when starting a new > > project, just to generate a few standardized page layouts to solidify > the > look and feel of the site. Clients like this, and I like it, because it > > gets the decorating out of the way up front. Then I switch to a text > editor and don't look back. > > - Ed L. > > > > > > >Quoting "F. James Rohlf" <rohlf@life.bio.sunysb.edu>: > > > > > Editing the Interchange catalog files seems a bit awkward because > the > > > various files (pages, special_pages, and normal HTML files) get > swapped > > > in > > > and out dynamically by Interchange. Which HTML editors work best in > this > > > environment? Obviously, MS FrontPage which I have used for 'normal' > web > > > pages does not work so well here -- even if I could figure out how > to > > > get > > > the FrontPage extensions installed. > > > > > > Thanks, Jim > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > >John Beima > >jbeima@palb.com, support@alocalagent.com, and > support@alocalchurch.com > > > >P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > >11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > > >Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > >2713B Spring Place SW, Decatur, Alabama, United States, 35603 > > > >_______________________________________________ > >Interchange-users mailing list > >Interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > =============================================================== > **** Virtual Hosting w/private IC Installation, $65/month! **** > --------------------------------------------------------------- > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > Chris Jesseman, President http://www.sitemajic.net From: jud-lists at copernica.com (Jud Harris ) Date: Wed, 21 Mar 2001 12:25:58 -0600 Subject: [ic] open login warning (?) Hey folks, I'm not sure if this is a universal problem, but I just noticed that my access table from the default construct store contains a username ":backup" with no password. I believe it is a group definition. It allows logins without a password and possesses nearly full permissions. I'm asterisk-ing out the password field to prevent logins. Note that this login doesn't show up in the Access interface under the Administration section because it's supposedly a group definition. So.. try to login to the admin page as :backup (yes, with the colon) - and no password. If you get it in, better fix it. But alas, it might just have crept into my catalog. Just FYI, -Jud From: edl at newmediaems.com (Ed LaFrance ) Date: Wed, 21 Mar 2001 10:32:47 -0800 Subject: [ic] how to use a variable in a usertag in flypage.html At 02:01 PM 03/21/2001 +0530, you wrote: >how do i use $somevariable defined inside a usertag defination in >catalog.cfg in flypage.html > Make it the return value of your Usertag: sub { ... return $somevariable; } ...or push it into a scratch variable in the Usertag: sub { ... $Scratch->{somevariable} = $somevariable; return ''; } then you can get at it with [scratch somevariable] (of course the usertag will have to have been called beforehand). - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: tech at khouse.org (Russ Mann ) Date: Wed, 21 Mar 2001 11:31:41 -0700 Subject: [ic] IC 4.6.3 - Conversion from MV to IC Is there a resource anywhere for people converting from MV to IC? I have had to ask several questions just to get responses like this: [shipping [loop-code]] (MV) has been changed to [shipping mode=[loop-code]] in IC. It would probably save someone a lot of time answering questions to make a help doc that shows all the little conversion details. [if-field] is now [if-item-field].... etc. Thanks, Russ ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- Just Over the Pond - Rekindling the Grace of Life. http://www.justoverthepond.com/ Visit the online store for gourmet teas and gift ideas! ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- From: jason at korksoft.com (Jason Korkin ) Date: Wed, 21 Mar 2001 13:39:53 -0500 Subject: [ic] open login warning (?) Yep - you're right on that one... I just tried it on several of our catalogs and it worked and logged us in immediately. This is on IC 4.6.0. Jason Korkin. President/Owner Korksoft LLC Jud Harris wrote: > > Hey folks, > > I'm not sure if this is a universal problem, but I just noticed that my access > table from the default construct store contains a username ":backup" with no > password. I believe it is a group definition. It allows logins without a > password and possesses nearly full permissions. > I'm asterisk-ing out the password field to prevent logins. > > Note that this login doesn't show up in the Access interface under the > Administration section because it's supposedly a group definition. > > So.. try to login to the admin page as :backup (yes, with the colon) - and no > password. If you get it in, better fix it. But alas, it might just have crept > into my catalog. > > Just FYI, > -Jud > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- KORKSOFT - Software & Internet Solutions System Integration, E-Commerce, C++/Perl/PHP/ASP Web hosting, Server Co-Location, Dedicated Circuits http://www.korksoft.com http://www.atworkservers.com Tel: (603) 672-1246 x 201 From: edl at newmediaems.com (Ed LaFrance ) Date: Wed, 21 Mar 2001 10:44:44 -0800 Subject: [ic] IC 4.6.3 - Conversion from MV to IC At 11:31 AM 03/21/2001 -0700, you wrote: >Is there a resource anywhere for people converting from MV to IC? >I have had to ask several questions just to get responses like this: >[shipping [loop-code]] (MV) has been changed to [shipping mode=[loop-code]] >in IC. > >It would probably save someone a lot of time answering questions to make a >help doc that shows all the little conversion details. > >[if-field] is now [if-item-field].... > >etc. > >Thanks, > >Russ > There is some minimal upgrade documentation at the interchange website, in the docs area. - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: akopia at ameranet.net (Scott ) Date: Wed, 21 Mar 2001 10:51:00 -0800 Subject: [ic] Hosting Providers? I was wondering if anyone knew of any decent web hosting providers that offered hosting services at a reasonable price in the US and offered the latest versions of Interchange and who's services remained up. Our current provider who offers Interchange can't seem to keep the cart up and running so we're looking for other reasonable providers. Links to the providers and any information on experience would be greatly appreciated! Thanks From: rene at hertell.com (Rene Hertell ) Date: Wed, 21 Mar 2001 20:57:08 +0200 Subject: [ic] open login warning (?) > ":backup" with no > password. I believe it is a group definition. It allows logins without a > password and possesses nearly full permissions. > I'm asterisk-ing out the password field to prevent logins. It works also on 4.6.3... Renι From: res087jh at verizon.net (Dan Garwood ) Date: Wed, 21 Mar 2001 14:25:06 -0500 Subject: [ic] open login warning (?) I am on a modified 4.6.3 Interhange and I tried this little back door easter egg. It does work. I looked in the access.asc file and it appears there are several account sin there, that are not needed. Mike are these accounts needed for the proper function of the UI or interchange. Or can we clear you the asccess.asc file and start fresh to eliminate this security risk? Thank you for your help. Dan Garwood E-Profit Designs -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Rene Hertell Sent: Wednesday, March 21, 2001 1:57 PM To: interchange-users@lists.akopia.com Subject: RE: [ic] open login warning (?) > ":backup" with no > password. I believe it is a group definition. It allows logins without a > password and possesses nearly full permissions. > I'm asterisk-ing out the password field to prevent logins. It works also on 4.6.3... Renι _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: res087jh at verizon.net (Dan Garwood ) Date: Wed, 21 Mar 2001 14:30:58 -0500 Subject: [ic] open login warning (?) I answered the question. To fix the backup login problem. change directories to /yourcatalogdir/products and vi access.asc. you will see the user :backup sitting on a line by it self. remove this line and this line only. and restart interchange and the user :backup no longer has access to the UI. Dan Garwood E-Profit Designs -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Rene Hertell Sent: Wednesday, March 21, 2001 1:57 PM To: interchange-users@lists.akopia.com Subject: RE: [ic] open login warning (?) > ":backup" with no > password. I believe it is a group definition. It allows logins without a > password and possesses nearly full permissions. > I'm asterisk-ing out the password field to prevent logins. It works also on 4.6.3... Renι _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: dan at mailturtle.com (Dan McFarland ) Date: Wed, 21 Mar 2001 13:43:56 -0600 Subject: [ic] open login warning (?) You can delete all except for your own user account. You can always add additional accounts through the admin tool if necessary, but make sure you have at least your personal admin account in there. ----- Original Message ----- From: Dan Garwood <res087jh@verizon.net> To: <interchange-users@lists.akopia.com> Sent: Wednesday, March 21, 2001 1:25 PM Subject: RE: [ic] open login warning (?) I am on a modified 4.6.3 Interhange and I tried this little back door easter egg. It does work. I looked in the access.asc file and it appears there are several account sin there, that are not needed. Mike are these accounts needed for the proper function of the UI or interchange. Or can we clear you the asccess.asc file and start fresh to eliminate this security risk? Thank you for your help. Dan Garwood E-Profit Designs -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Rene Hertell Sent: Wednesday, March 21, 2001 1:57 PM To: interchange-users@lists.akopia.com Subject: RE: [ic] open login warning (?) > ":backup" with no > password. I believe it is a group definition. It allows logins without a > password and possesses nearly full permissions. > I'm asterisk-ing out the password field to prevent logins. It works also on 4.6.3... Renι _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: lmorley at flexihost.com (LM ) Date: Wed, 21 Mar 2001 14:53:18 -0800 Subject: [ic] open login warning (?) Is the solution to this to just add "*" to products.asc? >From looking at the sample catalog's configuration, no users are members of that group - at least, none appear to have been made members of it explicitly. Does anyone know if this is correct? Does adding a password of "*" for the ":backup" group affect IC in any other way? I think I'm missing the reason for this group's existence; if someone could explain it to me I'd really appreciate it. Thanks, Larry From: jason at korksoft.com (Jason Korkin ) Date: Wed, 21 Mar 2001 14:58:46 -0500 Subject: [ic] open login warning (?) Larry, If you add a '*' in the password field in the access.asc file it will indeed block access to this user. If you look at the ":orders" group((in access.asc) it provides an example on how to "lock" this from becoming a login account. Best, Jason Korkin. President/Owner Korksoft LLC LM wrote: > > Is the solution to this to just add "*" to products.asc? > > >From looking at the sample catalog's configuration, no users > are members of that group - at least, none appear to have > been made members of it explicitly. Does anyone know > if this is correct? > > Does adding a password of "*" for the ":backup" group affect > IC in any other way? > > I think I'm missing the reason for this group's existence; if > someone could explain it to me I'd really appreciate it. > > Thanks, > Larry > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- KORKSOFT - Software & Internet Solutions System Integration, E-Commerce, C++/Perl/PHP/ASP Web hosting, Server Co-Location, Dedicated Circuits http://www.korksoft.com http://www.atworkservers.com Tel: (603) 672-1246 x 201 From: chris at vanoosterhout.com (Christopher VanOosterhout ) Date: Wed, 21 Mar 2001 14:59:38 -0500 Subject: [ic] Problems with no absolutes in config file / Using one source Greetings, I have two stores currently and I would like to run them off the same source file for each of their product databases. To do this I have included the following line in one of my store's config file to point to a datasource file in my other store: Database products /var/lib/interchange/westerbeke/products/products.txt TAB When I try to access this file in the new store I get the following entry in my error.log file: 209.176.195.241 RYdkbdAQ:209.176.195.241 - [21/March/2001:11:53:47 -0500] universal /cgi-bin/universal/32977 Security violation for NoAbsolute, trying to import /var/lib/interchange/westerbeke/products/products.txt 209.176.195.241 RYdkbdAQ:209.176.195.241 - [21/March/2001:11:53:47 -0500] universal /cgi-bin/universal/32977 Runtime error: Security violation. Now, you would think that this means that I do not have my NoAbsolute set to no in my overall catalog.cfg at /var/lib/interchange/catalog.cfg, however here is that line as it appears in my file: NoAbsolute No I have stopped and restarted the Interchange server ... without success. Any ideas? Am I missing something obvious? Is there a specific order in which directives such as NoAbsolute need to be placed in the catalog.cfg file? I have tried it at both the beginning and the end of the file. Christopher From: steveandpatti at wubs.org (Steve & Patti Getzinger ) Date: Wed, 21 Mar 2001 15:07:46 -0500 Subject: [ic] FrontPage Jim, There is somewhat of an equivalent to FP in the wings. Unfortunately I am the only person working on it at this time so progress goes slow. I am hoping for a BETA release some time near June of this year which will be basically not much more than a glorified text editor. It is being designed specifically for editing of an Interchange site/sites. And as usual I am taking any help anyone wants to provide. You can view the project at: http://www.wubs.org/~steve/patricia/ I also submitted it to sourceforge and was approved but at this point have had problem logging in to their site. I am hoping to get some help from other developers there. Steve "F. James Rohlf" wrote: > I seemed to have touched a raw nerve! > > Yes, I am a programmer! I started using SOAP (an assembly language) on the > IBM 650 in 1958. I have gone through _many_ languages since then. I also am > quite comfortable in HTML etc. However, when there is a tool that saves time > I use it. I want to get the job done. Developing an entire website in an > ASCII editor is possible (I have done it to learn) but it is a waste of time > for routine use when _real_ HTML editors offer so many conveniences. > > I asked the question because I thought there might be enough usage of IC > that someone would have developed special add-on tools for one of the HTML > editors. I take it that the answer is 'no'. > > Jim > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: res087jh at verizon.net (Dan Garwood ) Date: Wed, 21 Mar 2001 15:08:08 -0500 Subject: [ic] open login warning (?) Jason thank you I should of added that to my second post. -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Jason Korkin Sent: Wednesday, March 21, 2001 2:59 PM To: interchange-users@lists.akopia.com Subject: Re: [ic] open login warning (?) Larry, If you add a '*' in the password field in the access.asc file it will indeed block access to this user. If you look at the ":orders" group((in access.asc) it provides an example on how to "lock" this from becoming a login account. Best, Jason Korkin. President/Owner Korksoft LLC LM wrote: > > Is the solution to this to just add "*" to products.asc? > > >From looking at the sample catalog's configuration, no users > are members of that group - at least, none appear to have > been made members of it explicitly. Does anyone know > if this is correct? > > Does adding a password of "*" for the ":backup" group affect > IC in any other way? > > I think I'm missing the reason for this group's existence; if > someone could explain it to me I'd really appreciate it. > > Thanks, > Larry > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- KORKSOFT - Software & Internet Solutions System Integration, E-Commerce, C++/Perl/PHP/ASP Web hosting, Server Co-Location, Dedicated Circuits http://www.korksoft.com http://www.atworkservers.com Tel: (603) 672-1246 x 201 _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: zack at office.standardprinting.net (Zack Johnson ) Date: Wed, 21 Mar 2001 15:37:53 -0500 Subject: [ic] Problems with no absolutes in config file / Using one source file for databases in two stores Try a symbolic link (ln -s) from: products/products.txt -> /var/lib/interchange/westerbeke/products/products.txt Just make sure products/products.txt doesn't exist before trying to make the link. Good luck! Zack ----- Original Message ----- From: "Christopher VanOosterhout" <chris@vanoosterhout.com> To: <interchange-users@lists.akopia.com> Sent: Wednesday, March 21, 2001 2:59 PM Subject: [ic] Problems with no absolutes in config file / Using one source file for databases in two stores > > > > Greetings, > > I have two stores currently and I would like to run them off the same > source file for each of their product databases. > > To do this I have included the following line in one of my store's config > file to point to a datasource file in my other store: > Database products /var/lib/interchange/westerbeke/products/products.txt TAB > > When I try to access this file in the new store I get the following entry > in my error.log file: > 209.176.195.241 RYdkbdAQ:209.176.195.241 - [21/March/2001:11:53:47 -0500] > universal /cgi-bin/universal/32977 Security violation for > NoAbsolute, trying to import > /var/lib/interchange/westerbeke/products/products.txt > 209.176.195.241 RYdkbdAQ:209.176.195.241 - [21/March/2001:11:53:47 -0500] > universal /cgi-bin/universal/32977 Runtime error: Security > violation. > > Now, you would think that this means that I do not have my NoAbsolute set > to no in my overall catalog.cfg at /var/lib/interchange/catalog.cfg, > however here is that line as it appears in my file: > > NoAbsolute No > > I have stopped and restarted the Interchange server ... without success. > > Any ideas? Am I missing something obvious? Is there a specific order in > which directives such as NoAbsolute need to be placed in the catalog.cfg > file? I have tried it at both the beginning and the end of the file. > > Christopher > > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: jud-lists at copernica.com (Jud Harris ) Date: Wed, 21 Mar 2001 14:35:17 -0600 Subject: [ic] open login warning (?) Hello again, folks... I'm glad to know that I didn't send out that warning for nothing. .. open-source indeed. But hey, it's the right price, no? > ----- Original Message ----- > From: "LM" <lmorley@flexihost.com> > To: <interchange-users@lists.akopia.com> > Sent: Wednesday, March 21, 2001 4:53 PM > Subject: Re: [ic] open login warning (?) > > -- content snipped -- > > I think I'm missing the reason for this group's existence; if > someone could explain it to me I'd really appreciate it. The groups exists, I think, as a sort of template user. When creating a new user, one can select which group the new user will belong to, which in turn causes it to inherit that group's permissions. In all actuality, there should be a better way to define groups apart from prepending a colon to a username. C'est la vie. -Jud From: mikeh at minivend.com (Mike Heins ) Date: Wed, 21 Mar 2001 15:57:38 -0500 Subject: [ic] open login warning (?) Quoting Rene Hertell (rene@hertell.com): > > ":backup" with no > > password. I believe it is a group definition. It allows logins without a > > password and possesses nearly full permissions. > > I'm asterisk-ing out the password field to prevent logins. > > It works also on 4.6.3... > Oops. We need to put a * in the password field. Has anyone been able to modify any tables logged in as that user? Or upload any files? -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> I have a cop friend who thinks he ought be able to give a new ticket; "too dumb for conditions". From: ftnx at ksbase.com (Kari Suomela ) Date: Wed, 21 Mar 2001 15:59:22 -0500 Subject: [ic] Hosting Providers? Wednesday March 21 2001 10:51, Scott wrote to All: S> I was wondering if anyone knew of any decent web hosting providers S> that offered hosting services at a reasonable price in the US and S> offered the latest versions of Interchange and who's services S> remained We'll do it! :) KS KARICO Business Services Toronto, ON Canada http://www.ksbase.com From: chris at vanoosterhout.com (Christopher VanOosterhout ) Date: Wed, 21 Mar 2001 16:17:23 -0500 Subject: [ic] It works Zack, ... but ... Problems with no absolutes in Zack, Thanks for the great suggestion ... it works and for that I am appreciative. My remaining comment and question would be: Shouldn't it have worked the other way also? The documentation seems to indicate that as long as you have the NoAbsolute set to No that Interchange should be able to grab any file anywhere as long as it has permissions for that file. Also are there any know security or operations concerns with setting a database to link instead of a regular file. I understand that using NoAbsolute set to No has security issues of its own ... however I am the lone operator of all the stores currently and for the future operating on this machine. Christopher At 03:37 PM 3/21/01 -0500, Zack Johnson wrote: >Try a symbolic link (ln -s) from: >products/products.txt -> >/var/lib/interchange/westerbeke/products/products.txt > >Just make sure products/products.txt doesn't exist before trying to make the >link. > >Good luck! > >Zack > > >----- Original Message ----- >From: "Christopher VanOosterhout" <chris@vanoosterhout.com> >To: <interchange-users@lists.akopia.com> >Sent: Wednesday, March 21, 2001 2:59 PM >Subject: [ic] Problems with no absolutes in config file / Using one source >file for databases in two stores > > > > > > > > > > Greetings, > > > > I have two stores currently and I would like to run them off the same > > source file for each of their product databases. > > > > To do this I have included the following line in one of my store's config > > file to point to a datasource file in my other store: > > Database products /var/lib/interchange/westerbeke/products/products.txt >TAB > > > > When I try to access this file in the new store I get the following entry > > in my error.log file: > > 209.176.195.241 RYdkbdAQ:209.176.195.241 - [21/March/2001:11:53:47 -0500] > > universal /cgi-bin/universal/32977 Security violation for > > NoAbsolute, trying to import > > /var/lib/interchange/westerbeke/products/products.txt > > 209.176.195.241 RYdkbdAQ:209.176.195.241 - [21/March/2001:11:53:47 -0500] > > universal /cgi-bin/universal/32977 Runtime error: Security > > violation. > > > > Now, you would think that this means that I do not have my NoAbsolute set > > to no in my overall catalog.cfg at /var/lib/interchange/catalog.cfg, > > however here is that line as it appears in my file: > > > > NoAbsolute No > > > > I have stopped and restarted the Interchange server ... without success. > > > > Any ideas? Am I missing something obvious? Is there a specific order in > > which directives such as NoAbsolute need to be placed in the catalog.cfg > > file? I have tried it at both the beginning and the end of the file. > > > > Christopher > > > > > > > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users From: zack at office.standardprinting.net (Zack Johnson ) Date: Wed, 21 Mar 2001 16:47:27 -0500 Subject: [ic] Problems with no absolutes in config file / Using one source file for databases in two stores Christopher, Your questions are beyond my capacity. My knowledge is but limited to Bertrand Russell, 'ls' and cheap coffee. As for the security issue, I would think that as long as everything is within the 'interch' group, all would be well. . . Good luck! Zack ----- Original Message ----- From: "Christopher VanOosterhout" <chris@vanoosterhout.com> To: <interchange-users@lists.akopia.com>; <interchange-users@lists.akopia.com> Sent: Wednesday, March 21, 2001 4:17 PM Subject: [ic] It works Zack, ... but ... Problems with no absolutes in config file / Using one source file for databases in two stores > > Zack, > > Thanks for the great suggestion ... it works and for that I am > appreciative. My remaining comment and question would be: Shouldn't it > have worked the other way also? The documentation seems to indicate that > as long as you have the NoAbsolute set to No that Interchange should be > able to grab any file anywhere as long as it has permissions for that file. > > Also are there any know security or operations concerns with setting a > database to link instead of a regular file. I understand that using > NoAbsolute set to No has security issues of its own ... however I am the > lone operator of all the stores currently and for the future operating on > this machine. > > Christopher > > > At 03:37 PM 3/21/01 -0500, Zack Johnson wrote: > >Try a symbolic link (ln -s) from: > >products/products.txt -> > >/var/lib/interchange/westerbeke/products/products.txt > > > >Just make sure products/products.txt doesn't exist before trying to make the > >link. > > > >Good luck! > > > >Zack > > > > > >----- Original Message ----- > >From: "Christopher VanOosterhout" <chris@vanoosterhout.com> > >To: <interchange-users@lists.akopia.com> > >Sent: Wednesday, March 21, 2001 2:59 PM > >Subject: [ic] Problems with no absolutes in config file / Using one source > >file for databases in two stores > > > > > > > > > > > > > > > > Greetings, > > > > > > I have two stores currently and I would like to run them off the same > > > source file for each of their product databases. > > > > > > To do this I have included the following line in one of my store's config > > > file to point to a datasource file in my other store: > > > Database products /var/lib/interchange/westerbeke/products/products.txt > >TAB > > > > > > When I try to access this file in the new store I get the following entry > > > in my error.log file: > > > 209.176.195.241 RYdkbdAQ:209.176.195.241 - [21/March/2001:11:53:47 -0500] > > > universal /cgi-bin/universal/32977 Security violation for > > > NoAbsolute, trying to import > > > /var/lib/interchange/westerbeke/products/products.txt > > > 209.176.195.241 RYdkbdAQ:209.176.195.241 - [21/March/2001:11:53:47 -0500] > > > universal /cgi-bin/universal/32977 Runtime error: Security > > > violation. > > > > > > Now, you would think that this means that I do not have my NoAbsolute set > > > to no in my overall catalog.cfg at /var/lib/interchange/catalog.cfg, > > > however here is that line as it appears in my file: > > > > > > NoAbsolute No > > > > > > I have stopped and restarted the Interchange server ... without success. > > > > > > Any ideas? Am I missing something obvious? Is there a specific order in > > > which directives such as NoAbsolute need to be placed in the catalog.cfg > > > file? I have tried it at both the beginning and the end of the file. > > > > > > Christopher > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > >_______________________________________________ > >Interchange-users mailing list > >Interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: res087jh at verizon.net (Dan Garwood ) Date: Wed, 21 Mar 2001 16:30:08 -0500 Subject: [ic] open login warning (?) I did not try Mike, I guess I should of. I am getting ready to set up a test server tonight I will try unless someone else does it first Dan Garwood E-Profit Designes -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Mike Heins Sent: Wednesday, March 21, 2001 3:58 PM To: interchange-users@lists.akopia.com Subject: Re: [ic] open login warning (?) Quoting Rene Hertell (rene@hertell.com): > > ":backup" with no > > password. I believe it is a group definition. It allows logins without a > > password and possesses nearly full permissions. > > I'm asterisk-ing out the password field to prevent logins. > > It works also on 4.6.3... > Oops. We need to put a * in the password field. Has anyone been able to modify any tables logged in as that user? Or upload any files? -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> I have a cop friend who thinks he ought be able to give a new ticket; "too dumb for conditions". _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: jshimazu at mail.com (Jason Shimazu ) Date: Wed, 21 Mar 2001 16:56:41 -0500 (EST) Subject: [ic] manage databases in IC Hi, can someone give me some example on how I can modify a table (insert, update, delete, select) using IC tags? Or give me some pointers on where to look? Anything is greatly appreciated. Thanks. -- J. Shimazu ______________________________________________ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup From: jason at korksoft.com (Jason Korkin ) Date: Wed, 21 Mar 2001 16:58:56 -0500 Subject: [ic] manage databases in IC Try the [sql] and [query] tags... they will (should) do the trick. Jason. Jason Shimazu wrote: > > Hi, can someone give me some example on how I can modify a table (insert, > update, delete, select) using IC tags? Or give me some pointers on where to > look? Anything is greatly appreciated. Thanks. > > -- > J. Shimazu > > ______________________________________________ > FREE Personalized Email at Mail.com > Sign up at http://www.mail.com/?sr=signup > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- KORKSOFT - Software & Internet Solutions System Integration, E-Commerce, C++/Perl/PHP/ASP Web hosting, Server Co-Location, Dedicated Circuits http://www.korksoft.com http://www.atworkservers.com Tel: (603) 672-1246 x 201 From: lmorley at flexihost.com (LM ) Date: Wed, 21 Mar 2001 16:59:00 -0800 Subject: [ic] open login warning (?) Mike - Curiosity got the better of me; I changed my products.asc back for a sec to see... > Has anyone been able to modify any tables logged in as that user? Yup. Right from the "Item Editor"... > Or upload any files? I imported a new item from a file on a local machine; it was added successfully to the product database. No problems downloading tables either. Hope this helps, Larry From: tech at khouse.org (Russ Mann ) Date: Wed, 21 Mar 2001 15:02:10 -0700 Subject: [ic] IC 4.6.3 Item Discounts Hello, I'm trying to implement a certain type of discount in IC 4.6.3. I have some products which are BPS which get discounted at a rate of 2.70 off each from 3-9, and 3.20 off from 10+. This is the code that I use to determine and set the discounts: [calc]$totalbps=0; $Scratch->{totalbps} = "$totalbps";[/calc] [item-list][if-field quantitydiscount][calc]$totalbps += [item-quantity][/calc][/if-field][/item-list] [calc]$Scratch->{totalbps} = "$totalbps" if $totalbps;[/calc] [perl arg=scratch interpolate=1] my $numoff; my $totalbps = $Safe{'scratch'}->{'totalbps'}; if ($totalbps <= 2) { $numoff = 0; } elsif (($totalbps >= 3) && ($totalbps <=9)) { $numoff = 2.70; } elsif ($totalbps >= 10) { $numoff = 3.20; } $discount_amount = $totalbps * $numoff; $Safe{'scratch'}->{'discount_amount'} = $discount_amount; $Safe{'scratch'}->{'numoff'} = $numoff; return ''; [/perl] [calc]$discount_amount = [scratch discount_amount][/calc] [calc]$numoff = [scratch numoff][/calc] [item-list][discount [item-code]][/discount][/item-list] [item-list] [if-field quantitydiscount] [if scratch numoff] [calc][discount [item-code]] return ($s - ($q*$numoff)) [/discount][/calc] [/if][/if-field] [/item-list] In the cart, this works: [if discount [item-code]] <td align=right> [currency][calc][item-discount-subtotal noformat=1]/[item-quantity][/calc][/currency] </td> <td align=right> [item-discount-subtotal] </td> [else] <td align=right> [item-price] </td> <td align=right> [item-subtotal] </td> [/else] [/if] However, in the mail_receipt (in /etc) this does NOT work: [if discount [item-code]] [column width=9 align=right gutter=1][currency][calc][item-discount-subtotal noformat=1]/[item-quantity][/calc][/currency][/column] [column width=11 align=right gutter=1][item-discount-subtotal][/column] [else][column width=9 align=right gutter=1][item-price][/column] [column width=11 align=right gutter=1][item-subtotal][/column][/else] [/if] This is the error I receive: [21/March/2001:13:50:24 -0800] catalog /store/catalog/process.html Safe: Can't modify subtraction in scalar assignment at (eval 317) line 1, near "1]" > > [item-discount-subtotal noformat=1]/[item-quantity] > I can't use the [discount-price] tag because it returns [item-price]-[item-difference], which isn't what I need. Any assistance would be greatly appreciated. Thanks, Russ ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- Just Over the Pond - Rekindling the Grace of Life. http://www.justoverthepond.com/ Visit the online store for gourmet teas and gift ideas! ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- From: tech at khouse.org (Russ Mann ) Date: Wed, 21 Mar 2001 15:02:50 -0700 Subject: [ic] IC 4.6.3 USPS Shipping file Hello, I'm trying to implement USPS shipping in IC 4.6.3. The shipping.asc entry is this: uspspm USPS Mail weight 0 0 c B usps838.csv uspspm USPS Mail weight -1 -1 o PriceDivide=0 uspspm USPS Mail weight 0 0 e Nothing to ship uspspm USPS Mail weight 0 70 B Priority [value zip] uspspm USPS Mail weight 70 999999 e @@TOTAL@@ lbs to heavy for USPS Mail. usps838.csv looks like this: "ZONE CHART" "USPS Priority" Dest. ZIP, Priority 005-098, 8 100-212, 8 214-268, 8 270-342, 8 344, 8 346-347, 8 349-352, 8 354-355, 8 356-358, 7 359-369, 8 (lots more zones, of course) This is the error message I'm getting: [21/March/2001:13:50:01 -0800] catalog /store/catalog/process.html usps838.csv lookup called, zone data not found Any clues? This setup works perfectly on MV 3.14. Thanks, Russ ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- Just Over the Pond - Rekindling the Grace of Life. http://www.justoverthepond.com/ Just Over the Pond is about Tea Party Ideas, Antiques, Decorating Ideas, Recipes, Making Every Day Special, and more. ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- From: res087jh at verizon.net (Dan Garwood ) Date: Wed, 21 Mar 2001 17:09:06 -0500 Subject: [ic] open login warning (?) Thanks, Larry I will take that off the test server to do list -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of LM Sent: Wednesday, March 21, 2001 7:59 PM To: interchange-users@lists.akopia.com Subject: Re: [ic] open login warning (?) Mike - Curiosity got the better of me; I changed my products.asc back for a sec to see... > Has anyone been able to modify any tables logged in as that user? Yup. Right from the "Item Editor"... > Or upload any files? I imported a new item from a file on a local machine; it was added successfully to the product database. No problems downloading tables either. Hope this helps, Larry _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: robert at ishoptech.com (Robert Trembath ) Date: Wed, 21 Mar 2001 16:39:49 -0600 Subject: [ic] How do I restore a product db after accidently deleting a store Need a little help guys, One of the development stores I was almost finished with got deleted by accident. I regenerated another store and added the graphics and the .txt db file into the products directory. But I still get the old product and cats and none of the products in products.txt are showing in the admin and it won't import. Please help as I don't want to reenter 112 products. Thanks, Robert From: pauls at compuace.com (Paul R Stearns ) Date: Wed, 21 Mar 2001 17:43:35 -0500 Subject: [ic] Hosting Providers? Please define a decent price. Depending on what the market will bear, I would be happy to set up Linux Server(s) to handle any & all Interchange sites. We are US based, with backup generators, 24x5 staff, on-call on weekends. We are a small company with our own facilities. Paul Kari Suomela wrote: > Wednesday March 21 2001 10:51, Scott wrote to All: > > S> I was wondering if anyone knew of any decent web hosting providers > S> that offered hosting services at a reasonable price in the US and > S> offered the latest versions of Interchange and who's services > S> remained > > We'll do it! :) > > KS > > KARICO Business Services > Toronto, ON Canada > http://www.ksbase.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: gerberb at zenez.com (Boyd Lynn Gerber ) Date: Wed, 21 Mar 2001 16:05:20 -0700 (MST) Subject: [ic] Add Comments on Constuct Demo admin/orders page after select order Thanks for the help in the past. I noticed in the construct demo in the admin/orders page when you click on an order it brings up a page with the order and at the bottom thre is a comments. How do I add comments to this page at the bottom. I would like to add comments. Thanks, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 3748 Valley Forge Road, Magna Utah 84044 Office 801-250-0795 FAX 801-250-7975 From: abductor at abductor.com (Master Abductor ) Date: Wed, 21 Mar 2001 15:20:29 -0800 Subject: [ic] Advice please on whether Interchange is the right path Hi, I'm thinking about using Interchange as my new shopping cart, but I want to make sure I'm not biting off more than I can chew. I've been lurking about this forum and one thing that scares me a little is that I see a lot of programming language bandied about. I am not a programmer. I have a friend who helps me through the ins and outs of Unix. I'm never going to have the time to learn programming, I'm already too busy running my internet businesses. Should a non-programmer install Interchange or should I avoid it? Thanks, Greg From: allen at fixitmobile.com (Allen Armstrong ) Date: Wed, 21 Mar 2001 15:15:46 -0800 Subject: [ic] Auctions and Interchange Hi, Is there any plan on having auctionablity in Interchange? More to the point has anyone done anything with Interchange and hosting an online auction? My thinking is that Interchange already has the tools to build an auction componet I just don't re-invent the wheel. Allen Armstrong From: dan at mailturtle.com (Dan McFarland ) Date: Wed, 21 Mar 2001 17:20:43 -0600 Subject: [ic] Advice please on whether Interchange is the right path I'm a definite NON PROGRAMMER. I know basic HTML and that's about it. I was able to pretty easily install IC on a RedHat Linux 7.0 and I know even less about linux. It's really simple once you get going. Dan ----- Original Message ----- From: Master Abductor <abductor@abductor.com> To: <interchange-users@lists.akopia.com> Sent: Wednesday, March 21, 2001 5:20 PM Subject: [ic] Advice please on whether Interchange is the right path > Hi, > > I'm thinking about using Interchange as my new shopping cart, but I want to > make sure I'm not biting off more than I can chew. I've been lurking about > this forum and one thing that scares me a little is that I see a lot of > programming language bandied about. I am not a programmer. I have a friend > who helps me through the ins and outs of Unix. I'm never going to have the > time to learn programming, I'm already too busy running my internet > businesses. Should a non-programmer install Interchange or should I avoid > it? > > Thanks, > Greg > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: rwd at csi1st.com (rwd ) Date: Wed, 21 Mar 2001 17:08:13 -0500 Subject: [ic] Hosting Providers? Hi Scott, Scott wrote: > Links to the providers and any information on experience would be greatly > appreciated! We can help you. Contact info below. -- Ron Dorman CSI, Inc. 600 Main St., Suite D Altavista, VA 24517 804-369-5466 804-309-1494 fax 877-274-3477 toll free http://www.csi1st.net mailto:rwd@csi1st.net From: doliver at hampshire.edu (Dylan Oliver ) Date: Wed, 21 Mar 2001 18:22:49 -0600 Subject: [ic] Hosting Providers? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 21 March 2001 12:51, you wrote: > I was wondering if anyone knew of any decent web hosting providers that > offered hosting services at a reasonable price in the US and offered the > latest versions of Interchange and who's services remained up. Our current > provider who offers Interchange can't seem to keep the cart up and running > so we're looking for other reasonable providers. > > Links to the providers and any information on experience would be greatly > appreciated! There ought to be a centralized database of Interchange servers. Why not make a list at http://www.akopia.com/customer.html? - -- Dylan Oliver http://stout.hampshire.edu/~dao99 Global View International http://www.globalview-intl.com Do you know how little you know? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjq5RdkACgkQ7U8r0TCZf4FFpACfabNxXXv4aLzZF0QA/un8trLl zVUAn0+nZs8bXdose0RVUfxzaFUf6BlQ =2qkq -----END PGP SIGNATURE----- From: db at cyclonehq.dnsalias.net (Dan B ) Date: Wed, 21 Mar 2001 16:20:39 -0800 Subject: [ic] Checkout --- Required vs not required At 06:07 PM 3/21/2001 +0100, joachim.richter wrote: >hi, > >on the checkout page there are different fields some of them are required >some are not, >changing the required form 1 to 0 only changes from "bold" to "not bold" > >does anybody know the location of the file(?) which configures the >requirements of the checkout page ? >i like to add fields and make them required i.e. if not filled they should >turn red, >where I do i change these settings ? I'm not sure what you are asking. Maybe this snippet from the construct checkout.html will help: [comment] <!-- Order routes in catalog.cfg --> <!-- Checkout profile in etc/order.profiles --> [/comment] And read up more on the [error] tag: http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=tagref03%2e19 Or you might re-frame the question. HTH, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Wed, 21 Mar 2001 16:20:39 -0800 Subject: [ic] Checkout --- Required vs not required At 06:07 PM 3/21/2001 +0100, joachim.richter wrote: >hi, > >on the checkout page there are different fields some of them are required >some are not, >changing the required form 1 to 0 only changes from "bold" to "not bold" > >does anybody know the location of the file(?) which configures the >requirements of the checkout page ? >i like to add fields and make them required i.e. if not filled they should >turn red, >where I do i change these settings ? I'm not sure what you are asking. Maybe this snippet from the construct checkout.html will help: [comment] <!-- Order routes in catalog.cfg --> <!-- Checkout profile in etc/order.profiles --> [/comment] And read up more on the [error] tag: http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=tagref03%2e19 Or you might re-frame the question. HTH, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: abductor at abductor.com (Master Abductor ) Date: Wed, 21 Mar 2001 16:53:37 -0800 Subject: [ic] Advice please on whether Interchange is the right path Thanks to Dan for his answer to my previous question! Here's my next one: Is anyone using Verisign (formerly Signio) for processing? If so how are the results, any complaints? Was installation easy? And I'm curious, can customers pay with debit cards and checks? Thanks, Greg -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Dan McFarland Sent: Wednesday, March 21, 2001 3:21 PM To: interchange-users@lists.akopia.com Subject: Re: [ic] Advice please on whether Interchange is the right path I'm a definite NON PROGRAMMER. I know basic HTML and that's about it. I was able to pretty easily install IC on a RedHat Linux 7.0 and I know even less about linux. It's really simple once you get going. Dan ----- Original Message ----- From: Master Abductor <abductor@abductor.com> To: <interchange-users@lists.akopia.com> Sent: Wednesday, March 21, 2001 5:20 PM Subject: [ic] Advice please on whether Interchange is the right path > Hi, > > I'm thinking about using Interchange as my new shopping cart, but I want to > make sure I'm not biting off more than I can chew. I've been lurking about > this forum and one thing that scares me a little is that I see a lot of > programming language bandied about. I am not a programmer. I have a friend > who helps me through the ins and outs of Unix. I'm never going to have the > time to learn programming, I'm already too busy running my internet > businesses. Should a non-programmer install Interchange or should I avoid > it? > > Thanks, > Greg > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: rwd at csi1st.net (Ron Dorman ) Date: Wed, 21 Mar 2001 19:40:43 -0500 Subject: [ic] Hosting Providers? Dylan Oliver wrote: > There ought to be a centralized database of Interchange servers. Why not make > a list at http://www.akopia.com/customer.html? Make another section for ISP's - building with, using and/or hosting Interchange. Maybe even provide a submission page for us to enter our info. How about it? -- Ron Dorman CSI, Inc. 600 Main St., Suite D Altavista, VA 24517 804-369-5466 804-309-1494 fax 877-274-3477 toll free http://www.csi1st.net mailto:rwd@csi1st.net From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Wed, 21 Mar 2001 17:09:44 -0800 Subject: [ic] Advice please on whether Interchange is the right path > Thanks to Dan for his answer to my previous question! Here's my next one: > > Is anyone using Verisign (formerly Signio) for processing? If so how are the > results, any complaints? Was installation easy? And I'm curious, can > customers pay with debit cards and checks? We are using Verisign on 3 of our IC sites without trouble. No complaints whatsoever with their service and integration with IC was quite easy. Follow the steps in the Signio module and you should be ready to go. I'm not positive on this answer but I think they can use Debit cards (if they have a Visa or MC logo) but I have not seen check functionality listed anywhere. Have a good one! -Ron From: jason at korksoft.com (Jason Korkin ) Date: Wed, 21 Mar 2001 20:11:41 -0500 Subject: [ic] Hosting Providers? That was how the old MiniVend site was... :-) Jason Korkin. President/Owner Korksoft LLC Ron Dorman wrote: > > Dylan Oliver wrote: > > > There ought to be a centralized database of Interchange servers. Why not make > > a list at http://www.akopia.com/customer.html? > > Make another section for ISP's - building with, using and/or hosting > Interchange. Maybe even provide a submission page for us to enter our info. > > How about it? > > -- > Ron Dorman > CSI, Inc. > 600 Main St., Suite D > Altavista, VA 24517 > 804-369-5466 > 804-309-1494 fax > 877-274-3477 toll free > http://www.csi1st.net > mailto:rwd@csi1st.net > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- KORKSOFT - Software & Internet Solutions System Integration, E-Commerce, C++/Perl/PHP/ASP Web hosting, Server Co-Location, Dedicated Circuits http://www.korksoft.com http://www.atworkservers.com Tel: (603) 672-1246 x 201 From: steveandpatti at wubs.org (Steve & Patti Getzinger ) Date: Wed, 21 Mar 2001 20:48:32 -0600 Subject: [ic] Advice please on whether Interchange is the right path I would highly recommend having someone else handle the Interchange portion of it all. You have a very capable web interface for site management available which the non admin type should be able to use with minimal problems. If your friend is answering your UNIX questions I would look to either that person to handle installation/admin or a service provider that is already set up. Then once in place you simply access your site through the interface to make any mods you desire. You need someone who knows a bit about Apache along with UNIX, and SSL. If you are using SQL you will need someone who can at least set up the SQL user account and make sure Interchange is "talking" to it. Just a few thoughts. Steve Master Abductor wrote: > > Hi, > > I'm thinking about using Interchange as my new shopping cart, but I want to > make sure I'm not biting off more than I can chew. I've been lurking about > this forum and one thing that scares me a little is that I see a lot of > programming language bandied about. I am not a programmer. I have a friend > who helps me through the ins and outs of Unix. I'm never going to have the > time to learn programming, I'm already too busy running my internet > businesses. Should a non-programmer install Interchange or should I avoid > it? > > Thanks, > Greg > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- ========================================================= WDI Steve & Patti Getzinger 702 Lincolnway West steveandpatti@wubs.org South Bend, IN 46616 http://www.wubs.org/ 219-287-4700 (Main Office) 317-535-0239 (Direct Line) ========================================================= From: rapier at psc.edu (Chris Rapier ) Date: Wed, 21 Mar 2001 22:16:02 -0500 Subject: [ic] Cybercash Failing to Record Order? I've a client who just informed me that they found two orders where the order was processed but cybercash isn't showing records of it. I don't knwo if they just can find the records or if there is some other problem. My question is: Can anyone think of a way where an order would be processed even though minivend/interchange didn't receive a valid response from cybercash? This is the only payment method available and I'm using mauthcapture. The only thing I can think of is that the transactions were never properly captured (though they were auth'd). If anyone else has seen anything I'd be more than happey to hear about it. Chris From: c_mli at hotmail.com (Ming Li ) Date: Wed, 21 Mar 2001 19:19:40 -0800 Subject: [ic] Help: error on updating perl Bundle::Interchange while updating my perl with CPAN Bundle::Interchange, I encountered the following error messages. What do they mean and how can I fix them? The install seems completed with error on bundle MD5. I am using Linux-Mandrake 7.2 i586 with 192-meg ram. ######################################################### . . .(other messages) . . robot/ua............HTTP Server terminated robot/ua............NOK 7FAILED tests 1-3, 5, 7 Failed 5/7 tests, 28.57% okay local/autoload......ok local/get...........ok local/http..........NOK 2HTTP Server terminated local/http..........NOK 7Can't call method "is_redirect" on an undefined value a t local/http.t line 188, <DAEMON> line 1. local/http..........dubious Test returned status 115 (wstat 29440, 0x7300) Undefined subroutine &Test::Harness::WCOREDUMP called at /usr/lib/perl5/5.6.0/Te st/Harness.pm line 334. make: *** [test] Error 115 . . . .(other messages) . . . Bundle summary: The following items in bundle Bundle::Interchange had installation problems: MD5 Bundle::LWP and the following items had problems during recursive bundle calls: LWP [root@localhost /root]# _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From: rwd at csi1st.com (Ron Dorman ) Date: Wed, 21 Mar 2001 20:50:47 -0500 Subject: [ic] Advice please on whether Interchange is the right path Ron Phipps wrote: > I'm > not positive on this answer but I think they can use Debit cards (if they > have a Visa or MC logo) but I have not seen check functionality listed > anywhere. Have a good one! > > -Ron We are about to implement Verisign here. In our research and from their web site: VeriSign authorizes, manages, and supports all major credit cards, debit cards, and guaranteed electronic check purchases. From: abductor at abductor.com (Master Abductor ) Date: Wed, 21 Mar 2001 20:13:12 -0800 Subject: [ic] Advice please on whether Interchange is the right path Just curious, what do you mean by implementing? Are you writing your own custom module for interchange to work with debit cards and checks via Verisign, or can it work that way now? -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Ron Dorman Sent: Wednesday, March 21, 2001 5:51 PM To: interchange-users@lists.akopia.com Subject: Re: [ic] Advice please on whether Interchange is the right path Ron Phipps wrote: > I'm > not positive on this answer but I think they can use Debit cards (if they > have a Visa or MC logo) but I have not seen check functionality listed > anywhere. Have a good one! > > -Ron We are about to implement Verisign here. In our research and from their web site: VeriSign authorizes, manages, and supports all major credit cards, debit cards, and guaranteed electronic check purchases. _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: db at cyclonehq.dnsalias.net (Dan B ) Date: Wed, 21 Mar 2001 20:08:11 -0800 Subject: [ic] Advice please on whether Interchange is the right path At 08:50 PM 3/21/2001 -0500, you wrote: >Ron Phipps wrote: > > I'm > > not positive on this answer but I think they can use Debit cards (if they > > have a Visa or MC logo) but I have not seen check functionality listed > > anywhere. Have a good one! > >We are about to implement Verisign here. In our research and from their web >site: > > VeriSign authorizes, manages, > and supports all major credit cards, debit cards, and > guaranteed electronic check purchases. We found that Verisign's "electronic check" services (technically "automated clearing house") are prohibitively expensive (e.g. 6% per-transaction fee, with per-month and per-transaction fees). FYI. Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: chc at mninter.net (Curt Hauge ) Date: Wed, 21 Mar 2001 22:53:01 -0600 Subject: [ic] RE: error accessing genconfig.html in IC administration I have gone a little further in troubleshooting this error. This error Can't read file '/local_path/catalogs/mycat/etc/status.mycat' with NoAbsolute set seems to be coming from Util.pm. I have grepped lib/Vend for "Can't read file" and it is found only in Util.pm on two lines. It can also be found in interchange/locale.error (Util.pm:3 and Util.pm:4, which is how I found it in Util.pm). Anyone know what to check for next? There is obviously a clue somewhere in line 892, but what does it all mean? =) [from Util.pm line 878 to 896 IC4.6.3 tarball] # Reads in an arbitrary file. Returns the entire contents, # or undef if the file could not be read. # Careful, needs the full path, or will be read relative to # VendRoot..and will return binary. Should be tested by # the user. # # To ensure security in multiple catalog setups, leading # / is not allowed unless $Global::NoAbsolute is set. # sub readfile { my($file, $no, $loc) = @_; my($contents); local($/); if($no and (::file_name_is_absolute($file) or $file =~ m#\.\./.*\.\.#)) { ::logError("Can't read file '%s' with NoAbsolute set" , $file); ::logGlobal({}, "Can't read file '%s' with NoAbsolute set" , $file ); return undef; } [more code] -----Original Message----- From: Curt Hauge [mailto:chc@mninter.net] Sent: Tuesday, March 20, 2001 4:16 PM To: interchange-users@lists.akopia.com Subject: error accessing genconfig.html in IC administration Hi everyone, A recent 4.6.3 tarball conversion from MV4.04 on Linux Mandrake 6.0 displays this message in /catalogs/mycat/error.log _and_ interchange/error.log whenever I access genconfig.html (Administration) from the Interchange Administration logged in as Super User: [some_more_info] mycat /cgi-bin/mycat/admin/genconfig.html Can't read file '/local_path/catalogs/mycat/etc/status.mycat' with NoAbsolute set Is this normal? It doesn't seem to hurt anything, so should I just live with it? When I switch NoAbsolute to No, it works fine, however, I understand NoAbsolute is set to Yes for security reasons, so I don't want to set it to No if this leaves me at any risk. It is a single catalog installation, however, I also have a newly configured test cat on this server with the same problem. The NoAbsolute definition says: ...This should be changed (to Yes) in a multi-user environment to minimize security problems... Does multi-user mean more than one catalog or more than one person accessing the administration area of _any_ catalog? The archives have produced nothing more in regard to this same error message or NoAbsolute. Anyone familar with this or have any other key words to search on? Thanks in advance. Curt Hauge From: sysadmin at csi1st.net (Ron Dorman ) Date: Wed, 21 Mar 2001 23:57:48 -0500 Subject: [ic] Advice please on whether Interchange is the right path Implementing may not have been the best term to use. What I mean is that we have looking into several processors and have tenatively selected Verisign as the one we are going to use. Mainly because they can scale larger than others we have been checking. We are still digging out all the details and building a plan. We are trying to answer the question you ask and determine what programming will have to be done, if any. This is why I stated as in our research and by their web site. PayFlow Link and PayFlow Pro are capable of all the listed transactions. If Interchange is capable of feeding the necessary info without modification I do not know yet. One thing I know for sure, we will do a lot research and testing before using the service. We used LinkPoint through CardServices International before. I liked LinkPoint software, but we had problems with CardServices. We will not repeat the mistakes made. Master Abductor wrote: > Just curious, what do you mean by implementing? Are you writing your own > custom module for interchange to work with debit cards and checks via > Verisign, or can it work that way now? > > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Ron Dorman > Sent: Wednesday, March 21, 2001 5:51 PM > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Advice please on whether Interchange is the right path > > Ron Phipps wrote: > > > I'm > > not positive on this answer but I think they can use Debit cards (if they > > have a Visa or MC logo) but I have not seen check functionality listed > > anywhere. Have a good one! > > > > -Ron > > We are about to implement Verisign here. In our research and from their web > site: > > VeriSign authorizes, manages, > and supports all major credit cards, debit cards, and > guaranteed electronic check purchases. > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: sysadmin at csi1st.net (Ron Dorman ) Date: Thu, 22 Mar 2001 00:02:19 -0500 Subject: [ic] Advice please on whether Interchange is the right path The costs associated with using Verisign are the one thing that concern me at this point in our selection. We only have experience with one other processor and it was not good. It has been very difficult to dig up information or find people willing to share their experiences with processors and which ones are good, service and price wise. Dan B wrote: > At 08:50 PM 3/21/2001 -0500, you wrote: > >Ron Phipps wrote: > > > I'm > > > not positive on this answer but I think they can use Debit cards (if they > > > have a Visa or MC logo) but I have not seen check functionality listed > > > anywhere. Have a good one! > > > >We are about to implement Verisign here. In our research and from their web > >site: > > > > VeriSign authorizes, manages, > > and supports all major credit cards, debit cards, and > > guaranteed electronic check purchases. > > We found that Verisign's "electronic check" services (technically > "automated clearing house") are prohibitively expensive (e.g. 6% > per-transaction fee, with per-month and per-transaction fees). FYI. > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: jeaton at silverclicks.com (Jimmy Eaton ) Date: Wed, 21 Mar 2001 23:06:10 -0500 (EST) Subject: [ic] Grabbing a web page content using LWP::Simple I need to grab the contents of a web page. I have tried using the below code. [perl Global=1 subs=1] use LWP::Simple my $return=LWP::Simple::get('http::/www.somesite.com/index.html') return $return [/perl] No matter what library I use and the arguments to the perl call. I can not get it to return the page. It will send the request but will hang up trying to read from the socket. I have tried setting it up as a Global Sub, as a usertag and plain perl using Use Socket. The code will work fine outside of minivend but will always hang when it comes to reading from the socket. It will write to the socket but can not read from it. How can one read in the contents of a web page? Jimmy Eaton From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Wed, 21 Mar 2001 21:27:52 -0800 Subject: [ic] Blank Username -- Occurred Again On one of our live sites we had a blank username created, this happened after we used the ORDER DESK for the first time. We require that all of our customers login before checking out. So I assume (although I haven't verified) that a person comes along, sees the login screen and just hits login OR worse yet the login screen doesn't show up because the site thinks the person is logged in do to the empty username. Once the user logs on they are able to see the information for the last person that placed an order and they must clear out the fields with their own information to proceed. This is a security risk because a person's personal information can be viewed. Can we have a fix put into IC to force that a username not be an empty string? I'm going to test my theory but I believe the blank username was created during the ORDER DESK entry because each order after that one was messed up in some way due to the blank username. I'll be reinstalling our test environment to see if we can recreate this situation again. Thanks. -Ron From: rapier at psc.edu (Chris Rapier ) Date: Thu, 22 Mar 2001 00:30:21 -0500 Subject: [ic] Cybercash Failing to Record Order? well, this turned out to be a problem with the Locale directive not being persistant. Something I forgot that i had hacked around before, unfortunately its not being passed to cybercash so i'll need to figure out why. This is with MV4.04 so hopefully its not an issue with anyone else on thislist. Chris Rapier wrote: > > I've a client who just informed me that they found two orders where the > order was processed but cybercash isn't showing records of it. I don't > knwo if they just can find the records or if there is some other > problem. > > My question is: Can anyone think of a way where an order would be > processed even though minivend/interchange didn't receive a valid > response from cybercash? This is the only payment method available and > I'm using mauthcapture. > > The only thing I can think of is that the transactions were never > properly captured (though they were auth'd). If anyone else has seen > anything I'd be more than happey to hear about it. > > Chris > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: db at cyclonehq.dnsalias.net (Dan B ) Date: Wed, 21 Mar 2001 21:30:29 -0800 Subject: [ic] Advice please on whether Interchange is the right path At 12:02 AM 3/22/2001 -0500, you wrote: >The costs associated with using Verisign are the one thing that concern me at >this point in our selection. We only have experience with one other processor >and it was not good. It has been very difficult to dig up information or find >people willing to share their experiences with processors and which ones are >good, service and price wise. True. Information has been hard to come by, but I would share these tips: 1. Costco credit card processing is cheap. (But doesn't work out of the box with IC -- one would simply need to utilize their trivial HTTP POST for processing). 2. Verisign is medium-priced, but works (almost) out of the box with IC. 3. Verisign is willing to negotiate rates and fees (don't ask me how, I didn't do it). There has to be some massive online resource about this kind of thing that have pooled information. (If not, there should be). Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: abductor at abductor.com (Master Abductor ) Date: Wed, 21 Mar 2001 21:39:56 -0800 Subject: [ic] Interchange considerations: What of support? So how is the support? I realize this is open source but what if we do have critical problems? Do the akopia folks monitor this list or is it purely peer support? From: abductor at abductor.com (Master Abductor ) Date: Wed, 21 Mar 2001 21:39:54 -0800 Subject: [ic] Advice please on whether Interchange is the right path I am actually using Ibill as a processor because they handle many services for us besides processing my current shopping cart sales, and since I am a big client they are looking into customizing Interchange for me. But first I need to demo it and see if I like it. If they do, I'm sure they would offer the customization to other potential clients. I can let you all know if that happens. In fact, if there is interest, I can pass it along and they might get excited and do it regardless of me. A common misconception about ibill is that they don't offer gateway processing if you have your own merchant account-- they do, and they're very reliable. I actually think highly of them, it just so happens that I hate my latest shopping cart and I'm looking for a new one. But as long as I was getting a new shopping cart, I was thinking of trying verisign since ibill won't be accepting debit cards and online checks for tangible items for at least a couple of months. Greg -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Ron Dorman Sent: Wednesday, March 21, 2001 8:58 PM To: interchange-users@lists.akopia.com Subject: Re: [ic] Advice please on whether Interchange is the right path Implementing may not have been the best term to use. What I mean is that we have looking into several processors and have tenatively selected Verisign as the one we are going to use. Mainly because they can scale larger than others we have been checking. We are still digging out all the details and building a plan. We are trying to answer the question you ask and determine what programming will have to be done, if any. This is why I stated as in our research and by their web site. PayFlow Link and PayFlow Pro are capable of all the listed transactions. If Interchange is capable of feeding the necessary info without modification I do not know yet. One thing I know for sure, we will do a lot research and testing before using the service. We used LinkPoint through CardServices International before. I liked LinkPoint software, but we had problems with CardServices. We will not repeat the mistakes made. Master Abductor wrote: > Just curious, what do you mean by implementing? Are you writing your own > custom module for interchange to work with debit cards and checks via > Verisign, or can it work that way now? > > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Ron Dorman > Sent: Wednesday, March 21, 2001 5:51 PM > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Advice please on whether Interchange is the right path > > Ron Phipps wrote: > > > I'm > > not positive on this answer but I think they can use Debit cards (if they > > have a Visa or MC logo) but I have not seen check functionality listed > > anywhere. Have a good one! > > > > -Ron > > We are about to implement Verisign here. In our research and from their web > site: > > VeriSign authorizes, manages, > and supports all major credit cards, debit cards, and > guaranteed electronic check purchases. > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: george at halescreative.com (George Loch ) Date: Wed, 21 Mar 2001 22:47:51 -0800 Subject: [ic] Advice please on whether Interchange is the right path It seems to me that it's not quite as simple a question as "Can I do it or not?" It really depends on what your goal is? Yes, there is the contruct something demo store but, It will require one with substantial html experience to make that fit their storefront. If you have the html savvy and all of the features in the demo store are just what you need then great! It should work fine for you. The only problem I have found is when you want to do something that isn't in the demo then, you find yourself calling every long lost friend that knows a little perl for help. From someone who sits on the fence between the programming world and the other world, it can be daunting when you pull the scripts into that text editor you just downloaded from download.com. Not wanting to be a downer, just presenting my own experience. GL ----- Original Message ----- From: Master Abductor <abductor@abductor.com> To: <interchange-users@lists.akopia.com> Sent: Wednesday, March 21, 2001 3:20 PM Subject: [ic] Advice please on whether Interchange is the right path > Hi, > > I'm thinking about using Interchange as my new shopping cart, but I want to > make sure I'm not biting off more than I can chew. I've been lurking about > this forum and one thing that scares me a little is that I see a lot of > programming language bandied about. I am not a programmer. I have a friend > who helps me through the ins and outs of Unix. I'm never going to have the > time to learn programming, I'm already too busy running my internet > businesses. Should a non-programmer install Interchange or should I avoid > it? > > Thanks, > Greg > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: abductor at abductor.com (Master Abductor ) Date: Wed, 21 Mar 2001 22:00:29 -0800 Subject: [ic] Advice please on whether Interchange is the right path Please, be a downer! I want as much opinion as possible! I really screwed myself with the last cart I bought and I don't want to make another costly and regrettable mistake this time. Thank you for your opinion. -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of George Loch Sent: Wednesday, March 21, 2001 10:48 PM To: interchange-users@lists.akopia.com Subject: Re: [ic] Advice please on whether Interchange is the right path It seems to me that it's not quite as simple a question as "Can I do it or not?" It really depends on what your goal is? Yes, there is the contruct something demo store but, It will require one with substantial html experience to make that fit their storefront. If you have the html savvy and all of the features in the demo store are just what you need then great! It should work fine for you. The only problem I have found is when you want to do something that isn't in the demo then, you find yourself calling every long lost friend that knows a little perl for help. From someone who sits on the fence between the programming world and the other world, it can be daunting when you pull the scripts into that text editor you just downloaded from download.com. Not wanting to be a downer, just presenting my own experience. GL From: george at halescreative.com (George Loch ) Date: Wed, 21 Mar 2001 23:16:14 -0800 Subject: [ic] Advice please on whether Interchange is the right path Have you looked through a demo of it? If not I can send you a link to one. I suggest you play around with it and download the source and take a look at it and see what you think. The installation can be tricky but, not the worst I have attempted. HTH GL ----- Original Message ----- From: Master Abductor <abductor@abductor.com> To: <interchange-users@lists.akopia.com> Sent: Wednesday, March 21, 2001 10:00 PM Subject: RE: [ic] Advice please on whether Interchange is the right path > Please, be a downer! I want as much opinion as possible! I really screwed > myself with the last cart I bought and I don't want to make another costly > and regrettable mistake this time. Thank you for your opinion. > > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of George Loch > Sent: Wednesday, March 21, 2001 10:48 PM > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Advice please on whether Interchange is the right path > > It seems to me that it's not quite as simple a question as "Can I do it or > not?" It really depends on what your goal is? Yes, there is the contruct > something demo store but, It will require one with substantial html > experience to make that fit their storefront. If you have the html savvy and > all of the features in the demo store are just what you need then great! It > should work fine for you. The only problem I have found is when you want to > do something that isn't in the demo then, you find yourself calling every > long lost friend that knows a little perl for help. From someone who sits on > the fence between the programming world and the other world, it can be > daunting when you pull the scripts into that text editor you just downloaded > from download.com. > > Not wanting to be a downer, just presenting my own experience. > > GL > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: chris at vanoosterhout.com (Christopher VanOosterhout ) Date: Thu, 22 Mar 2001 01:21:46 -0500 Subject: [ic] how can customers purchase a list of skus The part numbers used in my online stores are widely known and standardized. And the parts are basically commodity parts. Often times people know that they need a whole list of parts and do not need to browse, shop and "be sold" on each individual part. So ... here is the question. If a customer has a list of part numbers how can I allow them to insert or copy that list into a text input box and then have every item on that list either appear in their cart or in a search results page. I am sure this is possible but I am wondering if anyone has done this and if they have any code they can share as to how it was accomplished? Thanks, Christopher From: db at cyclonehq.dnsalias.net (Dan B ) Date: Wed, 21 Mar 2001 22:12:57 -0800 Subject: [ic] Interchange considerations: What of support? At 09:39 PM 3/21/2001 -0800, you wrote: >So how is the support? I realize this is open source but what if we do have >critical problems? Do the akopia folks monitor this list or is it purely >peer support? Akopia folks do monitor the list, but that does not equate with commercial support. Akopia does everything from consulting to hosting, including technical support. You can read up on it at www.akopia.com Err, excuse me, it's actually "RedHat" now. Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: bob at nleinternet.net (bob at nleinternet.net ) Date: Thu, 22 Mar 2001 01:17:01 -0500 (EST) Subject: [ic] Purchasing quantity of multiple items at once This is a MIME-encapsulated message. --------------628874899622175822971833 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, Another Interchange question: I have a couple products that are more or less kits made up of two or more products. I've figured out how to put the tags together such that you can click on a button and purchase say three different items with one click. However, I need to have a box that the user can enter the quantity. So if they enter 5 and click on the BUY button, they are actually getting 5 * 3, or 15 kits (as each unit is composed of three items). How is this done? Bob --------------628874899622175822971833-- From: jon at icaust.com (Jon Pamment ) Date: Thu, 22 Mar 2001 18:18:56 +1100 Subject: [ic] E-Smith Is anyone using interchange on an e-smith (4.1) server. We have just installed one and I'd like to use interchange as our site/cart. If you have this combination, are there any install issues that need addressing before I start. We wont be doing anything to fancy to start with, just modifying the construct this demo. Thanks Jon From: amitk at infinity-design.com (Amit Kulkarni ) Date: Thu, 22 Mar 2001 13:35:50 +0530 Subject: [ic] how to use a variable in a usertag in flypage.html thanks ed can u just tell me how can i echo the value of $opt or $ary in http://developer.akopia.com/archive/interchange-users/2001/msg01180.html usertag user-price on flypage.html From: sheich at mosinfo.ru (Sergey Sheykin ) Date: Thu, 22 Mar 2001 11:09:28 +0300 Subject: [ic] Search result convert Hi, Know anybody, how convert serahc result into file (text format) ? Sergey. From: racke at linuxia.de (Stefan Hornburg Racke ) Date: 22 Mar 2001 08:43:23 +0100 Subject: [ic] Grabbing a web page content using LWP::Simple "Jimmy Eaton" <jeaton@silverclicks.com> writes: > I need to grab the contents of a web page. I have tried using the below > code. > > [perl Global=1 subs=1] > use LWP::Simple > my $return=LWP::Simple::get('http::/www.somesite.com/index.html') > return $return > [/perl] > > No matter what library I use and the arguments to the perl call. I can not > get it to return the page. It will send the request but will hang up trying > to read from the socket. > > I have tried setting it up as a Global Sub, as a usertag and plain perl > using Use Socket. The code will work fine outside of minivend but will > always hang when it comes to reading from the socket. It will write to the > socket but can not read from it. > > How can one read in the contents of a web page? Please look at the get_url usertag. Ciao Racke -- Alter ego of LinuXia Systems (URL: http://www.linuxia.de), Debian maintainer, Interchange developer 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: db at cyclonehq.dnsalias.net (Dan B ) Date: Thu, 22 Mar 2001 00:50:07 -0800 Subject: [ic] E-Smith At 06:18 PM 3/22/2001 +1100, you wrote: >Is anyone using interchange on an e-smith (4.1) server. We have just >installed one and I'd like to use interchange as our site/cart. If you have >this combination, are there any install issues that need addressing before I >start. We wont be doing anything to fancy to start with, just modifying the >construct this demo. I've got 3 or 4 e-smith boxen, but I haven't run IC on them. I would say to: o create the "interch" user ahead of time (e-smith-manager might work, otherwise try 'useradd') o Make sure user has shell access: #chsh -s "/bin/bash" interch o Install all the perl modules you need o (I recommend avoiding MySQL until you get IC working with the file database) o Install interchange from the tarball (makecat, etc.) o Report problems with details to the list :-) You might run into trouble with the firewall rules, httpd.conf setup, etc. things. But try it first and see what happens. Have you installed IC on a regular redhat box before? If not, then I recommend doing that first. Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: Ian.Molesworth at 2020Me.com (Ian Molesworth ) Date: Thu, 22 Mar 2001 09:10:21 -0000 Subject: [ic] how can customers purchase a list of skus This is another form of the request that I posted early this month. It would be really powerfull addition to interchange if there was an API that allowed shopping lists to be submitted in an XML based format, something along the lines of cXML or a biztalk like standard. If something already exists could the 'great ones' out there please point we mere mortals in the right direction. Ian -----Original Message----- From: Christopher VanOosterhout [mailto:chris@vanoosterhout.com] Sent: 22 March 2001 06:22 To: interchange-users@lists.akopia.com Subject: [ic] how can customers purchase a list of skus The part numbers used in my online stores are widely known and standardized. And the parts are basically commodity parts. Often times people know that they need a whole list of parts and do not need to browse, shop and "be sold" on each individual part. So ... here is the question. If a customer has a list of part numbers how can I allow them to insert or copy that list into a text input box and then have every item on that list either appear in their cart or in a search results page. I am sure this is possible but I am wondering if anyone has done this and if they have any code they can share as to how it was accomplished? Thanks, Christopher _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: sysadmin at csi1st.net (Ron Dorman ) Date: Thu, 22 Mar 2001 01:45:40 -0500 Subject: [ic] Advice please on whether Interchange is the right path Dan B wrote: > At 12:02 AM 3/22/2001 -0500, you wrote: > >The costs associated with using Verisign are the one thing that concern me at > >this point in our selection. We only have experience with one other processor > >and it was not good. It has been very difficult to dig up information or find > >people willing to share their experiences with processors and which ones are > >good, service and price wise. > > True. Information has been hard to come by, but I would share these tips: > > 1. Costco credit card processing is cheap. (But doesn't work out of the > box with IC -- one would simply need to utilize their trivial HTTP POST for > processing). > 2. Verisign is medium-priced, but works (almost) out of the box with IC. > 3. Verisign is willing to negotiate rates and fees (don't ask me how, I > didn't do it). > > There has to be some massive online resource about this kind of thing that > have pooled information. (If not, there should be). Amen! From: sysadmin at csi1st.net (Ron Dorman ) Date: Thu, 22 Mar 2001 02:04:27 -0500 Subject: [ic] Advice please on whether Interchange is the right path Master Abductor wrote: > Please, be a downer! I want as much opinion as possible! I really screwed > myself with the last cart I bought and I don't want to make another costly > and regrettable mistake this time. Thank you for your opinion. My experience with Interchange has been good. I have been programming since 1978, mostly on Mainframes and AS/400's moving to Internet and Web applications for only the last 3 years. I downloaded Interchange, tarball, onto our servers, installed it in December. I did the install and had the Contruct Something demo up and running in 4 developement sites in 1 day. The first one is going live in a week. With persistance and dedication you can accomplish anything, with some backend technical help it is somewhat easier. It is a large task that can be quite frustrating for someone learning "Web Stuff" as well as Interchange and will take a lot of time to deliver the first solid site. Interchange is a good package and will cost you nothing but time to get into it, or move to something else. BTW, when you create the demo catalogs, create them in the directory that they will reside in for production. Moving one is a real pain, unless I have missed something. Ron D. From: ary at communicationfactory.com (Young Family ) Date: Tue, 20 Mar 2001 03:31:09 -0800 Subject: [ic] Re: Big Login Problem, :backup, access.Asc , and an encryption problem It's me again (Alan Young) with my Big Login Problem. I am trying to get in to my admin area, thanks to all of you for telling me about access.asc. and the :backup back door. That is the only way I could get in to my site. So I go in to /var/lib/interchange/construct/products/access.asc I see a line in access.asc describing my admin user and it says.... username password name last_login super etc admin 123 Alan Young 985173411 1 2ndDayAir Ground NextDay etc The password 123 got there because I logged in as :backup and I clicked administration, then tables, then I chose the table named access. Then I typed 123. Then I went back to telnet and viewed access.asc and there it was, clear as day , the password was 123. But the 123 password never got encrypted when it is stored in access.asc, so when I then try to login as user=admin, password=123 , I never am able to log in, it says Failure: Password mismatch. So the administrative interface is not encrypting my password before it puts it in to my access.asc table. Ideas? Solutions? Suggestions? Is this a bug, or do I have some encryption setting messed up? There are so many parameters to set, I must have missed something in the install maybe. Alan Young ary@communicationfactory.com ----- Original Message ----- From: <interchange-users-admin@lists.akopia.com> To: <interchange-users@lists.akopia.com> Sent: Wednesday, March 21, 2001 9:57 AM Subject: Interchange-users digest, Vol 1 #374 - 19 msgs > > Send Interchange-users mailing list submissions to > interchange-users@lists.akopia.com > > To subscribe or unsubscribe via the web, visit > http://lists.akopia.com/mailman/listinfo/interchange-users > or, via email, send a message with subject or body 'help' to > interchange-users-request@lists.akopia.com > You can reach the person managing the list at > interchange-users-admin@lists.akopia.com > > When replying, please edit your Subject line so it is more specific than > "Re: Contents of Interchange-users digest..." > > > Today's Topics: > > 1. Deleting Affiliates... (Integricity Support) > 2. how to use a variable in a usertag in flypage.html (Amit Kulkarni) > 3. Re: Please wait while your request is processed (jojo@blackpoint.de) > 4. Re: Please wait while your request is processed (Ton Verhagen) > 5. Search/Check in Column (joachim.richter) > 6. Re: Please wait while your request is processed (jojo@blackpoint.de) > 7. RE: >>>[ic] Fw: Big Login Problem (Young Family) > 8. Re: HTML editor (Rick Lord) > 9. FrontPage (F. James Rohlf) > 10. Re: FrontPage (Casey R. Tweten) > 11. Re: FrontPage (Mike Heins) > 12. Basket won't go anwhere (davidb) > 13. RE: >>>[ic] Fw: Big Login Problem (Ed LaFrance) > 14. search fields (Mat Jones - booksellersolutions.com) > 15. Re: HTML editor (Ed LaFrance) > 16. Checkout --- Required vs not required (joachim.richter) > 17. Re: HTML editor (John Beima) > 18. gvim indentation, was html editors (Dylan Oliver) > 19. Re: HTML editor (Chris Jesseman) > > --__--__-- > > Message: 1 > Date: Wed, 21 Mar 2001 16:05:45 +0800 > From: Integricity Support <support@integricity.com> > Reply-To: Integricity Support <support@integricity.com> > Organization: Integricity Corp. > To: interchange-users@lists.akopia.com > Subject: [ic] Deleting Affiliates... > Reply-To: interchange-users@lists.akopia.com > > Hello Team Akopia, > > Just wondering, is there the functionality to delete affiliates > without using the tables? I guess this would be good for the time when > the entire access controls, depending on login is implemented. > > > -- > Best regards, > Integricity mailto:support@integricity.com > > > > --__--__-- > > Message: 2 > Date: Wed, 21 Mar 2001 14:01:25 +0530 > From: Amit Kulkarni <amitk@infinity-design.com> > To: interchange-users@lists.akopia.com > Subject: [ic] how to use a variable in a usertag in flypage.html > Reply-To: interchange-users@lists.akopia.com > > how do i use $somevariable defined inside a usertag defination in > catalog.cfg in flypage.html > > > > --__--__-- > > Message: 3 > Date: Wed, 21 Mar 2001 11:39:48 +0100 (CET) > From: jojo@blackpoint.de > Subject: Re: [ic] Please wait while your request is processed > To: interchange-users@lists.akopia.com > Reply-To: interchange-users@lists.akopia.com > > Ton, > > I'm glad to get your hint. But I did not find it in the docs. > Can you point me, where I can get more informations about mv_delay_page? > > All the best and a lot of thanks, > > jojo > > On 20 Mar, Ton Verhagen wrote: > > Jojo, > > > > This might be what you're looking for: mv_delay_page > > > > All the best, > > > > Ton > [DEL] > > -- > -------------<FreeBsd>-------------------------------------------------- > Hans-Joachim Leidinger black point arts Internet Solutions GmbH > email: jojo@blackpoint.de FAX : +49 0209-398265 > http://www.bpaserver.net > > > --__--__-- > > Message: 4 > Date: Wed, 21 Mar 2001 12:22:44 +0100 > To: interchange-users@lists.akopia.com > From: Ton Verhagen <ton@verhagen.net> > Subject: Re: [ic] Please wait while your request is processed > Reply-To: interchange-users@lists.akopia.com > > Jojo, > > At 11:39 AM 3/21/01 +0100, you wrote: > >Ton, > > > >I'm glad to get your hint. But I did not find it in the docs. > >Can you point me, where I can get more informations about mv_delay_page? > [DEL] > > ictemplates.pod: > mv_delay_page dp S Delay search until after inital page display > > One could use mv_delay_page on a search form in order to display a page > immediately while waiting for the results of a time consuming search. The > results page would be displayed once the search was completed. > > As far as can recall mv_delay_page was still in MV4.0, but I haven't found > it in IC4.6.4. Maybe it is taken out (by accident). > If it's taken out, start banging on Mike and his team to put it back in > again. This kind of functionality should be part of the default > distribution imho. Maybe it's been replaced by something else, but I > haven't found that either. > > Good luck, > > Ton > > > --__--__-- > > Message: 5 > Date: Wed, 21 Mar 2001 13:04:12 +0100 > From: "joachim.richter" <joachim.richter@usvideocenter.de> > To: interchange-users@lists.akopia.com > Subject: [ic] Search/Check in Column > Reply-To: interchange-users@lists.akopia.com > > hi there, > > we just got the glorious idea to have buttons/ links vanish if certain fields are not present. > > this is easy > > [if-item-field xsound1]<a href="scan/fi=[scratch cross_file]/sf=xsound1/se=[item-field xsound1]">[item-field xsound1]</a>[/if-item-field] > > and it works.....but what if we want to have a link/button vanish, if certain information in a column is missing : > > we tried this which seems logical (kinda) : > > [seti count][data table = products_internet column = internet key = Z][/seti] > [if scratch count ne 0] > <tr><td> > [page scan > fi=products_internet > sf=internet > se=Z > tf=category > to=x > tf=title > to=x > ml=10 > su=yes > ]<img src="__navigation__/dd.gif" border="0">[/page] > </td></tr>[else][/else][/if] > > but it doesnt seem to work and what if we have 5 buttons/links in one document which we like to attach the same functionality to. > do we have to change count into count1, count2, count3 ..... > > help is greatly appreciated > > > joe > US Video Center Medien GmbH > Heimsheimer Str 22 > 70499 Stuttgart > > Tel 0711 880252 0 > Fax 0711 880252 22 > Email joachim.richter@usvideocenter.de > > > --__--__-- > > Message: 6 > Date: Wed, 21 Mar 2001 13:20:23 +0100 (CET) > From: jojo@blackpoint.de > Subject: Re: [ic] Please wait while your request is processed > To: interchange-users@lists.akopia.com > Reply-To: interchange-users@lists.akopia.com > > On 21 Mar, Ton Verhagen wrote: > > Jojo, > > > > At 11:39 AM 3/21/01 +0100, you wrote: > >>Ton, > >> > >>I'm glad to get your hint. But I did not find it in the docs. > >>Can you point me, where I can get more informations about mv_delay_page? > > [DEL] > > > > ictemplates.pod: > > mv_delay_page dp S Delay search until after inital page display > > > > One could use mv_delay_page on a search form in order to display a page > > immediately while waiting for the results of a time consuming search. The > > results page would be displayed once the search was completed. > > > > As far as can recall mv_delay_page was still in MV4.0, but I haven't found > > it in IC4.6.4. Maybe it is taken out (by accident). > > If it's taken out, start banging on Mike and his team to put it back in > > again. This kind of functionality should be part of the default > > distribution imho. Maybe it's been replaced by something else, but I > > haven't found that either. > > > > Good luck, > > > > Ton > > Thank you a lot! Hmmm...can I use mv_delay_page outside of any search > and results pages? If I recall right, I can use [search-region send=1] > in my results page too, to get the same behavior like mv_delay_page. > Hmmm...is there any MV/IC-Tag like [page-region send=1] to display a > page immediately during the page building by IC? > > Thanks! > > Joachim > > -- > -------------<FreeBsd>-------------------------------------------------- > Hans-Joachim Leidinger black point arts Internet Solutions GmbH > email: jojo@blackpoint.de FAX : +49 0209-398265 > http://www.bpaserver.net > > > --__--__-- > > Message: 7 > Reply-To: "Young Family" <ary@communicationfactory.com> > From: "Young Family" <ary@communicationfactory.com> > To: <interchange-users@lists.akopia.com> > Subject: RE: >>>[ic] Fw: Big Login Problem > Date: Mon, 19 Mar 2001 05:41:48 -0800 > charset="iso-8859-1" > Reply-To: interchange-users@lists.akopia.com > > You wrote ... > > >>username: interchange > >>Password: pass > > Ok now that I tried that and it doesnt work, what next? I will reiterate my > previous question.. > just what files in the system can I go to to reset the password? Obviously I > have screwed something up, and I just cannot get in. > > I need to figure out how to get in to the admin area so aI can build my shop > > Alan Young > ary@communicationfactory.com > > > [ic] Fw: Big Login Problem > Bob Puff@NLE bob@nleaudio.com > Mon, 19 Mar 2001 11:42:59 -0500 > Previous message: [ic] Fw: Big Login Problem > Next message: [ic] Fw: Big Login Problem > Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] > > > > username: interchange > Password: pass > > > > > > > Previous message: [ic] Fw: Big Login Problem > Next message: [ic] Fw: Big Login Problem > Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] > > > --__--__-- > > Message: 8 > Date: Wed, 21 Mar 2001 07:40:12 -0700 > From: Rick Lord <rick@desertlord.com> > To: interchange-users@lists.akopia.com > Subject: Re: [ic] HTML editor > Reply-To: interchange-users@lists.akopia.com > > I use NoteTab when on Windows and Emacs when on Linux. Those are the > best editors I have found. > > John Beima wrote: > > > > If you are a REAL web developer, you should use vi, vim, gvim, pico, notepad, or > > just plain old MS-DOS edit. > > > > Frontpage is for people who know nothing. No professional in his right mind > > would be caught dead using FrontPage. God the hours I have spent cleaning up the > > crappy useless code it produces. > > > > Here is a simple answer real professional web authors write their own code. Just > > like real programmers. Are you a professional or not? God I always love this > > one! (-: FrontPage YUCK! > > > > John Beima > > > > Quoting "F. James Rohlf" <rohlf@life.bio.sunysb.edu>: > > > > > Editing the Interchange catalog files seems a bit awkward because the > > > various files (pages, special_pages, and normal HTML files) get swapped > > > in > > > and out dynamically by Interchange. Which HTML editors work best in this > > > environment? Obviously, MS FrontPage which I have used for 'normal' web > > > pages does not work so well here -- even if I could figure out how to > > > get > > > the FrontPage extensions installed. > > > > > > Thanks, Jim > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > John Beima > > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > -- > Rick Lord > Desert Lord Enterprises > http://www.desertlord.com/ > http://www.KitKar.com/ > http://www.NavySealsWatches.com/ > > > --__--__-- > > Message: 9 > Reply-To: <rohlf@life.bio.sunysb.edu> > From: "F. James Rohlf" <rohlf@life.bio.sunysb.edu> > To: "Interchange-Users" <interchange-users@lists.akopia.com> > Date: Wed, 21 Mar 2001 09:47:30 -0500 > charset="iso-8859-1" > Subject: [ic] FrontPage > Reply-To: interchange-users@lists.akopia.com > > I seemed to have touched a raw nerve! > > Yes, I am a programmer! I started using SOAP (an assembly language) on the > IBM 650 in 1958. I have gone through _many_ languages since then. I also am > quite comfortable in HTML etc. However, when there is a tool that saves time > I use it. I want to get the job done. Developing an entire website in an > ASCII editor is possible (I have done it to learn) but it is a waste of time > for routine use when _real_ HTML editors offer so many conveniences. > > I asked the question because I thought there might be enough usage of IC > that someone would have developed special add-on tools for one of the HTML > editors. I take it that the answer is 'no'. > > Jim > > > --__--__-- > > Message: 10 > Date: Wed, 21 Mar 2001 09:56:44 -0500 (EST) > From: "Casey R. Tweten" <crt@kiski.net> > To: Interchange-Users <interchange-users@lists.akopia.com> > Subject: Re: [ic] FrontPage > Reply-To: interchange-users@lists.akopia.com > > Today around 9:47am, F. James Rohlf hammered out this masterpiece: > > : I asked the question because I thought there might be enough usage of IC > : that someone would have developed special add-on tools for one of the HTML > : editors. I take it that the answer is 'no'. > > One of those reasons is tha Open Source does not equal pay > software. Or pay Operating Systems. Therefore, the chances of you > finding what your after are slim, since there aren't any useable > Open Source WYSIWYG HTML editors. > > -- > print(join(' ', qw(Casey R. Tweten)));my $sig={mail=>'crt@kiski.net',site=> > 'http://home.kiski.net/~crt'};print "\n",'.'x(length($sig->{site})+6),"\n"; > print map{$_.': '.$sig->{$_}."\n"}sort{$sig->{$a}cmp$sig->{$b}}keys%{$sig}; > my $VERSION = '0.01'; #'patched' by Jerrad Pierce <belg4mit at MIT dot EDU> > > > --__--__-- > > Message: 11 > Date: Wed, 21 Mar 2001 10:27:08 -0500 > From: Mike Heins <mikeh@minivend.com> > To: interchange-users@lists.akopia.com > Subject: Re: [ic] FrontPage > Reply-To: mike@minivend.com > Reply-To: interchange-users@lists.akopia.com > > Quoting F. James Rohlf (rohlf@life.bio.sunysb.edu): > > I seemed to have touched a raw nerve! > > > > Yes, I am a programmer! I started using SOAP (an assembly language) on the > > IBM 650 in 1958. I have gone through _many_ languages since then. I also am > > quite comfortable in HTML etc. However, when there is a tool that saves time > > I use it. I want to get the job done. Developing an entire website in an > > ASCII editor is possible (I have done it to learn) but it is a waste of time > > for routine use when _real_ HTML editors offer so many conveniences. > > > > I asked the question because I thought there might be enough usage of IC > > that someone would have developed special add-on tools for one of the HTML > > editors. I take it that the answer is 'no'. > > > > Please, no editor wars. This is off-topic. > > As a side note, at one time I spent hundreds of hours trying to > integrate FrontPage '97/98 with (at that time) Minivend. It was a > losing proposition, as when I delved into the SDK I found quite a few > limitations and not a few bugs. Though I am sure they have been fixed > somewhat, the non-open nature of FrontPage makes it like pulling teeth > to get information about the SDK. Add the bad security problems of > the FrontPage publisher and it became clear that it was time to give > it up. (I probably would never have started if it had been a Microsoft > product to begin with -- perhaps noone else remembers Vermeer, who they > bought it from.) > > Another problem I found was that FrontPage "masterminded" the HTML, > relocating comments to whereever if wanted, urlencoding things that should > have been left untouched, etc. They have since added the equivalent of > a <notouch> tag, but I was soured on FrontPage forever at that point. > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > Experience is what allows you to recognize a mistake the second > time you make it. -- unknown > > --__--__-- > > Message: 12 > Date: Wed, 21 Mar 2001 09:27:21 -0600 > From: davidb <davidb@communitylink.com> > To: <interchange-users@lists.akopia.com> > Subject: [ic] Basket won't go anwhere > Reply-To: interchange-users@lists.akopia.com > > I just tested out my new catalog before inputting any data to make sure that > I could place an order and to be certain that the secure server worked. > This all appeared to be fine. Next, I added items descriptions and images > and customized a few other pages. Now, when I try to place an order from the > basket, the page never gets anywhere. It tries to reach the secure server > but wont respond. Also, after doing this, all other attempts to access > admin have resulted in extremely slow load times. I have tried to restart IC > several times to no effect. Could this be a problem with the SSL? I checked > my permissions and everything seemed ok. The only thing I could think of is > that I deleted something from the cart template. I will continue to check > the templates for trouble. The other site that I built works fine and uses > the same secure server. Any advice is appreciated. > davidb > > > --__--__-- > > Message: 13 > Date: Wed, 21 Mar 2001 08:27:18 -0800 > To: interchange-users@lists.akopia.com > From: Ed LaFrance <edl@newmediaems.com> > Subject: RE: >>>[ic] Fw: Big Login Problem > Reply-To: interchange-users@lists.akopia.com > > At 05:41 AM 03/19/2001 -0800, you wrote: > >You wrote ... > > > > >>username: interchange > > >>Password: pass > > > >Ok now that I tried that and it doesnt work, what next? I will reiterate my > >previous question.. > >just what files in the system can I go to to reset the password? Obviously I > >have screwed something up, and I just cannot get in. > > > >I need to figure out how to get in to the admin area so aI can build my shop > > > >Alan Young > >ary@communicationfactory.com > > Take a look in your products directory for a file called access.asc, and > view the contents of the file. The Super User username and password should > be there...unfortunately the pwd will be encrypted, but perhaps seeing the > username will jog your memory. This uname and pwd was set by you when you > created the catalog with makecat (whether you accepted the defaults or > entered a custom pair). > > - Ed L. > > > > > =============================================================== > **** Virtual Hosting w/private IC Installation, $65/month! **** > --------------------------------------------------------------- > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > > --__--__-- > > Message: 14 > Date: Wed, 21 Mar 2001 09:02:52 -0800 > From: "Mat Jones - booksellersolutions.com" <mat@booksellersolutions.com> > To: interchange-users@lists.akopia.com > Subject: [ic] search fields > Reply-To: interchange-users@lists.akopia.com > > A client has a coordinated search which has the following fields to search: > author > title > category > illustrator > > How would I display on the results page, the name of the fields which were > searched... eg if they only fill out author category, on search form, how > can i make it display > "You searched for author - whatever in category - whatever" > Using [value mv_search_field] only pulls up a list of ALL search_field > values, whether empty or not. > is there something similar to $Values->{mv_searchspec}[0] i can use ?? > > Thanks > > Mat > > booksellersolutions.com > > Read what the SF Examiner says about booksellersolutions.com: > http://www.sfexaminer.com/business/default.jsp?story=b.web.0121 > > 2141 Mission St #301 > San Francisco, CA 94110 > (415) 554-0568 > > > --__--__-- > > Message: 15 > Date: Wed, 21 Mar 2001 09:11:33 -0800 > To: interchange-users@lists.akopia.com > From: Ed LaFrance <edl@newmediaems.com> > Subject: Re: [ic] HTML editor > <NDBBIAJOAIAIEOOONFDKIELICHAA.rohlf@life.bio.sunysb.edu> > Reply-To: interchange-users@lists.akopia.com > > At 07:17 PM 03/20/2001 -0700, you wrote: > >If you are a REAL web developer, you should use vi, vim, gvim, pico, > >notepad, or > >just plain old MS-DOS edit. > > > >Frontpage is for people who know nothing. No professional in his right mind > >would be caught dead using FrontPage. God the hours I have spent cleaning > >up the > >crappy useless code it produces. > > > >Here is a simple answer real professional web authors write their own > >code. Just > >like real programmers. Are you a professional or not? God I always love this > >one! (-: FrontPage YUCK! > > > >John Beima > > I agree, Frontpage is a pig. But I would not condemn all WYSIWYG editors > due to its lack of merits. I often use a visual tool when starting a new > project, just to generate a few standardized page layouts to solidify the > look and feel of the site. Clients like this, and I like it, because it > gets the decorating out of the way up front. Then I switch to a text > editor and don't look back. > > - Ed L. > > > > > > >Quoting "F. James Rohlf" <rohlf@life.bio.sunysb.edu>: > > > > > Editing the Interchange catalog files seems a bit awkward because the > > > various files (pages, special_pages, and normal HTML files) get swapped > > > in > > > and out dynamically by Interchange. Which HTML editors work best in this > > > environment? Obviously, MS FrontPage which I have used for 'normal' web > > > pages does not work so well here -- even if I could figure out how to > > > get > > > the FrontPage extensions installed. > > > > > > Thanks, Jim > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > >John Beima > >jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > > >P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > >11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > > >Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > >2713B Spring Place SW, Decatur, Alabama, United States, 35603 > > > >_______________________________________________ > >Interchange-users mailing list > >Interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > =============================================================== > **** Virtual Hosting w/private IC Installation, $65/month! **** > --------------------------------------------------------------- > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > > --__--__-- > > Message: 16 > Date: Wed, 21 Mar 2001 18:07:49 +0100 > From: "joachim.richter" <joachim.richter@usvideocenter.de> > To: interchange-users@lists.akopia.com > Subject: [ic] Checkout --- Required vs not required > Reply-To: interchange-users@lists.akopia.com > > hi, > > on the checkout page there are different fields some of them are required some are not, > changing the required form 1 to 0 only changes from "bold" to "not bold" > > does anybody know the location of the file(?) which configures the requirements of the checkout page ? > i like to add fields and make them required i.e. if not filled they should turn red, > where I do i change these settings ? > > thanx > > > US Video Center Medien GmbH > Heimsheimer Str 22 > 70499 Stuttgart > > Tel 0711 880252 0 > Fax 0711 880252 22 > Email joachim.richter@usvideocenter.de > > > --__--__-- > > Message: 17 > From: John Beima <jbeima@reality.palb.com> > To: interchange-users@lists.akopia.com > Subject: Re: [ic] HTML editor > Date: Wed, 21 Mar 2001 10:16:58 -0700 (MST) > Reply-To: interchange-users@lists.akopia.com > > G'Day Casey, > > You are correct I did forget emacs... My appoligies to it! > > Something you folks may or may not have known is the lastest version of gvim > DOES in fact sytax check you HTML code on two different levels! > > John > > > Quoting "Casey R. Tweten" <crt@kiski.net>: > > > Today around 11:09pm, Greg Gaskill hammered out this masterpiece: > > > > : ----- Original Message ----- > > : From: "John Beima" <jbeima@reality.palb.com> > > : To: <interchange-users@lists.akopia.com> > > : Sent: Tuesday, March 20, 2001 9:17 PM > > : Subject: Re: [ic] HTML editor > > : > > : > > : > If you are a REAL web developer, you should use vi, vim, gvim, pico, > > notepad, or > > : > just plain old MS-DOS edit. > > > > Ahem, since the "those are not HTML editors" card was already played, > > I'd like to mention the forgotten hero: emacs. A text editor that can > > be anything you darn well please. > > > > : > Here is a simple answer real professional web authors write their > > own code. Just > > : > like real programmers. Are you a professional or not? God I always > > love this > > : > one! (-: FrontPage YUCK! > > > > Yes, front page sucks. However, blanket statements like this are just > > wrong. Let me preface: I am a Perl who works only on Linux > > workstations. I know a great many designers who are professional and > > nationally recognized who use Dream Weaver. As a developer, I hate > > revieving their code but I also love their work. It is the constant > > struggle between the forces. What is good for programmers is not > > always good for designers. We can't be so narrow minded as to expect > > them to conform to what we like, likewise for them. > > > > Also, it is important to remember that when editing interchange pages > > and components, it is not HTML that you are editing, it is interchange > > templates. Thinking that way, you quickly realize that forefitting > > the HTML syntax highlighting is something one can live with. > > > > The front page note suggests the origional asker doen't know HTML ( > > not knocking you, just guessing ) and doesn't care to learn. My > > suggestion: 1) pick up a copy of DreamWeaver, 2) Ask your developers > > to use HTML comment style tags ( you *can* do this right? or am I > > thinking TT? ) and that shouldn't freak out DreamWeaver too much. I > > hold no legal accountablilty if DreamWeaver wrecks your "insert > > buzzwords here" web site. > > > > : Actually, I let the graphic artists use whatever they are > > : comfortable with, then clean up the raw html and wedge in the > > : interchange tags where needed. I consider myself a programmer not a > > : visual artist, so I don't use Frontpage for coding, and I don't > > : require them to use a text editor for layout and design. I say what > > : fields are needed on a particular type of page, and they "paint me a > > : picture" of a web page. This way we end up with an end product that > > : looks good and also works correctly. > > > > And, as of today, given the technologies that exist, this is the way > > it should be. YMMV. > > > > -- > > print(join(' ', qw(Casey R. Tweten)));my > > $sig={mail=>'crt@kiski.net',site=> > > 'http://home.kiski.net/~crt'};print > > "\n",'.'x(length($sig->{site})+6),"\n"; > > print map{$_.': > > '.$sig->{$_}."\n"}sort{$sig->{$a}cmp$sig->{$b}}keys%{$sig}; > > my $VERSION = '0.01'; #'patched' by Jerrad Pierce <belg4mit at MIT dot > > EDU> > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > John Beima > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > > --__--__-- > > Message: 18 > charset="iso-8859-1" > From: Dylan Oliver <doliver@hampshire.edu> > Organization: Global View International > To: interchange-users@lists.akopia.com > Date: Wed, 21 Mar 2001 11:40:59 -0600 > Subject: [ic] gvim indentation, was html editors > Reply-To: interchange-users@lists.akopia.com > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Wednesday 21 March 2001 11:16, you wrote: > > G'Day Casey, > > > > You are correct I did forget emacs... My appoligies to it! > > > > Something you folks may or may not have known is the lastest version of > > gvim DOES in fact sytax check you HTML code on two different levels! > > > > John > > This is, again, off-topic, but I have been seeking help on this subject for a > while now. I have seen gvim's syntax highlighting and like its keystrokes, > but severely miss XEmacs' html indentation. Can gvim automatically indent > HTML? If so, how can I activate it? I'm happy to take answers off-list. > - -- > Dylan Oliver > http://stout.hampshire.edu/~dao99 > Global View International > http://www.globalview-intl.com > Do you know how little you know? > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.4 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iEYEARECAAYFAjq456sACgkQ7U8r0TCZf4E0lQCfRi1gokltohoFyL5WPMvpSAgb > OxYAn2UOJk8KmPWGcLGMlKrAFEpSY48y > =KJFe > -----END PGP SIGNATURE----- > > --__--__-- > > Message: 19 > To: interchange-users@lists.akopia.com > Subject: Re: [ic] HTML editor > Date: Wed, 21 Mar 2001 12:55:32 -0500 (EST) > From: Chris Jesseman <admin@sitemajic.net> > Reply-To: interchange-users@lists.akopia.com > > Back on topic... > > I wrote a color syntax highlight mode for Interchange that plugs into jEdit, > which is OSS. I'm using it daily and it does a pretty good job (knock knock) of > highliting IC tags, embeded perl, and outside HTML. I posted a link on this > list a few weeks ago... > > -Chris > > > At 07:17 PM 03/20/2001 -0700, you wrote: > > >If you are a REAL web developer, you should use vi, vim, gvim, pico, > > >notepad, or > > >just plain old MS-DOS edit. > > > > > >Frontpage is for people who know nothing. No professional in his right > > mind > > >would be caught dead using FrontPage. God the hours I have spent > > cleaning > > >up the > > >crappy useless code it produces. > > > > > >Here is a simple answer real professional web authors write their own > > > > >code. Just > > >like real programmers. Are you a professional or not? God I always love > > this > > >one! (-: FrontPage YUCK! > > > > > >John Beima > > > > I agree, Frontpage is a pig. But I would not condemn all WYSIWYG > > editors > > due to its lack of merits. I often use a visual tool when starting a new > > > > project, just to generate a few standardized page layouts to solidify > > the > > look and feel of the site. Clients like this, and I like it, because it > > > > gets the decorating out of the way up front. Then I switch to a text > > editor and don't look back. > > > > - Ed L. > > > > > > > > > > > > >Quoting "F. James Rohlf" <rohlf@life.bio.sunysb.edu>: > > > > > > > Editing the Interchange catalog files seems a bit awkward because > > the > > > > various files (pages, special_pages, and normal HTML files) get > > swapped > > > > in > > > > and out dynamically by Interchange. Which HTML editors work best in > > this > > > > environment? Obviously, MS FrontPage which I have used for 'normal' > > web > > > > pages does not work so well here -- even if I could figure out how > > to > > > > get > > > > the FrontPage extensions installed. > > > > > > > > Thanks, Jim > > > > > > > > > > > > _______________________________________________ > > > > Interchange-users mailing list > > > > Interchange-users@lists.akopia.com > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > >John Beima > > >jbeima@palb.com, support@alocalagent.com, and > > support@alocalchurch.com > > > > > >P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > > >11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > > > > >Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > > >2713B Spring Place SW, Decatur, Alabama, United States, 35603 > > > > > >_______________________________________________ > > >Interchange-users mailing list > > >Interchange-users@lists.akopia.com > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > =============================================================== > > **** Virtual Hosting w/private IC Installation, $65/month! **** > > --------------------------------------------------------------- > > New Media E.M.S. Software Solutions for Business > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > Placerville, CA 95667 edl@newmediaems.com > > (530) 622-9421 http://www.newmediaems.com > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > =============================================================== > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > Chris Jesseman, President > http://www.sitemajic.net > > > > --__--__-- > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > End of Interchange-users Digest > From: mikeh at minivend.com (Mike Heins ) Date: Thu, 22 Mar 2001 07:40:31 -0500 Subject: [ic] RE: error accessing genconfig.html in IC administration Quoting Curt Hauge (chc@mninter.net): > I have gone a little further in troubleshooting this error. > > This error > > Can't read file '/local_path/catalogs/mycat/etc/status.mycat' with NoAbsolute set > > seems to be coming from Util.pm. I have grepped lib/Vend for "Can't read > file" and it is found only in Util.pm on two lines. It can also be found in > interchange/locale.error (Util.pm:3 and Util.pm:4, which is how I found it in > Util.pm). Anyone know what to check for next? There is obviously a clue > somewhere in line 892, but what does it all mean? =) This is a UI error, and is really nothing to worry about. We will fix it in the next version by using a UserTag to read the status file. You can eliminate the error with this patch to lib/UI/pages/genconfig.html diff -r1.17 genconfig.html 132c132 < <TD>[file name=`"$Config->{ConfDir}/status.$Config->{CatalogName}"`] ([page __UI_BASE__/reconfig @@MV_PAGE@@]apply now</A>)</TD> --- > <TD>[file name=`"etc/status.$Config->{CatalogName}"`] ([page __UI_BASE__/reconfig @@MV_PAGE@@]apply now</A>)</TD> -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> "Laughter is inner jogging." -- Norman Cousins From: dan at mailturtle.com (Dan McFarland ) Date: Thu, 22 Mar 2001 08:36:57 -0600 Subject: [ic] Purchasing quantity of multiple items at once It would be MUCH easier to create a new item for the kit. It would also give you more flexibility if you decide to add or remove items in the kit(s) later. I do this now for distributors. There's about 12 items in the dist. kit, so a new item # is the kit. Then I don't have to fool around with changing source or formulae later if the kit contents change. Dan ----- Original Message ----- From: <bob@nleinternet.net> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 22, 2001 12:17 AM Subject: [ic] Purchasing quantity of multiple items at once > Hello, > > Another Interchange question: I have a couple products that are more or less > kits made up of two or more products. I've figured out how to put the tags > together such that you can click on a button and purchase say three different > items with one click. > > However, I need to have a box that the user can enter the quantity. So if they > enter 5 and click on the BUY button, they are actually getting 5 * 3, or 15 kits > (as each unit is composed of three items). How is this done? > > Bob > > From: Murray at scotweb.ltd.uk (Murray Gibbins ) Date: Thu, 22 Mar 2001 15:39:30 +0000 Subject: [ic] New help with global subs If you are writing a Global sub for interchange and you want to test and/or debug it then you could do worse than to put it into a file and pass it though this .... -------------------------- #!/bin/bash # self_test.sh # Test a minivend/interchange Global subroutine # Usage ./self_test.sh <file with only global sub in it> if [ $# = 0 ] then echo "Syntax = ./self_test.sh <file with only global sub in it>"; exit 1; fi ; cat $1 | perl -e '@l=map{/^\s*Global.*<<(.*)/?$GL=$1:1;$_}<>;map{$str.=$_}grep{!/(?:^\s*globalsub\s*<<)|(^$GL)/i}@l;eval $str;print"\n\nGlobal Sub ",$@?" failed\n\n$@":" passed\n\n";' -------------------------- for files of the form.... GlobalSub <<EOGA sub gen_hash { ..... } EOGA YMMV, but I thought I would share :-) -- ____ \__/ Murray Gibbins murray@scotweb.ltd.uk / \ Programmer _ \__/ _ ================================================ \\ || // Scotweb Limited, info@scotweb.ltd.uk \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 From: sheich at mosinfo.ru (Sergey Sheykin ) Date: Thu, 22 Mar 2001 18:57:06 +0300 Subject: [ic] message 0E0 Hi, how can I hide message on a page "0E0", when query, like [query query="update table products..."] is executed? Sergey. From: mat at booksellersolutions.com (Mat Jones - booksellersolutions.com ) Date: Thu, 22 Mar 2001 08:37:37 -0800 Subject: [ic] message 0E0 put your query within a [seti] tag [seti query1][query sql="..."][/seti] Mat ----- Original Message ----- From: "Sergey Sheykin" <sheich@mosinfo.ru> To: "Minivend-Users" <minivend-users@minivend.com>; "Interchange-Users" <interchange-users@lists.akopia.com> Sent: Thursday, March 22, 2001 7:57 AM Subject: [ic] message 0E0 > Hi, > > how can I hide message on a page "0E0", when > query, like [query query="update table products..."] is executed? > > Sergey. > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: sheich at mosinfo.ru (Sergey Sheykin ) Date: Thu, 22 Mar 2001 20:01:40 +0300 Subject: [ic] message 0E0 I make this. Before I see message : "1 0E0" Now I see : "0E0", without "1". But "0E0" still remained!.. > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Mat Jones > - booksellersolutions.com > Sent: Thursday, March 22, 2001 7:38 PM > To: interchange-users@lists.akopia.com > Subject: Re: [ic] message 0E0 > > > put your query within a [seti] tag > > [seti query1][query sql="..."][/seti] > > Mat > ----- Original Message ----- > From: "Sergey Sheykin" <sheich@mosinfo.ru> > To: "Minivend-Users" <minivend-users@minivend.com>; "Interchange-Users" > <interchange-users@lists.akopia.com> > Sent: Thursday, March 22, 2001 7:57 AM > Subject: [ic] message 0E0 > > > > Hi, > > > > how can I hide message on a page "0E0", when > > query, like [query query="update table products..."] is executed? > > > > Sergey. > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: jkorkin at korksoft.com (Jason Korkin ) Date: Thu, 22 Mar 2001 12:09:37 -0500 Subject: [ic] message 0E0 I just comment them out (if possible) via typical HTML comments <!-- [sql] --> Jason. ----- Original Message ----- From: "Sergey Sheykin" <sheich@mosinfo.ru> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 22, 2001 12:01 PM Subject: RE: [ic] message 0E0 > I make this. > > Before I see message : "1 0E0" > Now I see : "0E0", without "1". > > But "0E0" still remained!.. > > > -----Original Message----- > > From: interchange-users-admin@lists.akopia.com > > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Mat Jones > > - booksellersolutions.com > > Sent: Thursday, March 22, 2001 7:38 PM > > To: interchange-users@lists.akopia.com > > Subject: Re: [ic] message 0E0 > > > > > > put your query within a [seti] tag > > > > [seti query1][query sql="..."][/seti] > > > > Mat > > ----- Original Message ----- > > From: "Sergey Sheykin" <sheich@mosinfo.ru> > > To: "Minivend-Users" <minivend-users@minivend.com>; "Interchange-Users" > > <interchange-users@lists.akopia.com> > > Sent: Thursday, March 22, 2001 7:57 AM > > Subject: [ic] message 0E0 > > > > > > > Hi, > > > > > > how can I hide message on a page "0E0", when > > > query, like [query query="update table products..."] is executed? > > > > > > Sergey. > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: edl at newmediaems.com (Ed LaFrance ) Date: Thu, 22 Mar 2001 09:19:32 -0800 Subject: [ic] Grabbing a web page content using LWP::Simple At 11:06 PM 03/21/2001 -0500, you wrote: >I need to grab the contents of a web page. I have tried using the below >code. > >[perl Global=1 subs=1] >use LWP::Simple >my $return=LWP::Simple::get('http::/www.somesite.com/index.html') >return $return >[/perl] > >No matter what library I use and the arguments to the perl call. I can not >get it to return the page. It will send the request but will hang up trying >to read from the socket. > >I have tried setting it up as a Global Sub, as a usertag and plain perl >using Use Socket. The code will work fine outside of minivend but will >always hang when it comes to reading from the socket. It will write to the >socket but can not read from it. > >How can one read in the contents of a web page? I assume you have verified that LWP::Simple is installed. Did you try the GET utility? it comes with the example scripts in the LWP dist, in a /bin subdirectory, or it may already be in your /usr/bin or /usr/local/bin. Try at the command line: GET http://www.someworkingsite.comn ...if it works you will see the html echoed to the screen. Also, there is a [get_url] usertag for Interchange, have you tried that? - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: george at halescreative.com (George Loch ) Date: Thu, 22 Mar 2001 10:25:07 -0700 Subject: [ic] Product maint. How do others who have large inventories of products manage them with interchange? My main problem is how can you make changes to a wave or category of products? Say I want to increase the prices on all hammers by 10%, how do I do it? Approaching the inventory on an item by item basis seems way to tedius to me? GL From: edl at newmediaems.com (Ed LaFrance ) Date: Thu, 22 Mar 2001 09:29:02 -0800 Subject: [ic] Purchasing quantity of multiple items at once At 01:17 AM 03/22/2001 -0500, you wrote: >Hello, > >Another Interchange question: I have a couple products that are more or less >kits made up of two or more products. I've figured out how to put the tags >together such that you can click on a button and purchase say three different >items with one click. > >However, I need to have a box that the user can enter the quantity. So if >they >enter 5 and click on the BUY button, they are actually getting 5 * 3, or >15 kits >(as each unit is composed of three items). How is this done? > mv_order_item is stackable, so there's a chance that mv_order_quantity is as well - give it a try. - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: mat at booksellersolutions.com (Mat Jones - booksellersolutions.com ) Date: Thu, 22 Mar 2001 09:46:46 -0800 Subject: [ic] Grabbing a web page content using LWP::Simple Are there any interchange docs on the [get-url] tag? Thanks Mat ----- Original Message ----- From: "Ed LaFrance" <edl@newmediaems.com> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 22, 2001 9:19 AM Subject: Re: [ic] Grabbing a web page content using LWP::Simple > At 11:06 PM 03/21/2001 -0500, you wrote: > >I need to grab the contents of a web page. I have tried using the below > >code. > > > >[perl Global=1 subs=1] > >use LWP::Simple > >my $return=LWP::Simple::get('http::/www.somesite.com/index.html') > >return $return > >[/perl] > > > >No matter what library I use and the arguments to the perl call. I can not > >get it to return the page. It will send the request but will hang up trying > >to read from the socket. > > > >I have tried setting it up as a Global Sub, as a usertag and plain perl > >using Use Socket. The code will work fine outside of minivend but will > >always hang when it comes to reading from the socket. It will write to the > >socket but can not read from it. > > > >How can one read in the contents of a web page? > > I assume you have verified that LWP::Simple is installed. Did you try the > GET utility? it comes with the example scripts in the LWP dist, in a /bin > subdirectory, or it may already be in your /usr/bin or /usr/local/bin. Try > at the command line: > > GET http://www.someworkingsite.comn > > ...if it works you will see the html echoed to the screen. Also, there is > a [get_url] usertag for Interchange, have you tried that? > > - Ed L. > > > > > =============================================================== > **** Virtual Hosting w/private IC Installation, $65/month! **** > --------------------------------------------------------------- > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: dan at mailturtle.com (Dan McFarland ) Date: Thu, 22 Mar 2001 11:41:26 -0600 Subject: [ic] Product maint. I d/l the products.txt file and open it in Excel (or another spreadsheet program) and edit it that way. makes it easier that doing it record by record. We maintain about 3,000 products. Dan M. ----- Original Message ----- From: George Loch <george@halescreative.com> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 22, 2001 11:25 AM Subject: [ic] Product maint. > How do others who have large inventories of products manage them with > interchange? My main problem is how can you make changes to a wave or > category of products? Say I want to increase the prices on all hammers by > 10%, how do I do it? Approaching the inventory on an item by item basis > seems way to tedius to me? > > GL > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: edl at newmediaems.com (Ed LaFrance ) Date: Thu, 22 Mar 2001 09:46:24 -0800 Subject: [ic] Re: Big Login Problem, :backup, access.Asc , and an At 03:31 AM 03/20/2001 -0800, you wrote: >It's me again (Alan Young) with my Big Login Problem. > >I am trying to get in to my admin area, thanks to all of you for telling me >about access.asc. and the :backup back door. That is the only way I could >get in to my site. > >So I go in to /var/lib/interchange/construct/products/access.asc > >I see a line in access.asc describing my admin user and it says.... >username password name last_login super etc >admin 123 Alan Young 985173411 1 2ndDayAir >Ground NextDay etc > >The password 123 got there because I logged in as :backup and I clicked >administration, then tables, then I chose the table named access. >Then I typed 123. Then I went back to telnet and viewed access.asc and >there it was, clear as day , the password was 123. > >But the 123 password never got encrypted when it is stored in access.asc, so >when I then try to login as user=admin, password=123 , I never am able to >log in, it says Failure: Password mismatch. > >So the administrative interface is not encrypting my password before it puts >it in to my access.asc table. > >Ideas? Solutions? Suggestions? Is this a bug, or do I have some encryption >setting messed up? There are so many parameters to set, I must have missed >something in the install maybe. > Please trim the enclosures in your replies - it looks like you had an entire week's worth of postings attached to this one! The quickest way I can think of to solve your trouble is to make another catalog with a different name. Pay close attention to the username and password you enter for Super User (when prompted by makecat). Then copy the access.asc from the products directory of that new catalog to the same place in your existing catalog. This should force access.gdbm to be rebuilt with the new Admin entries - you can delete access.gdbm, just to ensure that it gets rebuilt. When all is well and you can log in to the admin area, you can delete the other catalog and remove it from interchange.cfg. - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: support at integricity.com (Alex Lam ) Date: Sat, 24 Mar 2001 02:18:34 +0800 Subject: [ic] Product maint. Do any of you find that Excel kind of mucks things up a little? It adds their own carriage returns, etc... ? Is there any better alternative to Excel? As long as it leaves it in the natural tab delim state, that should be fine. How do you do it, Dan? ----- Original Message ----- From: Dan McFarland <dan@mailturtle.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 23, 2001 1:41 AM Subject: Re: [ic] Product maint. > I d/l the products.txt file and open it in Excel (or another spreadsheet > program) and edit it that way. makes it easier that doing it record by > record. We maintain about 3,000 products. > > Dan M. > > > ----- Original Message ----- > From: George Loch <george@halescreative.com> > To: <interchange-users@lists.akopia.com> > Sent: Thursday, March 22, 2001 11:25 AM > Subject: [ic] Product maint. > > > > How do others who have large inventories of products manage them with > > interchange? My main problem is how can you make changes to a wave or > > category of products? Say I want to increase the prices on all hammers by > > 10%, how do I do it? Approaching the inventory on an item by item basis > > seems way to tedius to me? > > > > GL > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: edl at newmediaems.com (Ed LaFrance ) Date: Thu, 22 Mar 2001 10:05:02 -0800 Subject: [ic] Grabbing a web page content using LWP::Simple At 09:46 AM 03/22/2001 -0800, you wrote: >Are there any interchange docs on the [get-url] tag? > >Thanks > >Mat open the file ic/usertag/get_url. - Ed L. >----- Original Message ----- >From: "Ed LaFrance" <edl@newmediaems.com> >To: <interchange-users@lists.akopia.com> >Sent: Thursday, March 22, 2001 9:19 AM >Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > At 11:06 PM 03/21/2001 -0500, you wrote: > > >I need to grab the contents of a web page. I have tried using the below > > >code. > > > > > >[perl Global=1 subs=1] > > >use LWP::Simple > > >my $return=LWP::Simple::get('http::/www.somesite.com/index.html') > > >return $return > > >[/perl] > > > > > >No matter what library I use and the arguments to the perl call. I can >not > > >get it to return the page. It will send the request but will hang up >trying > > >to read from the socket. > > > > > >I have tried setting it up as a Global Sub, as a usertag and plain perl > > >using Use Socket. The code will work fine outside of minivend but will > > >always hang when it comes to reading from the socket. It will write to >the > > >socket but can not read from it. > > > > > >How can one read in the contents of a web page? > > > > I assume you have verified that LWP::Simple is installed. Did you try the > > GET utility? it comes with the example scripts in the LWP dist, in a /bin > > subdirectory, or it may already be in your /usr/bin or /usr/local/bin. >Try > > at the command line: > > > > GET http://www.someworkingsite.comn > > > > ...if it works you will see the html echoed to the screen. Also, there is > > a [get_url] usertag for Interchange, have you tried that? > > > > - Ed L. > > > > > > > > > > =============================================================== > > **** Virtual Hosting w/private IC Installation, $65/month! **** > > --------------------------------------------------------------- > > New Media E.M.S. Software Solutions for Business > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > Placerville, CA 95667 edl@newmediaems.com > > (530) 622-9421 http://www.newmediaems.com > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > =============================================================== > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: dan at mailturtle.com (Dan McFarland ) Date: Thu, 22 Mar 2001 12:09:31 -0600 Subject: [ic] Product maint. Make sure you save in in a TAB delimited form. When you open it, there is a second field for delimiter that defaults to ". Remove it as well. When you save it, save it back as a tab delimited text file and choose the options to save it as it is, not in excel format. (I agree, Excel -well, Microsoft in general, are some pretty lame products with very little flexibility) Works for me! :) Dan ----- Original Message ----- From: Alex Lam <support@integricity.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 23, 2001 12:18 PM Subject: Re: [ic] Product maint. > Do any of you find that Excel kind of mucks things up a little? It adds > their own carriage returns, etc... ? > Is there any better alternative to Excel? As long as it leaves it in the > natural tab delim state, that should be fine. > How do you do it, Dan? > > > ----- Original Message ----- > From: Dan McFarland <dan@mailturtle.com> > To: <interchange-users@lists.akopia.com> > Sent: Friday, March 23, 2001 1:41 AM > Subject: Re: [ic] Product maint. > > > > I d/l the products.txt file and open it in Excel (or another spreadsheet > > program) and edit it that way. makes it easier that doing it record by > > record. We maintain about 3,000 products. > > > > Dan M. > > > > > > ----- Original Message ----- > > From: George Loch <george@halescreative.com> > > To: <interchange-users@lists.akopia.com> > > Sent: Thursday, March 22, 2001 11:25 AM > > Subject: [ic] Product maint. > > > > > > > How do others who have large inventories of products manage them with > > > interchange? My main problem is how can you make changes to a wave or > > > category of products? Say I want to increase the prices on all hammers > by > > > 10%, how do I do it? Approaching the inventory on an item by item basis > > > seems way to tedius to me? > > > > > > GL > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: ary at communicationfactory.com (Young Family ) Date: Tue, 20 Mar 2001 10:15:32 -0800 Subject: [ic] Re: Big Login Problem, :backup, access.Asc , and an encryption problem You wrote > Please trim the enclosures in your replies - it looks like you had an > entire week's worth of postings attached to this one! OK sorry > > The quickest way I can think of to solve your trouble is to make another > catalog with a different name. Pay close attention to the username and > password you enter for Super User (when prompted by makecat). Then copy > the access.asc from the products directory of that new catalog to the same > place in your existing catalog. This should force access.gdbm to be > rebuilt with the new Admin entries - you can delete access.gdbm, just to > ensure that it gets rebuilt. When all is well and you can log in to the > admin area, you can delete the other catalog and remove it from > interchange.cfg. So, I guess I could look at the code for makecat and figure out how it encrypts and then write my own decrypt script . Is that where it is encrypting? Alan From: eric at esalezone.com (Eric Reynolds ) Date: Thu, 22 Mar 2001 13:18:16 -0500 Subject: [ic] Can't Create Region Hello, I'm trying to create a new region. As in, LEFTONLY_TOP, in the demo. I am able to create a new template. However when I add the region I created to that template, for example; ui_template_layout: LEFTONLY_TOP, UI_CONTENT, NEW_REGION It DOES NOT display. What do I have to do other than; - add to catalog.cfg under #ifdef @TRAFFIC =~ /high/i I don't even know why that's necessary. - change the permissions of the file - yes, I have uploaded the template *and* the new region - I've done every test to make sure I'm not displaying the wrong page Sorry if this is a newbie question, but this should be so simple. I can add a template - but not a region?? Thanks in advance. Eric Reynolds From: jud-lists at copernica.com (Jud Harris ) Date: Thu, 22 Mar 2001 12:24:52 -0600 Subject: [ic] Can't Create Region Yo... Even though you've defined the ui_template_layout: yadda yadda yadda, you've still got to explicitly include the region file. ** Add __LEFTONLY_TOP__ whereever you want it included. Kick it. -Jud ----- Original Message ----- From: "Eric Reynolds" <eric@esalezone.com> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 22, 2001 12:18 PM Subject: [ic] Can't Create Region > Hello, > I'm trying to create a new region. As in, LEFTONLY_TOP, > in the demo. > > I am able to create a new template. However when I add the > region I created to that template, for example; > ui_template_layout: LEFTONLY_TOP, UI_CONTENT, NEW_REGION > > It DOES NOT display. > > What do I have to do other than; > - add to catalog.cfg under #ifdef @TRAFFIC =~ /high/i > I don't even know why that's necessary. > - change the permissions of the file > - yes, I have uploaded the template *and* the new region > - I've done every test to make sure I'm not displaying the > wrong page > > Sorry if this is a newbie question, but this should be so simple. > I can add a template - but not a region?? > > Thanks in advance. > > Eric Reynolds > > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: jason at korksoft.com (Jason Korkin ) Date: Thu, 22 Mar 2001 13:28:42 -0500 Subject: [ic] Product maint. The only problem with using Excel is that it truncates fields... you need to watch out for that. A good solution is if you are running under a MySQL database use something like PHPAdmin - that gives you the flexibility you need. Best, Jason Korkin. Dan McFarland wrote: > > Make sure you save in in a TAB delimited form. When you open it, there is a > second field for delimiter that defaults to ". Remove it as well. When you > save it, save it back as a tab delimited text file and choose the options to > save it as it is, not in excel format. > > (I agree, Excel -well, Microsoft in general, are some pretty lame products > with very little flexibility) > > Works for me! :) > > Dan > ----------------------------------------- Hosting w/ Interchange, $20/month! ----------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com http://www.atworkservers.com Tel: (603) 672-1246 x 201 From: mikeh at minivend.com (Mike Heins ) Date: Thu, 22 Mar 2001 13:33:00 -0500 Subject: [ic] Re: Big Login Problem, :backup, access.Asc , and an encryption problem Quoting Young Family (ary@communicationfactory.com): > You wrote > > Please trim the enclosures in your replies - it looks like you had an > > entire week's worth of postings attached to this one! > > OK sorry > > > > > The quickest way I can think of to solve your trouble is to make another > > catalog with a different name. Pay close attention to the username and > > password you enter for Super User (when prompted by makecat). Then copy > > the access.asc from the products directory of that new catalog to the same > > place in your existing catalog. This should force access.gdbm to be > > rebuilt with the new Admin entries - you can delete access.gdbm, just to > > ensure that it gets rebuilt. When all is well and you can log in to the > > admin area, you can delete the other catalog and remove it from > > interchange.cfg. > > So, I guess I could look at the code for makecat and figure out how it > encrypts and then write my own decrypt script . Is that where it is > encrypting? You can produce an encrypted password with this little thing: #!/usr/bin/perl # genpasswd.pl -- generate an encrypted password (default "pass") # usage: genpasswd.pl <password> my $enclair = shift || 'pass'; my @chars = ('A' .. 'Z', 'a' .. 'z', 0 .. 9); my $salt = ''; $salt = $chars[ int( rand(scalar @chars) ) ]; $salt .= $chars[ int( rand(scalar @chars) ) ]; print crypt($enclair, $salt); Or you can use htpasswd, or any other password generation thingy. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Friends don't let friends use Outlook. -- Bob Blaylock From: george at halescreative.com (George Loch ) Date: Thu, 22 Mar 2001 11:41:49 -0700 Subject: [ic] Product maint. Using phpmyadmin and sql would be a great solution for me but, my client is joe non-savvy computer user so, no go on that. I will probably have to build him a little form page to play with the products.txt file safely. I think he would even struggle in excel. GL ----- Original Message ----- From: Jason Korkin <jason@korksoft.com> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 22, 2001 11:28 AM Subject: Re: [ic] Product maint. > The only problem with using Excel is that it truncates fields... you > need to watch out for that. A good solution is if you are running under > a MySQL database use something like PHPAdmin - that gives you the > flexibility you need. > > Best, > > Jason Korkin. > > > Dan McFarland wrote: > > > > Make sure you save in in a TAB delimited form. When you open it, there is a > > second field for delimiter that defaults to ". Remove it as well. When you > > save it, save it back as a tab delimited text file and choose the options to > > save it as it is, not in excel format. > > > > (I agree, Excel -well, Microsoft in general, are some pretty lame products > > with very little flexibility) > > > > Works for me! :) > > > > Dan > > > > > ----------------------------------------- > Hosting w/ Interchange, $20/month! > ----------------------------------------- > KORKSOFT - Software & Internet Solutions > Interchange, E-Commerce, C++/Perl/PHP/ASP > http://www.korksoft.com > http://www.atworkservers.com > Tel: (603) 672-1246 x 201 > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: Scott.Andreas at learningco.com (Andreas, Scott ) Date: Thu, 22 Mar 2001 10:38:46 -0800 Subject: [ic] Product maint. If you add... Database products EXCEL 1 to the products database in the catalog.cfg file that will automatically filter out all of Excels bad syntax -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Alex Lam Sent: Friday, March 23, 2001 10:19 AM To: interchange-users@lists.akopia.com Subject: Re: [ic] Product maint. Do any of you find that Excel kind of mucks things up a little? It adds their own carriage returns, etc... ? Is there any better alternative to Excel? As long as it leaves it in the natural tab delim state, that should be fine. How do you do it, Dan? ----- Original Message ----- From: Dan McFarland <dan@mailturtle.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 23, 2001 1:41 AM Subject: Re: [ic] Product maint. > I d/l the products.txt file and open it in Excel (or another spreadsheet > program) and edit it that way. makes it easier that doing it record by > record. We maintain about 3,000 products. > > Dan M. > > > ----- Original Message ----- > From: George Loch <george@halescreative.com> > To: <interchange-users@lists.akopia.com> > Sent: Thursday, March 22, 2001 11:25 AM > Subject: [ic] Product maint. > > > > How do others who have large inventories of products manage them with > > interchange? My main problem is how can you make changes to a wave or > > category of products? Say I want to increase the prices on all hammers by > > 10%, how do I do it? Approaching the inventory on an item by item basis > > seems way to tedius to me? > > > > GL > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: thomas at prometheas.gr (Thomas N. Stefanidis ) Date: Thu, 22 Mar 2001 20:40:40 +0200 Subject: [ic] Make the cart to check if there is a price at the pricing table. Hello. How can i make the cart to check if there is a price in the pricing table and take that price? i have something like that in my product pages: lets say that product54 costs 10.000 and has 2 sizes. in the pricing table i create 2 entries: product54a=10.000 and product54b=12.000 so in the size field of the product i have : product54a=LARGE,product54b=X-LARGE in the catalong.cfg i have : CommonAdjust ==size:pricing ;products:price, My problem is that sometimes,even if i choose product54b ,instead of displaying 12000 in the cart,it keeps dispaying 10.000. Most of the times it works just fine,but sometimes it doesn't.Any ideas what can be wrong? Thank you in advance. Thomas From: ary at communicationfactory.com (Young Family ) Date: Tue, 20 Mar 2001 10:45:05 -0800 Subject: [ic] Re: Big Login Problem, :backup, access.Asc , and an encryption problem Mike Hey wow you are fantastic. Thanks for that. That will solve my problem for now. One nagging question.. Why would the administrative interface save my password as unencrypted, yet to log back in, it is expected to be encrypted. Any ideas on how to repair the "save password" in the administrative interface? Do I paste in the code you provided somewhere into the program's perl scripts? Alan Young ----- Original Message ----- From: "Mike Heins" <mikeh@minivend.com> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 22, 2001 10:33 AM Subject: Re: [ic] Re: Big Login Problem, :backup, access.Asc , and an encryption problem > Quoting Young Family (ary@communicationfactory.com): > > You wrote > > > Please trim the enclosures in your replies - it looks like you had an > > > entire week's worth of postings attached to this one! > > > > OK sorry > > > > > > > > The quickest way I can think of to solve your trouble is to make another > > > catalog with a different name. Pay close attention to the username and > > > password you enter for Super User (when prompted by makecat). Then copy > > > the access.asc from the products directory of that new catalog to the same > > > place in your existing catalog. This should force access.gdbm to be > > > rebuilt with the new Admin entries - you can delete access.gdbm, just to > > > ensure that it gets rebuilt. When all is well and you can log in to the > > > admin area, you can delete the other catalog and remove it from > > > interchange.cfg. > > > > So, I guess I could look at the code for makecat and figure out how it > > encrypts and then write my own decrypt script . Is that where it is > > encrypting? > > You can produce an encrypted password with this little thing: > > #!/usr/bin/perl > > # genpasswd.pl -- generate an encrypted password (default "pass") > # usage: genpasswd.pl <password> > > my $enclair = shift || 'pass'; > my @chars = ('A' .. 'Z', 'a' .. 'z', 0 .. 9); > my $salt = ''; > $salt = $chars[ int( rand(scalar @chars) ) ]; > $salt .= $chars[ int( rand(scalar @chars) ) ]; > > print crypt($enclair, $salt); > > Or you can use htpasswd, or any other password generation thingy. > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > Friends don't let friends use Outlook. -- Bob Blaylock > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: jeaton at silverclicks.com (Jimmy Eaton ) Date: Thu, 22 Mar 2001 12:46:30 -0500 (EST) Subject: [ic] Grabbing a web page content using LWP::Simple > > I assume you have verified that LWP::Simple is installed. Did you try the > GET utility? it comes with the example scripts in the LWP dist, in a /bin > subdirectory, or it may already be in your /usr/bin or /usr/local/bin. Try > at the command line: > > GET http://www.someworkingsite.comn > > ...if it works you will see the html echoed to the screen. Also, there is > a [get_url] usertag for Interchange, have you tried that? > > - Ed L. I have found the problem and it was crazy. I was trying to get-url on a page within minivend on the same machine I was running the get-url usertag. Whenever I tried another machine the page came in perfectly. However, when I tried again on the same machine running the script and asking for a page within minivend, it would hang up again. I do not know why it was hanging whenever I requested a page from within the minivend on the same machine. I could get a page from minivend or interchange from another computer but not from the one running the script. It may be come crazy configuration problem. Jimmy Eaton > > =============================================================== > **** Virtual Hosting w/private IC Installation, $65/month! **** > --------------------------------------------------------------- > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: lmorley at flexihost.com (LM ) Date: Thu, 22 Mar 2001 13:50:52 -0800 Subject: [ic] DBI error - syntax error in CREATE INDEX? Hi, all - Using IC 4.6.3 (RPM install) I created a catalog that uses Postgres; for the most part everything seems to work fine. But - in my catalog's error.log file - the following line appears: [09/March/2001 ...] mycatalog - DBI: Post creation query 'create index on order_number (order_number)' failed: ERROR: DefineIndex: order_number relation not found The SQL that's apparently causing the error is in order_returns.pgsql. That's about all I've been able to figure out... The problem is that no table etc. named "order_number" exists. Does anyone know what's going on, what's causing this, how to fix it / what its really trying to do, etc.? Is this going to mess up the way returns are processed by IC? Thanks, Larry From: res087jh at verizon.net (Dan Garwood ) Date: Thu, 22 Mar 2001 14:13:56 -0500 Subject: [ic] DBI error - syntax error in CREATE INDEX? Well it would seem that your dbi for postgres is not install properly would be my first guess. after taht I am not knowledgable in postgres, for I use MYSQL. I would try reinstalling the DBD and DBI perl modules again. Dan Garwood -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of LM Sent: Thursday, March 22, 2001 4:51 PM To: interchange-users@lists.akopia.com Subject: [ic] DBI error - syntax error in CREATE INDEX? Hi, all - Using IC 4.6.3 (RPM install) I created a catalog that uses Postgres; for the most part everything seems to work fine. But - in my catalog's error.log file - the following line appears: [09/March/2001 ...] mycatalog - DBI: Post creation query 'create index on order_number (order_number)' failed: ERROR: DefineIndex: order_number relation not found The SQL that's apparently causing the error is in order_returns.pgsql. That's about all I've been able to figure out... The problem is that no table etc. named "order_number" exists. Does anyone know what's going on, what's causing this, how to fix it / what its really trying to do, etc.? Is this going to mess up the way returns are processed by IC? Thanks, Larry _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: shannon at nu-net.com (shannon at nu-net.com ) Date: Thu, 22 Mar 2001 14:03:39 -0500 (EST) Subject: [ic] HTML page not loading. Internal Server Error. Good Afternoon, I'm having a little trouble getting the "construct" to work on my test Apache server. Everytime I click on a link that requires "construct.cgi", the first time it displays only part of the HTML document (goto http://shannon.nyc.nu-net.com/construct/). When I reload the page I get an Internal Server Error and the httpd/error_log displays this... [error] Premature end of script headers: /usr/local/httpd/htdocs/construct.cgi If anyone would like to help me figure this out, email me at shannon@nu-net.com and I can set you up with a temporary shell account on my test server. Thank you and have a nice day! Shannon From: dan at mailturtle.com (Dan McFarland ) Date: Thu, 22 Mar 2001 13:22:28 -0600 Subject: [ic] HTML page not loading. Internal Server Error. Works fine for me. One thing to note is that after a while, IC logs you out automatically from the ADMIN utility. When it does this (at least on my server) you start getting Server errors. Just reload the main login page, re-login and that should solve the problem. Dan M. ----- Original Message ----- From: <shannon@nu-net.com> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 22, 2001 1:03 PM Subject: [ic] HTML page not loading. Internal Server Error. > Good Afternoon, > > I'm having a little trouble getting the "construct" to work on my test Apache server. > Everytime I click on a link that requires "construct.cgi", the first time it displays only part > of the HTML document (goto http://shannon.nyc.nu-net.com/construct/). When I reload the page > I get an Internal Server Error and the httpd/error_log displays this... > [error] Premature end of script headers: /usr/local/httpd/htdocs/construct.cgi > > If anyone would like to help me figure this out, email me at shannon@nu-net.com and I can set > you up with a temporary shell account on my test server. > > Thank you and have a nice day! > Shannon > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: jud-lists at copernica.com (Jud Harris ) Date: Thu, 22 Mar 2001 14:09:37 -0600 Subject: [ic] Can't Create Region Doh... it's @_LEFTONLY_TOP_@ not __LEFTONLY_TOP__ ----- Original Message ----- From: "Jud Harris" <jud-lists@copernica.com> To: <interchange-users@lists.akopia.com> Cc: "Eric Reynolds" <eric@esalezone.com> Sent: Thursday, March 22, 2001 12:24 PM Subject: Re: [ic] Can't Create Region > Yo... > > Even though you've defined the ui_template_layout: yadda yadda yadda, > you've still got to explicitly include the region file. > > ** Add __LEFTONLY_TOP__ whereever you want it included. > > Kick it. > -Jud From: Viktors at Rotanovs.com (Viktors Rotanovs ) Date: Thu, 22 Mar 2001 22:22:53 +0200 Subject: [ic] Grabbing a web page content using LWP::Simple Forgot to ask, how much can I change Xsell logo? ie, does trademark apply to the logo or to the name? Best Wishes, Viktors Rotanovs Riga, Latvia. Phone +371 7377-472 Fax +1 760-418-8128 ----- Original Message ----- From: "Ed LaFrance" <edl@newmediaems.com> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 22, 2001 8:05 PM Subject: Re: [ic] Grabbing a web page content using LWP::Simple > At 09:46 AM 03/22/2001 -0800, you wrote: > >Are there any interchange docs on the [get-url] tag? > > > >Thanks > > > >Mat > > open the file ic/usertag/get_url. > > - Ed L. > > > >----- Original Message ----- > >From: "Ed LaFrance" <edl@newmediaems.com> > >To: <interchange-users@lists.akopia.com> > >Sent: Thursday, March 22, 2001 9:19 AM > >Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > At 11:06 PM 03/21/2001 -0500, you wrote: > > > >I need to grab the contents of a web page. I have tried using the below > > > >code. > > > > > > > >[perl Global=1 subs=1] > > > >use LWP::Simple > > > >my $return=LWP::Simple::get('http::/www.somesite.com/index.html') > > > >return $return > > > >[/perl] > > > > > > > >No matter what library I use and the arguments to the perl call. I can > >not > > > >get it to return the page. It will send the request but will hang up > >trying > > > >to read from the socket. > > > > > > > >I have tried setting it up as a Global Sub, as a usertag and plain perl > > > >using Use Socket. The code will work fine outside of minivend but will > > > >always hang when it comes to reading from the socket. It will write to > >the > > > >socket but can not read from it. > > > > > > > >How can one read in the contents of a web page? > > > > > > I assume you have verified that LWP::Simple is installed. Did you try the > > > GET utility? it comes with the example scripts in the LWP dist, in a /bin > > > subdirectory, or it may already be in your /usr/bin or /usr/local/bin. > >Try > > > at the command line: > > > > > > GET http://www.someworkingsite.comn > > > > > > ...if it works you will see the html echoed to the screen. Also, there is > > > a [get_url] usertag for Interchange, have you tried that? > > > > > > - Ed L. > > > > > > > > > > > > > > > =============================================================== > > > **** Virtual Hosting w/private IC Installation, $65/month! **** > > > --------------------------------------------------------------- > > > New Media E.M.S. Software Solutions for Business > > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > > Placerville, CA 95667 edl@newmediaems.com > > > (530) 622-9421 http://www.newmediaems.com > > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > > =============================================================== > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > >_______________________________________________ > >Interchange-users mailing list > >Interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > =============================================================== > **** Virtual Hosting w/private IC Installation, $65/month! **** > --------------------------------------------------------------- > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: ary at communicationfactory.com (Young Family ) Date: Tue, 20 Mar 2001 12:28:56 -0800 Subject: Configuration Management .... Re: [ic] Re: Big Login Problem, :backup, access.Asc , and an encryption problem Thanks to you all for the help, I guess I got it working now, what a nightmare. I can now succesfully log in and out, but I cannot successfully change the password using the administrative interface, as the adfministrative interface saves things in clear text, not encrypted. But at least it is working now. I am sure that is a bug, I think... Ok now to the next step.... configuration management. The way I understand Interchange to work, I change the setup using the administrative interface, and then the page changes are "live" as soon as I click save. What if I want to work on a "pending" store with proposed changes and then when the boss says it is okay, flip a switch and it is now the live copy? I need to flip flop between copies so that there is always a "live shop" and a "proposed next version" shop? I am thinking that I just copy the live directory to a backup directory, and then that is that, but what problems will I come against? How do I keep the sales records rolling forward, but the catalog and web site content managed by a "flip-flop" type approach? What tables should always keep moving forward. In other words, using the "Akopia Three Tiered Approach" Technical Implementor Site Designer Store Administrator The site designer wants to work on a proposed site and see it functioning in a test mode before it is posted live. The we want to flip a switch and see the new content go public, ans start working on a new version offline again The store administrator does NOT want to go back and lose sales records, so there is no "configuration management" need for him. The technical implementor (poor old me) is trying to figure out how to make this happen. Can the many Interchange tables be identified as to their function and split out so that a version control/configuration management type system could be put in place? If this content configuration management feature were put in to place, this system would rival the Vignette Story Server big boys. What is the scope of a project that would add these features? Alan Young ary@communicationfactory.com From: Viktors at Rotanovs.com (Viktors Rotanovs ) Date: Thu, 22 Mar 2001 22:24:23 +0200 Subject: [ic] I'm really sorry! I'm really sorry for the previous message! I replied to the wrong message. I promise I will be more careful next time. Best Wishes, Viktors Rotanovs Riga, Latvia. Phone +371 7377-472 Fax +1 760-418-8128 From: dan at mailturtle.com (Dan McFarland ) Date: Thu, 22 Mar 2001 14:32:30 -0600 Subject: [ic] Grabbing a web page content using LWP::Simple It can apply to both. You'll need legal advice for that one. I wouldn't have anyone NOT an attorney answer that question as you can be legally liable if you act upon the answer. Dan M. ----- Original Message ----- From: Viktors Rotanovs <Viktors@Rotanovs.com> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 22, 2001 2:22 PM Subject: Re: [ic] Grabbing a web page content using LWP::Simple > Forgot to ask, how much can I change Xsell logo? > ie, does trademark apply to the logo or to the name? > > Best Wishes, > Viktors Rotanovs > Riga, Latvia. Phone +371 7377-472 Fax +1 760-418-8128 > > ----- Original Message ----- > From: "Ed LaFrance" <edl@newmediaems.com> > To: <interchange-users@lists.akopia.com> > Sent: Thursday, March 22, 2001 8:05 PM > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > At 09:46 AM 03/22/2001 -0800, you wrote: > > >Are there any interchange docs on the [get-url] tag? > > > > > >Thanks > > > > > >Mat > > > > open the file ic/usertag/get_url. > > > > - Ed L. > > > > > > >----- Original Message ----- > > >From: "Ed LaFrance" <edl@newmediaems.com> > > >To: <interchange-users@lists.akopia.com> > > >Sent: Thursday, March 22, 2001 9:19 AM > > >Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > > > > At 11:06 PM 03/21/2001 -0500, you wrote: > > > > >I need to grab the contents of a web page. I have tried using the > below > > > > >code. > > > > > > > > > >[perl Global=1 subs=1] > > > > >use LWP::Simple > > > > >my $return=LWP::Simple::get('http::/www.somesite.com/index.html') > > > > >return $return > > > > >[/perl] > > > > > > > > > >No matter what library I use and the arguments to the perl call. I > can > > >not > > > > >get it to return the page. It will send the request but will hang up > > >trying > > > > >to read from the socket. > > > > > > > > > >I have tried setting it up as a Global Sub, as a usertag and plain > perl > > > > >using Use Socket. The code will work fine outside of minivend but > will > > > > >always hang when it comes to reading from the socket. It will write > to > > >the > > > > >socket but can not read from it. > > > > > > > > > >How can one read in the contents of a web page? > > > > > > > > I assume you have verified that LWP::Simple is installed. Did you try > the > > > > GET utility? it comes with the example scripts in the LWP dist, in a > /bin > > > > subdirectory, or it may already be in your /usr/bin or /usr/local/bin. > > >Try > > > > at the command line: > > > > > > > > GET http://www.someworkingsite.comn > > > > > > > > ...if it works you will see the html echoed to the screen. Also, > there is > > > > a [get_url] usertag for Interchange, have you tried that? > > > > > > > > - Ed L. > > > > > > > > > > > > > > > > > > > > =============================================================== > > > > **** Virtual Hosting w/private IC Installation, $65/month! **** > > > > --------------------------------------------------------------- > > > > New Media E.M.S. Software Solutions for Business > > > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > > > Placerville, CA 95667 edl@newmediaems.com > > > > (530) 622-9421 http://www.newmediaems.com > > > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > > > =============================================================== > > > > > > > > > > > > _______________________________________________ > > > > Interchange-users mailing list > > > > Interchange-users@lists.akopia.com > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > >_______________________________________________ > > >Interchange-users mailing list > > >Interchange-users@lists.akopia.com > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > =============================================================== > > **** Virtual Hosting w/private IC Installation, $65/month! **** > > --------------------------------------------------------------- > > New Media E.M.S. Software Solutions for Business > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > Placerville, CA 95667 edl@newmediaems.com > > (530) 622-9421 http://www.newmediaems.com > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > =============================================================== > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: ary at communicationfactory.com (Young Family ) Date: Tue, 20 Mar 2001 12:41:50 -0800 Subject: [ic] How to Activate Signio???? Hello All What Interchange files must I edit in order to get signio payflow pro going? Thanks Alan Young ary@communicationfactory.com From: edl at newmediaems.com (Ed LaFrance ) Date: Thu, 22 Mar 2001 13:02:16 -0800 Subject: [ic] how to use a variable in a usertag in flypage.html At 01:35 PM 03/22/2001 +0530, you wrote: >thanks ed can u just tell me how can i echo the value of $opt or $ary in >http://developer.akopia.com/archive/interchange-users/2001/msg01180.html >usertag user-price >on flypage.html Like before: include them in the return value or push them into scratch variables, per my last example. In either case you should convert list data to scalar first. - Ed L. >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: daves at eregion.org (David Schnardthorst - Eregion ) Date: Thu, 22 Mar 2001 15:30:14 -0600 Subject: [ic] Re: Paypal I have found a lot of postings concerning integration with Paypal. However, I have not found anybody yet who has complete integration. Has this occurred yet, and if so, where can I get some examples. Thanks, David J. Schnardthorst From: lmorley at flexihost.com (LM ) Date: Thu, 22 Mar 2001 16:41:06 -0800 Subject: Bug found: was Re: [ic] DBI error - syntax error in CREATE INDEX? I think I've found & fixed the problem I reported in my original post - it stems from a bug / error in the SQL code that Interchange puts in order_returns.pgsql : CREATE INDEX order_returns_order_number ON order_number (order_number) The problem is after the ON - there's no table etc. named "order_number". After looking at the code in order_returns.ora, and seeing how the index is creted there, the above statement should read (I think): CREATE INDEX order_returns_order_number ON order_returns (order_number) I issued that command from the postgres command line utility (psql); it worked... Had to make the same change to the template dbconf/pgsql/order_returns.pgsql too, so the error won't carry over into any catalogs I create in the future. Has anyone else had and fixed the same problem? And, is there anyone who's set up Interchange with Postgres who's willing to pass along their experiences (off-list would be fine)? Thanks, Larry > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of LM > Sent: Thursday, March 22, 2001 4:51 PM > To: interchange-users@lists.akopia.com > Subject: [ic] DBI error - syntax error in CREATE INDEX? > > > Hi, all - > > Using IC 4.6.3 (RPM install) I created a catalog that uses Postgres; > for the most part everything seems to work fine. > > But - in my catalog's error.log file - the following line appears: > > [09/March/2001 ...] mycatalog - DBI: Post creation query 'create > index on order_number (order_number)' failed: ERROR: > DefineIndex: order_number relation not found > > The SQL that's apparently causing the error is in order_returns.pgsql. > That's about all I've been able to figure out... > > The problem is that no table etc. named "order_number" exists. Does > anyone know what's going on, what's causing this, how to fix it / what > its really trying to do, etc.? Is this going to mess up the way returns > are processed by IC? From: jon at icaust.com (Jon Pamment ) Date: Fri, 23 Mar 2001 09:13:21 +1100 Subject: [ic] E-Smith Thanks Dan, a guy buy the name of Luuk from the e-smith list emailed me a how to for the installation. If you're interested I'm sure he wont mind me forwarding it. Thanks for the help Jon From: steveandpatti at wubs.org (Steve & Patti Getzinger ) Date: Thu, 22 Mar 2001 17:45:34 -0500 Subject: [ic] Grabbing a web page content using LWP::Simple I would start with lwp-download "http://somesite.com/index.html" and see what happens. You shoudl end up with a file in the dir you executed from named index.html. Verify it is the actual file and you have a starting point. Now you can include if you desire. I happen to use this with cron to build a database hourly from listings at moreover. Steve Dan McFarland wrote: > It can apply to both. You'll need legal advice for that one. I wouldn't > have anyone NOT an attorney answer that question as you can be legally > liable if you act upon the answer. > > Dan M. > > ----- Original Message ----- > From: Viktors Rotanovs <Viktors@Rotanovs.com> > To: <interchange-users@lists.akopia.com> > Sent: Thursday, March 22, 2001 2:22 PM > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > Forgot to ask,...the name? > > > > Best Wishes, > > Viktors Rotanovs > > Riga, Latvia. Phone +371 7377-472 Fax +1 760-418-8128 > > > > ----- Original Message ----- > > From: "Ed LaFrance" <edl@newmediaems.com> > > To: <interchange-users@lists.akopia.com> > > Sent: Thursday, March 22, 2001 8:05 PM > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > At 09:46 AM 03/22/2001 -0800, you wrote: > > > >Are ...tag? > > > > > > > >Thanks > > > > > > > >Mat > > > > > > open the file ic/usertag/get_url. > > > > > > - Ed L. > > > > > > > > > >----- Original Message ----- > > > >From: "Ed LaFrance" <edl@newmediaems.com> > > > >To: <interchange-users@lists.akopia.com> > > > >Sent: Thursday, March 22, 2001 9:19 AM > > > >Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > > > > > > > At 11:06 PM 03/21/2001 -0500, you wrote: > > > > > >I need to... have you tried that? > > > > > > > > > > - Ed L. From: mikeh at minivend.com (Mike Heins ) Date: Thu, 22 Mar 2001 17:55:48 -0500 Subject: [ic] Re: Paypal Quoting David Schnardthorst - Eregion (daves@eregion.org): > I have found a lot of postings concerning integration with > Paypal. However, I have not found anybody yet who has complete > integration. Has this occurred yet, and if so, where can > I get some examples. It is easy to *get to* PayPal, just not so easy to get back. Integrating is as simple as providing a button on the checkout page. But completing the order is at the whim of the buyer, who would have to click the link paypal.com provides on the payment final page. That is the problem with most of the send-them-to-a-website payment providers. Possible workarounds include setting up an email parser that would receive emailed order notifications from PayPal and complete the order, etc. And if by some chance PayPal allows a "silent post" then it can be completed. Unfortunately they appear to have no developer integration links on their website; I have looked (as recently as two days ago) and there is no technical info on how to integrate. Right now there is and can be no module. No one has ever ponied up with consulting dollars to have us integrate one, and there has been no user-integrated module. And without technical info, I won't spend my time working in the dark to do one. So there it sits. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Friends don't let friends use Outlook. -- Bob Blaylock From: mikeh at minivend.com (Mike Heins ) Date: Thu, 22 Mar 2001 17:59:09 -0500 Subject: Bug found: was Re: [ic] DBI error - syntax error in CREATE INDEX? Quoting LM (lmorley@flexihost.com): > I think I've found & fixed the problem I reported in my original post - > it stems from a bug / error in the SQL code that Interchange puts in > order_returns.pgsql : > > CREATE INDEX order_returns_order_number ON > order_number (order_number) > > The problem is after the ON - there's no table etc. named > "order_number". After looking at the code in order_returns.ora, > and seeing how the index is creted there, the above statement > should read (I think): > > CREATE INDEX order_returns_order_number ON > order_returns (order_number) > > I issued that command from the postgres command line utility (psql); > it worked... Had to make the same change to the template > dbconf/pgsql/order_returns.pgsql too, so the error won't carry over > into any catalogs I create in the future. > > Has anyone else had and fixed the same problem? And, is there > anyone who's set up Interchange with Postgres who's willing to pass > along their experiences (off-list would be fine)? > That is the problem -- it is benign, though, and shouldn't have caused anything but a speed decrease. Thanks for the find and fix. Fixed in CVS. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Few blame themselves until they have exhausted all other possibilities. -- anonymous From: tzf at tzf.net (tzf at tzf.net ) Date: Thu, 22 Mar 2001 15:01:12 -0800 Subject: [ic] makecat non-interactive? Hi Folks, By way of introduction, my name's Tim and I've been lurking for a while. I'm starting an e-commerce hosting company with a friend. I'm enthusiastic about Open Source, and hoping Interchange will allow us to base the business on an open source solution, despite some customers' insistance that they want to go with Brand X. My question: I want to run makecat from the command line in a non-interactive mode. i.e. I want to specify all paramters on the command line, and then have makecat "just do it", sending only error messages to the standard output when necessary. I've been using something like this: makecat --serverconf=blah --servername=blahblah --demotype=construct ...etc. This sets the defaults correctly on the prompts for each of the paramters I set, but does not prevent makecat from prompting in the shell. I also tried enclosing the entire thing in a perl system() function, with no change in results. I'm sorry if this is really too basic a question, I've only been writing perl for about 3 months now. thanks! tzf +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Find my contact info online at http://tzf.net/contact From: cfm at maine.com (cfm at maine.com ) Date: Thu, 22 Mar 2001 18:11:51 -0500 Subject: [ic] makecat non-interactive? On Thu, Mar 22, 2001 at 03:01:12PM -0800, tzf@tzf.net wrote: > > Hi Folks, > By way of introduction, my name's Tim and I've been lurking for a while. > I'm starting an e-commerce hosting company with a friend. I'm enthusiastic > about Open Source, and hoping Interchange will allow us to base the > business on an open source solution, despite some customers' insistance > that they want to go with Brand X. > > My question: I want to run makecat from the command line in a > non-interactive mode. i.e. I want to specify all paramters on the command > line, and then have makecat "just do it", sending only error messages to > the standard output when necessary. > > I've been using something like this: > We used to have something like that with Vend. A perl script that simply did the typical substitutions in catalog.cfg. It seems like most people use the stock construct pages. So makecat makes sense for those. But if you start with your own templates, then it is pretty easy to build a minimal perl script that iterates a template tree into a destination tree. That's more or less what we do now. Automating makecat is probably the hard way. TMTOWTDI cfm > makecat --serverconf=blah --servername=blahblah --demotype=construct ...etc. > > This sets the defaults correctly on the prompts for each of the paramters I > set, but does not prevent makecat from prompting in the shell. I also tried > enclosing the entire thing in a perl system() function, with no change in > results. > > I'm sorry if this is really too basic a question, I've only been writing > perl for about 3 months now. > > thanks! > tzf > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > Find my contact info online at http://tzf.net/contact > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: edl at newmediaems.com (Ed LaFrance ) Date: Thu, 22 Mar 2001 15:15:34 -0800 Subject: [ic] Re: Paypal At 05:55 PM 03/22/2001 -0500, you wrote: >Quoting David Schnardthorst - Eregion (daves@eregion.org): > > I have found a lot of postings concerning integration with > > Paypal. However, I have not found anybody yet who has complete > > integration. Has this occurred yet, and if so, where can > > I get some examples. > >It is easy to *get to* PayPal, just not so easy to get back. > >Integrating is as simple as providing a button on the checkout >page. But completing the order is at the whim of the buyer, who >would have to click the link paypal.com provides on the payment >final page. > >That is the problem with most of the send-them-to-a-website payment >providers. > >Possible workarounds include setting up an email parser that would >receive emailed order notifications from PayPal and complete the order, >etc. And if by some chance PayPal allows a "silent post" then it >can be completed. > >Unfortunately they appear to have no developer integration links on >their website; I have looked (as recently as two days ago) and there >is no technical info on how to integrate. > >Right now there is and can be no module. No one has ever ponied up with >consulting dollars to have us integrate one, and there has been no >user-integrated module. And without technical info, I won't spend my >time working in the dark to do one. > ...I went as far as to contact them, proposing that they consider some type of gateway or "silent post" interface for their services, explaining that I and/or others would most likely hammer out some kind of support for such a service in Interchange and put it into the code base. We had a few exchanges via email and they collected a slew of data from me (probably for marketing). That was more than two months ago - no word since. I don't think they are ready for it right now, or they just don't see the benefit to them. - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: 916senna at icaust.com (Jon Pamment ) Date: Fri, 23 Mar 2001 10:23:50 +1100 Subject: [ic] E-Smith OOPPPS the guy that did the how to for e-smith is Justin Funke, my apologies to both for that oversight. Jon -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Jon Pamment Sent: Friday, 23 March 2001 9:13 AM To: interchange-users@lists.akopia.com Subject: RE: [ic] E-Smith Thanks Dan, a guy buy the name of Luuk from the e-smith list emailed me a how to for the installation. If you're interested I'm sure he wont mind me forwarding it. Thanks for the help Jon _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: mikeh at minivend.com (Mike Heins ) Date: Thu, 22 Mar 2001 19:00:06 -0500 Subject: [ic] makecat non-interactive? Quoting tzf@tzf.net (tzf@tzf.net): > > Hi Folks, > By way of introduction, my name's Tim and I've been lurking for a while. > I'm starting an e-commerce hosting company with a friend. I'm enthusiastic > about Open Source, and hoping Interchange will allow us to base the > business on an open source solution, despite some customers' insistance > that they want to go with Brand X. > > My question: I want to run makecat from the command line in a > non-interactive mode. i.e. I want to specify all paramters on the command > line, and then have makecat "just do it", sending only error messages to > the standard output when necessary. > > I've been using something like this: > > makecat --serverconf=blah --servername=blahblah --demotype=construct ...etc. > Have you tried that? It does indeed work. Try looking at the makecat man page ( "perldoc bin/makecat" works as well), it should give you all you need. Hint: look at -F parameter. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Research is what I'm doing when I don't know what I'm doing. -- Wernher Von Braun From: mschick at brightredproductions.com (Matthew Schick ) Date: 22 Mar 2001 18:06:55 -0600 Subject: [ic] Re: Paypal On 22 Mar 2001 15:15:34 -0800, Ed LaFrance wrote: > At 05:55 PM 03/22/2001 -0500, you wrote: > >Quoting David Schnardthorst - Eregion (daves@eregion.org): > > > I have found a lot of postings concerning integration with > > > Paypal. However, I have not found anybody yet who has complete > > > integration. Has this occurred yet, and if so, where can > > > I get some examples. > > > >It is easy to *get to* PayPal, just not so easy to get back. > > > >Integrating is as simple as providing a button on the checkout > >page. But completing the order is at the whim of the buyer, who > >would have to click the link paypal.com provides on the payment > >final page. > > > >That is the problem with most of the send-them-to-a-website payment > >providers. > > > >Possible workarounds include setting up an email parser that would > >receive emailed order notifications from PayPal and complete the order, > >etc. And if by some chance PayPal allows a "silent post" then it > >can be completed. > > > >Unfortunately they appear to have no developer integration links on > >their website; I have looked (as recently as two days ago) and there > >is no technical info on how to integrate. > > > >Right now there is and can be no module. No one has ever ponied up with > >consulting dollars to have us integrate one, and there has been no > >user-integrated module. And without technical info, I won't spend my > >time working in the dark to do one. > > > > ...I went as far as to contact them, proposing that they consider some type > of gateway or "silent post" interface for their services, explaining that I > and/or others would most likely hammer out some kind of support for such a > service in Interchange and put it into the code base. We had a few > exchanges via email and they collected a slew of data from me (probably for > marketing). That was more than two months ago - no word since. I don't > think they are ready for it right now, or they just don't see the benefit > to them. > > - Ed L. > > I also have contacted them with the same proposal, with the answer being that they simply did not see the need for a compatible interface..... I guess when you corner a market you don't have to work with anyone else. IMHO, any of the solutions for integrating PayPal and Interchange I have found are just too complicated and involved to be feasable. Like Mike said, the problem isn't the Interchange > PayPal communcation.... it's getting the approval information back from them after the fact. Matt > > > =============================================================== > **** Virtual Hosting w/private IC Installation, $65/month! **** > --------------------------------------------------------------- > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: mheins at redhat.com (Mike Heins ) Date: Thu, 22 Mar 2001 19:27:41 -0500 Subject: [ic] Re: Paypal Quoting Matthew Schick (mschick@brightredproductions.com): > On 22 Mar 2001 15:15:34 -0800, Ed LaFrance wrote: > > At 05:55 PM 03/22/2001 -0500, you wrote: > > >Quoting David Schnardthorst - Eregion (daves@eregion.org): > > > > I have found a lot of postings concerning integration with > > > > Paypal. However, I have not found anybody yet who has complete > > > > integration. Has this occurred yet, and if so, where can > > > > I get some examples. > > > > > >It is easy to *get to* PayPal, just not so easy to get back. [snip] > > > > ...I went as far as to contact them, proposing that they consider some type > > of gateway or "silent post" interface for their services, explaining that I > > and/or others would most likely hammer out some kind of support for such a > > service in Interchange and put it into the code base. We had a few > > exchanges via email and they collected a slew of data from me (probably for > > marketing). That was more than two months ago - no word since. I don't > > think they are ready for it right now, or they just don't see the benefit > > to them. > > > I also have contacted them with the same proposal, with the answer being > that they simply did not see the need for a compatible interface..... I > guess when you corner a market you don't have to work with anyone else. > IMHO, any of the solutions for integrating PayPal and Interchange I have > found are just too complicated and involved to be feasable. Like Mike > said, the problem isn't the Interchange > PayPal communcation.... it's > getting the approval information back from them after the fact. > Flash update -- they apparently contacted us recently and gave some info about a hidden post capability. Assuming I can get a Business/Premium account to test on, a module shouldn't be too far behind. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Experience is what allows you to recognize a mistake the second time you make it. -- unknown From: chc at mninter.net (Curt Hauge ) Date: Thu, 22 Mar 2001 18:31:26 -0600 Subject: [ic] Re: Paypal yahoo! >Assuming I can get a Business/Premium account to test on, a module >shouldn't be too far behind. From: jon at akopia.com (Jon Jensen ) Date: Thu, 22 Mar 2001 19:20:21 -0600 (CST) Subject: [ic] Security advisory A serious security vulnerability has been found in the default installation of the Interchange demo stores 'barry', 'basic', and 'construct' distributed in Interchange versions 4.5.3 through 4.6.3. Using a group login that had no password set by default, it is possible to log in to the back-end administration area and view and alter products, orders, and customer information. If you set up a store based on one of those demos and did not remove all default user and group accounts, you should immediately make the following change: In all installed catalog directories, as well as the catalog templates in the Interchange software directory, edit the products/access.asc file, changing this line: :backup<tab><tab>Backup to look like this: :backup<tab>*<tab>Backup As with all other Interchange database source files, the placement of the tabs is significant. You could also simply delete that line altogether. Make sure to restart Interchange so your change takes effect. This problem has been fixed in Interchange 4.6.4, to be released shortly. As well as blocking password access on that group, there are now also tighter checks on login attempts. Group logins, user names with invalid characters, and blank passwords will all be rejected without consulting the access database. Many thanks to Jud Harris <jud-lists@copernica.com> for finding and reporting this problem on the interchange-users list: http://lists.akopia.com/pipermail/interchange-users/2001-March/005939.html Jon From: ary at communicationfactory.com (Young Family ) Date: Tue, 20 Mar 2001 17:40:56 -0800 Subject: [ic] Wholesale vs Retail Hello How have you all been managing selling at wholesale vs selling at retail? I want to use the same shopping cart, and depending upon the user's category, show him wholesale prices or retail prices. Is this possible? Alan Young ary@communicationfactory.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Thu, 22 Mar 2001 19:11:44 -0800 Subject: [ic] Grabbing a web page content using LWP::Simple At 12:46 PM 3/22/2001 -0500, you wrote: >I have found the problem and it was crazy. I was trying to get-url on a >page within minivend on the same machine I was running the get-url usertag. >Whenever I tried another machine the page came in perfectly. However, when >I tried again on the same machine running the script and asking for a page >within minivend, it would hang up again. You weren't requesting any pages that called the get-url were you? (It calls a page that calls a page that calls a page...). Recursive problems are fun. Did anybody else besides me enjoy writing recursive C functions in Computer Science classes? Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: doug at lathi.net (Doug Alcorn ) Date: 22 Mar 2001 23:42:39 -0500 Subject: [ic] Grabbing a web page content using LWP::Simple Dan B <db@cyclonehq.dnsalias.net> writes: > Did anybody else besides me enjoy writing recursive C functions in > Computer Science classes? Try lisp: recursion at it's finest. -- (__) Doug Alcorn <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: ramana at myweb.com.my (Ramana ) Date: Fri, 23 Mar 2001 14:11:56 +0800 Subject: [IC] How can I make subcategories ? Hi All, Could any one help me out , how can I create subcategories? Thank u, --Peace-- (^_^) ----- Original Message ----- From: <interchange-users-admin@lists.akopia.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 23, 2001 8:00 AM Subject: Interchange-users digest, Vol 1 #381 - 16 msgs > > Send Interchange-users mailing list submissions to > interchange-users@lists.akopia.com > > To subscribe or unsubscribe via the web, visit > http://lists.akopia.com/mailman/listinfo/interchange-users > or, via email, send a message with subject or body 'help' to > interchange-users-request@lists.akopia.com > You can reach the person managing the list at > interchange-users-admin@lists.akopia.com > > When replying, please edit your Subject line so it is more specific than > "Re: Contents of Interchange-users digest..." > > > Today's Topics: > > 1. Configuration Management .... Re: [ic] Re: Big Login Problem, :backup, access.Asc , and an encryption problem (Young Family) > 2. I'm really sorry! (Viktors Rotanovs) > 3. Re: Grabbing a web page content using LWP::Simple (Dan McFarland) > 4. How to Activate Signio???? (Young Family) > 5. Re: how to use a variable in a usertag in flypage.html (Ed LaFrance) > 6. Re: Paypal (David Schnardthorst - Eregion) > 7. Bug found: was Re: [ic] DBI error - syntax error in CREATE INDEX? (LM) > 8. RE: E-Smith (Jon Pamment) > 9. Re: Grabbing a web page content using LWP::Simple (Steve & Patti Getzinger) > 10. Re: Re: Paypal (Mike Heins) > 11. Re: Bug found: was Re: [ic] DBI error - syntax error in CREATE INDEX? (Mike Heins) > 12. makecat non-interactive? (tzf@tzf.net) > 13. Re: makecat non-interactive? (cfm@maine.com) > 14. Re: Re: Paypal (Ed LaFrance) > 15. RE: E-Smith (Jon Pamment) > 16. Re: makecat non-interactive? (Mike Heins) > > --__--__-- > > Message: 1 > Reply-To: "Young Family" <ary@communicationfactory.com> > From: "Young Family" <ary@communicationfactory.com> > To: <interchange-users@lists.akopia.com> > Subject: Configuration Management .... Re: [ic] Re: Big Login Problem, :backup, access.Asc , and an encryption problem > Date: Tue, 20 Mar 2001 12:28:56 -0800 > charset="iso-8859-1" > Reply-To: interchange-users@lists.akopia.com > > Thanks to you all for the help, I guess I got it working now, what a > nightmare. > I can now succesfully log in and out, but I cannot successfully change the > password using the administrative interface, as the adfministrative > interface saves things in clear text, not encrypted. > But at least it is working now. I am sure that is a bug, I think... > > Ok now to the next step.... configuration management. > The way I understand Interchange to work, I change the setup using the > administrative interface, and then the page changes are "live" as soon as I > click save. What if I want to work on a "pending" store with proposed > changes and then when the boss says it is okay, flip a switch and it is now > the live copy? I need to flip flop between copies so that there is always a > "live shop" and a "proposed next version" shop? I am thinking that I just > copy the live directory to a backup directory, and then that is that, but > what problems will I come against? How do I keep the sales records rolling > forward, but the catalog and web site content managed by a "flip-flop" type > approach? What tables should always keep moving forward. > > In other words, using the "Akopia Three Tiered Approach" > > Technical Implementor > Site Designer > Store Administrator > The site designer wants to work on a proposed site and see it functioning in > a test mode before it is posted live. The we want to flip a switch and see > the new content go public, ans start working on a new version offline again > > The store administrator does NOT want to go back and lose sales records, so > there is no "configuration management" need for him. > > The technical implementor (poor old me) is trying to figure out how to make > this happen. > > Can the many Interchange tables be identified as to their function and split > out so that a version control/configuration management type system could be > put in place? If this content configuration management feature were put in > to place, this system would rival the Vignette Story Server big boys. > > What is the scope of a project that would add these features? > > Alan Young > > ary@communicationfactory.com > > > > > > --__--__-- > > Message: 2 > From: "Viktors Rotanovs" <Viktors@Rotanovs.com> > To: <interchange-users@lists.akopia.com> > Date: Thu, 22 Mar 2001 22:24:23 +0200 > charset="iso-8859-4" > Subject: [ic] I'm really sorry! > Reply-To: interchange-users@lists.akopia.com > > I'm really sorry for the previous message! > I replied to the wrong message. > I promise I will be more careful next time. > > Best Wishes, > Viktors Rotanovs > Riga, Latvia. Phone +371 7377-472 Fax +1 760-418-8128 > > > > --__--__-- > > Message: 3 > From: "Dan McFarland" <dan@mailturtle.com> > To: <interchange-users@lists.akopia.com> > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > Date: Thu, 22 Mar 2001 14:32:30 -0600 > charset="iso-8859-1" > Reply-To: interchange-users@lists.akopia.com > > It can apply to both. You'll need legal advice for that one. I wouldn't > have anyone NOT an attorney answer that question as you can be legally > liable if you act upon the answer. > > Dan M. > > > ----- Original Message ----- > From: Viktors Rotanovs <Viktors@Rotanovs.com> > To: <interchange-users@lists.akopia.com> > Sent: Thursday, March 22, 2001 2:22 PM > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > Forgot to ask, how much can I change Xsell logo? > > ie, does trademark apply to the logo or to the name? > > > > Best Wishes, > > Viktors Rotanovs > > Riga, Latvia. Phone +371 7377-472 Fax +1 760-418-8128 > > > > ----- Original Message ----- > > From: "Ed LaFrance" <edl@newmediaems.com> > > To: <interchange-users@lists.akopia.com> > > Sent: Thursday, March 22, 2001 8:05 PM > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > At 09:46 AM 03/22/2001 -0800, you wrote: > > > >Are there any interchange docs on the [get-url] tag? > > > > > > > >Thanks > > > > > > > >Mat > > > > > > open the file ic/usertag/get_url. > > > > > > - Ed L. > > > > > > > > > >----- Original Message ----- > > > >From: "Ed LaFrance" <edl@newmediaems.com> > > > >To: <interchange-users@lists.akopia.com> > > > >Sent: Thursday, March 22, 2001 9:19 AM > > > >Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > > > > > > > At 11:06 PM 03/21/2001 -0500, you wrote: > > > > > >I need to grab the contents of a web page. I have tried using the > > below > > > > > >code. > > > > > > > > > > > >[perl Global=1 subs=1] > > > > > >use LWP::Simple > > > > > >my $return=LWP::Simple::get('http::/www.somesite.com/index.html') > > > > > >return $return > > > > > >[/perl] > > > > > > > > > > > >No matter what library I use and the arguments to the perl call. I > > can > > > >not > > > > > >get it to return the page. It will send the request but will hang > up > > > >trying > > > > > >to read from the socket. > > > > > > > > > > > >I have tried setting it up as a Global Sub, as a usertag and plain > > perl > > > > > >using Use Socket. The code will work fine outside of minivend but > > will > > > > > >always hang when it comes to reading from the socket. It will write > > to > > > >the > > > > > >socket but can not read from it. > > > > > > > > > > > >How can one read in the contents of a web page? > > > > > > > > > > I assume you have verified that LWP::Simple is installed. Did you > try > > the > > > > > GET utility? it comes with the example scripts in the LWP dist, in a > > /bin > > > > > subdirectory, or it may already be in your /usr/bin or > /usr/local/bin. > > > >Try > > > > > at the command line: > > > > > > > > > > GET http://www.someworkingsite.comn > > > > > > > > > > ...if it works you will see the html echoed to the screen. Also, > > there is > > > > > a [get_url] usertag for Interchange, have you tried that? > > > > > > > > > > - Ed L. > > > > > > > > > > > > > > > > > > > > > > > > > =============================================================== > > > > > **** Virtual Hosting w/private IC Installation, $65/month! **** > > > > > --------------------------------------------------------------- > > > > > New Media E.M.S. Software Solutions for Business > > > > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > > > > Placerville, CA 95667 edl@newmediaems.com > > > > > (530) 622-9421 http://www.newmediaems.com > > > > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > > > > =============================================================== > > > > > > > > > > > > > > > _______________________________________________ > > > > > Interchange-users mailing list > > > > > Interchange-users@lists.akopia.com > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > >_______________________________________________ > > > >Interchange-users mailing list > > > >Interchange-users@lists.akopia.com > > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > =============================================================== > > > **** Virtual Hosting w/private IC Installation, $65/month! **** > > > --------------------------------------------------------------- > > > New Media E.M.S. Software Solutions for Business > > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > > Placerville, CA 95667 edl@newmediaems.com > > > (530) 622-9421 http://www.newmediaems.com > > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > > =============================================================== > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > --__--__-- > > Message: 4 > Reply-To: "Young Family" <ary@communicationfactory.com> > From: "Young Family" <ary@communicationfactory.com> > To: <interchange-users@lists.akopia.com> > Date: Tue, 20 Mar 2001 12:41:50 -0800 > charset="iso-8859-1" > Subject: [ic] How to Activate Signio???? > Reply-To: interchange-users@lists.akopia.com > > Hello All > What Interchange files must I edit in order to get signio payflow pro going? > Thanks > Alan Young > ary@communicationfactory.com > > > --__--__-- > > Message: 5 > Date: Thu, 22 Mar 2001 13:02:16 -0800 > To: interchange-users@lists.akopia.com > From: Ed LaFrance <edl@newmediaems.com> > Subject: Re: [ic] how to use a variable in a usertag in flypage.html > Reply-To: interchange-users@lists.akopia.com > > At 01:35 PM 03/22/2001 +0530, you wrote: > >thanks ed can u just tell me how can i echo the value of $opt or $ary in > >http://developer.akopia.com/archive/interchange-users/2001/msg01180.html > >usertag user-price > >on flypage.html > > Like before: include them in the return value or push them into scratch > variables, per my last example. In either case you should convert list > data to scalar first. > > - Ed L. > > > > > > > >_______________________________________________ > >Interchange-users mailing list > >Interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > =============================================================== > **** Virtual Hosting w/private IC Installation, $65/month! **** > --------------------------------------------------------------- > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > > --__--__-- > > Message: 6 > From: David Schnardthorst - Eregion <daves@eregion.org> > To: "'interchange-users@lists.akopia.com'" > <interchange-users@lists.akopia.com> > Date: Thu, 22 Mar 2001 15:30:14 -0600 > Subject: [ic] Re: Paypal > Reply-To: interchange-users@lists.akopia.com > > I have found a lot of postings concerning integration with > Paypal. However, I have not found anybody yet who has complete > integration. Has this occurred yet, and if so, where can > I get some examples. > > Thanks, > > David J. Schnardthorst > > --__--__-- > > Message: 7 > From: "LM" <lmorley@flexihost.com> > To: <interchange-users@lists.akopia.com> > Subject: Bug found: was Re: [ic] DBI error - syntax error in CREATE INDEX? > Date: Thu, 22 Mar 2001 16:41:06 -0800 > charset="windows-1251" > Reply-To: interchange-users@lists.akopia.com > > I think I've found & fixed the problem I reported in my original post - > it stems from a bug / error in the SQL code that Interchange puts in > order_returns.pgsql : > > CREATE INDEX order_returns_order_number ON > order_number (order_number) > > The problem is after the ON - there's no table etc. named > "order_number". After looking at the code in order_returns.ora, > and seeing how the index is creted there, the above statement > should read (I think): > > CREATE INDEX order_returns_order_number ON > order_returns (order_number) > > I issued that command from the postgres command line utility (psql); > it worked... Had to make the same change to the template > dbconf/pgsql/order_returns.pgsql too, so the error won't carry over > into any catalogs I create in the future. > > Has anyone else had and fixed the same problem? And, is there > anyone who's set up Interchange with Postgres who's willing to pass > along their experiences (off-list would be fine)? > > Thanks, > Larry > > > -----Original Message----- > > From: interchange-users-admin@lists.akopia.com > > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of LM > > Sent: Thursday, March 22, 2001 4:51 PM > > To: interchange-users@lists.akopia.com > > Subject: [ic] DBI error - syntax error in CREATE INDEX? > > > > > > Hi, all - > > > > Using IC 4.6.3 (RPM install) I created a catalog that uses Postgres; > > for the most part everything seems to work fine. > > > > But - in my catalog's error.log file - the following line appears: > > > > [09/March/2001 ...] mycatalog - DBI: Post creation query 'create > > index on order_number (order_number)' failed: ERROR: > > DefineIndex: order_number relation not found > > > > The SQL that's apparently causing the error is in order_returns.pgsql. > > That's about all I've been able to figure out... > > > > The problem is that no table etc. named "order_number" exists. Does > > anyone know what's going on, what's causing this, how to fix it / what > > its really trying to do, etc.? Is this going to mess up the way returns > > are processed by IC? > > > > --__--__-- > > Message: 8 > From: "Jon Pamment" <jon@icaust.com> > To: <interchange-users@lists.akopia.com> > Subject: RE: [ic] E-Smith > Date: Fri, 23 Mar 2001 09:13:21 +1100 > charset="iso-8859-1" > Reply-To: interchange-users@lists.akopia.com > > Thanks Dan, a guy buy the name of Luuk from the e-smith list emailed me a > how to for the installation. If you're interested I'm sure he wont mind me > forwarding it. > Thanks for the help > > Jon > > > --__--__-- > > Message: 9 > Date: Thu, 22 Mar 2001 17:45:34 -0500 > From: Steve & Patti Getzinger <steveandpatti@wubs.org> > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > Reply-To: interchange-users@lists.akopia.com > > I would start with lwp-download "http://somesite.com/index.html" and see what > happens. You shoudl end up with a file in the dir you executed from named > index.html. Verify it is the actual file and you have a starting point. Now you > can include if you desire. I happen to use this with cron to build a database > hourly from listings at moreover. > > Steve > > Dan McFarland wrote: > > > It can apply to both. You'll need legal advice for that one. I wouldn't > > have anyone NOT an attorney answer that question as you can be legally > > liable if you act upon the answer. > > > > Dan M. > > > > ----- Original Message ----- > > From: Viktors Rotanovs <Viktors@Rotanovs.com> > > To: <interchange-users@lists.akopia.com> > > Sent: Thursday, March 22, 2001 2:22 PM > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > Forgot to ask,...the name? > > > > > > Best Wishes, > > > Viktors Rotanovs > > > Riga, Latvia. Phone +371 7377-472 Fax +1 760-418-8128 > > > > > > ----- Original Message ----- > > > From: "Ed LaFrance" <edl@newmediaems.com> > > > To: <interchange-users@lists.akopia.com> > > > Sent: Thursday, March 22, 2001 8:05 PM > > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > > > > At 09:46 AM 03/22/2001 -0800, you wrote: > > > > >Are ...tag? > > > > > > > > > >Thanks > > > > > > > > > >Mat > > > > > > > > open the file ic/usertag/get_url. > > > > > > > > - Ed L. > > > > > > > > > > > > >----- Original Message ----- > > > > >From: "Ed LaFrance" <edl@newmediaems.com> > > > > >To: <interchange-users@lists.akopia.com> > > > > >Sent: Thursday, March 22, 2001 9:19 AM > > > > >Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > > > > > > > > > > At 11:06 PM 03/21/2001 -0500, you wrote: > > > > > > >I need to... have you tried that? > > > > > > > > > > > > - Ed L. > > > --__--__-- > > Message: 10 > Date: Thu, 22 Mar 2001 17:55:48 -0500 > From: Mike Heins <mikeh@minivend.com> > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Re: Paypal > Reply-To: mike@minivend.com > Reply-To: interchange-users@lists.akopia.com > > Quoting David Schnardthorst - Eregion (daves@eregion.org): > > I have found a lot of postings concerning integration with > > Paypal. However, I have not found anybody yet who has complete > > integration. Has this occurred yet, and if so, where can > > I get some examples. > > It is easy to *get to* PayPal, just not so easy to get back. > > Integrating is as simple as providing a button on the checkout > page. But completing the order is at the whim of the buyer, who > would have to click the link paypal.com provides on the payment > final page. > > That is the problem with most of the send-them-to-a-website payment > providers. > > Possible workarounds include setting up an email parser that would > receive emailed order notifications from PayPal and complete the order, > etc. And if by some chance PayPal allows a "silent post" then it > can be completed. > > Unfortunately they appear to have no developer integration links on > their website; I have looked (as recently as two days ago) and there > is no technical info on how to integrate. > > Right now there is and can be no module. No one has ever ponied up with > consulting dollars to have us integrate one, and there has been no > user-integrated module. And without technical info, I won't spend my > time working in the dark to do one. > > So there it sits. > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > Friends don't let friends use Outlook. -- Bob Blaylock > > --__--__-- > > Message: 11 > Date: Thu, 22 Mar 2001 17:59:09 -0500 > From: Mike Heins <mikeh@minivend.com> > To: interchange-users@lists.akopia.com > Subject: Re: Bug found: was Re: [ic] DBI error - syntax error in CREATE INDEX? > Reply-To: mike@minivend.com > Reply-To: interchange-users@lists.akopia.com > > Quoting LM (lmorley@flexihost.com): > > I think I've found & fixed the problem I reported in my original post - > > it stems from a bug / error in the SQL code that Interchange puts in > > order_returns.pgsql : > > > > CREATE INDEX order_returns_order_number ON > > order_number (order_number) > > > > The problem is after the ON - there's no table etc. named > > "order_number". After looking at the code in order_returns.ora, > > and seeing how the index is creted there, the above statement > > should read (I think): > > > > CREATE INDEX order_returns_order_number ON > > order_returns (order_number) > > > > I issued that command from the postgres command line utility (psql); > > it worked... Had to make the same change to the template > > dbconf/pgsql/order_returns.pgsql too, so the error won't carry over > > into any catalogs I create in the future. > > > > Has anyone else had and fixed the same problem? And, is there > > anyone who's set up Interchange with Postgres who's willing to pass > > along their experiences (off-list would be fine)? > > > > That is the problem -- it is benign, though, and shouldn't have caused > anything but a speed decrease. > > Thanks for the find and fix. Fixed in CVS. > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > Few blame themselves until they have exhausted all other possibilities. > -- anonymous > > --__--__-- > > Message: 12 > From: tzf@tzf.net > Date: Thu, 22 Mar 2001 15:01:12 -0800 > To: interchange-users@lists.akopia.com > Subject: [ic] makecat non-interactive? > Reply-To: interchange-users@lists.akopia.com > > > Hi Folks, > By way of introduction, my name's Tim and I've been lurking for a while. > I'm starting an e-commerce hosting company with a friend. I'm enthusiastic > about Open Source, and hoping Interchange will allow us to base the > business on an open source solution, despite some customers' insistance > that they want to go with Brand X. > > My question: I want to run makecat from the command line in a > non-interactive mode. i.e. I want to specify all paramters on the command > line, and then have makecat "just do it", sending only error messages to > the standard output when necessary. > > I've been using something like this: > > makecat --serverconf=blah --servername=blahblah --demotype=construct ...etc. > > This sets the defaults correctly on the prompts for each of the paramters I > set, but does not prevent makecat from prompting in the shell. I also tried > enclosing the entire thing in a perl system() function, with no change in > results. > > I'm sorry if this is really too basic a question, I've only been writing > perl for about 3 months now. > > thanks! > tzf > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > Find my contact info online at http://tzf.net/contact > > --__--__-- > > Message: 13 > From: cfm@maine.com > Date: Thu, 22 Mar 2001 18:11:51 -0500 > To: interchange-users@lists.akopia.com > Subject: Re: [ic] makecat non-interactive? > Reply-To: interchange-users@lists.akopia.com > > On Thu, Mar 22, 2001 at 03:01:12PM -0800, tzf@tzf.net wrote: > > > > Hi Folks, > > By way of introduction, my name's Tim and I've been lurking for a while. > > I'm starting an e-commerce hosting company with a friend. I'm enthusiastic > > about Open Source, and hoping Interchange will allow us to base the > > business on an open source solution, despite some customers' insistance > > that they want to go with Brand X. > > > > My question: I want to run makecat from the command line in a > > non-interactive mode. i.e. I want to specify all paramters on the command > > line, and then have makecat "just do it", sending only error messages to > > the standard output when necessary. > > > > I've been using something like this: > > > > > We used to have something like that with Vend. A perl script that simply > did the typical substitutions in catalog.cfg. It seems like most people > use the stock construct pages. So makecat makes sense for those. But if > you start with your own templates, then it is pretty easy to build a minimal > perl script that iterates a template tree into a destination tree. That's > more or less what we do now. Automating makecat is probably the hard way. > TMTOWTDI > > cfm > > > makecat --serverconf=blah --servername=blahblah --demotype=construct ...etc. > > > > This sets the defaults correctly on the prompts for each of the paramters I > > set, but does not prevent makecat from prompting in the shell. I also tried > > enclosing the entire thing in a perl system() function, with no change in > > results. > > > > I'm sorry if this is really too basic a question, I've only been writing > > perl for about 3 months now. > > > > thanks! > > tzf > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > Find my contact info online at http://tzf.net/contact > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > -- > > Christopher F. Miller, Publisher cfm@maine.com > MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 > 1.207.657.5078 http://www.maine.com/ > Content management, electronic commerce, internet integration, Debian linux > > --__--__-- > > Message: 14 > Date: Thu, 22 Mar 2001 15:15:34 -0800 > To: interchange-users@lists.akopia.com > From: Ed LaFrance <edl@newmediaems.com> > Subject: Re: [ic] Re: Paypal > <51636DCAC862D1119AD700805FA982AD03FA12@aragorn.stryder.com> > Reply-To: interchange-users@lists.akopia.com > > At 05:55 PM 03/22/2001 -0500, you wrote: > >Quoting David Schnardthorst - Eregion (daves@eregion.org): > > > I have found a lot of postings concerning integration with > > > Paypal. However, I have not found anybody yet who has complete > > > integration. Has this occurred yet, and if so, where can > > > I get some examples. > > > >It is easy to *get to* PayPal, just not so easy to get back. > > > >Integrating is as simple as providing a button on the checkout > >page. But completing the order is at the whim of the buyer, who > >would have to click the link paypal.com provides on the payment > >final page. > > > >That is the problem with most of the send-them-to-a-website payment > >providers. > > > >Possible workarounds include setting up an email parser that would > >receive emailed order notifications from PayPal and complete the order, > >etc. And if by some chance PayPal allows a "silent post" then it > >can be completed. > > > >Unfortunately they appear to have no developer integration links on > >their website; I have looked (as recently as two days ago) and there > >is no technical info on how to integrate. > > > >Right now there is and can be no module. No one has ever ponied up with > >consulting dollars to have us integrate one, and there has been no > >user-integrated module. And without technical info, I won't spend my > >time working in the dark to do one. > > > > ...I went as far as to contact them, proposing that they consider some type > of gateway or "silent post" interface for their services, explaining that I > and/or others would most likely hammer out some kind of support for such a > service in Interchange and put it into the code base. We had a few > exchanges via email and they collected a slew of data from me (probably for > marketing). That was more than two months ago - no word since. I don't > think they are ready for it right now, or they just don't see the benefit > to them. > > - Ed L. > > > > > =============================================================== > **** Virtual Hosting w/private IC Installation, $65/month! **** > --------------------------------------------------------------- > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > > --__--__-- > > Message: 15 > From: "Jon Pamment" <916senna@icaust.com> > To: <interchange-users@lists.akopia.com> > Subject: RE: [ic] E-Smith > Date: Fri, 23 Mar 2001 10:23:50 +1100 > charset="iso-8859-1" > Reply-To: interchange-users@lists.akopia.com > > OOPPPS the guy that did the how to for e-smith is Justin Funke, my apologies > to both for that oversight. > Jon > > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Jon > Pamment > Sent: Friday, 23 March 2001 9:13 AM > To: interchange-users@lists.akopia.com > Subject: RE: [ic] E-Smith > > > Thanks Dan, a guy buy the name of Luuk from the e-smith list emailed me a > how to for the installation. If you're interested I'm sure he wont mind me > forwarding it. > Thanks for the help > > Jon > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > --__--__-- > > Message: 16 > Date: Thu, 22 Mar 2001 19:00:06 -0500 > From: Mike Heins <mikeh@minivend.com> > To: interchange-users@lists.akopia.com > Subject: Re: [ic] makecat non-interactive? > Reply-To: mike@minivend.com > Reply-To: interchange-users@lists.akopia.com > > Quoting tzf@tzf.net (tzf@tzf.net): > > > > Hi Folks, > > By way of introduction, my name's Tim and I've been lurking for a while. > > I'm starting an e-commerce hosting company with a friend. I'm enthusiastic > > about Open Source, and hoping Interchange will allow us to base the > > business on an open source solution, despite some customers' insistance > > that they want to go with Brand X. > > > > My question: I want to run makecat from the command line in a > > non-interactive mode. i.e. I want to specify all paramters on the command > > line, and then have makecat "just do it", sending only error messages to > > the standard output when necessary. > > > > I've been using something like this: > > > > makecat --serverconf=blah --servername=blahblah --demotype=construct ...etc. > > > > Have you tried that? It does indeed work. Try looking at the makecat man > page ( "perldoc bin/makecat" works as well), it should give you all you need. > > Hint: look at -F parameter. > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > Research is what I'm doing when I don't know what I'm doing. > -- Wernher Von Braun > > > > --__--__-- > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > End of Interchange-users Digest > From: res087jh at verizon.net (Dan Garwood ) Date: Fri, 23 Mar 2001 01:31:57 -0500 Subject: [ic] Wholesale vs Retail Allen, Look in your catalog.cfg file about 3/4 of the way through and you will see a nice paragrapg descirbing how to actually make it happen. IC has this by defualt. You have to make dealers or wholesalers have a 1 in a field in the userdb and that will allow wholesale prices to be displayed. Dan Garwood E-Profit Designs -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Young Family Sent: Tuesday, March 20, 2001 8:41 PM To: interchange-users@lists.akopia.com Subject: [ic] Wholesale vs Retail Hello How have you all been managing selling at wholesale vs selling at retail? I want to use the same shopping cart, and depending upon the user's category, show him wholesale prices or retail prices. Is this possible? Alan Young ary@communicationfactory.com _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: res087jh at verizon.net (Dan Garwood ) Date: Fri, 23 Mar 2001 01:29:24 -0500 Subject: [IC] How can I make subcategories ? Thre are several ways to accomplish this. I my self made one table called catergory_tbl cat_id cat_name cat_date second table subcategory_tbl subcat_id cat_id subcat_name subcat_date I added the following fields to the Products table category subcategory now all these id fields are numbers. Which should speed searches up. Now since I got away from the cat and area. I generate my category list and subcategory list with [perl]query code here [/perl] That is how I handle it. I am sure someone has another way of accomplishing this. Dan Garwood E-Profit Designs -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Ramana Sent: Friday, March 23, 2001 1:12 AM To: interchange-users@lists.akopia.com Subject: [IC] How can I make subcategories ? Hi All, Could any one help me out , how can I create subcategories? Thank u, --Peace-- (^_^) ----- Original Message ----- From: <interchange-users-admin@lists.akopia.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 23, 2001 8:00 AM Subject: Interchange-users digest, Vol 1 #381 - 16 msgs > > Send Interchange-users mailing list submissions to > interchange-users@lists.akopia.com > > To subscribe or unsubscribe via the web, visit > http://lists.akopia.com/mailman/listinfo/interchange-users > or, via email, send a message with subject or body 'help' to > interchange-users-request@lists.akopia.com > You can reach the person managing the list at > interchange-users-admin@lists.akopia.com > > When replying, please edit your Subject line so it is more specific than > "Re: Contents of Interchange-users digest..." > > > Today's Topics: > > 1. Configuration Management .... Re: [ic] Re: Big Login Problem, :backup, access.Asc , and an encryption problem (Young Family) > 2. I'm really sorry! (Viktors Rotanovs) > 3. Re: Grabbing a web page content using LWP::Simple (Dan McFarland) > 4. How to Activate Signio???? (Young Family) > 5. Re: how to use a variable in a usertag in flypage.html (Ed LaFrance) > 6. Re: Paypal (David Schnardthorst - Eregion) > 7. Bug found: was Re: [ic] DBI error - syntax error in CREATE INDEX? (LM) > 8. RE: E-Smith (Jon Pamment) > 9. Re: Grabbing a web page content using LWP::Simple (Steve & Patti Getzinger) > 10. Re: Re: Paypal (Mike Heins) > 11. Re: Bug found: was Re: [ic] DBI error - syntax error in CREATE INDEX? (Mike Heins) > 12. makecat non-interactive? (tzf@tzf.net) > 13. Re: makecat non-interactive? (cfm@maine.com) > 14. Re: Re: Paypal (Ed LaFrance) > 15. RE: E-Smith (Jon Pamment) > 16. Re: makecat non-interactive? (Mike Heins) > > --__--__-- > > Message: 1 > Reply-To: "Young Family" <ary@communicationfactory.com> > From: "Young Family" <ary@communicationfactory.com> > To: <interchange-users@lists.akopia.com> > Subject: Configuration Management .... Re: [ic] Re: Big Login Problem, :backup, access.Asc , and an encryption problem > Date: Tue, 20 Mar 2001 12:28:56 -0800 > charset="iso-8859-1" > Reply-To: interchange-users@lists.akopia.com > > Thanks to you all for the help, I guess I got it working now, what a > nightmare. > I can now succesfully log in and out, but I cannot successfully change the > password using the administrative interface, as the adfministrative > interface saves things in clear text, not encrypted. > But at least it is working now. I am sure that is a bug, I think... > > Ok now to the next step.... configuration management. > The way I understand Interchange to work, I change the setup using the > administrative interface, and then the page changes are "live" as soon as I > click save. What if I want to work on a "pending" store with proposed > changes and then when the boss says it is okay, flip a switch and it is now > the live copy? I need to flip flop between copies so that there is always a > "live shop" and a "proposed next version" shop? I am thinking that I just > copy the live directory to a backup directory, and then that is that, but > what problems will I come against? How do I keep the sales records rolling > forward, but the catalog and web site content managed by a "flip-flop" type > approach? What tables should always keep moving forward. > > In other words, using the "Akopia Three Tiered Approach" > > Technical Implementor > Site Designer > Store Administrator > The site designer wants to work on a proposed site and see it functioning in > a test mode before it is posted live. The we want to flip a switch and see > the new content go public, ans start working on a new version offline again > > The store administrator does NOT want to go back and lose sales records, so > there is no "configuration management" need for him. > > The technical implementor (poor old me) is trying to figure out how to make > this happen. > > Can the many Interchange tables be identified as to their function and split > out so that a version control/configuration management type system could be > put in place? If this content configuration management feature were put in > to place, this system would rival the Vignette Story Server big boys. > > What is the scope of a project that would add these features? > > Alan Young > > ary@communicationfactory.com > > > > > > --__--__-- > > Message: 2 > From: "Viktors Rotanovs" <Viktors@Rotanovs.com> > To: <interchange-users@lists.akopia.com> > Date: Thu, 22 Mar 2001 22:24:23 +0200 > charset="iso-8859-4" > Subject: [ic] I'm really sorry! > Reply-To: interchange-users@lists.akopia.com > > I'm really sorry for the previous message! > I replied to the wrong message. > I promise I will be more careful next time. > > Best Wishes, > Viktors Rotanovs > Riga, Latvia. Phone +371 7377-472 Fax +1 760-418-8128 > > > > --__--__-- > > Message: 3 > From: "Dan McFarland" <dan@mailturtle.com> > To: <interchange-users@lists.akopia.com> > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > Date: Thu, 22 Mar 2001 14:32:30 -0600 > charset="iso-8859-1" > Reply-To: interchange-users@lists.akopia.com > > It can apply to both. You'll need legal advice for that one. I wouldn't > have anyone NOT an attorney answer that question as you can be legally > liable if you act upon the answer. > > Dan M. > > > ----- Original Message ----- > From: Viktors Rotanovs <Viktors@Rotanovs.com> > To: <interchange-users@lists.akopia.com> > Sent: Thursday, March 22, 2001 2:22 PM > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > Forgot to ask, how much can I change Xsell logo? > > ie, does trademark apply to the logo or to the name? > > > > Best Wishes, > > Viktors Rotanovs > > Riga, Latvia. Phone +371 7377-472 Fax +1 760-418-8128 > > > > ----- Original Message ----- > > From: "Ed LaFrance" <edl@newmediaems.com> > > To: <interchange-users@lists.akopia.com> > > Sent: Thursday, March 22, 2001 8:05 PM > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > At 09:46 AM 03/22/2001 -0800, you wrote: > > > >Are there any interchange docs on the [get-url] tag? > > > > > > > >Thanks > > > > > > > >Mat > > > > > > open the file ic/usertag/get_url. > > > > > > - Ed L. > > > > > > > > > >----- Original Message ----- > > > >From: "Ed LaFrance" <edl@newmediaems.com> > > > >To: <interchange-users@lists.akopia.com> > > > >Sent: Thursday, March 22, 2001 9:19 AM > > > >Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > > > > > > > At 11:06 PM 03/21/2001 -0500, you wrote: > > > > > >I need to grab the contents of a web page. I have tried using the > > below > > > > > >code. > > > > > > > > > > > >[perl Global=1 subs=1] > > > > > >use LWP::Simple > > > > > >my $return=LWP::Simple::get('http::/www.somesite.com/index.html') > > > > > >return $return > > > > > >[/perl] > > > > > > > > > > > >No matter what library I use and the arguments to the perl call. I > > can > > > >not > > > > > >get it to return the page. It will send the request but will hang > up > > > >trying > > > > > >to read from the socket. > > > > > > > > > > > >I have tried setting it up as a Global Sub, as a usertag and plain > > perl > > > > > >using Use Socket. The code will work fine outside of minivend but > > will > > > > > >always hang when it comes to reading from the socket. It will write > > to > > > >the > > > > > >socket but can not read from it. > > > > > > > > > > > >How can one read in the contents of a web page? > > > > > > > > > > I assume you have verified that LWP::Simple is installed. Did you > try > > the > > > > > GET utility? it comes with the example scripts in the LWP dist, in a > > /bin > > > > > subdirectory, or it may already be in your /usr/bin or > /usr/local/bin. > > > >Try > > > > > at the command line: > > > > > > > > > > GET http://www.someworkingsite.comn > > > > > > > > > > ...if it works you will see the html echoed to the screen. Also, > > there is > > > > > a [get_url] usertag for Interchange, have you tried that? > > > > > > > > > > - Ed L. > > > > > > > > > > > > > > > > > > > > > > > > > =============================================================== > > > > > **** Virtual Hosting w/private IC Installation, $65/month! **** > > > > > --------------------------------------------------------------- > > > > > New Media E.M.S. Software Solutions for Business > > > > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > > > > Placerville, CA 95667 edl@newmediaems.com > > > > > (530) 622-9421 http://www.newmediaems.com > > > > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > > > > =============================================================== > > > > > > > > > > > > > > > _______________________________________________ > > > > > Interchange-users mailing list > > > > > Interchange-users@lists.akopia.com > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > >_______________________________________________ > > > >Interchange-users mailing list > > > >Interchange-users@lists.akopia.com > > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > =============================================================== > > > **** Virtual Hosting w/private IC Installation, $65/month! **** > > > --------------------------------------------------------------- > > > New Media E.M.S. Software Solutions for Business > > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > > Placerville, CA 95667 edl@newmediaems.com > > > (530) 622-9421 http://www.newmediaems.com > > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > > =============================================================== > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > --__--__-- > > Message: 4 > Reply-To: "Young Family" <ary@communicationfactory.com> > From: "Young Family" <ary@communicationfactory.com> > To: <interchange-users@lists.akopia.com> > Date: Tue, 20 Mar 2001 12:41:50 -0800 > charset="iso-8859-1" > Subject: [ic] How to Activate Signio???? > Reply-To: interchange-users@lists.akopia.com > > Hello All > What Interchange files must I edit in order to get signio payflow pro going? > Thanks > Alan Young > ary@communicationfactory.com > > > --__--__-- > > Message: 5 > Date: Thu, 22 Mar 2001 13:02:16 -0800 > To: interchange-users@lists.akopia.com > From: Ed LaFrance <edl@newmediaems.com> > Subject: Re: [ic] how to use a variable in a usertag in flypage.html > Reply-To: interchange-users@lists.akopia.com > > At 01:35 PM 03/22/2001 +0530, you wrote: > >thanks ed can u just tell me how can i echo the value of $opt or $ary in > >http://developer.akopia.com/archive/interchange-users/2001/msg01180.html > >usertag user-price > >on flypage.html > > Like before: include them in the return value or push them into scratch > variables, per my last example. In either case you should convert list > data to scalar first. > > - Ed L. > > > > > > > >_______________________________________________ > >Interchange-users mailing list > >Interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > =============================================================== > **** Virtual Hosting w/private IC Installation, $65/month! **** > --------------------------------------------------------------- > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > > --__--__-- > > Message: 6 > From: David Schnardthorst - Eregion <daves@eregion.org> > To: "'interchange-users@lists.akopia.com'" > <interchange-users@lists.akopia.com> > Date: Thu, 22 Mar 2001 15:30:14 -0600 > Subject: [ic] Re: Paypal > Reply-To: interchange-users@lists.akopia.com > > I have found a lot of postings concerning integration with > Paypal. However, I have not found anybody yet who has complete > integration. Has this occurred yet, and if so, where can > I get some examples. > > Thanks, > > David J. Schnardthorst > > --__--__-- > > Message: 7 > From: "LM" <lmorley@flexihost.com> > To: <interchange-users@lists.akopia.com> > Subject: Bug found: was Re: [ic] DBI error - syntax error in CREATE INDEX? > Date: Thu, 22 Mar 2001 16:41:06 -0800 > charset="windows-1251" > Reply-To: interchange-users@lists.akopia.com > > I think I've found & fixed the problem I reported in my original post - > it stems from a bug / error in the SQL code that Interchange puts in > order_returns.pgsql : > > CREATE INDEX order_returns_order_number ON > order_number (order_number) > > The problem is after the ON - there's no table etc. named > "order_number". After looking at the code in order_returns.ora, > and seeing how the index is creted there, the above statement > should read (I think): > > CREATE INDEX order_returns_order_number ON > order_returns (order_number) > > I issued that command from the postgres command line utility (psql); > it worked... Had to make the same change to the template > dbconf/pgsql/order_returns.pgsql too, so the error won't carry over > into any catalogs I create in the future. > > Has anyone else had and fixed the same problem? And, is there > anyone who's set up Interchange with Postgres who's willing to pass > along their experiences (off-list would be fine)? > > Thanks, > Larry > > > -----Original Message----- > > From: interchange-users-admin@lists.akopia.com > > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of LM > > Sent: Thursday, March 22, 2001 4:51 PM > > To: interchange-users@lists.akopia.com > > Subject: [ic] DBI error - syntax error in CREATE INDEX? > > > > > > Hi, all - > > > > Using IC 4.6.3 (RPM install) I created a catalog that uses Postgres; > > for the most part everything seems to work fine. > > > > But - in my catalog's error.log file - the following line appears: > > > > [09/March/2001 ...] mycatalog - DBI: Post creation query 'create > > index on order_number (order_number)' failed: ERROR: > > DefineIndex: order_number relation not found > > > > The SQL that's apparently causing the error is in order_returns.pgsql. > > That's about all I've been able to figure out... > > > > The problem is that no table etc. named "order_number" exists. Does > > anyone know what's going on, what's causing this, how to fix it / what > > its really trying to do, etc.? Is this going to mess up the way returns > > are processed by IC? > > > > --__--__-- > > Message: 8 > From: "Jon Pamment" <jon@icaust.com> > To: <interchange-users@lists.akopia.com> > Subject: RE: [ic] E-Smith > Date: Fri, 23 Mar 2001 09:13:21 +1100 > charset="iso-8859-1" > Reply-To: interchange-users@lists.akopia.com > > Thanks Dan, a guy buy the name of Luuk from the e-smith list emailed me a > how to for the installation. If you're interested I'm sure he wont mind me > forwarding it. > Thanks for the help > > Jon > > > --__--__-- > > Message: 9 > Date: Thu, 22 Mar 2001 17:45:34 -0500 > From: Steve & Patti Getzinger <steveandpatti@wubs.org> > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > Reply-To: interchange-users@lists.akopia.com > > I would start with lwp-download "http://somesite.com/index.html" and see what > happens. You shoudl end up with a file in the dir you executed from named > index.html. Verify it is the actual file and you have a starting point. Now you > can include if you desire. I happen to use this with cron to build a database > hourly from listings at moreover. > > Steve > > Dan McFarland wrote: > > > It can apply to both. You'll need legal advice for that one. I wouldn't > > have anyone NOT an attorney answer that question as you can be legally > > liable if you act upon the answer. > > > > Dan M. > > > > ----- Original Message ----- > > From: Viktors Rotanovs <Viktors@Rotanovs.com> > > To: <interchange-users@lists.akopia.com> > > Sent: Thursday, March 22, 2001 2:22 PM > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > Forgot to ask,...the name? > > > > > > Best Wishes, > > > Viktors Rotanovs > > > Riga, Latvia. Phone +371 7377-472 Fax +1 760-418-8128 > > > > > > ----- Original Message ----- > > > From: "Ed LaFrance" <edl@newmediaems.com> > > > To: <interchange-users@lists.akopia.com> > > > Sent: Thursday, March 22, 2001 8:05 PM > > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > > > > At 09:46 AM 03/22/2001 -0800, you wrote: > > > > >Are ...tag? > > > > > > > > > >Thanks > > > > > > > > > >Mat > > > > > > > > open the file ic/usertag/get_url. > > > > > > > > - Ed L. > > > > > > > > > > > > >----- Original Message ----- > > > > >From: "Ed LaFrance" <edl@newmediaems.com> > > > > >To: <interchange-users@lists.akopia.com> > > > > >Sent: Thursday, March 22, 2001 9:19 AM > > > > >Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > > > > > > > > > > At 11:06 PM 03/21/2001 -0500, you wrote: > > > > > > >I need to... have you tried that? > > > > > > > > > > > > - Ed L. > > > --__--__-- > > Message: 10 > Date: Thu, 22 Mar 2001 17:55:48 -0500 > From: Mike Heins <mikeh@minivend.com> > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Re: Paypal > Reply-To: mike@minivend.com > Reply-To: interchange-users@lists.akopia.com > > Quoting David Schnardthorst - Eregion (daves@eregion.org): > > I have found a lot of postings concerning integration with > > Paypal. However, I have not found anybody yet who has complete > > integration. Has this occurred yet, and if so, where can > > I get some examples. > > It is easy to *get to* PayPal, just not so easy to get back. > > Integrating is as simple as providing a button on the checkout > page. But completing the order is at the whim of the buyer, who > would have to click the link paypal.com provides on the payment > final page. > > That is the problem with most of the send-them-to-a-website payment > providers. > > Possible workarounds include setting up an email parser that would > receive emailed order notifications from PayPal and complete the order, > etc. And if by some chance PayPal allows a "silent post" then it > can be completed. > > Unfortunately they appear to have no developer integration links on > their website; I have looked (as recently as two days ago) and there > is no technical info on how to integrate. > > Right now there is and can be no module. No one has ever ponied up with > consulting dollars to have us integrate one, and there has been no > user-integrated module. And without technical info, I won't spend my > time working in the dark to do one. > > So there it sits. > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > Friends don't let friends use Outlook. -- Bob Blaylock > > --__--__-- > > Message: 11 > Date: Thu, 22 Mar 2001 17:59:09 -0500 > From: Mike Heins <mikeh@minivend.com> > To: interchange-users@lists.akopia.com > Subject: Re: Bug found: was Re: [ic] DBI error - syntax error in CREATE INDEX? > Reply-To: mike@minivend.com > Reply-To: interchange-users@lists.akopia.com > > Quoting LM (lmorley@flexihost.com): > > I think I've found & fixed the problem I reported in my original post - > > it stems from a bug / error in the SQL code that Interchange puts in > > order_returns.pgsql : > > > > CREATE INDEX order_returns_order_number ON > > order_number (order_number) > > > > The problem is after the ON - there's no table etc. named > > "order_number". After looking at the code in order_returns.ora, > > and seeing how the index is creted there, the above statement > > should read (I think): > > > > CREATE INDEX order_returns_order_number ON > > order_returns (order_number) > > > > I issued that command from the postgres command line utility (psql); > > it worked... Had to make the same change to the template > > dbconf/pgsql/order_returns.pgsql too, so the error won't carry over > > into any catalogs I create in the future. > > > > Has anyone else had and fixed the same problem? And, is there > > anyone who's set up Interchange with Postgres who's willing to pass > > along their experiences (off-list would be fine)? > > > > That is the problem -- it is benign, though, and shouldn't have caused > anything but a speed decrease. > > Thanks for the find and fix. Fixed in CVS. > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > Few blame themselves until they have exhausted all other possibilities. > -- anonymous > > --__--__-- > > Message: 12 > From: tzf@tzf.net > Date: Thu, 22 Mar 2001 15:01:12 -0800 > To: interchange-users@lists.akopia.com > Subject: [ic] makecat non-interactive? > Reply-To: interchange-users@lists.akopia.com > > > Hi Folks, > By way of introduction, my name's Tim and I've been lurking for a while. > I'm starting an e-commerce hosting company with a friend. I'm enthusiastic > about Open Source, and hoping Interchange will allow us to base the > business on an open source solution, despite some customers' insistance > that they want to go with Brand X. > > My question: I want to run makecat from the command line in a > non-interactive mode. i.e. I want to specify all paramters on the command > line, and then have makecat "just do it", sending only error messages to > the standard output when necessary. > > I've been using something like this: > > makecat --serverconf=blah --servername=blahblah --demotype=construct ...etc. > > This sets the defaults correctly on the prompts for each of the paramters I > set, but does not prevent makecat from prompting in the shell. I also tried > enclosing the entire thing in a perl system() function, with no change in > results. > > I'm sorry if this is really too basic a question, I've only been writing > perl for about 3 months now. > > thanks! > tzf > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > Find my contact info online at http://tzf.net/contact > > --__--__-- > > Message: 13 > From: cfm@maine.com > Date: Thu, 22 Mar 2001 18:11:51 -0500 > To: interchange-users@lists.akopia.com > Subject: Re: [ic] makecat non-interactive? > Reply-To: interchange-users@lists.akopia.com > > On Thu, Mar 22, 2001 at 03:01:12PM -0800, tzf@tzf.net wrote: > > > > Hi Folks, > > By way of introduction, my name's Tim and I've been lurking for a while. > > I'm starting an e-commerce hosting company with a friend. I'm enthusiastic > > about Open Source, and hoping Interchange will allow us to base the > > business on an open source solution, despite some customers' insistance > > that they want to go with Brand X. > > > > My question: I want to run makecat from the command line in a > > non-interactive mode. i.e. I want to specify all paramters on the command > > line, and then have makecat "just do it", sending only error messages to > > the standard output when necessary. > > > > I've been using something like this: > > > > > We used to have something like that with Vend. A perl script that simply > did the typical substitutions in catalog.cfg. It seems like most people > use the stock construct pages. So makecat makes sense for those. But if > you start with your own templates, then it is pretty easy to build a minimal > perl script that iterates a template tree into a destination tree. That's > more or less what we do now. Automating makecat is probably the hard way. > TMTOWTDI > > cfm > > > makecat --serverconf=blah --servername=blahblah --demotype=construct ...etc. > > > > This sets the defaults correctly on the prompts for each of the paramters I > > set, but does not prevent makecat from prompting in the shell. I also tried > > enclosing the entire thing in a perl system() function, with no change in > > results. > > > > I'm sorry if this is really too basic a question, I've only been writing > > perl for about 3 months now. > > > > thanks! > > tzf > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > Find my contact info online at http://tzf.net/contact > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > -- > > Christopher F. Miller, Publisher cfm@maine.com > MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 > 1.207.657.5078 http://www.maine.com/ > Content management, electronic commerce, internet integration, Debian linux > > --__--__-- > > Message: 14 > Date: Thu, 22 Mar 2001 15:15:34 -0800 > To: interchange-users@lists.akopia.com > From: Ed LaFrance <edl@newmediaems.com> > Subject: Re: [ic] Re: Paypal > <51636DCAC862D1119AD700805FA982AD03FA12@aragorn.stryder.com> > Reply-To: interchange-users@lists.akopia.com > > At 05:55 PM 03/22/2001 -0500, you wrote: > >Quoting David Schnardthorst - Eregion (daves@eregion.org): > > > I have found a lot of postings concerning integration with > > > Paypal. However, I have not found anybody yet who has complete > > > integration. Has this occurred yet, and if so, where can > > > I get some examples. > > > >It is easy to *get to* PayPal, just not so easy to get back. > > > >Integrating is as simple as providing a button on the checkout > >page. But completing the order is at the whim of the buyer, who > >would have to click the link paypal.com provides on the payment > >final page. > > > >That is the problem with most of the send-them-to-a-website payment > >providers. > > > >Possible workarounds include setting up an email parser that would > >receive emailed order notifications from PayPal and complete the order, > >etc. And if by some chance PayPal allows a "silent post" then it > >can be completed. > > > >Unfortunately they appear to have no developer integration links on > >their website; I have looked (as recently as two days ago) and there > >is no technical info on how to integrate. > > > >Right now there is and can be no module. No one has ever ponied up with > >consulting dollars to have us integrate one, and there has been no > >user-integrated module. And without technical info, I won't spend my > >time working in the dark to do one. > > > > ...I went as far as to contact them, proposing that they consider some type > of gateway or "silent post" interface for their services, explaining that I > and/or others would most likely hammer out some kind of support for such a > service in Interchange and put it into the code base. We had a few > exchanges via email and they collected a slew of data from me (probably for > marketing). That was more than two months ago - no word since. I don't > think they are ready for it right now, or they just don't see the benefit > to them. > > - Ed L. > > > > > =============================================================== > **** Virtual Hosting w/private IC Installation, $65/month! **** > --------------------------------------------------------------- > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > > --__--__-- > > Message: 15 > From: "Jon Pamment" <916senna@icaust.com> > To: <interchange-users@lists.akopia.com> > Subject: RE: [ic] E-Smith > Date: Fri, 23 Mar 2001 10:23:50 +1100 > charset="iso-8859-1" > Reply-To: interchange-users@lists.akopia.com > > OOPPPS the guy that did the how to for e-smith is Justin Funke, my apologies > to both for that oversight. > Jon > > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Jon > Pamment > Sent: Friday, 23 March 2001 9:13 AM > To: interchange-users@lists.akopia.com > Subject: RE: [ic] E-Smith > > > Thanks Dan, a guy buy the name of Luuk from the e-smith list emailed me a > how to for the installation. If you're interested I'm sure he wont mind me > forwarding it. > Thanks for the help > > Jon > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > --__--__-- > > Message: 16 > Date: Thu, 22 Mar 2001 19:00:06 -0500 > From: Mike Heins <mikeh@minivend.com> > To: interchange-users@lists.akopia.com > Subject: Re: [ic] makecat non-interactive? > Reply-To: mike@minivend.com > Reply-To: interchange-users@lists.akopia.com > > Quoting tzf@tzf.net (tzf@tzf.net): > > > > Hi Folks, > > By way of introduction, my name's Tim and I've been lurking for a while. > > I'm starting an e-commerce hosting company with a friend. I'm enthusiastic > > about Open Source, and hoping Interchange will allow us to base the > > business on an open source solution, despite some customers' insistance > > that they want to go with Brand X. > > > > My question: I want to run makecat from the command line in a > > non-interactive mode. i.e. I want to specify all paramters on the command > > line, and then have makecat "just do it", sending only error messages to > > the standard output when necessary. > > > > I've been using something like this: > > > > makecat --serverconf=blah --servername=blahblah --demotype=construct ...etc. > > > > Have you tried that? It does indeed work. Try looking at the makecat man > page ( "perldoc bin/makecat" works as well), it should give you all you need. > > Hint: look at -F parameter. > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > Research is what I'm doing when I don't know what I'm doing. > -- Wernher Von Braun > > > > --__--__-- > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > End of Interchange-users Digest > _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: res087jh at verizon.net (Dan Garwood ) Date: Fri, 23 Mar 2001 01:52:11 -0500 Subject: [ic] Re: Paypal Mike, I currently have a premium account with paypal and am not using it for anything, I would glad ly offer it to you and my services to help you with this module integration. I know there are many IC users that would like to have this feature. Dan Garwood E-Profit Designs -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Mike Heins Sent: Thursday, March 22, 2001 7:28 PM To: interchange-users@lists.akopia.com Subject: Re: [ic] Re: Paypal Quoting Matthew Schick (mschick@brightredproductions.com): > On 22 Mar 2001 15:15:34 -0800, Ed LaFrance wrote: > > At 05:55 PM 03/22/2001 -0500, you wrote: > > >Quoting David Schnardthorst - Eregion (daves@eregion.org): > > > > I have found a lot of postings concerning integration with > > > > Paypal. However, I have not found anybody yet who has complete > > > > integration. Has this occurred yet, and if so, where can > > > > I get some examples. > > > > > >It is easy to *get to* PayPal, just not so easy to get back. [snip] > > > > ...I went as far as to contact them, proposing that they consider some type > > of gateway or "silent post" interface for their services, explaining that I > > and/or others would most likely hammer out some kind of support for such a > > service in Interchange and put it into the code base. We had a few > > exchanges via email and they collected a slew of data from me (probably for > > marketing). That was more than two months ago - no word since. I don't > > think they are ready for it right now, or they just don't see the benefit > > to them. > > > I also have contacted them with the same proposal, with the answer being > that they simply did not see the need for a compatible interface..... I > guess when you corner a market you don't have to work with anyone else. > IMHO, any of the solutions for integrating PayPal and Interchange I have > found are just too complicated and involved to be feasable. Like Mike > said, the problem isn't the Interchange > PayPal communcation.... it's > getting the approval information back from them after the fact. > Flash update -- they apparently contacted us recently and gave some info about a hidden post capability. Assuming I can get a Business/Premium account to test on, a module shouldn't be too far behind. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <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@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: sheich at mosinfo.ru (Sergey Sheykin ) Date: Fri, 23 Mar 2001 10:16:07 +0300 Subject: [ic] message 0E0 Of course!!! It works :) > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Jason > Korkin > Sent: Thursday, March 22, 2001 8:10 PM > To: interchange-users@lists.akopia.com > Subject: Re: [ic] message 0E0 > > > I just comment them out (if possible) via typical HTML comments <!-- > [sql] --> > > Jason. > > > ----- Original Message ----- > From: "Sergey Sheykin" <sheich@mosinfo.ru> > To: <interchange-users@lists.akopia.com> > Sent: Thursday, March 22, 2001 12:01 PM > Subject: RE: [ic] message 0E0 > > > > I make this. > > > > Before I see message : "1 0E0" > > Now I see : "0E0", without "1". > > > > But "0E0" still remained!.. > > > > > -----Original Message----- > > > From: interchange-users-admin@lists.akopia.com > > > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of > Mat Jones > > > - booksellersolutions.com > > > Sent: Thursday, March 22, 2001 7:38 PM > > > To: interchange-users@lists.akopia.com > > > Subject: Re: [ic] message 0E0 > > > > > > > > > put your query within a [seti] tag > > > > > > [seti query1][query sql="..."][/seti] > > > > > > Mat > > > ----- Original Message ----- > > > From: "Sergey Sheykin" <sheich@mosinfo.ru> > > > To: "Minivend-Users" <minivend-users@minivend.com>; > "Interchange-Users" > > > <interchange-users@lists.akopia.com> > > > Sent: Thursday, March 22, 2001 7:57 AM > > > Subject: [ic] message 0E0 > > > > > > > > > > Hi, > > > > > > > > how can I hide message on a page "0E0", when > > > > query, like [query query="update table products..."] is executed? > > > > > > > > Sergey. > > > > > > > > _______________________________________________ > > > > Interchange-users mailing list > > > > Interchange-users@lists.akopia.com > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: ramana at myweb.com.my (Ramana ) Date: Fri, 23 Mar 2001 15:40:42 +0800 Subject: [ic] RE: How can I make subcategories ? hi Dan Garwood, ya I hope , thats a good idea , but can u please explain me in detail How I can use these two new tables ? How I can link these to interchange admin interface? Tqu, --Pease--(^_^) ----- Original Message ----- From: <interchange-users-admin@lists.akopia.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 23, 2001 2:44 PM Subject: Interchange-users digest, Vol 1 #383 - 2 msgs > > Send Interchange-users mailing list submissions to > interchange-users@lists.akopia.com > > To subscribe or unsubscribe via the web, visit > http://lists.akopia.com/mailman/listinfo/interchange-users > or, via email, send a message with subject or body 'help' to > interchange-users-request@lists.akopia.com > You can reach the person managing the list at > interchange-users-admin@lists.akopia.com > > When replying, please edit your Subject line so it is more specific than > "Re: Contents of Interchange-users digest..." > > > Today's Topics: > > 1. RE: Wholesale vs Retail (Dan Garwood) > 2. RE: How can I make subcategories ? (Dan Garwood) > > --__--__-- > > Message: 1 > From: "Dan Garwood" <res087jh@verizon.net> > To: <interchange-users@lists.akopia.com> > Subject: RE: [ic] Wholesale vs Retail > Date: Fri, 23 Mar 2001 01:31:57 -0500 > charset="iso-8859-1" > Reply-To: interchange-users@lists.akopia.com > > Allen, > > Look in your catalog.cfg file about 3/4 of the way through and you will see > a nice paragrapg descirbing how to actually make it happen. IC has this by > defualt. You have to make dealers or wholesalers have a 1 in a field in the > userdb and that will allow wholesale prices to be displayed. > > Dan Garwood > E-Profit Designs > > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Young > Family > Sent: Tuesday, March 20, 2001 8:41 PM > To: interchange-users@lists.akopia.com > Subject: [ic] Wholesale vs Retail > > > Hello > How have you all been managing selling at wholesale vs selling at retail? > I want to use the same shopping cart, and depending upon the user's > category, show him wholesale prices or retail prices. Is this possible? > Alan Young > ary@communicationfactory.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > --__--__-- > > Message: 2 > From: "Dan Garwood" <res087jh@verizon.net> > To: <interchange-users@lists.akopia.com> > Subject: RE: [IC] How can I make subcategories ? > Date: Fri, 23 Mar 2001 01:29:24 -0500 > charset="iso-8859-1" > Reply-To: interchange-users@lists.akopia.com > > Thre are several ways to accomplish this. I my self made one table called > catergory_tbl > cat_id > cat_name > cat_date > > second table > subcategory_tbl > subcat_id > cat_id > subcat_name > subcat_date > > I added the following fields to the Products table > category > subcategory > > now all these id fields are numbers. Which should speed searches up. > > Now since I got away from the cat and area. I generate my category list and > subcategory list with [perl]query code here [/perl] > > That is how I handle it. I am sure someone has another way of accomplishing > this. > > > Dan Garwood > E-Profit Designs > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Ramana > Sent: Friday, March 23, 2001 1:12 AM > To: interchange-users@lists.akopia.com > Subject: [IC] How can I make subcategories ? > > > Hi All, > Could any one help me out , how can I create subcategories? > > Thank u, > --Peace-- (^_^) > > > > ----- Original Message ----- > From: <interchange-users-admin@lists.akopia.com> > To: <interchange-users@lists.akopia.com> > Sent: Friday, March 23, 2001 8:00 AM > Subject: Interchange-users digest, Vol 1 #381 - 16 msgs > > > > > > Send Interchange-users mailing list submissions to > > interchange-users@lists.akopia.com > > > > To subscribe or unsubscribe via the web, visit > > http://lists.akopia.com/mailman/listinfo/interchange-users > > or, via email, send a message with subject or body 'help' to > > interchange-users-request@lists.akopia.com > > You can reach the person managing the list at > > interchange-users-admin@lists.akopia.com > > > > When replying, please edit your Subject line so it is more specific than > > "Re: Contents of Interchange-users digest..." > > > > > > Today's Topics: > > > > 1. Configuration Management .... Re: [ic] Re: Big Login Problem, > :backup, access.Asc , and an encryption problem (Young Family) > > 2. I'm really sorry! (Viktors Rotanovs) > > 3. Re: Grabbing a web page content using LWP::Simple (Dan McFarland) > > 4. How to Activate Signio???? (Young Family) > > 5. Re: how to use a variable in a usertag in flypage.html (Ed LaFrance) > > 6. Re: Paypal (David Schnardthorst - Eregion) > > 7. Bug found: was Re: [ic] DBI error - syntax error in CREATE INDEX? > (LM) > > 8. RE: E-Smith (Jon Pamment) > > 9. Re: Grabbing a web page content using LWP::Simple (Steve & Patti > Getzinger) > > 10. Re: Re: Paypal (Mike Heins) > > 11. Re: Bug found: was Re: [ic] DBI error - syntax error in CREATE > INDEX? (Mike Heins) > > 12. makecat non-interactive? (tzf@tzf.net) > > 13. Re: makecat non-interactive? (cfm@maine.com) > > 14. Re: Re: Paypal (Ed LaFrance) > > 15. RE: E-Smith (Jon Pamment) > > 16. Re: makecat non-interactive? (Mike Heins) > > > > -- __--__-- > > > > Message: 1 > > Reply-To: "Young Family" <ary@communicationfactory.com> > > From: "Young Family" <ary@communicationfactory.com> > > To: <interchange-users@lists.akopia.com> > > Subject: Configuration Management .... Re: [ic] Re: Big Login Problem, > :backup, access.Asc , and an encryption problem > > Date: Tue, 20 Mar 2001 12:28:56 -0800 > > charset="iso-8859-1" > > Reply-To: interchange-users@lists.akopia.com > > > > Thanks to you all for the help, I guess I got it working now, what a > > nightmare. > > I can now succesfully log in and out, but I cannot successfully change the > > password using the administrative interface, as the adfministrative > > interface saves things in clear text, not encrypted. > > But at least it is working now. I am sure that is a bug, I think... > > > > Ok now to the next step.... configuration management. > > The way I understand Interchange to work, I change the setup using the > > administrative interface, and then the page changes are "live" as soon as > I > > click save. What if I want to work on a "pending" store with proposed > > changes and then when the boss says it is okay, flip a switch and it is > now > > the live copy? I need to flip flop between copies so that there is always > a > > "live shop" and a "proposed next version" shop? I am thinking that I just > > copy the live directory to a backup directory, and then that is that, but > > what problems will I come against? How do I keep the sales records rolling > > forward, but the catalog and web site content managed by a "flip-flop" > type > > approach? What tables should always keep moving forward. > > > > In other words, using the "Akopia Three Tiered Approach" > > > > Technical Implementor > > Site Designer > > Store Administrator > > The site designer wants to work on a proposed site and see it functioning > in > > a test mode before it is posted live. The we want to flip a switch and see > > the new content go public, ans start working on a new version offline > again > > > > The store administrator does NOT want to go back and lose sales records, > so > > there is no "configuration management" need for him. > > > > The technical implementor (poor old me) is trying to figure out how to > make > > this happen. > > > > Can the many Interchange tables be identified as to their function and > split > > out so that a version control/configuration management type system could > be > > put in place? If this content configuration management feature were put > in > > to place, this system would rival the Vignette Story Server big boys. > > > > What is the scope of a project that would add these features? > > > > Alan Young > > > > ary@communicationfactory.com > > > > > > > > > > > > -- __--__-- > > > > Message: 2 > > From: "Viktors Rotanovs" <Viktors@Rotanovs.com> > > To: <interchange-users@lists.akopia.com> > > Date: Thu, 22 Mar 2001 22:24:23 +0200 > > charset="iso-8859-4" > > Subject: [ic] I'm really sorry! > > Reply-To: interchange-users@lists.akopia.com > > > > I'm really sorry for the previous message! > > I replied to the wrong message. > > I promise I will be more careful next time. > > > > Best Wishes, > > Viktors Rotanovs > > Riga, Latvia. Phone +371 7377-472 Fax +1 760-418-8128 > > > > > > > > -- __--__-- > > > > Message: 3 > > From: "Dan McFarland" <dan@mailturtle.com> > > To: <interchange-users@lists.akopia.com> > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > Date: Thu, 22 Mar 2001 14:32:30 -0600 > > charset="iso-8859-1" > > Reply-To: interchange-users@lists.akopia.com > > > > It can apply to both. You'll need legal advice for that one. I wouldn't > > have anyone NOT an attorney answer that question as you can be legally > > liable if you act upon the answer. > > > > Dan M. > > > > > > ----- Original Message ----- > > From: Viktors Rotanovs <Viktors@Rotanovs.com> > > To: <interchange-users@lists.akopia.com> > > Sent: Thursday, March 22, 2001 2:22 PM > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > Forgot to ask, how much can I change Xsell logo? > > > ie, does trademark apply to the logo or to the name? > > > > > > Best Wishes, > > > Viktors Rotanovs > > > Riga, Latvia. Phone +371 7377-472 Fax +1 760-418-8128 > > > > > > ----- Original Message ----- > > > From: "Ed LaFrance" <edl@newmediaems.com> > > > To: <interchange-users@lists.akopia.com> > > > Sent: Thursday, March 22, 2001 8:05 PM > > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > > > > At 09:46 AM 03/22/2001 -0800, you wrote: > > > > >Are there any interchange docs on the [get-url] tag? > > > > > > > > > >Thanks > > > > > > > > > >Mat > > > > > > > > open the file ic/usertag/get_url. > > > > > > > > - Ed L. > > > > > > > > > > > > >----- Original Message ----- > > > > >From: "Ed LaFrance" <edl@newmediaems.com> > > > > >To: <interchange-users@lists.akopia.com> > > > > >Sent: Thursday, March 22, 2001 9:19 AM > > > > >Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > > > > > > > > > > At 11:06 PM 03/21/2001 -0500, you wrote: > > > > > > >I need to grab the contents of a web page. I have tried using the > > > below > > > > > > >code. > > > > > > > > > > > > > >[perl Global=1 subs=1] > > > > > > >use LWP::Simple > > > > > > >my $return=LWP::Simple::get('http::/www.somesite.com/index.html') > > > > > > >return $return > > > > > > >[/perl] > > > > > > > > > > > > > >No matter what library I use and the arguments to the perl call. > I > > > can > > > > >not > > > > > > >get it to return the page. It will send the request but will hang > > up > > > > >trying > > > > > > >to read from the socket. > > > > > > > > > > > > > >I have tried setting it up as a Global Sub, as a usertag and > plain > > > perl > > > > > > >using Use Socket. The code will work fine outside of minivend but > > > will > > > > > > >always hang when it comes to reading from the socket. It will > write > > > to > > > > >the > > > > > > >socket but can not read from it. > > > > > > > > > > > > > >How can one read in the contents of a web page? > > > > > > > > > > > > I assume you have verified that LWP::Simple is installed. Did you > > try > > > the > > > > > > GET utility? it comes with the example scripts in the LWP dist, in > a > > > /bin > > > > > > subdirectory, or it may already be in your /usr/bin or > > /usr/local/bin. > > > > >Try > > > > > > at the command line: > > > > > > > > > > > > GET http://www.someworkingsite.comn > > > > > > > > > > > > ...if it works you will see the html echoed to the screen. Also, > > > there is > > > > > > a [get_url] usertag for Interchange, have you tried that? > > > > > > > > > > > > - Ed L. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > =============================================================== > > > > > > **** Virtual Hosting w/private IC Installation, $65/month! **** > > > > > > --------------------------------------------------------------- > > > > > > New Media E.M.S. Software Solutions for Business > > > > > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > > > > > Placerville, CA 95667 edl@newmediaems.com > > > > > > (530) 622-9421 http://www.newmediaems.com > > > > > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > > > > > =============================================================== > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > Interchange-users mailing list > > > > > > Interchange-users@lists.akopia.com > > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > >_______________________________________________ > > > > >Interchange-users mailing list > > > > >Interchange-users@lists.akopia.com > > > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > =============================================================== > > > > **** Virtual Hosting w/private IC Installation, $65/month! **** > > > > --------------------------------------------------------------- > > > > New Media E.M.S. Software Solutions for Business > > > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > > > Placerville, CA 95667 edl@newmediaems.com > > > > (530) 622-9421 http://www.newmediaems.com > > > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > > > =============================================================== > > > > > > > > > > > > _______________________________________________ > > > > Interchange-users mailing list > > > > Interchange-users@lists.akopia.com > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > -- __--__-- > > > > Message: 4 > > Reply-To: "Young Family" <ary@communicationfactory.com> > > From: "Young Family" <ary@communicationfactory.com> > > To: <interchange-users@lists.akopia.com> > > Date: Tue, 20 Mar 2001 12:41:50 -0800 > > charset="iso-8859-1" > > Subject: [ic] How to Activate Signio???? > > Reply-To: interchange-users@lists.akopia.com > > > > Hello All > > What Interchange files must I edit in order to get signio payflow pro > going? > > Thanks > > Alan Young > > ary@communicationfactory.com > > > > > > -- __--__-- > > > > Message: 5 > > Date: Thu, 22 Mar 2001 13:02:16 -0800 > > To: interchange-users@lists.akopia.com > > From: Ed LaFrance <edl@newmediaems.com> > > Subject: Re: [ic] how to use a variable in a usertag in flypage.html > > Reply-To: interchange-users@lists.akopia.com > > > > At 01:35 PM 03/22/2001 +0530, you wrote: > > >thanks ed can u just tell me how can i echo the value of $opt or $ary in > > >http://developer.akopia.com/archive/interchange-users/2001/msg01180.html > > >usertag user-price > > >on flypage.html > > > > Like before: include them in the return value or push them into scratch > > variables, per my last example. In either case you should convert list > > data to scalar first. > > > > - Ed L. > > > > > > > > > > > > > > >_______________________________________________ > > >Interchange-users mailing list > > >Interchange-users@lists.akopia.com > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > =============================================================== > > **** Virtual Hosting w/private IC Installation, $65/month! **** > > --------------------------------------------------------------- > > New Media E.M.S. Software Solutions for Business > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > Placerville, CA 95667 edl@newmediaems.com > > (530) 622-9421 http://www.newmediaems.com > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > =============================================================== > > > > > > -- __--__-- > > > > Message: 6 > > From: David Schnardthorst - Eregion <daves@eregion.org> > > To: "'interchange-users@lists.akopia.com'" > > <interchange-users@lists.akopia.com> > > Date: Thu, 22 Mar 2001 15:30:14 -0600 > > Subject: [ic] Re: Paypal > > Reply-To: interchange-users@lists.akopia.com > > > > I have found a lot of postings concerning integration with > > Paypal. However, I have not found anybody yet who has complete > > integration. Has this occurred yet, and if so, where can > > I get some examples. > > > > Thanks, > > > > David J. Schnardthorst > > > > -- __--__-- > > > > Message: 7 > > From: "LM" <lmorley@flexihost.com> > > To: <interchange-users@lists.akopia.com> > > Subject: Bug found: was Re: [ic] DBI error - syntax error in CREATE INDEX? > > Date: Thu, 22 Mar 2001 16:41:06 -0800 > > charset="windows-1251" > > Reply-To: interchange-users@lists.akopia.com > > > > I think I've found & fixed the problem I reported in my original post - > > it stems from a bug / error in the SQL code that Interchange puts in > > order_returns.pgsql : > > > > CREATE INDEX order_returns_order_number ON > > order_number (order_number) > > > > The problem is after the ON - there's no table etc. named > > "order_number". After looking at the code in order_returns.ora, > > and seeing how the index is creted there, the above statement > > should read (I think): > > > > CREATE INDEX order_returns_order_number ON > > order_returns (order_number) > > > > I issued that command from the postgres command line utility (psql); > > it worked... Had to make the same change to the template > > dbconf/pgsql/order_returns.pgsql too, so the error won't carry over > > into any catalogs I create in the future. > > > > Has anyone else had and fixed the same problem? And, is there > > anyone who's set up Interchange with Postgres who's willing to pass > > along their experiences (off-list would be fine)? > > > > Thanks, > > Larry > > > > > -----Original Message----- > > > From: interchange-users-admin@lists.akopia.com > > > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of LM > > > Sent: Thursday, March 22, 2001 4:51 PM > > > To: interchange-users@lists.akopia.com > > > Subject: [ic] DBI error - syntax error in CREATE INDEX? > > > > > > > > > Hi, all - > > > > > > Using IC 4.6.3 (RPM install) I created a catalog that uses Postgres; > > > for the most part everything seems to work fine. > > > > > > But - in my catalog's error.log file - the following line appears: > > > > > > [09/March/2001 ...] mycatalog - DBI: Post creation query 'create > > > index on order_number (order_number)' failed: ERROR: > > > DefineIndex: order_number relation not found > > > > > > The SQL that's apparently causing the error is in order_returns.pgsql. > > > That's about all I've been able to figure out... > > > > > > The problem is that no table etc. named "order_number" exists. Does > > > anyone know what's going on, what's causing this, how to fix it / what > > > its really trying to do, etc.? Is this going to mess up the way returns > > > are processed by IC? > > > > > > > > -- __--__-- > > > > Message: 8 > > From: "Jon Pamment" <jon@icaust.com> > > To: <interchange-users@lists.akopia.com> > > Subject: RE: [ic] E-Smith > > Date: Fri, 23 Mar 2001 09:13:21 +1100 > > charset="iso-8859-1" > > Reply-To: interchange-users@lists.akopia.com > > > > Thanks Dan, a guy buy the name of Luuk from the e-smith list emailed me a > > how to for the installation. If you're interested I'm sure he wont mind me > > forwarding it. > > Thanks for the help > > > > Jon > > > > > > -- __--__-- > > > > Message: 9 > > Date: Thu, 22 Mar 2001 17:45:34 -0500 > > From: Steve & Patti Getzinger <steveandpatti@wubs.org> > > To: interchange-users@lists.akopia.com > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > Reply-To: interchange-users@lists.akopia.com > > > > I would start with lwp-download "http://somesite.com/index.html" and see > what > > happens. You shoudl end up with a file in the dir you executed from named > > index.html. Verify it is the actual file and you have a starting point. > Now you > > can include if you desire. I happen to use this with cron to build a > database > > hourly from listings at moreover. > > > > Steve > > > > Dan McFarland wrote: > > > > > It can apply to both. You'll need legal advice for that one. I > wouldn't > > > have anyone NOT an attorney answer that question as you can be legally > > > liable if you act upon the answer. > > > > > > Dan M. > > > > > > ----- Original Message ----- > > > From: Viktors Rotanovs <Viktors@Rotanovs.com> > > > To: <interchange-users@lists.akopia.com> > > > Sent: Thursday, March 22, 2001 2:22 PM > > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > Forgot to ask,...the name? > > > > > > > > Best Wishes, > > > > Viktors Rotanovs > > > > Riga, Latvia. Phone +371 7377-472 Fax +1 760-418-8128 > > > > > > > > ----- Original Message ----- > > > > From: "Ed LaFrance" <edl@newmediaems.com> > > > > To: <interchange-users@lists.akopia.com> > > > > Sent: Thursday, March 22, 2001 8:05 PM > > > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > > > > > > > At 09:46 AM 03/22/2001 -0800, you wrote: > > > > > >Are ...tag? > > > > > > > > > > > >Thanks > > > > > > > > > > > >Mat > > > > > > > > > > open the file ic/usertag/get_url. > > > > > > > > > > - Ed L. > > > > > > > > > > > > > > > >----- Original Message ----- > > > > > >From: "Ed LaFrance" <edl@newmediaems.com> > > > > > >To: <interchange-users@lists.akopia.com> > > > > > >Sent: Thursday, March 22, 2001 9:19 AM > > > > > >Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > > > > > > > > > > > > > At 11:06 PM 03/21/2001 -0500, you wrote: > > > > > > > >I need to... have you tried that? > > > > > > > > > > > > > > - Ed L. > > > > > > -- __--__-- > > > > Message: 10 > > Date: Thu, 22 Mar 2001 17:55:48 -0500 > > From: Mike Heins <mikeh@minivend.com> > > To: interchange-users@lists.akopia.com > > Subject: Re: [ic] Re: Paypal > > Reply-To: mike@minivend.com > > Reply-To: interchange-users@lists.akopia.com > > > > Quoting David Schnardthorst - Eregion (daves@eregion.org): > > > I have found a lot of postings concerning integration with > > > Paypal. However, I have not found anybody yet who has complete > > > integration. Has this occurred yet, and if so, where can > > > I get some examples. > > > > It is easy to *get to* PayPal, just not so easy to get back. > > > > Integrating is as simple as providing a button on the checkout > > page. But completing the order is at the whim of the buyer, who > > would have to click the link paypal.com provides on the payment > > final page. > > > > That is the problem with most of the send-them-to-a-website payment > > providers. > > > > Possible workarounds include setting up an email parser that would > > receive emailed order notifications from PayPal and complete the order, > > etc. And if by some chance PayPal allows a "silent post" then it > > can be completed. > > > > Unfortunately they appear to have no developer integration links on > > their website; I have looked (as recently as two days ago) and there > > is no technical info on how to integrate. > > > > Right now there is and can be no module. No one has ever ponied up with > > consulting dollars to have us integrate one, and there has been no > > user-integrated module. And without technical info, I won't spend my > > time working in the dark to do one. > > > > So there it sits. > > > > -- > > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > > > Friends don't let friends use Outlook. -- Bob Blaylock > > > > -- __--__-- > > > > Message: 11 > > Date: Thu, 22 Mar 2001 17:59:09 -0500 > > From: Mike Heins <mikeh@minivend.com> > > To: interchange-users@lists.akopia.com > > Subject: Re: Bug found: was Re: [ic] DBI error - syntax error in CREATE > INDEX? > > Reply-To: mike@minivend.com > > Reply-To: interchange-users@lists.akopia.com > > > > Quoting LM (lmorley@flexihost.com): > > > I think I've found & fixed the problem I reported in my original post - > > > it stems from a bug / error in the SQL code that Interchange puts in > > > order_returns.pgsql : > > > > > > CREATE INDEX order_returns_order_number ON > > > order_number (order_number) > > > > > > The problem is after the ON - there's no table etc. named > > > "order_number". After looking at the code in order_returns.ora, > > > and seeing how the index is creted there, the above statement > > > should read (I think): > > > > > > CREATE INDEX order_returns_order_number ON > > > order_returns (order_number) > > > > > > I issued that command from the postgres command line utility (psql); > > > it worked... Had to make the same change to the template > > > dbconf/pgsql/order_returns.pgsql too, so the error won't carry over > > > into any catalogs I create in the future. > > > > > > Has anyone else had and fixed the same problem? And, is there > > > anyone who's set up Interchange with Postgres who's willing to pass > > > along their experiences (off-list would be fine)? > > > > > > > That is the problem -- it is benign, though, and shouldn't have caused > > anything but a speed decrease. > > > > Thanks for the find and fix. Fixed in CVS. > > > > -- > > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > > > Few blame themselves until they have exhausted all other possibilities. > > -- anonymous > > > > -- __--__-- > > > > Message: 12 > > From: tzf@tzf.net > > Date: Thu, 22 Mar 2001 15:01:12 -0800 > > To: interchange-users@lists.akopia.com > > Subject: [ic] makecat non-interactive? > > Reply-To: interchange-users@lists.akopia.com > > > > > > Hi Folks, > > By way of introduction, my name's Tim and I've been lurking for a while. > > I'm starting an e-commerce hosting company with a friend. I'm enthusiastic > > about Open Source, and hoping Interchange will allow us to base the > > business on an open source solution, despite some customers' insistance > > that they want to go with Brand X. > > > > My question: I want to run makecat from the command line in a > > non-interactive mode. i.e. I want to specify all paramters on the command > > line, and then have makecat "just do it", sending only error messages to > > the standard output when necessary. > > > > I've been using something like this: > > > > makecat --serverconf=blah --servername=blahblah --demotype=construct > ...etc. > > > > This sets the defaults correctly on the prompts for each of the paramters > I > > set, but does not prevent makecat from prompting in the shell. I also > tried > > enclosing the entire thing in a perl system() function, with no change in > > results. > > > > I'm sorry if this is really too basic a question, I've only been writing > > perl for about 3 months now. > > > > thanks! > > tzf > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > Find my contact info online at http://tzf.net/contact > > > > -- __--__-- > > > > Message: 13 > > From: cfm@maine.com > > Date: Thu, 22 Mar 2001 18:11:51 -0500 > > To: interchange-users@lists.akopia.com > > Subject: Re: [ic] makecat non-interactive? > > Reply-To: interchange-users@lists.akopia.com > > > > On Thu, Mar 22, 2001 at 03:01:12PM -0800, tzf@tzf.net wrote: > > > > > > Hi Folks, > > > By way of introduction, my name's Tim and I've been lurking for a while. > > > I'm starting an e-commerce hosting company with a friend. I'm > enthusiastic > > > about Open Source, and hoping Interchange will allow us to base the > > > business on an open source solution, despite some customers' insistance > > > that they want to go with Brand X. > > > > > > My question: I want to run makecat from the command line in a > > > non-interactive mode. i.e. I want to specify all paramters on the > command > > > line, and then have makecat "just do it", sending only error messages to > > > the standard output when necessary. > > > > > > I've been using something like this: > > > > > > > > > We used to have something like that with Vend. A perl script that simply > > did the typical substitutions in catalog.cfg. It seems like most people > > use the stock construct pages. So makecat makes sense for those. But if > > you start with your own templates, then it is pretty easy to build a > minimal > > perl script that iterates a template tree into a destination tree. That's > > more or less what we do now. Automating makecat is probably the hard way. > > TMTOWTDI > > > > cfm > > > > > makecat --serverconf=blah --servername=blahblah --demotype=construct > ...etc. > > > > > > This sets the defaults correctly on the prompts for each of the > paramters I > > > set, but does not prevent makecat from prompting in the shell. I also > tried > > > enclosing the entire thing in a perl system() function, with no change > in > > > results. > > > > > > I'm sorry if this is really too basic a question, I've only been writing > > > perl for about 3 months now. > > > > > > thanks! > > > tzf > > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > > Find my contact info online at http://tzf.net/contact > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > -- > > > > Christopher F. Miller, Publisher cfm@maine.com > > MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 > > 1.207.657.5078 http://www.maine.com/ > > Content management, electronic commerce, internet integration, Debian > linux > > > > -- __--__-- > > > > Message: 14 > > Date: Thu, 22 Mar 2001 15:15:34 -0800 > > To: interchange-users@lists.akopia.com > > From: Ed LaFrance <edl@newmediaems.com> > > Subject: Re: [ic] Re: Paypal > > <51636DCAC862D1119AD700805FA982AD03FA12@aragorn.stryder.com> > > Reply-To: interchange-users@lists.akopia.com > > > > At 05:55 PM 03/22/2001 -0500, you wrote: > > >Quoting David Schnardthorst - Eregion (daves@eregion.org): > > > > I have found a lot of postings concerning integration with > > > > Paypal. However, I have not found anybody yet who has complete > > > > integration. Has this occurred yet, and if so, where can > > > > I get some examples. > > > > > >It is easy to *get to* PayPal, just not so easy to get back. > > > > > >Integrating is as simple as providing a button on the checkout > > >page. But completing the order is at the whim of the buyer, who > > >would have to click the link paypal.com provides on the payment > > >final page. > > > > > >That is the problem with most of the send-them-to-a-website payment > > >providers. > > > > > >Possible workarounds include setting up an email parser that would > > >receive emailed order notifications from PayPal and complete the order, > > >etc. And if by some chance PayPal allows a "silent post" then it > > >can be completed. > > > > > >Unfortunately they appear to have no developer integration links on > > >their website; I have looked (as recently as two days ago) and there > > >is no technical info on how to integrate. > > > > > >Right now there is and can be no module. No one has ever ponied up with > > >consulting dollars to have us integrate one, and there has been no > > >user-integrated module. And without technical info, I won't spend my > > >time working in the dark to do one. > > > > > > > ...I went as far as to contact them, proposing that they consider some > type > > of gateway or "silent post" interface for their services, explaining that > I > > and/or others would most likely hammer out some kind of support for such a > > service in Interchange and put it into the code base. We had a few > > exchanges via email and they collected a slew of data from me (probably > for > > marketing). That was more than two months ago - no word since. I don't > > think they are ready for it right now, or they just don't see the benefit > > to them. > > > > - Ed L. > > > > > > > > > > =============================================================== > > **** Virtual Hosting w/private IC Installation, $65/month! **** > > --------------------------------------------------------------- > > New Media E.M.S. Software Solutions for Business > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > Placerville, CA 95667 edl@newmediaems.com > > (530) 622-9421 http://www.newmediaems.com > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > =============================================================== > > > > > > -- __--__-- > > > > Message: 15 > > From: "Jon Pamment" <916senna@icaust.com> > > To: <interchange-users@lists.akopia.com> > > Subject: RE: [ic] E-Smith > > Date: Fri, 23 Mar 2001 10:23:50 +1100 > > charset="iso-8859-1" > > Reply-To: interchange-users@lists.akopia.com > > > > OOPPPS the guy that did the how to for e-smith is Justin Funke, my > apologies > > to both for that oversight. > > Jon > > > > -----Original Message----- > > From: interchange-users-admin@lists.akopia.com > > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Jon > > Pamment > > Sent: Friday, 23 March 2001 9:13 AM > > To: interchange-users@lists.akopia.com > > Subject: RE: [ic] E-Smith > > > > > > Thanks Dan, a guy buy the name of Luuk from the e-smith list emailed me a > > how to for the installation. If you're interested I'm sure he wont mind me > > forwarding it. > > Thanks for the help > > > > Jon > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > -- __--__-- > > > > Message: 16 > > Date: Thu, 22 Mar 2001 19:00:06 -0500 > > From: Mike Heins <mikeh@minivend.com> > > To: interchange-users@lists.akopia.com > > Subject: Re: [ic] makecat non-interactive? > > Reply-To: mike@minivend.com > > Reply-To: interchange-users@lists.akopia.com > > > > Quoting tzf@tzf.net (tzf@tzf.net): > > > > > > Hi Folks, > > > By way of introduction, my name's Tim and I've been lurking for a while. > > > I'm starting an e-commerce hosting company with a friend. I'm > enthusiastic > > > about Open Source, and hoping Interchange will allow us to base the > > > business on an open source solution, despite some customers' insistance > > > that they want to go with Brand X. > > > > > > My question: I want to run makecat from the command line in a > > > non-interactive mode. i.e. I want to specify all paramters on the > command > > > line, and then have makecat "just do it", sending only error messages to > > > the standard output when necessary. > > > > > > I've been using something like this: > > > > > > makecat --serverconf=blah --servername=blahblah --demotype=construct > ...etc. > > > > > > > Have you tried that? It does indeed work. Try looking at the makecat man > > page ( "perldoc bin/makecat" works as well), it should give you all you > need. > > > > Hint: look at -F parameter. > > > > -- > > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > > > Research is what I'm doing when I don't know what I'm doing. > > -- Wernher Von Braun > > > > > > > > -- __--__-- > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > End of Interchange-users Digest > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > --__--__-- > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > End of Interchange-users Digest > From: res087jh at verizon.net (Dan Garwood ) Date: Fri, 23 Mar 2001 02:59:10 -0500 Subject: [ic] RE: How can I make subcategories ? Ramana, What you need to do is for the new tables you create....now this is for a mysql setup.... you simply create a files called category_tbl.mysql subcategorey_tbl.mysql these will go into /yourhomedirectory/catalogdirectory/dbconf/mysql/ you will se other files in there. Open one and look at the format. This is what the admin uses to know what tables your talking about in mysql. Simply copy the outline of one of these files. I suggest looking at the products.mysql file, siunce it will show you the largest examples of different fields. Of course you will have to add a field to your products table called subcategory so you will have to change products.mysql also. Once these files are created and updated you simply need to restart interchange to have access to them. If you are using postgres you would look at the files in the postgres directory and so forth depending on what type of database your using. If you need any further help, you can email me directly. Dan Garwood E-Profit Designs res087jh@verizon.net -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Ramana Sent: Friday, March 23, 2001 2:41 AM To: interchange-users@lists.akopia.com Subject: [ic] RE: How can I make subcategories ? hi Dan Garwood, ya I hope , thats a good idea , but can u please explain me in detail How I can use these two new tables ? How I can link these to interchange admin interface? Tqu, --Pease--(^_^) ----- Original Message ----- From: <interchange-users-admin@lists.akopia.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 23, 2001 2:44 PM Subject: Interchange-users digest, Vol 1 #383 - 2 msgs > > Send Interchange-users mailing list submissions to > interchange-users@lists.akopia.com > > To subscribe or unsubscribe via the web, visit > http://lists.akopia.com/mailman/listinfo/interchange-users > or, via email, send a message with subject or body 'help' to > interchange-users-request@lists.akopia.com > You can reach the person managing the list at > interchange-users-admin@lists.akopia.com > > When replying, please edit your Subject line so it is more specific than > "Re: Contents of Interchange-users digest..." > > > Today's Topics: > > 1. RE: Wholesale vs Retail (Dan Garwood) > 2. RE: How can I make subcategories ? (Dan Garwood) > > --__--__-- > > Message: 1 > From: "Dan Garwood" <res087jh@verizon.net> > To: <interchange-users@lists.akopia.com> > Subject: RE: [ic] Wholesale vs Retail > Date: Fri, 23 Mar 2001 01:31:57 -0500 > charset="iso-8859-1" > Reply-To: interchange-users@lists.akopia.com > > Allen, > > Look in your catalog.cfg file about 3/4 of the way through and you will see > a nice paragrapg descirbing how to actually make it happen. IC has this by > defualt. You have to make dealers or wholesalers have a 1 in a field in the > userdb and that will allow wholesale prices to be displayed. > > Dan Garwood > E-Profit Designs > > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Young > Family > Sent: Tuesday, March 20, 2001 8:41 PM > To: interchange-users@lists.akopia.com > Subject: [ic] Wholesale vs Retail > > > Hello > How have you all been managing selling at wholesale vs selling at retail? > I want to use the same shopping cart, and depending upon the user's > category, show him wholesale prices or retail prices. Is this possible? > Alan Young > ary@communicationfactory.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > --__--__-- > > Message: 2 > From: "Dan Garwood" <res087jh@verizon.net> > To: <interchange-users@lists.akopia.com> > Subject: RE: [IC] How can I make subcategories ? > Date: Fri, 23 Mar 2001 01:29:24 -0500 > charset="iso-8859-1" > Reply-To: interchange-users@lists.akopia.com > > Thre are several ways to accomplish this. I my self made one table called > catergory_tbl > cat_id > cat_name > cat_date > > second table > subcategory_tbl > subcat_id > cat_id > subcat_name > subcat_date > > I added the following fields to the Products table > category > subcategory > > now all these id fields are numbers. Which should speed searches up. > > Now since I got away from the cat and area. I generate my category list and > subcategory list with [perl]query code here [/perl] > > That is how I handle it. I am sure someone has another way of accomplishing > this. > > > Dan Garwood > E-Profit Designs > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Ramana > Sent: Friday, March 23, 2001 1:12 AM > To: interchange-users@lists.akopia.com > Subject: [IC] How can I make subcategories ? > > > Hi All, > Could any one help me out , how can I create subcategories? > > Thank u, > --Peace-- (^_^) > > > > ----- Original Message ----- > From: <interchange-users-admin@lists.akopia.com> > To: <interchange-users@lists.akopia.com> > Sent: Friday, March 23, 2001 8:00 AM > Subject: Interchange-users digest, Vol 1 #381 - 16 msgs > > > > > > Send Interchange-users mailing list submissions to > > interchange-users@lists.akopia.com > > > > To subscribe or unsubscribe via the web, visit > > http://lists.akopia.com/mailman/listinfo/interchange-users > > or, via email, send a message with subject or body 'help' to > > interchange-users-request@lists.akopia.com > > You can reach the person managing the list at > > interchange-users-admin@lists.akopia.com > > > > When replying, please edit your Subject line so it is more specific than > > "Re: Contents of Interchange-users digest..." > > > > > > Today's Topics: > > > > 1. Configuration Management .... Re: [ic] Re: Big Login Problem, > :backup, access.Asc , and an encryption problem (Young Family) > > 2. I'm really sorry! (Viktors Rotanovs) > > 3. Re: Grabbing a web page content using LWP::Simple (Dan McFarland) > > 4. How to Activate Signio???? (Young Family) > > 5. Re: how to use a variable in a usertag in flypage.html (Ed LaFrance) > > 6. Re: Paypal (David Schnardthorst - Eregion) > > 7. Bug found: was Re: [ic] DBI error - syntax error in CREATE INDEX? > (LM) > > 8. RE: E-Smith (Jon Pamment) > > 9. Re: Grabbing a web page content using LWP::Simple (Steve & Patti > Getzinger) > > 10. Re: Re: Paypal (Mike Heins) > > 11. Re: Bug found: was Re: [ic] DBI error - syntax error in CREATE > INDEX? (Mike Heins) > > 12. makecat non-interactive? (tzf@tzf.net) > > 13. Re: makecat non-interactive? (cfm@maine.com) > > 14. Re: Re: Paypal (Ed LaFrance) > > 15. RE: E-Smith (Jon Pamment) > > 16. Re: makecat non-interactive? (Mike Heins) > > > > -- __--__-- > > > > Message: 1 > > Reply-To: "Young Family" <ary@communicationfactory.com> > > From: "Young Family" <ary@communicationfactory.com> > > To: <interchange-users@lists.akopia.com> > > Subject: Configuration Management .... Re: [ic] Re: Big Login Problem, > :backup, access.Asc , and an encryption problem > > Date: Tue, 20 Mar 2001 12:28:56 -0800 > > charset="iso-8859-1" > > Reply-To: interchange-users@lists.akopia.com > > > > Thanks to you all for the help, I guess I got it working now, what a > > nightmare. > > I can now succesfully log in and out, but I cannot successfully change the > > password using the administrative interface, as the adfministrative > > interface saves things in clear text, not encrypted. > > But at least it is working now. I am sure that is a bug, I think... > > > > Ok now to the next step.... configuration management. > > The way I understand Interchange to work, I change the setup using the > > administrative interface, and then the page changes are "live" as soon as > I > > click save. What if I want to work on a "pending" store with proposed > > changes and then when the boss says it is okay, flip a switch and it is > now > > the live copy? I need to flip flop between copies so that there is always > a > > "live shop" and a "proposed next version" shop? I am thinking that I just > > copy the live directory to a backup directory, and then that is that, but > > what problems will I come against? How do I keep the sales records rolling > > forward, but the catalog and web site content managed by a "flip-flop" > type > > approach? What tables should always keep moving forward. > > > > In other words, using the "Akopia Three Tiered Approach" > > > > Technical Implementor > > Site Designer > > Store Administrator > > The site designer wants to work on a proposed site and see it functioning > in > > a test mode before it is posted live. The we want to flip a switch and see > > the new content go public, ans start working on a new version offline > again > > > > The store administrator does NOT want to go back and lose sales records, > so > > there is no "configuration management" need for him. > > > > The technical implementor (poor old me) is trying to figure out how to > make > > this happen. > > > > Can the many Interchange tables be identified as to their function and > split > > out so that a version control/configuration management type system could > be > > put in place? If this content configuration management feature were put > in > > to place, this system would rival the Vignette Story Server big boys. > > > > What is the scope of a project that would add these features? > > > > Alan Young > > > > ary@communicationfactory.com > > > > > > > > > > > > -- __--__-- > > > > Message: 2 > > From: "Viktors Rotanovs" <Viktors@Rotanovs.com> > > To: <interchange-users@lists.akopia.com> > > Date: Thu, 22 Mar 2001 22:24:23 +0200 > > charset="iso-8859-4" > > Subject: [ic] I'm really sorry! > > Reply-To: interchange-users@lists.akopia.com > > > > I'm really sorry for the previous message! > > I replied to the wrong message. > > I promise I will be more careful next time. > > > > Best Wishes, > > Viktors Rotanovs > > Riga, Latvia. Phone +371 7377-472 Fax +1 760-418-8128 > > > > > > > > -- __--__-- > > > > Message: 3 > > From: "Dan McFarland" <dan@mailturtle.com> > > To: <interchange-users@lists.akopia.com> > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > Date: Thu, 22 Mar 2001 14:32:30 -0600 > > charset="iso-8859-1" > > Reply-To: interchange-users@lists.akopia.com > > > > It can apply to both. You'll need legal advice for that one. I wouldn't > > have anyone NOT an attorney answer that question as you can be legally > > liable if you act upon the answer. > > > > Dan M. > > > > > > ----- Original Message ----- > > From: Viktors Rotanovs <Viktors@Rotanovs.com> > > To: <interchange-users@lists.akopia.com> > > Sent: Thursday, March 22, 2001 2:22 PM > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > Forgot to ask, how much can I change Xsell logo? > > > ie, does trademark apply to the logo or to the name? > > > > > > Best Wishes, > > > Viktors Rotanovs > > > Riga, Latvia. Phone +371 7377-472 Fax +1 760-418-8128 > > > > > > ----- Original Message ----- > > > From: "Ed LaFrance" <edl@newmediaems.com> > > > To: <interchange-users@lists.akopia.com> > > > Sent: Thursday, March 22, 2001 8:05 PM > > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > > > > At 09:46 AM 03/22/2001 -0800, you wrote: > > > > >Are there any interchange docs on the [get-url] tag? > > > > > > > > > >Thanks > > > > > > > > > >Mat > > > > > > > > open the file ic/usertag/get_url. > > > > > > > > - Ed L. > > > > > > > > > > > > >----- Original Message ----- > > > > >From: "Ed LaFrance" <edl@newmediaems.com> > > > > >To: <interchange-users@lists.akopia.com> > > > > >Sent: Thursday, March 22, 2001 9:19 AM > > > > >Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > > > > > > > > > > At 11:06 PM 03/21/2001 -0500, you wrote: > > > > > > >I need to grab the contents of a web page. I have tried using the > > > below > > > > > > >code. > > > > > > > > > > > > > >[perl Global=1 subs=1] > > > > > > >use LWP::Simple > > > > > > >my $return=LWP::Simple::get('http::/www.somesite.com/index.html') > > > > > > >return $return > > > > > > >[/perl] > > > > > > > > > > > > > >No matter what library I use and the arguments to the perl call. > I > > > can > > > > >not > > > > > > >get it to return the page. It will send the request but will hang > > up > > > > >trying > > > > > > >to read from the socket. > > > > > > > > > > > > > >I have tried setting it up as a Global Sub, as a usertag and > plain > > > perl > > > > > > >using Use Socket. The code will work fine outside of minivend but > > > will > > > > > > >always hang when it comes to reading from the socket. It will > write > > > to > > > > >the > > > > > > >socket but can not read from it. > > > > > > > > > > > > > >How can one read in the contents of a web page? > > > > > > > > > > > > I assume you have verified that LWP::Simple is installed. Did you > > try > > > the > > > > > > GET utility? it comes with the example scripts in the LWP dist, in > a > > > /bin > > > > > > subdirectory, or it may already be in your /usr/bin or > > /usr/local/bin. > > > > >Try > > > > > > at the command line: > > > > > > > > > > > > GET http://www.someworkingsite.comn > > > > > > > > > > > > ...if it works you will see the html echoed to the screen. Also, > > > there is > > > > > > a [get_url] usertag for Interchange, have you tried that? > > > > > > > > > > > > - Ed L. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > =============================================================== > > > > > > **** Virtual Hosting w/private IC Installation, $65/month! **** > > > > > > --------------------------------------------------------------- > > > > > > New Media E.M.S. Software Solutions for Business > > > > > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > > > > > Placerville, CA 95667 edl@newmediaems.com > > > > > > (530) 622-9421 http://www.newmediaems.com > > > > > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > > > > > =============================================================== > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > Interchange-users mailing list > > > > > > Interchange-users@lists.akopia.com > > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > >_______________________________________________ > > > > >Interchange-users mailing list > > > > >Interchange-users@lists.akopia.com > > > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > =============================================================== > > > > **** Virtual Hosting w/private IC Installation, $65/month! **** > > > > --------------------------------------------------------------- > > > > New Media E.M.S. Software Solutions for Business > > > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > > > Placerville, CA 95667 edl@newmediaems.com > > > > (530) 622-9421 http://www.newmediaems.com > > > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > > > =============================================================== > > > > > > > > > > > > _______________________________________________ > > > > Interchange-users mailing list > > > > Interchange-users@lists.akopia.com > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > -- __--__-- > > > > Message: 4 > > Reply-To: "Young Family" <ary@communicationfactory.com> > > From: "Young Family" <ary@communicationfactory.com> > > To: <interchange-users@lists.akopia.com> > > Date: Tue, 20 Mar 2001 12:41:50 -0800 > > charset="iso-8859-1" > > Subject: [ic] How to Activate Signio???? > > Reply-To: interchange-users@lists.akopia.com > > > > Hello All > > What Interchange files must I edit in order to get signio payflow pro > going? > > Thanks > > Alan Young > > ary@communicationfactory.com > > > > > > -- __--__-- > > > > Message: 5 > > Date: Thu, 22 Mar 2001 13:02:16 -0800 > > To: interchange-users@lists.akopia.com > > From: Ed LaFrance <edl@newmediaems.com> > > Subject: Re: [ic] how to use a variable in a usertag in flypage.html > > Reply-To: interchange-users@lists.akopia.com > > > > At 01:35 PM 03/22/2001 +0530, you wrote: > > >thanks ed can u just tell me how can i echo the value of $opt or $ary in > > >http://developer.akopia.com/archive/interchange-users/2001/msg01180.html > > >usertag user-price > > >on flypage.html > > > > Like before: include them in the return value or push them into scratch > > variables, per my last example. In either case you should convert list > > data to scalar first. > > > > - Ed L. > > > > > > > > > > > > > > >_______________________________________________ > > >Interchange-users mailing list > > >Interchange-users@lists.akopia.com > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > =============================================================== > > **** Virtual Hosting w/private IC Installation, $65/month! **** > > --------------------------------------------------------------- > > New Media E.M.S. Software Solutions for Business > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > Placerville, CA 95667 edl@newmediaems.com > > (530) 622-9421 http://www.newmediaems.com > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > =============================================================== > > > > > > -- __--__-- > > > > Message: 6 > > From: David Schnardthorst - Eregion <daves@eregion.org> > > To: "'interchange-users@lists.akopia.com'" > > <interchange-users@lists.akopia.com> > > Date: Thu, 22 Mar 2001 15:30:14 -0600 > > Subject: [ic] Re: Paypal > > Reply-To: interchange-users@lists.akopia.com > > > > I have found a lot of postings concerning integration with > > Paypal. However, I have not found anybody yet who has complete > > integration. Has this occurred yet, and if so, where can > > I get some examples. > > > > Thanks, > > > > David J. Schnardthorst > > > > -- __--__-- > > > > Message: 7 > > From: "LM" <lmorley@flexihost.com> > > To: <interchange-users@lists.akopia.com> > > Subject: Bug found: was Re: [ic] DBI error - syntax error in CREATE INDEX? > > Date: Thu, 22 Mar 2001 16:41:06 -0800 > > charset="windows-1251" > > Reply-To: interchange-users@lists.akopia.com > > > > I think I've found & fixed the problem I reported in my original post - > > it stems from a bug / error in the SQL code that Interchange puts in > > order_returns.pgsql : > > > > CREATE INDEX order_returns_order_number ON > > order_number (order_number) > > > > The problem is after the ON - there's no table etc. named > > "order_number". After looking at the code in order_returns.ora, > > and seeing how the index is creted there, the above statement > > should read (I think): > > > > CREATE INDEX order_returns_order_number ON > > order_returns (order_number) > > > > I issued that command from the postgres command line utility (psql); > > it worked... Had to make the same change to the template > > dbconf/pgsql/order_returns.pgsql too, so the error won't carry over > > into any catalogs I create in the future. > > > > Has anyone else had and fixed the same problem? And, is there > > anyone who's set up Interchange with Postgres who's willing to pass > > along their experiences (off-list would be fine)? > > > > Thanks, > > Larry > > > > > -----Original Message----- > > > From: interchange-users-admin@lists.akopia.com > > > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of LM > > > Sent: Thursday, March 22, 2001 4:51 PM > > > To: interchange-users@lists.akopia.com > > > Subject: [ic] DBI error - syntax error in CREATE INDEX? > > > > > > > > > Hi, all - > > > > > > Using IC 4.6.3 (RPM install) I created a catalog that uses Postgres; > > > for the most part everything seems to work fine. > > > > > > But - in my catalog's error.log file - the following line appears: > > > > > > [09/March/2001 ...] mycatalog - DBI: Post creation query 'create > > > index on order_number (order_number)' failed: ERROR: > > > DefineIndex: order_number relation not found > > > > > > The SQL that's apparently causing the error is in order_returns.pgsql. > > > That's about all I've been able to figure out... > > > > > > The problem is that no table etc. named "order_number" exists. Does > > > anyone know what's going on, what's causing this, how to fix it / what > > > its really trying to do, etc.? Is this going to mess up the way returns > > > are processed by IC? > > > > > > > > -- __--__-- > > > > Message: 8 > > From: "Jon Pamment" <jon@icaust.com> > > To: <interchange-users@lists.akopia.com> > > Subject: RE: [ic] E-Smith > > Date: Fri, 23 Mar 2001 09:13:21 +1100 > > charset="iso-8859-1" > > Reply-To: interchange-users@lists.akopia.com > > > > Thanks Dan, a guy buy the name of Luuk from the e-smith list emailed me a > > how to for the installation. If you're interested I'm sure he wont mind me > > forwarding it. > > Thanks for the help > > > > Jon > > > > > > -- __--__-- > > > > Message: 9 > > Date: Thu, 22 Mar 2001 17:45:34 -0500 > > From: Steve & Patti Getzinger <steveandpatti@wubs.org> > > To: interchange-users@lists.akopia.com > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > Reply-To: interchange-users@lists.akopia.com > > > > I would start with lwp-download "http://somesite.com/index.html" and see > what > > happens. You shoudl end up with a file in the dir you executed from named > > index.html. Verify it is the actual file and you have a starting point. > Now you > > can include if you desire. I happen to use this with cron to build a > database > > hourly from listings at moreover. > > > > Steve > > > > Dan McFarland wrote: > > > > > It can apply to both. You'll need legal advice for that one. I > wouldn't > > > have anyone NOT an attorney answer that question as you can be legally > > > liable if you act upon the answer. > > > > > > Dan M. > > > > > > ----- Original Message ----- > > > From: Viktors Rotanovs <Viktors@Rotanovs.com> > > > To: <interchange-users@lists.akopia.com> > > > Sent: Thursday, March 22, 2001 2:22 PM > > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > Forgot to ask,...the name? > > > > > > > > Best Wishes, > > > > Viktors Rotanovs > > > > Riga, Latvia. Phone +371 7377-472 Fax +1 760-418-8128 > > > > > > > > ----- Original Message ----- > > > > From: "Ed LaFrance" <edl@newmediaems.com> > > > > To: <interchange-users@lists.akopia.com> > > > > Sent: Thursday, March 22, 2001 8:05 PM > > > > Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > > > > > > > At 09:46 AM 03/22/2001 -0800, you wrote: > > > > > >Are ...tag? > > > > > > > > > > > >Thanks > > > > > > > > > > > >Mat > > > > > > > > > > open the file ic/usertag/get_url. > > > > > > > > > > - Ed L. > > > > > > > > > > > > > > > >----- Original Message ----- > > > > > >From: "Ed LaFrance" <edl@newmediaems.com> > > > > > >To: <interchange-users@lists.akopia.com> > > > > > >Sent: Thursday, March 22, 2001 9:19 AM > > > > > >Subject: Re: [ic] Grabbing a web page content using LWP::Simple > > > > > > > > > > > > > > > > > > > At 11:06 PM 03/21/2001 -0500, you wrote: > > > > > > > >I need to... have you tried that? > > > > > > > > > > > > > > - Ed L. > > > > > > -- __--__-- > > > > Message: 10 > > Date: Thu, 22 Mar 2001 17:55:48 -0500 > > From: Mike Heins <mikeh@minivend.com> > > To: interchange-users@lists.akopia.com > > Subject: Re: [ic] Re: Paypal > > Reply-To: mike@minivend.com > > Reply-To: interchange-users@lists.akopia.com > > > > Quoting David Schnardthorst - Eregion (daves@eregion.org): > > > I have found a lot of postings concerning integration with > > > Paypal. However, I have not found anybody yet who has complete > > > integration. Has this occurred yet, and if so, where can > > > I get some examples. > > > > It is easy to *get to* PayPal, just not so easy to get back. > > > > Integrating is as simple as providing a button on the checkout > > page. But completing the order is at the whim of the buyer, who > > would have to click the link paypal.com provides on the payment > > final page. > > > > That is the problem with most of the send-them-to-a-website payment > > providers. > > > > Possible workarounds include setting up an email parser that would > > receive emailed order notifications from PayPal and complete the order, > > etc. And if by some chance PayPal allows a "silent post" then it > > can be completed. > > > > Unfortunately they appear to have no developer integration links on > > their website; I have looked (as recently as two days ago) and there > > is no technical info on how to integrate. > > > > Right now there is and can be no module. No one has ever ponied up with > > consulting dollars to have us integrate one, and there has been no > > user-integrated module. And without technical info, I won't spend my > > time working in the dark to do one. > > > > So there it sits. > > > > -- > > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > > > Friends don't let friends use Outlook. -- Bob Blaylock > > > > -- __--__-- > > > > Message: 11 > > Date: Thu, 22 Mar 2001 17:59:09 -0500 > > From: Mike Heins <mikeh@minivend.com> > > To: interchange-users@lists.akopia.com > > Subject: Re: Bug found: was Re: [ic] DBI error - syntax error in CREATE > INDEX? > > Reply-To: mike@minivend.com > > Reply-To: interchange-users@lists.akopia.com > > > > Quoting LM (lmorley@flexihost.com): > > > I think I've found & fixed the problem I reported in my original post - > > > it stems from a bug / error in the SQL code that Interchange puts in > > > order_returns.pgsql : > > > > > > CREATE INDEX order_returns_order_number ON > > > order_number (order_number) > > > > > > The problem is after the ON - there's no table etc. named > > > "order_number". After looking at the code in order_returns.ora, > > > and seeing how the index is creted there, the above statement > > > should read (I think): > > > > > > CREATE INDEX order_returns_order_number ON > > > order_returns (order_number) > > > > > > I issued that command from the postgres command line utility (psql); > > > it worked... Had to make the same change to the template > > > dbconf/pgsql/order_returns.pgsql too, so the error won't carry over > > > into any catalogs I create in the future. > > > > > > Has anyone else had and fixed the same problem? And, is there > > > anyone who's set up Interchange with Postgres who's willing to pass > > > along their experiences (off-list would be fine)? > > > > > > > That is the problem -- it is benign, though, and shouldn't have caused > > anything but a speed decrease. > > > > Thanks for the find and fix. Fixed in CVS. > > > > -- > > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > > > Few blame themselves until they have exhausted all other possibilities. > > -- anonymous > > > > -- __--__-- > > > > Message: 12 > > From: tzf@tzf.net > > Date: Thu, 22 Mar 2001 15:01:12 -0800 > > To: interchange-users@lists.akopia.com > > Subject: [ic] makecat non-interactive? > > Reply-To: interchange-users@lists.akopia.com > > > > > > Hi Folks, > > By way of introduction, my name's Tim and I've been lurking for a while. > > I'm starting an e-commerce hosting company with a friend. I'm enthusiastic > > about Open Source, and hoping Interchange will allow us to base the > > business on an open source solution, despite some customers' insistance > > that they want to go with Brand X. > > > > My question: I want to run makecat from the command line in a > > non-interactive mode. i.e. I want to specify all paramters on the command > > line, and then have makecat "just do it", sending only error messages to > > the standard output when necessary. > > > > I've been using something like this: > > > > makecat --serverconf=blah --servername=blahblah --demotype=construct > ...etc. > > > > This sets the defaults correctly on the prompts for each of the paramters > I > > set, but does not prevent makecat from prompting in the shell. I also > tried > > enclosing the entire thing in a perl system() function, with no change in > > results. > > > > I'm sorry if this is really too basic a question, I've only been writing > > perl for about 3 months now. > > > > thanks! > > tzf > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > Find my contact info online at http://tzf.net/contact > > > > -- __--__-- > > > > Message: 13 > > From: cfm@maine.com > > Date: Thu, 22 Mar 2001 18:11:51 -0500 > > To: interchange-users@lists.akopia.com > > Subject: Re: [ic] makecat non-interactive? > > Reply-To: interchange-users@lists.akopia.com > > > > On Thu, Mar 22, 2001 at 03:01:12PM -0800, tzf@tzf.net wrote: > > > > > > Hi Folks, > > > By way of introduction, my name's Tim and I've been lurking for a while. > > > I'm starting an e-commerce hosting company with a friend. I'm > enthusiastic > > > about Open Source, and hoping Interchange will allow us to base the > > > business on an open source solution, despite some customers' insistance > > > that they want to go with Brand X. > > > > > > My question: I want to run makecat from the command line in a > > > non-interactive mode. i.e. I want to specify all paramters on the > command > > > line, and then have makecat "just do it", sending only error messages to > > > the standard output when necessary. > > > > > > I've been using something like this: > > > > > > > > > We used to have something like that with Vend. A perl script that simply > > did the typical substitutions in catalog.cfg. It seems like most people > > use the stock construct pages. So makecat makes sense for those. But if > > you start with your own templates, then it is pretty easy to build a > minimal > > perl script that iterates a template tree into a destination tree. That's > > more or less what we do now. Automating makecat is probably the hard way. > > TMTOWTDI > > > > cfm > > > > > makecat --serverconf=blah --servername=blahblah --demotype=construct > ...etc. > > > > > > This sets the defaults correctly on the prompts for each of the > paramters I > > > set, but does not prevent makecat from prompting in the shell. I also > tried > > > enclosing the entire thing in a perl system() function, with no change > in > > > results. > > > > > > I'm sorry if this is really too basic a question, I've only been writing > > > perl for about 3 months now. > > > > > > thanks! > > > tzf > > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > > Find my contact info online at http://tzf.net/contact > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > -- > > > > Christopher F. Miller, Publisher cfm@maine.com > > MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 > > 1.207.657.5078 http://www.maine.com/ > > Content management, electronic commerce, internet integration, Debian > linux > > > > -- __--__-- > > > > Message: 14 > > Date: Thu, 22 Mar 2001 15:15:34 -0800 > > To: interchange-users@lists.akopia.com > > From: Ed LaFrance <edl@newmediaems.com> > > Subject: Re: [ic] Re: Paypal > > <51636DCAC862D1119AD700805FA982AD03FA12@aragorn.stryder.com> > > Reply-To: interchange-users@lists.akopia.com > > > > At 05:55 PM 03/22/2001 -0500, you wrote: > > >Quoting David Schnardthorst - Eregion (daves@eregion.org): > > > > I have found a lot of postings concerning integration with > > > > Paypal. However, I have not found anybody yet who has complete > > > > integration. Has this occurred yet, and if so, where can > > > > I get some examples. > > > > > >It is easy to *get to* PayPal, just not so easy to get back. > > > > > >Integrating is as simple as providing a button on the checkout > > >page. But completing the order is at the whim of the buyer, who > > >would have to click the link paypal.com provides on the payment > > >final page. > > > > > >That is the problem with most of the send-them-to-a-website payment > > >providers. > > > > > >Possible workarounds include setting up an email parser that would > > >receive emailed order notifications from PayPal and complete the order, > > >etc. And if by some chance PayPal allows a "silent post" then it > > >can be completed. > > > > > >Unfortunately they appear to have no developer integration links on > > >their website; I have looked (as recently as two days ago) and there > > >is no technical info on how to integrate. > > > > > >Right now there is and can be no module. No one has ever ponied up with > > >consulting dollars to have us integrate one, and there has been no > > >user-integrated module. And without technical info, I won't spend my > > >time working in the dark to do one. > > > > > > > ...I went as far as to contact them, proposing that they consider some > type > > of gateway or "silent post" interface for their services, explaining that > I > > and/or others would most likely hammer out some kind of support for such a > > service in Interchange and put it into the code base. We had a few > > exchanges via email and they collected a slew of data from me (probably > for > > marketing). That was more than two months ago - no word since. I don't > > think they are ready for it right now, or they just don't see the benefit > > to them. > > > > - Ed L. > > > > > > > > > > =============================================================== > > **** Virtual Hosting w/private IC Installation, $65/month! **** > > --------------------------------------------------------------- > > New Media E.M.S. Software Solutions for Business > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > Placerville, CA 95667 edl@newmediaems.com > > (530) 622-9421 http://www.newmediaems.com > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > =============================================================== > > > > > > -- __--__-- > > > > Message: 15 > > From: "Jon Pamment" <916senna@icaust.com> > > To: <interchange-users@lists.akopia.com> > > Subject: RE: [ic] E-Smith > > Date: Fri, 23 Mar 2001 10:23:50 +1100 > > charset="iso-8859-1" > > Reply-To: interchange-users@lists.akopia.com > > > > OOPPPS the guy that did the how to for e-smith is Justin Funke, my > apologies > > to both for that oversight. > > Jon > > > > -----Original Message----- > > From: interchange-users-admin@lists.akopia.com > > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Jon > > Pamment > > Sent: Friday, 23 March 2001 9:13 AM > > To: interchange-users@lists.akopia.com > > Subject: RE: [ic] E-Smith > > > > > > Thanks Dan, a guy buy the name of Luuk from the e-smith list emailed me a > > how to for the installation. If you're interested I'm sure he wont mind me > > forwarding it. > > Thanks for the help > > > > Jon > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > -- __--__-- > > > > Message: 16 > > Date: Thu, 22 Mar 2001 19:00:06 -0500 > > From: Mike Heins <mikeh@minivend.com> > > To: interchange-users@lists.akopia.com > > Subject: Re: [ic] makecat non-interactive? > > Reply-To: mike@minivend.com > > Reply-To: interchange-users@lists.akopia.com > > > > Quoting tzf@tzf.net (tzf@tzf.net): > > > > > > Hi Folks, > > > By way of introduction, my name's Tim and I've been lurking for a while. > > > I'm starting an e-commerce hosting company with a friend. I'm > enthusiastic > > > about Open Source, and hoping Interchange will allow us to base the > > > business on an open source solution, despite some customers' insistance > > > that they want to go with Brand X. > > > > > > My question: I want to run makecat from the command line in a > > > non-interactive mode. i.e. I want to specify all paramters on the > command > > > line, and then have makecat "just do it", sending only error messages to > > > the standard output when necessary. > > > > > > I've been using something like this: > > > > > > makecat --serverconf=blah --servername=blahblah --demotype=construct > ...etc. > > > > > > > Have you tried that? It does indeed work. Try looking at the makecat man > > page ( "perldoc bin/makecat" works as well), it should give you all you > need. > > > > Hint: look at -F parameter. > > > > -- > > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > > > Research is what I'm doing when I don't know what I'm doing. > > -- Wernher Von Braun > > > > > > > > -- __--__-- > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > End of Interchange-users Digest > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > --__--__-- > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > End of Interchange-users Digest > _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: abductor at abductor.com (Master Abductor ) Date: Fri, 23 Mar 2001 00:53:31 -0800 Subject: [ic] Okay, Construct Something is up-- what next? We got our construct something demo installed, with relative ease, thanks largely to Mickey's skill. I'm now reading documentation on how to customize and administer this puppy. Any advice on things to do and things to avoid? Thanks, Greg From: jkohles at redhat.com (Jason Kohles ) Date: Fri, 23 Mar 2001 09:31:04 -0500 Subject: [ic] Re: Paypal On Thu, Mar 22, 2001 at 05:55:48PM -0500, Mike Heins wrote: > Quoting David Schnardthorst - Eregion (daves@eregion.org): > > I have found a lot of postings concerning integration with > > Paypal. However, I have not found anybody yet who has complete > > integration. Has this occurred yet, and if so, where can > > I get some examples. > > It is easy to *get to* PayPal, just not so easy to get back. > > Integrating is as simple as providing a button on the checkout > page. But completing the order is at the whim of the buyer, who > would have to click the link paypal.com provides on the payment > final page. > I have a paypal implementation in perl that I could probably very easily integrate into interchange, as soon as I get moved into my new apartment and get my computers unpacked so I can get at the code... > Possible workarounds include setting up an email parser that would > receive emailed order notifications from PayPal and complete the order, > etc. And if by some chance PayPal allows a "silent post" then it > can be completed. > > Unfortunately they appear to have no developer integration links on > their website; I have looked (as recently as two days ago) and there > is no technical info on how to integrate. > They do have an API that allows you to tell the paypal server to post a response back to you once the transaction is completed, so that you know the customer has paid whether they return to your site afterward or not. I don't know why they refuse to put the implementation information on their website, but it does exist. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: tintones at hotmail.com (Marcelo F. De Paula ) Date: Fri, 23 Mar 2001 15:06:20 Subject: [ic] Encrypt entire order - Problem Hello list, I runnning IC 4.6.1. I using GPG to encrypt the order and it's running okay. The problem is that when I receive the order by e-mail only the credit card is encrypted, the user information and product purchased aren't. If i open the store/order/oderder_file, the order is all encrypted but in the e-mail only the credit card info is encrypted. Is there a possible to receive all the order encrypted by e-mail? And which configuration should i do to make it possible? Thank you in advance and best regards, Marcelo F. De Paula _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From: george at halescreative.com (George Loch ) Date: Fri, 23 Mar 2001 09:29:46 -0700 Subject: [ic] MYsql? How many folks have taken the construct demo and converted it to a mysql DB instead of the flat file? What is the procedure other than by hand? Thanks GL From: edl at newmediaems.com (Ed LaFrance ) Date: Fri, 23 Mar 2001 08:35:00 -0800 Subject: [ic] Grabbing a web page content using LWP::Simple At 07:11 PM 03/22/2001 -0800, you wrote: >At 12:46 PM 3/22/2001 -0500, you wrote: >>I have found the problem and it was crazy. I was trying to get-url on a >>page within minivend on the same machine I was running the get-url usertag. >>Whenever I tried another machine the page came in perfectly. However, when >>I tried again on the same machine running the script and asking for a page >>within minivend, it would hang up again. > >You weren't requesting any pages that called the get-url were you? (It >calls a page that calls a page that calls a page...). Recursive problems >are fun. > >Did anybody else besides me enjoy writing recursive C functions in >Computer Science classes? > >Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > Actually, I think I have found the cause of this - or at least one cause. I get the same behavior when attempting a get_url() for a domain on the same machine, but only if the server is running primary DNS for the domain locally. On other machines which host domains which are resolved by remote DNS, it is not a problem. I have not taken any time to try to determine why this causes a problem, but it is verified and repeatable. The workaround is to use the domains IP address instead of the domain name in the get_url() call; then it works fine regardless. - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: jkohles at redhat.com (Jason Kohles ) Date: Fri, 23 Mar 2001 11:33:48 -0500 Subject: [ic] MYsql? On Fri, Mar 23, 2001 at 09:29:46AM -0700, George Loch wrote: > How many folks have taken the construct demo and converted it to a mysql DB > instead of the flat file? What is the procedure other than by hand? > It should take nothing more than telling makecat to use mysql when you create the catalog, I've always installed it using mysql. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: edl at newmediaems.com (Ed LaFrance ) Date: Fri, 23 Mar 2001 08:45:34 -0800 Subject: [ic] Encrypt entire order - Problem At 03:06 PM 03/23/2001 +0000, you wrote: >Hello list, > >I runnning IC 4.6.1. > >I using GPG to encrypt the order and it's running okay. The problem is that >when I receive the order by e-mail only the credit card is encrypted, the >user >information and product purchased aren't. If i open the >store/order/oderder_file, the order is all encrypted but in the e-mail only >the credit card info is >encrypted. Is there a possible to receive all the order encrypted by e-mail? >And which configuration should i do to make it possible? > This has been asked a scrillion times on this list, I am sure that if you search 'encrypt entire order' in the maillist archives you will find something. Also you can consult the docs: http://developer.akopia.com/cgi-bin/ic/dev/icconfig_132.html - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: Murray at scotweb.ltd.uk (Murray Gibbins ) Date: Fri, 23 Mar 2001 16:52:48 +0000 Subject: [ic] Encrypt entire order - Problem "Marcelo F. De Paula" wrote: > > Hello list, > > I runnning IC 4.6.1. > > I using GPG to encrypt the order and it's running okay. The problem is that > when I receive the order by e-mail only the credit card is encrypted, the > user > information and product purchased aren't. If i open the > store/order/oderder_file, the order is all encrypted but in the e-mail only > the credit card info is > encrypted. Is there a possible to receive all the order encrypted by e-mail? > And which configuration should i do to make it possible? > > Thank you in advance and best regards, > > Marcelo F. De Paula one why would be to change the way to communicates with sendmail and pipe it through pgp there. -- ____ \__/ Murray Gibbins murray@scotweb.ltd.uk / \ Programmer _ \__/ _ ================================================ \\ || // Scotweb Limited, info@scotweb.ltd.uk \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 From: george at halescreative.com (George Loch ) Date: Fri, 23 Mar 2001 10:02:25 -0700 Subject: [ic] MYsql? So I need to make a new catalog in order to switch? It makes sense, I was just hoping for a less involved solution. Lazy again :) GL ----- Original Message ----- From: Jason Kohles <jkohles@redhat.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 23, 2001 9:33 AM Subject: Re: [ic] MYsql? > On Fri, Mar 23, 2001 at 09:29:46AM -0700, George Loch wrote: > > How many folks have taken the construct demo and converted it to a mysql DB > > instead of the flat file? What is the procedure other than by hand? > > > It should take nothing more than telling makecat to use mysql when you create > the catalog, I've always installed it using mysql. > > -- > Red Hat E-Business Solutions Jason Kohles > 11480 Sunset Hills Road Senior System Architect > Reston, VA 20190 jkohles@redhat.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: edl at newmediaems.com (Ed LaFrance ) Date: Fri, 23 Mar 2001 09:09:03 -0800 Subject: [ic] MYsql? At 10:02 AM 03/23/2001 -0700, you wrote: >So I need to make a new catalog in order to switch? It makes sense, I was >just hoping for a less involved solution. Lazy again :) NO, you can just edit the catalog.cfg for your existing catalog: Variable SOMESQL 1 Variable MYSQL 1 #Variable PGSQL #Variable ORACLE Variable SQLDSN dbi:mysql:databasename Variable SQLDB databasename Variable SQLUSER username Variable SQLPASS password Create a database with 'databasename' in mysql and grant all privileges to username@localhost identified by 'password'. Then make the changes to you catalog.cfg (like above) and restart interchange. If all goes well you should see the table creation messages echoed to the screen and the data will be be imported. You can look in yourcat/dbconf/mysql to see the table definition files. You will need to have the proper Perl modules installed before doing any of this - they are listed in the docs for SQL Support. - Ed L. >GL > >----- Original Message ----- >From: Jason Kohles <jkohles@redhat.com> >To: <interchange-users@lists.akopia.com> >Sent: Friday, March 23, 2001 9:33 AM >Subject: Re: [ic] MYsql? > > > > On Fri, Mar 23, 2001 at 09:29:46AM -0700, George Loch wrote: > > > How many folks have taken the construct demo and converted it to a mysql >DB > > > instead of the flat file? What is the procedure other than by hand? > > > > > It should take nothing more than telling makecat to use mysql when you >create > > the catalog, I've always installed it using mysql. > > > > -- > > Red Hat E-Business Solutions Jason Kohles > > 11480 Sunset Hills Road Senior System Architect > > Reston, VA 20190 jkohles@redhat.com > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: jkohles at redhat.com (Jason Kohles ) Date: Fri, 23 Mar 2001 12:21:13 -0500 Subject: [ic] Encrypt entire order - Problem On Fri, Mar 23, 2001 at 04:52:48PM +0000, Murray Gibbins wrote: > "Marcelo F. De Paula" wrote: > > > > I using GPG to encrypt the order and it's running okay. The problem is that > > when I receive the order by e-mail only the credit card is encrypted, the > > one why would be to change the way to communicates with sendmail and pipe it > through pgp there. > Sendmail probably wouldn't appreciate it if you encrypted the headers though. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: joachim.richter at usvideocenter.de (joachim.richter ) Date: Fri, 23 Mar 2001 18:55:35 +0100 Subject: [ic] seti count Does any body know whats wrong with this picture ? here we check in column if there is a Z [seti count][data table = shoes column = suede key = Z ][/seti] here we compare the scratch value, if bigger than 0 show link/pic [if scratch count > 0] [page scan fi=shoes sf=suede se=Z ml=10 ]<img src="__navigation__/dd.gif" border="0">[/page][/if] but it doesnt show the pic ???????? and it seemed so simple or are we overlooking the obvious ? vielen dank (thanks) 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: adi at adis.on.ca (Adi Linden ) Date: Fri, 23 Mar 2001 12:00:42 -0600 (CST) Subject: [ic] Interchange capabilities Hi, I have some questions about interchange. I am looking for an eCommerce solution for a very small catalog, 6 items. I guess Interchange would be overkill unless it is scalable to multiple independent businesses hosted on the same server. So here are my questions: - Can a checkput be done without a customer signing up? I expect a lot of one-time only customers. - Will it scale to multiple independent businesses? Please reply to my email since I am not subscribed to the list! Regards, Adi From: mheins at redhat.com (Mike Heins ) Date: Fri, 23 Mar 2001 13:04:42 -0500 Subject: [ic] Setting message priority on interchange-users messages Be polite, please. NEVER set the urgency to high on mail list messages. It is not polite, and it causes some mail clients (the ever problematical MS Outlook, of course) to send return-receipt messages to the mail list and/or the admin of the mail list. I have received dozens of these in the past weeks, and I don't like it. No mail list message is ever urgent in that way. People who continue to do this will be blocked from the list, and if it persists in general other measures will be taken, which will cause people who MS-Outlook-specific headers to have their messages delayed. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers From: treahy at mmaz.com (Barry Treahy, Jr. ) Date: Fri, 23 Mar 2001 11:47:11 -0700 Subject: [ic] Please ignore test message Interchange test message -- Barry Treahy, Jr * Midwest Microwave * Vice President & CIO E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028 From: edl at newmediaems.com (Ed LaFrance ) Date: Fri, 23 Mar 2001 11:18:53 -0800 Subject: [ic] Minor bug in construct demo - MV_DEFAULT_SEARCHTYPE_DB I noticed that my searches were still defaulting to scanning the source text file, even though MV_DEFAULT_SEARCHTYPE_DB was set to true in my variable database - in fact, the demo is distributed this way. A grep of the IC source revealed the problem: Scan.pm is looking for MV_DEFAULT_SEARCH_DB. I made the change and reconfigured and all is well. - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: dan at mailturtle.com (Dan McFarland ) Date: Fri, 23 Mar 2001 13:29:11 -0600 Subject: [ic] Changing server address... I need to change the server address (to add www.). Where is the file that controls where the variables for the server are that this can be changed in? I tried catalog.cfg, but it doesn't seem to make a difference to the pages even after a restart. Dan M. From: mschick at brightredproductions.com (Matthew Schick ) Date: Fri, 23 Mar 2001 13:39:50 -0600 Subject: [ic] Changing server address... ----- Original Message ----- From: Dan McFarland <dan@mailturtle.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 23, 2001 1:29 PM Subject: [ic] Changing server address... > I need to change the server address (to add www.). Where is the file that > controls where the variables for the server are that this can be changed in? > I tried catalog.cfg, but it doesn't seem to make a difference to the pages > even after a restart. > > Dan M. > If you make the change in the catalog.cfg you have to uncomment the line, i.e. remove the '#' at the beginning of the line. You can also change it in the Administration section under preferences... Hope this helped Matt > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Fri, 23 Mar 2001 12:09:03 -0800 Subject: [ic] Changing server address... > I need to change the server address (to add www.). Where is the file that > controls where the variables for the server are that this can be changed in? > I tried catalog.cfg, but it doesn't seem to make a difference to the pages > even after a restart. > Hey Dan, If you are able to login to the admin panel, go to 'Administration'->'Knar' and the following variables contain the server name: SERVER_NAME SECURE_SERVER SAMPLE_URL Take it easy. -Ron From: joachim.richter at usvideocenter.de (joachim.richter ) Date: Fri, 23 Mar 2001 21:58:30 +0100 Subject: [ic] http://demo.akopia.com/cgi-bin/iccvsro/expired.html We encountered a very strange problem. on the construct demo, using the IE 5 while trying to buy a product on the results page we get linked to the following http://demo.akopia.com/cgi-bin/iccvsro/expired.html using the Netscape we encouter no prob at all. since we expirience the same problem on our site, is there anything on can do about it ? regards joe ff US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: mikeh at minivend.com (Mike Heins ) Date: Fri, 23 Mar 2001 16:29:53 -0500 Subject: [ic] Please ignore test message Quoting Barry Treahy, Jr. (treahy@mmaz.com): > Interchange test message Dear Barry, I think you know better than this. 8-) -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: res087jh at verizon.net (Dan Garwood ) Date: Fri, 23 Mar 2001 13:15:55 -0500 Subject: [ic] Setting message priority on interchange-users messages I did not think i had mine set Mike I am sorry and I cant find where it is set at. I just use this piece of junk to gether email messeages. I looked and It is not, set unles I set it by accidnet -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Mike Heins Sent: Friday, March 23, 2001 1:05 PM To: Interchange User List Subject: [ic] Setting message priority on interchange-users messages Be polite, please. NEVER set the urgency to high on mail list messages. It is not polite, and it causes some mail clients (the ever problematical MS Outlook, of course) to send return-receipt messages to the mail list and/or the admin of the mail list. I have received dozens of these in the past weeks, and I don't like it. No mail list message is ever urgent in that way. People who continue to do this will be blocked from the list, and if it persists in general other measures will be taken, which will cause people who MS-Outlook-specific headers to have their messages delayed. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: mikeh at minivend.com (Mike Heins ) Date: Fri, 23 Mar 2001 16:45:33 -0500 Subject: [ic] Minor bug in construct demo - MV_DEFAULT_SEARCHTYPE_DB Quoting Ed LaFrance (edl@newmediaems.com): > > I noticed that my searches were still defaulting to scanning the source > text file, even though MV_DEFAULT_SEARCHTYPE_DB was set to true in my > variable database - in fact, the demo is distributed this way. A grep of > the IC source revealed the problem: Scan.pm is looking for > MV_DEFAULT_SEARCH_DB. I made the change and reconfigured and all is well. Thanks, Ed. We will fix this in the demo (the code will stay the same, as it was not documented). -- 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: treahy at mmaz.com (Barry Treahy, Jr. ) Date: Fri, 23 Mar 2001 15:09:40 -0700 Subject: [ic] Please ignore test message My apologies, There was an unusal set of circumstances that has transpired since March 20. My ISP was acquired by another, they went bankrupted and the original owners of my ISP attempted to pull the assets and IP blocks back due to lack of payment but these were awarded to another company by bankruptacy court. Long story short, my domains were hi-jacked for the past several days and they were just fixed this early this AM. I have about 8 lists that I subscribe to and regrettably, this was the simplest manner to determine if I had been bounced from the list since no traffic has passed after three hours after of having the domain restored. Sorry about the 'junk' mail. Regards, Barry Mike Heins wrote: > Quoting Barry Treahy, Jr. (treahy@mmaz.com): > > Interchange test message > > Dear Barry, > > I think you know better than this. 8-) > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > Nature, to be commanded, must be obeyed. -- Francis Bacon -- Barry Treahy, Jr * Midwest Microwave * Vice President & CIO E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028 From: support at integricity.com (Alex Lam ) Date: Sun, 25 Mar 2001 07:37:47 +0800 Subject: [ic] Re: Paypal Jason, When you do get to your new apartment, I'd appreciate it if you could send me the PayPal integration procedure and relevant code. Thanks a lot, dude. Best regards, Alex Lam From: db at cyclonehq.dnsalias.net (Dan B ) Date: Fri, 23 Mar 2001 15:21:04 -0800 Subject: [ic] http://demo.akopia.com/cgi-bin/iccvsro/expired.html At 09:58 PM 3/23/2001 +0100, you wrote: >We encountered a very strange problem. > >on the construct demo, using the IE 5 while trying to buy a product on the >results page > >we get linked to the following > >http://demo.akopia.com/cgi-bin/iccvsro/expired.html > >using the Netscape we encouter no prob at all. > > >since we expirience the same problem on our site, is there anything on >can do about it ? It works for me. And you didn't exactly provide a plethora of information. Have you tried IE 5.01? IE 4? Another computer? Win2k? Etc., etc. Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: ary at communicationfactory.com (Young Family ) Date: Wed, 21 Mar 2001 15:30:12 -0800 Subject: [ic] Wholesale vs Retail Thank you! ----- Original Message ----- From: "Dan Garwood" <res087jh@verizon.net> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 22, 2001 10:31 PM Subject: RE: [ic] Wholesale vs Retail > Allen, > > Look in your catalog.cfg file about 3/4 of the way through and you will see > a nice paragrapg descirbing how to actually make it happen. IC has this by > defualt. You have to make dealers or wholesalers have a 1 in a field in the > userdb and that will allow wholesale prices to be displayed. > > Dan Garwood > E-Profit Designs > > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Young > Family > Sent: Tuesday, March 20, 2001 8:41 PM > To: interchange-users@lists.akopia.com > Subject: [ic] Wholesale vs Retail > > > Hello > How have you all been managing selling at wholesale vs selling at retail? > I want to use the same shopping cart, and depending upon the user's > category, show him wholesale prices or retail prices. Is this possible? > Alan Young > ary@communicationfactory.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: abductor at abductor.com (Master Abductor ) Date: Fri, 23 Mar 2001 15:42:21 -0800 Subject: [ic] Re: Paypal Ditto! -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Alex Lam Sent: Saturday, March 24, 2001 3:38 PM To: interchange-users@lists.akopia.com Subject: Re: [ic] Re: Paypal Jason, When you do get to your new apartment, I'd appreciate it if you could send me the PayPal integration procedure and relevant code. Thanks a lot, dude. Best regards, Alex Lam _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: jkohles at redhat.com (Jason Kohles ) Date: Fri, 23 Mar 2001 18:37:48 -0500 Subject: [ic] Re: Paypal On Sun, Mar 25, 2001 at 07:37:47AM +0800, Alex Lam wrote: > > When you do get to your new apartment, I'd appreciate it if you could send > me the PayPal integration procedure and relevant code. > Well, I'm going to be moving in on monday, but I just found out that my furniture (and my computers) won't be arriving until next monday, so it will be at least that long before I have access to any code I can share. I did find a copy of the integration document though, and I put it up at http://www.jasonkohles.com/ipn.html if anybody wants to take a look, its a fairly simple implementation. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: malcolmw at upshot.com (Webb, Malcolm ) Date: Fri, 23 Mar 2001 15:46:27 -0800 Subject: [ic] Directive ProductFiles returned default setting error Hi- I'm sending this so that it will be searchable in the mail archives... ----------------------------------------------- I JUST SPENT SEVERAL HOURS TRYING TO FIGURE OUT WHY THE CATALOG BUILT BY THE MAKECAT SCRIPT WAS NOT WORKING AND HAVE THIS ADVICE... I would advise people to NOT answer yes when prompted by the makecat script to have a catalog run as a user other than the interchange user. I ran the makecat script, and everything seemed to go fine. All required software components (IC, Postgres, the CPAN Bundle::Interchange, Postgres DBI and DBD drivers) had been installed correctly and tested prior to running makecat. But after makecat finished, IC was unable to start my new catalog - I kept getting this error: Directive ProductFiles returned default setting error: No default search file! > In line 0 of the configuration file '': > ActionMap ui_edit <<EOR I searched thru the mail archives where I saw that many people had encountered this same problem. Several fixes were suggested, but none of them worked for me. What finally solved the problem for me? Changing the ownership of my catalog files to run as the interchange user (interch) allowed the catalog to start and run without errors. So to save yourself some grief, just accept the makecat defaults. ------------------------------------- =========================================== Malcolm Webb =========================================== From: lmorley at flexihost.com (LM ) Date: Fri, 23 Mar 2001 18:59:49 -0800 Subject: [ic] default_db/*.dbm files Does anyone know of a spot where the contents of the .dbm files in default_db are documented? default_db/products.dbm contains the keywords "HOT" and "INDEX"; it seems to be the only one of the .dbm files that contains those particular keywords. I can't find them documented anywhere, and was wondering exactly what they did, if there were others, etc. Thanks, Larry From: edl at newmediaems.com (Ed LaFrance ) Date: Fri, 23 Mar 2001 16:24:35 -0800 Subject: [ic] Usertag encrypt Here is another goodie for the community - Usertag encrypt - for the encryption of arbitrary data within Interchange catalog pages, for emailing, database storage, etc. Just think of all the fun you could have, playing secret agent man :-) - Ed L. P.S. Best installed at the server level. Might work at the catalog level if the catalog in question is listed in AllowGlobal in interchange.cfg, but I have not tried it. # # UserTag encrypt - see documentation for more information # # Copyright 2001 by Ed LaFrance <edl@newmediaems.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public # License along with this program; if not, write to the Free # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA. Usertag encrypt Order cmd Usertag encrypt HasEndTag 1 Usertag encrypt Interpolate 1 Usertag encryp Documentation <<EOD usage: [encrypt cmd='/usr/bin/encryptprog -opts key'*]Stuff to encrypt[/encrypt] * = optional parameter Allows the encryption of arbitrary data. The [encrypt][/encrypt] pair can be surrounded with [seti name][/seti] to store the results in a scratch variable, written to a database field, emailed etc. The cmd parameter is optional and can be used to specify a encryption command specifically for use with this tag; otherwise the value from the EncryptProgram or PGP catalog directives will be used. EOD Usertag encrypt Routine <<EOR sub { my ($cmd, $body) = @_; return 'Need something to encrypt!' unless $body; $cmd = $Config->{EncryptProgram} || $Vend::Cfg->{PGP} unless $cmd; return 'No encryption command found!' unless $cmd; my $name = $Tag->data('session', 'id'); my $fpre = $Vend::Cfg->{ScratchDir} . "/pgp.$name"; open(PGP, "|$cmd >$fpre.out 2>$fpre.err") or die "Couldn't fork: $!"; print PGP $body; close PGP; if($?) { my $err = Vend::Util::readfile("$fpre.err"); return '<b>Encrypt failed:</b><br>' . $err; } $body = Vend::Util::readfile("$fpre.out"); unlink "$fpre.out"; unlink "$fpre.err"; return $body; } EOR =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: db at cyclonehq.dnsalias.net (Dan B ) Date: Fri, 23 Mar 2001 16:53:06 -0800 Subject: [ic] Usertag encrypt Ed, Thanks for the contribution, it is much appreciated! (And used). Quick question: >usage: [encrypt cmd='/usr/bin/encryptprog -opts key'*]Stuff to >encrypt[/encrypt] It seems that this might be useful for more general purposes as well. E.g. cmd='/usr/bin/spell' to spell check a block of text, and return the results to a [seti]. Perhaps two things could happen: o One could derive a more general purpose usertag that ran any given command on some text. It could be called [exec], [globify], [transform], or something like that. o For security, one might derive a [encrypt] that doesn't take options or a key, but uses preset options from catalog.cfg. (also, 'encryp' was misspelled on the << documentation line) Thanks again Ed! Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: edl at newmediaems.com (Ed LaFrance ) Date: Fri, 23 Mar 2001 17:17:27 -0800 Subject: [ic] Usertag encrypt At 04:53 PM 03/23/2001 -0800, you wrote: >Ed, > >Thanks for the contribution, it is much appreciated! (And used). Quick >question: > >>usage: [encrypt cmd='/usr/bin/encryptprog -opts key'*]Stuff to >>encrypt[/encrypt] > >It seems that this might be useful for more general purposes as >well. E.g. cmd='/usr/bin/spell' to spell check a block of text, and >return the results to a [seti]. Perhaps two things could happen: > >o One could derive a more general purpose usertag that ran any given >command on some text. It could be called [exec], [globify], [transform], >or something like that. Sounds good to me. Most of what I do, and contribute, is the result of solving a problem for myself or a client - if someone else with a little more time to spare gets inspired, more power to them, they have my blessing to re engineer as they see fit - that's what open source is all about (FYI - Most of [encrypt] is a straight copy of the IC encrypt routine in Order.pm, modified to make sense as a usertag). >o For security, one might derive a [encrypt] that doesn't take options or >a key, but uses preset options from catalog.cfg. ...it was actually for the enhancement of security that I allowed it. For instance, one email, file, data record, etc could contain different pieces of data encrypted by various separate keys, precisely for reasons of security, controlling who can see what etc. >(also, 'encryp' was misspelled on the << documentation line) Oops! Thanks for catching that - hopefully some good Samaritan will add the 't' before putting it in the usertag library. - Ed L. >Thanks again Ed! > >Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: jon at akopia.com (Jon Jensen ) Date: Fri, 23 Mar 2001 20:19:59 -0600 (CST) Subject: [ic] Interchange 4.6.4 now available Interchange 4.6.4 is now available. This is the latest release in Interchange's stable branch of development. Changes in this version include: (1) Fixed an important security problem in the default installation of the demo catalogs. Please see the advisory for details: http://lists.akopia.com/pipermail/interchange-announce/2001/000009.html (2) Added the excellent Apache module mod_interchange, written by Francis J. Lacoste of iNsu Innovations Inc. It can be used instead of the standard vlink or tlink programs to connect Apache to Interchange. (3) Several minor bugfixes. Interchange 4.6.4 can be downloaded in several different package formats: * the standard gzipped tar distribution * an RPM for Red Hat Linux 6 and Linux-Mandrake * an RPM for Red Hat Linux 7 * Debian GNU/Linux packages See the Interchange developer site at: http://developer.akopia.com/ From: db at cyclonehq.dnsalias.net (Dan B ) Date: Fri, 23 Mar 2001 18:44:28 -0800 Subject: [ic] Interchange 4.6.4 now available >(2) Added the excellent Apache module mod_interchange, written by Francis >J. Lacoste of iNsu Innovations Inc. It can be used instead of the standard >vlink or tlink programs to connect Apache to Interchange. Has anyone benchmarked this? (Even anecdotally?) (anecdotally *is* a word, BTW) >Interchange 4.6.4 is now available. Great work, Red Hat. On a related note, my last attempt at extracting the release date (or month) for 4.7.x didn't work. Specifically, it would be nice to know when to start designing production sites on 4.7.x, e.g. if one *needed* some of the new features in 4.7.x, and knew that it was going stable in a few weeks. When will IC developers start doing any production sites on 4.7.x? (Now? 4.7.5?) Sorry I pester about these things because I'm struggling with: "Do I risk the site on beta software for feature xyz that I *really* need?" Thanks again for great software, everyone. Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: doug at lathi.net (Doug Alcorn ) Date: 23 Mar 2001 23:53:34 -0500 Subject: [ic] Interchange 4.6.4 now available Dan B <db@cyclonehq.dnsalias.net> writes: > >(2) Added the excellent Apache module mod_interchange, written by Francis > >J. Lacoste of iNsu Innovations Inc. It can be used instead of the standard > >vlink or tlink programs to connect Apache to Interchange. > > Has anyone benchmarked this? (Even anecdotally?) (anecdotally *is* > a word, BTW) I'm using mod_interchange. I'm not sure it's that much of a performance boost. What it saves you is the instantiation time of the t/vlink executable. I guess it's removing a layer out of the communications as well. I think it simplifies security (no setuid cgi scripts). IMHO it makes the setup of apache cleaner. It's much more obvious what you're doing in the httpd.conf when you setup a directory as interchange-hander instead of just generic ScriptAlias. But, don't take my spin on performance as gospel. I've not done any benchmarking (in fact, I don't know how to benchmark web apps). However, originally I was trying to run IC on a sparc IPX (a 40MHz plain ol' sparc chip) with 64MB RAM. It was very slow. I switched over to mod_interchange hoping it would buy me _something_. It did get me some performance gain (just because instantiating a new interchange process was so heavy for that box). My page load times went from 30 seconds per page to about 20 - 25 seconds per page. It wasn't enough to let me stay on that box! As I said, this isn't a benchmark. I doubt if you have a dual pentium box with 128MB+ RAM you will see a 33% gain in performance. Anyway, you asked for anecdotes and I'm giving you mine. :) -- (__) Doug Alcorn <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: support at mediaservices.net (MediaServices Network ) Date: Fri, 23 Mar 2001 23:26:21 -0600 Subject: [ic] Country name on report OK, I have tried every combination of [data table=country column=name code=[value country]] in the email receipts. Nothing produces the actual country name and not the country code. Any solutions? TIA From: davew at webmast.com (Dave 'Duke of URL' Weiner ) Date: Sat, 24 Mar 2001 00:37:52 -0500 Subject: [ic] Interchange 4.6.4 now available > (2) Added the excellent Apache module mod_interchange, written by Francis > J. Lacoste of iNsu Innovations Inc. It can be used instead of the standard > vlink or tlink programs to connect Apache to Interchange. I finally took the plunge, and downloaded the Interchange tarball to my development box. Now, maybe I'm missing something, but I can't seem to find mod_interchange in the 4.6.4 source distribution, or in the /usr/local/interchange install directory.... Greping for mod_interchange only in the source directories only finds a mention of it in the what's new file. So, where is it?? Dave From: db at cyclonehq.dnsalias.net (Dan B ) Date: Fri, 23 Mar 2001 21:41:43 -0800 Subject: [ic] Country name on report At 11:26 PM 3/23/2001 -0600, you wrote: >OK, I have tried every combination of > >[data table=country column=name code=[value country]] > >in the email receipts. Nothing produces the actual country name and not the >country code. Do you mean that it *does* display in some places, but not in the email receipts? Then just [seti country_name][data table=country column=name code=[value country]][/seti] where it does work, then [scratch country_name] in your email receipt. You might be hitting an "order of operations" thing. You may need [value name="country"] or [data interpolate=1 ...] (Sorry, I'm just shooting in the dark here...) Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: ary at communicationfactory.com (Young Family ) Date: Wed, 21 Mar 2001 21:54:18 -0800 Subject: [ic] Configuration management of store front (am I the only one that needs this) Hello Nobody answered my question, am I the only one that has need for this? I will try this again to see if I get any takers... What if I want to work on a "pending" store with proposed changes and then when the boss says it is okay, flip a switch and it is now the live copy? I need to flip flop between copies so that there is always a "live shop" and a "proposed next version" shop? I am thinking that I just copy the live directory to a backup directory, and then that is that, but what problems will I come against? How do I keep the sales records rolling forward, but the catalog and web site content managed by a "flip-flop" type approach? What tables should always keep moving forward?. In other words, using the "Akopia Three Tiered Approach" Technical Implementor Site Designer Store Administrator The site designer wants to work on a proposed site and see it functioning in a test mode before it is posted live. The we want to flip a switch and see the new content go public, ans start working on a new version offline again The store administrator does NOT want to go back and lose sales records, so there is no "configuration management" need for him. The technical implementor (poor old me) is trying to figure out how to make this happen. Can the many Interchange tables be identified as to their function and split out so that a version control/configuration management type system could be put in place? If this content configuration management feature were put in to place, this system would rival the Vignette Story Server big boys. What is the scope of a project that would add these features? Alan Young ary@communicationfactory.com From: jcarnahan at networq.com (Jeff Carnahan ) Date: Fri, 23 Mar 2001 21:59:51 -0800 Subject: [ic] Interchange 4.6.4 now available }(2) Added the excellent Apache module mod_interchange, written by Francis }J. Lacoste of iNsu Innovations Inc. It can be used instead of the standard }vlink or tlink programs to connect Apache to Interchange. } Jon: It looks like this didn't make it into the distribution (no mod_interchange directory in dist/src) .. although I do see it in CVS .. The README file indicates that the only changes made from mod_minivend was renaming instances of "Minivend" to "Interchange"... So no additional functionality has been added at this point? And for those of you interested, YES it will increase performance. If you are using a standard CGI executable for handling IC requests, your webserver is allocating resources, forking and then executing that cgi program. Once finished it needs to clean up what's left (properly terminate the process) and reclaim the resources it was given/used. This causes quite a slowdown when you have any significant level of traffic. Moving the functionality of the basic cgi script needed to communicate with IC into a Apache module significantly increases speed because no resources need to be allocated or a process forked. Apache can communicate directly with the running IC process. -- Jeff Carnahan - jcarnahan@networq.com From: chc at mninter.net (Curt Hauge ) Date: Sat, 24 Mar 2001 00:43:51 -0600 Subject: [ic] Spreadsheet edit in admin displays incorrectly Hi list, 4.6.3 tarball, Perl 5.005, Linux Mandrake 6.0, Construct, default DB Anyone seen this? In the Admin UI in Preferences under any category (this example is Item Display) the spreadsheet edit function displays in many columns and three rows: code UI_ITEM_BREAK UI_ITEM_FIELDS etc. etc... variable image size sku description category price image display comment size color weight pref_group Item display Item display instead of like it should be, three columns and many rows: code variable pref_group UI_ITEM_BREAK image size Item display UI_ITEM_FIELDS sku description Item display category price image display comment size color weight etc. etc... It acts like the tabs are messed up in variables.txt but I've checked the data and everything looks great in the Knar editor. All other displays in the Admin UI are fine. This happens in two test catalogs (of two) on the same server. Nothing appears in either of the error logs or in archives relating to this same problem, spread.html, spreadsheet, preferences, or knar. I swear I have even seen this spreadsheet work after a restart of the server on one or two occassions, but I may be mistaking it for the Knar editor...hints, tips, suggestions? Thanks in advance, anyone. Curt Hauge From: tony at leedsnet.com (Tony Crooks ) Date: Sat, 24 Mar 2001 12:31:47 gmt Subject: [ic] Sales Tax - how to set the VAT (UK) Hi, I would like to know how to set the VAT so it is calculated on to the shopping cart and prices displayed @17.5% for all orders in the UK. I have looked on the website (developer resources) at: http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=reference14%2e07 but the answers there don't make much sense to me. Please can anyone send the information on how to achieve this that is simple to understand. Kind regards, A stumped trevor barrett. -- LeedsNet.com - The information resource for Leeds and the surrounding region < URL:http://www.leedsnet.com/ > From: support at mediaservices.net (MediaServices Network ) Date: Sat, 24 Mar 2001 09:22:54 -0600 Subject: [ic] Country name on report Thanks Dan, But is was never displayed anywhere else so I did not seti it I solved by; Country: [loop option=country search=" fi=country sf=code st=db se=[value country] rf=code,name ml=1 "][loop-code] : [loop-data country name] [/loop] And all is well in order land. Thank You Russ Smith MediaServices Network, Inc -------------------------------------------- -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Dan B Sent: Friday, March 23, 2001 11:42 PM To: interchange-users@lists.akopia.com Subject: Re: [ic] Country name on report At 11:26 PM 3/23/2001 -0600, you wrote: >OK, I have tried every combination of > >[data table=country column=name code=[value country]] > >in the email receipts. Nothing produces the actual country name and not the >country code. Do you mean that it *does* display in some places, but not in the email receipts? Then just [seti country_name][data table=country column=name code=[value country]][/seti] where it does work, then [scratch country_name] in your email receipt. You might be hitting an "order of operations" thing. You may need [value name="country"] or [data interpolate=1 ...] (Sorry, I'm just shooting in the dark here...) Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: mikeh at minivend.com (Mike Heins ) Date: Sat, 24 Mar 2001 11:38:06 -0500 Subject: [ic] Configuration management of store front (am I the only one that needs this) Quoting Young Family (ary@communicationfactory.com): > What if I want to work on a "pending" store with proposed > changes and then when the boss says it is okay, flip a switch and it is now > the live copy? I need to flip flop between copies so that there is always a > "live shop" and a "proposed next version" shop? I am thinking that I just > copy the live directory to a backup directory, and then that is that, but > what problems will I come against? How do I keep the sales records rolling > forward, but the catalog and web site content managed by a "flip-flop" type > approach? What tables should always keep moving forward?. > > In other words, using the "Akopia Three Tiered Approach" > > Technical Implementor > Site Designer > Store Administrator > > The site designer wants to work on a proposed site and see it functioning in > a test mode before it is posted live. The we want to flip a switch and see > the new content go public, ans start working on a new version offline again > > The store administrator does NOT want to go back and lose sales records, so > there is no "configuration management" need for him. > > The technical implementor (poor old me) is trying to figure out how to make > this happen. > > Can the many Interchange tables be identified as to their function and split > out so that a version control/configuration management type system could be > put in place? > > If this content configuration management feature were put in > to place, this system would rival the Vignette Story Server big boys. > > What is the scope of a project that would add these features? Pretty large. The key is the definiton. Interchange is so flexible that it is hard to constrain it to a form where you do this with a button. I think if you designed a catalog from the ground up to allow this then you could. But it would require discipline to stay within that framework. After having done this many times, my suggestions are: 1. Identify the files that make up the new content. These usually include the pages/ directory, order/login/form profiles in etc/, the receipt in etc/, and the databases. 2. Keep your log and session files in a separate set of directories. 3. Have two database DSNs, one for changing tables like orderline/transactions/userdb and one for the static product information. Inventory, if you have it, might be kept in the orderline/transaction area. That way, when you make the switchover, you can keep the table names the same without having to do anything but switch the base DSN. 4. Keep all growable files in separate directories. 5. Keep counter files in the logs/ directory with the growable files. (We don't do this in the demo.) Once you have done this, it is a question of building a script that saves the old, copies the appropriate directories over the old, and restarts. The reason we have never done this in a canned fashion is that it is so easy for people to break by using Interchange in a way that doesn't fit those definitions. If we purported to do the switchover and a variance corrupted their data, we would feel responsible. There is a price to flexibility, and this is one of the line items to that price. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: jon at akopia.com (Jon Jensen ) Date: Sat, 24 Mar 2001 10:45:08 -0600 (CST) Subject: [ic] Interchange 4.6.4 now available On Fri, 23 Mar 2001, Jeff Carnahan wrote: > It looks like this didn't make it into the distribution (no > mod_interchange directory in dist/src) .. although I do see it in CVS Boy, a silly mistake. I forgot to update the MANIFEST to include the mod_interchange files in the packages. That was the only thing wrong, and Interchange itself wasn't affected at all, so I've simply uploaded a new set of 4.6.4 packages with the dist/src/mod_interchange directory included. If you're missing mod_interchange and want to use it, download the newer package. If you're not using it, there's no difference. Sorry for overlooking that! Note that mod_interchange is not used by the installer; it is in the enhancement category with mod_perl_tlink and the other alternative link programs. They need to be set up separately, by hand. > The README file indicates that the only changes made from mod_minivend > was renaming instances of "Minivend" to "Interchange"... So no > additional functionality has been added at this point? Nope, it's mostly the same. Actually, we don't have much planned for it in the immediate future, as it already works well. If you have any suggestions, feel free to let us know, or submit your own code if you improve it yourself. Jon From: mikeh at minivend.com (Mike Heins ) Date: Sat, 24 Mar 2001 11:50:01 -0500 Subject: [ic] Spreadsheet edit in admin displays incorrectly Quoting Curt Hauge (chc@mninter.net): > Hi list, > > 4.6.3 tarball, Perl 5.005, Linux Mandrake 6.0, Construct, default DB > > Anyone seen this? In the Admin UI in Preferences under any category (this example is Item Display) the spreadsheet edit function displays in many columns and three rows: It looks like it is set up as a "table to rotate". The spreadsheet can be rotated in certain circumstances, but I am not sure that is used any more. I don't know how your $Values->{ui_tables_to_rotate} got set, for I didn't think I did that anywhere nowadays. You can stop this behavior by just removing the two lines in UI/pages/admin/spread.html that have [rotate-table ...] and [/rotate-table]. The spreadsheet page is one of the cruftiest things left in Interchange, and I have waffled between overhauling it and removing it. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Experience is what allows you to recognize a mistake the second time you make it. -- unknown From: db at cyclonehq.dnsalias.net (Dan B ) Date: Sat, 24 Mar 2001 09:49:21 -0800 Subject: [ic] Configuration management of store front (am I the Mike, Alan: At 11:38 AM 3/24/2001 -0500, you wrote: >Quoting Young Family (ary@communicationfactory.com): > > What if I want to work on a "pending" store with proposed > > changes and then when the boss says it is okay, flip a switch and it is now > > the live copy? I need to flip flop between copies so that there is > always a > > "live shop" and a "proposed next version" shop? I am thinking that I just > > copy the live directory to a backup directory, and then that is that, but > > what problems will I come against? How do I keep the sales records rolling > > forward, but the catalog and web site content managed by a "flip-flop" type > > approach? What tables should always keep moving forward?. > > > > In other words, using the "Akopia Three Tiered Approach" > > > > Technical Implementor > > Site Designer > > Store Administrator > > > > The site designer wants to work on a proposed site and see it > functioning in > > a test mode before it is posted live. The we want to flip a switch and see > > the new content go public, ans start working on a new version offline again > > > > The store administrator does NOT want to go back and lose sales records, so > > there is no "configuration management" need for him. > > > > The technical implementor (poor old me) is trying to figure out how to make > > this happen. > > > > Can the many Interchange tables be identified as to their function and > split > > out so that a version control/configuration management type system could be > > put in place? > > > > If this content configuration management feature were put in > > to place, this system would rival the Vignette Story Server big boys. > > > > What is the scope of a project that would add these features? > >Pretty large. The key is the definiton. > >Interchange is so flexible that it is hard to constrain it to a form >where you do this with a button. I think if you designed a catalog >from the ground up to allow this then you could. But it would require >discipline to stay within that framework. > >After having done this many times, my suggestions are: > > 1. Identify the files that make up the new content. These usually > include the pages/ directory, order/login/form profiles in > etc/, the receipt in etc/, and the databases. > > 2. Keep your log and session files in a separate set of > directories. > > 3. Have two database DSNs, one for changing tables like > orderline/transactions/userdb and one for the static product > information. Inventory, if you have it, might be kept in the > orderline/transaction area. That way, when you make the > switchover, you can keep the table names the same without > having to do anything but switch the base DSN. > > 4. Keep all growable files in separate directories. > > 5. Keep counter files in the logs/ directory with the growable > files. (We don't do this in the demo.) > >Once you have done this, it is a question of building a script that >saves the old, copies the appropriate directories over the old, and >restarts. I do some of this type of thing with CVS: o CVS setup (lots of loginfo hacks to do this...) o Build your catalog, and tag all the files STABLE or something o /var/ic/catalog_stable (tagged STABLE) o Then, copy it to /var/ic/catalog_devel (tagged DEVEL) o Commits that are tagged STABLE: o cvs update /var/ic/catalog_stable/$FILE o Commits that are tagged DEVEL: o cvs update /var/ic/catalog_devel/$FILE o This requires loginfo will be smart enough to go to the right directory to do cvs update $FILE depending on the TAG of the file committed. A customized 'cvs export' works so that even though you are running two catalogs (from one "CVS" filebase, mind you), one could pull the entire set of a given tag into a new catalog ("PRODUCTION"). I'm still looking for a good editor that has CVS built-in, though. (Besides EMACS). >There is a price to flexibility, and this is one of the line items to >that price. Definately a Quotable Quote. That's going in my .sig collection immediately. Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: ary at communicationfactory.com (Young Family ) Date: Thu, 22 Mar 2001 10:49:56 -0800 Subject: [ic] Configuration management of store front (am I the only one that needs this) Hello Of course! CVS is perfect for this purpose! I will get something working and let you all know how it goes. Alan Young aray@communicationfactory.com ----- Original Message ----- From: "Dan B" <db@cyclonehq.dnsalias.net> To: <interchange-users@lists.akopia.com> Sent: Saturday, March 24, 2001 9:49 AM Subject: Re: [ic] Configuration management of store front (am I the only one that needs this) > Mike, Alan: > > At 11:38 AM 3/24/2001 -0500, you wrote: > >Quoting Young Family (ary@communicationfactory.com): > > > What if I want to work on a "pending" store with proposed > > > changes and then when the boss says it is okay, flip a switch and it is now > > > the live copy? I need to flip flop between copies so that there is > > always a > > > "live shop" and a "proposed next version" shop? I am thinking that I just > > > copy the live directory to a backup directory, and then that is that, but > > > what problems will I come against? How do I keep the sales records rolling > > > forward, but the catalog and web site content managed by a "flip-flop" type > > > approach? What tables should always keep moving forward?. > > > > > > In other words, using the "Akopia Three Tiered Approach" > > > > > > Technical Implementor > > > Site Designer > > > Store Administrator > > > > > > The site designer wants to work on a proposed site and see it > > functioning in > > > a test mode before it is posted live. The we want to flip a switch and see > > > the new content go public, ans start working on a new version offline again > > > > > > The store administrator does NOT want to go back and lose sales records, so > > > there is no "configuration management" need for him. > > > > > > The technical implementor (poor old me) is trying to figure out how to make > > > this happen. > > > > > > Can the many Interchange tables be identified as to their function and > > split > > > out so that a version control/configuration management type system could be > > > put in place? > > > > > > If this content configuration management feature were put in > > > to place, this system would rival the Vignette Story Server big boys. > > > > > > What is the scope of a project that would add these features? > > > >Pretty large. The key is the definiton. > > > >Interchange is so flexible that it is hard to constrain it to a form > >where you do this with a button. I think if you designed a catalog > >from the ground up to allow this then you could. But it would require > >discipline to stay within that framework. > > > >After having done this many times, my suggestions are: > > > > 1. Identify the files that make up the new content. These usually > > include the pages/ directory, order/login/form profiles in > > etc/, the receipt in etc/, and the databases. > > > > 2. Keep your log and session files in a separate set of > > directories. > > > > 3. Have two database DSNs, one for changing tables like > > orderline/transactions/userdb and one for the static product > > information. Inventory, if you have it, might be kept in the > > orderline/transaction area. That way, when you make the > > switchover, you can keep the table names the same without > > having to do anything but switch the base DSN. > > > > 4. Keep all growable files in separate directories. > > > > 5. Keep counter files in the logs/ directory with the growable > > files. (We don't do this in the demo.) > > > >Once you have done this, it is a question of building a script that > >saves the old, copies the appropriate directories over the old, and > >restarts. > > I do some of this type of thing with CVS: > > o CVS setup (lots of loginfo hacks to do this...) > o Build your catalog, and tag all the files STABLE or something > o /var/ic/catalog_stable (tagged STABLE) > o Then, copy it to /var/ic/catalog_devel (tagged DEVEL) > o Commits that are tagged STABLE: > o cvs update /var/ic/catalog_stable/$FILE > o Commits that are tagged DEVEL: > o cvs update /var/ic/catalog_devel/$FILE > o This requires loginfo will be smart enough to go to the right directory > to do cvs update $FILE depending on the TAG of the file committed. > > A customized 'cvs export' works so that even though you are running two > catalogs (from one "CVS" filebase, mind you), one could pull the entire set > of a given tag into a new catalog ("PRODUCTION"). > > I'm still looking for a good editor that has CVS built-in, > though. (Besides EMACS). > > >There is a price to flexibility, and this is one of the line items to > >that price. > > Definately a Quotable Quote. That's going in my .sig collection immediately. > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange at dominic.per.sg (Dominic Tey Kek Keong ) Date: Sun, 25 Mar 2001 12:08:12 +0800 Subject: [ic] Will upgrading interchange clobber existing catalogs? Hi, I have quite a number of catalogs done up in interchange-4.6.1 (12 in all) and with this new version of interchange-4.6.4 I would like to upgrade it to take advantage of the security fix as well as mod_interchange among others. My reluctance is having to resusitate the various catalogs if anything goes wrong. OUCH! If there's a better / safer way to do it, I would really appreciate any tips on it. Thanks in advance for any or no help :-) Dominic Tey From: xiaowen at safetopia.com (Xiaowen Wu ) Date: Sat, 24 Mar 2001 22:07:22 -0800 (PST) Subject: [ic] [Q] How to use the user tag in calc Hi, I'm new to interchange, and I have a very simple question, I would like to calculate the shipping fee based on the sub-total, in other word, the shiping fee = subtotal * 0.035, so I put the following into the checkout page: [calc][subtotal]*0.035[/calc] but I cannot can the correct value. What I'm missing ? Thanks in advanced. Best, Wen From: mikeh at minivend.com (Mike Heins ) Date: Sat, 24 Mar 2001 23:48:43 -0500 Subject: [ic] Will upgrading interchange clobber existing catalogs? > Will upgrading interchange clobber existing catalogs? No. Quoting Dominic Tey Kek Keong (interchange@dominic.per.sg): > Hi, I have quite a number of catalogs done up in interchange-4.6.1 > (12 in all) and with this new version of interchange-4.6.4 I would like > to upgrade it to take advantage of the security fix as well as > mod_interchange among others. The security fix is as easy as removing the :backup record from access.asc in your products directory, but the new UserDB module won't allow a login from :backup so that will work too. > > My reluctance is having to resusitate the various catalogs if > anything goes wrong. OUCH! > > If there's a better / safer way to do it, I would really appreciate any > tips on it. > > Thanks in advance for any or no help :-) > You should be able to simply install over the top of your existing 4.6.1 with no impact and no changes necessary. Just tar up a backup of the interchange software directory just in case. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> If you think nobody cares if you're alive, try missing a couple of car payments. -- Earl Wilson From: webmaster at dreward.com (Webmaster at Dreward.com ) Date: Sat, 24 Mar 2001 22:58:06 -0600 Subject: [ic] I know I'm missing something here (shipping problem) I've tried this about 20 times so far on my own server, and I tried probably 5 or 6 times on the akopia.com demo. We have what I would think should be a pretty straight-forward shipping policy. It's a shipping by price formula. If the customer spends between $.01 and $99.99, they get Priority Mail for $5.00. If they spend $100.00 or more, Priority is free. Then they have the options of using Express Mail Overnight: $.01-$99.99 for $20.00, $100.00-$199.99 for $10.00, and more than that they can take Express for free. Now, here's my problem. In my own store, I went into the administration section, into shipping, and deleted the shipping options that were there. I created a new method, called it USPSPriorityMail, and labeled it uspspm. Went through all of the setup on that page, and then went to the shipping options: edit page. There is no label at the top, the start range is showing 0 in an editable box, the end range is (infinity) and is uneditable, number showing in charge type, and 0 in charge amount. I change the start range to 0.01 and the charge amount to 5.00, then click OK. Nothing changes. Do it again, click on finished. Nothing changes. Try to add a new range. Nothing happens. Try to delete the range that is there. Nothing happens. So I decided to do what I did with the products and inventory lists, to save time, and just download the file that it pulls from and edit in that. Except the only file I can find that says anything about shipping is shipping.asc, and it can't be the one I'm wanting because it still has the old Construct Something shipping methods in it. I am completely stumped. Like I said, I've tried on mine and the demo, and I get the same results each time. Could anyone help me with this, please? What am I missing? Thanks so much in advance. bri From: jonc at webmaint.com (Jonathan Clark ) Date: Sun, 25 Mar 2001 12:50:43 +0100 Subject: [ic] Sales Tax - how to set the VAT (UK) > I would like to know how to set the VAT so it is calculated on to > the shopping > cart and prices displayed @17.5% for all orders in the UK. > I have looked on the website (developer resources) at: I do pretty much what the developer site says: in catalog.cfg: SalesTax tax_code this tells ic to use what is in the tax_code value as a reference to the tax to use. and on ord/checkout.html: [perl] $Values->{tax_code} = 'VAT'; return; [/perl] although, equally I suppose I could use: [value name=tax_code set=VAT] Then, the bit which actually sets the tax rate, in the preferences section of the admin interface: TAXAREA: VAT TAXRATE: VAT=17.5 TAXSHIPPING: VAT (alternatively, this can be done through the Tax section in admin) This method, as it is, applies VAT to all shipping locations which has been fine for me as all shops have shipped within the uk only. I am not really clear on vat charges when shipping to other countries as I have never needed to do this. HTH Jonathan Webmaint. From: interchange at dominic.per.sg (Dominic Tey Kek Keong ) Date: Sun, 25 Mar 2001 21:34:48 +0800 Subject: [ic] Will upgrading interchange clobber existing catalogs? On 24 Mar 2001, at 23:48, Mike Heins wrote: > > Will upgrading interchange clobber existing catalogs? > > No. > > Quoting Dominic Tey Kek Keong (interchange@dominic.per.sg): > > Hi, I have quite a number of catalogs done up in interchange-4.6.1 > > (12 in all) and with this new version of interchange-4.6.4 I would like > > to upgrade it to take advantage of the security fix as well as > > mod_interchange among others. > > The security fix is as easy as removing the :backup record from > access.asc in your products directory, but the new UserDB module > won't allow a login from :backup so that will work too. > > > > > My reluctance is having to resusitate the various catalogs if > > anything goes wrong. OUCH! > > > > If there's a better / safer way to do it, I would really appreciate any > > tips on it. > > > > Thanks in advance for any or no help :-) > > > > You should be able to simply install over the top of your existing 4.6.1 > with no impact and no changes necessary. Just tar up a backup of the > interchange software directory just in case. > OK, thanks for the reply, then it shall be so with a tarball or two as backup and crossing my toes at the same time. [ snip Mike's sig ] From: racke at linuxia.de (Stefan Hornburg Racke ) Date: 25 Mar 2001 15:42:52 +0200 Subject: [ic] Spreadsheet edit in admin displays incorrectly Mike Heins <mikeh@minivend.com> writes: > Quoting Curt Hauge (chc@mninter.net): > > Hi list, > > > > 4.6.3 tarball, Perl 5.005, Linux Mandrake 6.0, Construct, default DB > > > > Anyone seen this? In the Admin UI in Preferences under any category (this example is Item Display) the spreadsheet edit function displays in many columns and three rows: > > It looks like it is set up as a "table to rotate". The spreadsheet > can be rotated in certain circumstances, but I am not sure that is > used any more. I don't know how your $Values->{ui_tables_to_rotate} > got set, for I didn't think I did that anywhere nowadays. > > You can stop this behavior by just removing the two lines in > UI/pages/admin/spread.html that have [rotate-table ...] and [/rotate-table]. > > The spreadsheet page is one of the cruftiest things left in > Interchange, and I have waffled between overhauling it and removing > it. I would like to keep it because has proved to be useful for editing related and/or multiple records. Bye Racke -- Alter ego of LinuXia Systems (URL: http://www.linuxia.de), Debian maintainer (e.g. Courier Mail Server suite), Interchange developer; 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: willem at kineticearth.com (willem buitendyk ) Date: Sun, 25 Mar 2001 11:22:04 -0800 Subject: [ic] Creation of user-defined descriptions Oh boy, it looks like I will be going to Interchange school for a while. What an awesome project! Okay my very first question - looking for some general guidance: The products to be sold are herbal formulas that are custom designed by the user. I would like to be able to group items together under a user-defined description that they create themselves by way of form input. So when they buy from a list, all of the items will become attached to the user-defined description and then subsequently recorded on the order-line database. Looking for a direction, Thanks in advance Willem From: hostmaster at readysite.net (Rob Zimmerman ) Date: Sun, 25 Mar 2001 15:08:26 -0500 Subject: RCPT: [ic] Will upgrading interchange clobber exist Confirmation of reading: your message - Date: 25 Mar 01, 12:08 To: Interchange Users <interchange-users@lists.akopia.com> Subject: [ic] Will upgrading interchange clobber existing catalogs? Was read at 15:07, 25 Mar 01. ================================= Robert Zimmerman [rob@readysite.net] IT Manager ReadySite LLC http://readysite.net Ph:888-356-2992 fax:603-356-6990 From: mikeh at minivend.com (Mike Heins ) Date: Sun, 25 Mar 2001 15:28:24 -0500 Subject: RCPT: [ic] Will upgrading interchange clobber exist Quoting Rob Zimmerman (hostmaster@readysite.net): > Confirmation of reading: your message - > > Date: 25 Mar 01, 12:08 > To: Interchange Users <interchange-users@lists.akopia.com> > Subject: [ic] Will upgrading interchange clobber existing catalogs? > > Was read at 15:07, 25 Mar 01. > > ================================= > Robert Zimmerman [rob@readysite.net] > IT Manager > ReadySite LLC > http://readysite.net > Ph:888-356-2992 > fax:603-356-6990 > Dear Rob, Can you explain why your Pegasus mailer did this with these headers: From: "Dominic Tey Kek Keong" <interchange@dominic.per.sg> Organization: dominic in singapore To: Interchange Users <interchange-users@lists.akopia.com> Date: Sun, 25 Mar 2001 12:08:12 +0800 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Message-ID: <3ABDDFAC.16965.768EEA@localhost> X-pmrqc: 1 Priority: normal X-mailer: Pegasus Mail for Win32 (v3.12c) Subject: [ic] Will upgrading interchange clobber existing catalogs? Reply-To: interchange-users@lists.akopia.com Sender: interchange-users-admin@lists.akopia.com Errors-To: interchange-users-admin@lists.akopia.com X-Mailman-Version: 1.1 Precedence: bulk List-Id: Interchange Users (high volume) <interchange-users.lists.akopia.com> What is X-pmrqc: ? Why would Pegasus do a return receipt on a Precedence: bulk message? I am at my wits end on this stuff. I can't stand this kind of thing going to the list. Thanks, Mike -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers From: jojo at blackpoint.de (jojo at blackpoint.de ) Date: Sun, 25 Mar 2001 21:50:30 +0200 (CEST) Subject: [ic] [Q] How to use the user tag in calc On 24 Mar, Xiaowen Wu wrote: > > Hi, I'm new to interchange, and I have a very simple question, I would > like to calculate the shipping fee based on the sub-total, in other word, > the shiping fee = subtotal * 0.035, so I put the following into the > checkout page: > > [calc][subtotal]*0.035[/calc] > > but I cannot can the correct value. What I'm missing ? Thanks in advanced. Try [calc][subtotal noformat=1]*0.035[/calc] Joachim -- -------------<FreeBsd>-------------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: rohlf at life.bio.sunysb.edu (F. James Rohlf ) Date: Sun, 25 Mar 2001 16:10:25 -0500 Subject: [ic] where is [cat-exec] defined? In the construct demo store the following is used several times: [cat-exec bar_link]cat[/cat-exec] Where is cat-exec defined? I don't see it in the documentation. Is it a user defined tag? If so, where is it defined? Thanks, Jim From: doliver at hampshire.edu (Dylan Oliver ) Date: Sun, 25 Mar 2001 15:27:08 -0600 Subject: [ic] where is [cat-exec] defined? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 25 March 2001 15:10, you wrote: > In the construct demo store the following is used several times: > [cat-exec bar_link]cat[/cat-exec] > > Where is cat-exec defined? I don't see it in the documentation. Is it a > user defined tag? If so, where is it defined? > > Thanks, Jim I just searched for it in the list archives last night. Your answer lies therein. - -- Dylan Oliver http://stout.hampshire.edu/~dao99 Global View International http://www.globalview-intl.com Do you know how little you know? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjq+Yq0ACgkQ7U8r0TCZf4E/MACgg5v5xPaoaTRaINrN8EAOnXId c3MAn1VhM3RyB3oojkbJg88zPms+M99x =PSrd -----END PGP SIGNATURE----- From: jonc at webmaint.com (Jonathan Clark ) Date: Sun, 25 Mar 2001 22:16:51 +0100 Subject: [ic] where is [cat-exec] defined? > > In the construct demo store the following is used several times: > [cat-exec bar_link]cat[/cat-exec] > > Where is cat-exec defined? I don't see it in the documentation. > Is it a user > defined tag? If so, where is it defined? no, its a proper tag [loop-exec <code>] the bar_link routine it calls is in catalog_before.cfg Jonathan Webmaint. From: jim at idk-enterprises.com (Jim Balcom ) Date: Sun, 25 Mar 2001 17:09:12 -0500 (EST) Subject: [ic] Setting Up Items I'm trying to modify 'construct something' to my own needs. And, like the Old Maid that is about to get married, I've got a LOT of questions, and no idea of where to start. Here are 2 of the most pressing ones: 1. The help file says that I can set up an almost unlimited number of depths, like creating sub-directories on a hard drive. I'm not seeing how to do this. Assume that on the left side, I have a category of mails. Under that, I want to have 3 categories: common nails, finishing nails, and cement nails. Under common nails, I need to list 4 manufacturers - Comp A, Comp B, Comp C, Comp D. The finishing nails come from 5 different manufacturers, and the cement nails from 3 other manufacturers. Under each of those manufacturers are 6 different sizes, or items. So, there is a top level - NAILS The second level is 'Type of Nails' The third level is 'Brand of nails' The fourth level is the 'Size of Nails' How do I get these areas created and linked? 2. Quantity pricing: Company A puts 100 nails in 1 box, and 10 boxes in a case. Company B puts 150 nails in 1 box, and 5 boxes in a case. Company C puts 500 nails in 1 box, and 2 boxes in a case. Now, I want to price 1 nail at 10 cents for company A, 15 cents for company B, and 5 cents for company C. The box prices will, of course, be different for each company, as will the case prices. >From what I can see, the quantity pricing seems to be locked on to 5, 10, 25, and 100. How do I change this so that each item for sale has it's own quantity for qualifying for a quantity discount, and putting in the appropriate price? Thanks in advance! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter ---------------------------------------------------------------- Tagline for Sunday, March 25, 2001 at 16:45 PM: Spock, you are such a putz! ---------------------------------------------------------------- This Linux System has been up 744 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: hostmaster at readysite.net (Rob Zimmerman ) Date: Sun, 25 Mar 2001 17:33:40 -0500 Subject: RCPT: Re: [ic] Will upgrading interchange clobber e Confirmation of reading: your message - Date: 25 Mar 01, 21:34 To: interchange-users@lists.akopia.com Subject: Re: [ic] Will upgrading interchange clobber existing catalogs? Was read at 15:08, 25 Mar 01. ================================= Robert Zimmerman [rob@readysite.net] IT Manager ReadySite LLC http://readysite.net Ph:888-356-2992 fax:603-356-6990 From: lee at rsub.net (Lee Hoffman ) Date: Sun, 25 Mar 2001 17:44:53 -0500 Subject: [ic] Credit Card Numbers For security reasons I would prefer to not maintain any credit card info on our server or have it sent in email to our fulfillment team. Unfortunately we use cybercash, and when making order returns we need to be able to type in the first and last 4 digits of the cc number. What I would like to do is log a credit card number is the following way #### **** **** #### (where the #s are the actual numbers from the credit card) without screwing up cybercash. From what I can tell, credit card numbers are logged in the following places: orders/order_number etc/tracking.asc email based on etc/report 1) Does anyone how to turn mv_credit_card_info into #### **** **** ####? 2) I know I have to edit etc/report, but how do I change whats printed to orders/order_number and etc/tracking.asc? Thanks in advance, Lee From: denis at cascadia.bc.ca (Denis Heinrichs ) Date: Sun, 25 Mar 2001 16:56:58 -0800 Subject: [ic] shipping.asc file is too big!! Hi, When I was working on my shipping, I encountered this error several times. I did not have any networking problems at the time. I wonder if there is a bug somewhere in the code that writes shipping.asc Denis Heinrichs Jud Harris wrote: > Hey there, > > I had a similar problem last week just before the catalog was going into > production use online - very inconvenient, I must say. Here's my theory on what > happened to me... I was having some packet loss problems between my machine and > the server whilst editing the shipping table via the IC admin interface. My > submits kept failing. I restarted IC a few times. It was horribly slow. My > maching ran out of memory, and I noticed IC was using along the lines of 150MB > of memory. My shipping.asc file had grown to 50mbs, and when I opened it in vi, > it had a HUGE number of "///" in it. Very odd... at the end of the file was > the good shipping data, so I cut the file up to that point. Restarted IC and > all worked well. > > I'm thinking IC went into some type of loop while editing the file due to > network problems and the IC server had choking on such a large file. > > Try nuking the corrupt parts of the shipping.asc file and restarting the IC > server. > > .. .good luck! > -Jud > > ----- Original Message ----- > From: "Thomas N. Stefanidis" <thomas@prometheas.gr> > To: "Interchange Mailing List" <interchange-users@lists.akopia.com> > Sent: Tuesday, March 20, 2001 2:19 PM > Subject: [ic] shipping.asc file is too big!! > > > Hello list, > > I'm trying to make the shipping method. > > But the file is too big.It's 5.6MB! > > My shipping cost is like this : > > 1kg=1250 > > 2kg=1350 > > 3kg=1450 > > (for every kg, 100 drh is added) > > and so on... > > I tried to make something like this > > from 0 to 1=1250 > > from 1 to 2=1350 > > from 2 to 3=1450 > > and so on.... > > but the server started to become too slow... > > then the memory went from 150MB to 1MB!.....i checked the shipping.asc > > file and it was 5.6MB. > > Any ideas why this happend? > > Any ideas how to make the shipping method more simple? > > > > Thank you in advance, > > > > Thomas > > > > > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: jennifer_7412001 at yahoo.com (jennifer_7412001 at yahoo.com ) Date: Sun, 25 Mar 2001 22:27:19 +4300 Subject: [ic] this is horrible You got to check this out, I didnt think it was legal to make a website like this: Http://people.ne.mediaone.net/lordcbr/unspeakable.htm - Jenn _________________________________________ Over TWO MILLION emails have been sent by EzMail. Download your free copy today at http://www.nuvisionnet.net/ezmail.html From: abductor at abductor.com (Master Abductor ) Date: Sun, 25 Mar 2001 19:48:35 -0800 Subject: [ic] this is horrible Pathetic Spam-- Ignore. -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of jennifer_7412001@yahoo.com Sent: Friday, March 23, 2001 7:27 PM To: Interchange-users@lists.akopia.com Subject: [ic] this is horrible You got to check this out, I didnt think it was legal to make a website like this: Http://people.ne.mediaone.net/lordcbr/unspeakable.htm - Jenn _________________________________________ Over TWO MILLION emails have been sent by EzMail. Download your free copy today at http://www.nuvisionnet.net/ezmail.html _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: chc at mninter.net (Curt Hauge ) Date: Sun, 25 Mar 2001 21:48:54 -0600 Subject: [ic] Spreadsheet edit in admin displays incorrectly >Quoting Stefan Hornburg (Racke) >I would like to keep it because has proved to be useful for editing >related and/or multiple records. Yes, it is nice to have a place to go to edit related items, for example, Company Address, Phone, etc. Curt Hauge From: eai at exodus.net (EAI ) Date: Sun, 25 Mar 2001 19:54:33 -0800 Subject: <AUTO> {EAI#041-511}[ic] this is horrible A list of our rules of service may be viewed at: http://www.exodus.net/about_us/rules_and_regulations/index.html#online In some instances, it may be necessary to forward your message to our customer. From past experience, when there is a violation of our rules of service, the violator is a customer of our customer. In order to fully investigate the matter, they will need a full copy of the email message. Exodus is a provider of Internet Ports and Network Management. We do not monitor or control information that is transmitted through us or hosted on our network. For faster resolution, you may contact the site that is advertised or referenced in the message. If it is a site that we appear to host, please use the publically available rwhois information to track which of our customers is responsible. Contacting the customer directly will assure a quick termination of the advertised site or email address used to spam with. If you forward SPAM to us, please keep the subject line intact. If you have any questions or comments, please do not hesitate to contact us. Sincerely, Joshua Darsey, Amir Djavaherian, Debra Hoff Policy Enforcement Specialists Exodus Communications, Inc. 888-2-EXODUS Kathleen Wallace Policy Enforcement Manager Exodus Communications, Inc. 512-997-3984 -----Original Message----- From: jennifer_7412001@yahoo.com [jennifer_7412001@yahoo.com] Sent: Sunday, Mar 25 2001 7:52PM To: abuse@exodus.net [abuse@exodus.net] Subject: [ic] this is horrible You got to check this out, I didnt think it was legal to make a website like this: Http://people.ne.mediaone.net/lordcbr/unspeakable.htm - Jenn _________________________________________ Over TWO MILLION emails have been sent by EzMail. Download your free copy today at http://www.nuvisionnet.net/ezmail.html _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: ryan at whoopersnetwork.com (Ryan ) Date: Mon, 26 Mar 2001 12:23:12 +0800 Subject: [ic] number of items that appear can anyone help me on how to configure the number of items that show up after you click on a catagoy and it gives you a product listing? From: rohlf at life.bio.sunysb.edu (F. James Rohlf ) Date: Mon, 26 Mar 2001 01:37:15 -0500 Subject: [ic] books or other documentation? I am finding the documentation available at http://developer.akopia.com/cgi-bin/ic is not very easy for a beginner. Are there other sources of information (especially for getting started learning how to program with the various IC tags)? I have gone through the tutorial and am studying the construct demo but much is still mysterious. Where I am stuck at the moment is in trying to extend the following code from the construct demo: [box-exec bar_link]area[/box-exec]. That correctly displays the name field from the area database. Now I would like to wrap around that the <A HREF="xxx"></A> HTML tags, where the xxx is another filed in the area database and will be the name of a file in the page directory. On that page I will want to display a particular subset of categories and information about them. Thanks, Jim From: willem at kineticearth.com (willem buitendyk ) Date: Sun, 25 Mar 2001 22:49:49 -0800 Subject: [ic] How do I attach a form variable to basket? On the browse page I would like to display all of my products and have a form input where customers can type in a personal description of the order. i.e. Customer Description Form Input: __________________________ item 1 item 2 item 3 etc. buy list button I would then like this description to stay with the basket until checkout at which point when the Place Order button is pressed that the description be entered into the comments field of the transactions database. Any ideas? Thanks in advance, From: info at ayayu.com (Ayayu Infomation desk ) Date: Mon, 26 Mar 2001 18:41:28 +0900 Subject: [ic] In-MEMORY Database setting Hi all, Is there anyone use MEMORY for memory-Only database setting? I tried it but it seems no effects. It seems that Memory usages are not changed on TOP urtility. How can I find In-MEMORY database effective or not? I wuold appreciate any suggestion. S.Murahashi Performance ------------------ Average response is 7-15seconds (from click to display completion) Avarage page size is 100Kb including image file. My settings are as follows; catalog.cfg ---------------- Database cat cat.txt TAB Database cat MEMORY 1 Database area area.txt TAB Database area MEMORY 1 Database products products.txt TAB Database products MEMORY 1 Database products INDEX brand category sectionbrand System ----------- RAQ3 with 320MB memory Database -------------- GDBM not DBI/SQL products: 4500 items area: 12 section cat: 110 category There are no error in error.log in both catalogs and interchange. From: thomas at prometheas.gr (Thomas N. Stefanidis ) Date: Mon, 26 Mar 2001 16:31:08 +0300 Subject: [ic] How do locales work?(search problem) Hello, I have a problem. Even if i have the el_GR(for Greek) locale in my system i still have problem searching in Greek. Searching works great in English,but in Greek i have to write the world exactly as it's written. Case sensitive doesn't work.I set cs=1and 0 but still nothing.. Any ideas what should i look for? Thank you Thomas From: rohlf at life.bio.sunysb.edu (F. James Rohlf ) Date: Mon, 26 Mar 2001 09:26:09 -0500 Subject: [ic] link from static page to IC On page 54 of the FAQ section of the Interchange Templates manual it shows how to place an order link on an ordinary HTML page as: <A HREF="/cgi-bin/construct/order?mv_order_item=SKU_OF_ITEM">Order</A> How does one place a link that will instead bring up a list of products satisfying some criterion (some field in the products database). This list should allow the customer to select items and order them. Thanks again, Jim From: sheich at mosinfo.ru (Sergey Sheykin ) Date: Mon, 26 Mar 2001 19:07:49 +0400 Subject: [ic] set shipping manually Hi, how van I set [shipping] value manually? [perl arg="carts"] $Safe{'carts'}{'main'}{'shipping'}=55; return; [/perl] - not works... Sergey. From: webmaster at dreward.com (Webmaster at Dreward.com ) Date: Mon, 26 Mar 2001 09:21:54 -0600 Subject: [ic] link from static page to IC Jim, I did this by running a search builder, and setting in it the majority of the parameters I wanted to search with on the links (case sensitivity, number of records returned, and so on). To get the link to use (I'm sure there's an easier way to do this, but I didn't think of one), I just set that search as a category in my menu for a few minutes, copied the shortcut, and then took it back out again. Then you take the shortcut that you just copied, paste it, remove everything after the "n.html" at the end, and then just change the categories you're searching as you see fit. Here's an example link based on the one I made for mine: <a href="http://yourdomain.com/cgi-bin/cart.cgi/scan/fi=products/st=db/co=1/sf= category/se=CATEGORYHERE/op=rm/nu=0/cs=1/bs=1/ml=50/tf=sku/to=n.html"> And of course, change the yourdomain.com/cgi-bin to your own path, and CATEGORYHERE to the category you're wanting it to pull up. Hope this helps some. bri -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of F. James Rohlf Sent: Monday, March 26, 2001 8:26 AM To: Interchange-Users Subject: [ic] link from static page to IC On page 54 of the FAQ section of the Interchange Templates manual it shows how to place an order link on an ordinary HTML page as: <A HREF="/cgi-bin/construct/order?mv_order_item=SKU_OF_ITEM">Order</A> How does one place a link that will instead bring up a list of products satisfying some criterion (some field in the products database). This list should allow the customer to select items and order them. Thanks again, Jim _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: g.gaskill at aboron.com (Greg ) Date: Mon, 26 Mar 2001 10:22:35 -0500 Subject: [ic] link from static page to IC > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of F. James > Rohlf > Sent: Monday, March 26, 2001 9:26 AM > To: Interchange-Users > Subject: [ic] link from static page to IC > > > On page 54 of the FAQ section of the Interchange Templates manual it shows > how to place an order link on an ordinary HTML page as: > <A HREF="/cgi-bin/construct/order?mv_order_item=SKU_OF_ITEM">Order</A> > > How does one place a link that will instead bring up a list of products > satisfying some criterion (some field in the products database). This list > should allow the customer to select items and order them. > I checked one of the links on my site and it reveals this format: http://www.yourdomain.com/cgi-bin/catalogname/scan/fi=products/sp=results/st =db/co=yes/sf=category/se=AreaName/ This link would search for a list of products who's category field matched "AreaName", but you can change sf= (search field) to look in any field you want; "Description", for example. > Thanks again, Jim > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: dan at mailturtle.com (Dan McFarland ) Date: Sat, 24 Mar 2001 17:58:43 -0600 Subject: [ic] Shipping Database... i am trying to add items for shipping that are price=specific. Such as total order = $0 to 50 = 9.95 shipping 50.01-100=$14.95 shipping and so on... I have these lines in the shipping.asc database, but they don't seem to work. Can anyone tell me whati am doing wrong? Standard Standard Shipping [subtotal noformat=1] 0 0 e e {'ui_ship_type' => "_subtotal",'ups' => "0",'at_least' => "\$9.95",} Standard Standard Shipping [subtotal noformat=1] 0 0 e e {'ui_ship_type' => "_subtotal",'ups' => "50",'at_least' => "\$14.95",} Standard Standard Shipping [subtotal noformat=1] 0 0 e e {'ui_ship_type' => "_subtotal",'ups' => "100",'at_least' => => "\$21.95",} Standard Standard Shipping [subtotal noformat=1] 0 0 e e {'ui_ship_type' => "_subtotal",'ups' => "200",'at_least' => => "\$29.95",} Standard Standard Shipping [subtotal noformat=1] 0 0 e e {'ui_ship_type' => "_subtotal",'ups' => "350",'at_least' => => "\$34.95",} Standard Standard Shipping [subtotal noformat=1] 0 0 e e {'ui_ship_type' => "_subtotal",'ups' => "50",'at_least' => => "\$39.95",} From: dan at mailturtle.com (Dan McFarland ) Date: Sat, 24 Mar 2001 22:31:30 -0600 Subject: [ic] Discount %'s.... I want to make sure I understand this correctly, so forgive me if it seems trivial... If I place the code as follows on ANY page, IC will upon checkout or upon product display take 20% off the customers order? [discount ALL_ITEMS] $s * .8 [/discount] From: dan at mailturtle.com (Dan McFarland ) Date: Sun, 25 Mar 2001 11:03:57 -0600 Subject: [ic] Discount Code.... I understand the code itself, but to give a customer 20% off the total, before tax and shipping, what page would the code go onto? The Docs say "any page" but every time I try it does not seem to want to give the discount. Anyone using this that can help me with it? Thanks! Dan M From: dan at mailturtle.com (Dan McFarland ) Date: Mon, 26 Mar 2001 08:37:21 -0600 Subject: [ic] Shipping issue... I need to make shipping based on the total $ amount of the order. I put the items in the shipping.asc file but it doesn't show up in the shopping cart. I still get 0.00 shipping cost. What am I doing wrong>?? From: webmaster at dreward.com (Webmaster at Dreward.com ) Date: Mon, 26 Mar 2001 10:37:20 -0600 Subject: [ic] Shipping issue... This drove me nuts for hours the other day, Dan. Don't try to create a new table. You'll just go insane if you do. What I finally ended up having to do (with tremendous thanks to Allen), was the edit the UPS Ground module instead. Give that a try, and see if it works for you. bri -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Dan McFarland Sent: Monday, March 26, 2001 8:37 AM To: interchange-users@lists.akopia.com Subject: [ic] Shipping issue... I need to make shipping based on the total $ amount of the order. I put the items in the shipping.asc file but it doesn't show up in the shopping cart. I still get 0.00 shipping cost. What am I doing wrong>?? _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: dan at mailturtle.com (Dan McFarland ) Date: Mon, 26 Mar 2001 10:40:44 -0600 Subject: [ic] Shipping issue... I figured it out.... Part of the problem was the addition of all the ascii crap at the beginning of the file. I got rid of all that, then all of the rest of the file except for my new entry. Everything worked perfect after that. Thanks! ----- Original Message ----- From: Webmaster @ Dreward.com <webmaster@dreward.com> To: <interchange-users@lists.akopia.com> Sent: Monday, March 26, 2001 10:37 AM Subject: RE: [ic] Shipping issue... > This drove me nuts for hours the other day, Dan. > > Don't try to create a new table. You'll just go insane if you do. What I > finally ended up having to do (with tremendous thanks to Allen), was the > edit the UPS Ground module instead. Give that a try, and see if it works > for you. > > bri > > > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Dan > McFarland > Sent: Monday, March 26, 2001 8:37 AM > To: interchange-users@lists.akopia.com > Subject: [ic] Shipping issue... > > > I need to make shipping based on the total $ amount of the order. I put the > items in the shipping.asc file but it doesn't show up in the shopping cart. > I still get 0.00 shipping cost. What am I doing wrong>?? > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: zack at office.standardprinting.net (Zack Johnson ) Date: Mon, 26 Mar 2001 12:14:59 -0500 Subject: [ic] UPS 1.25% Surcharge As of August of 2000, UPS has imposed a 1.25% Fuel Surcharge on most shipments. I have updated our shop to the Feb. 5 2001 price increase, but am unable to implement the surcharge. This question seems to have been posed in this list before, but with no response. Since, ostensibly, everyone on this list who ships UPS has been effected by this charge, there must be some fix I'm missing entirely. I would like to perform something like: [calc] mv_shipping_cost * 1.0125 [/calc] or in 'shipping.asc': upsg UPS Ground weight 0 150 u Ground [default zip 320880] sub_to_calculate_addr_by_cost However, I can't seem to make anything work given what I've read (and understood). Am I missing something obvious, or do I just misunderstand how Interchange is processing the shipping costs? Thanks to all, Zack From: rapier at psc.edu (Chris Rapier ) Date: Mon, 26 Mar 2001 12:55:58 -0500 Subject: [ic] Discount Code.... Dan McFarland wrote: > > I understand the code itself, but to give a customer 20% off the total, > before tax and shipping, what page would the code go onto? The Docs say > "any page" but every time I try it does not seem to want to give the > discount. Anyone using this that can help me with it? Does it never give the discoutn or does the discount not appear after leaving the page? Also, when displaying the price are you making sure to set discount =1 in the tag? From: klosar18 at email.si (klosar18 at email.si ) Date: Mon, 26 Mar 2001 20:05:03 +0200 Subject: [ic] iso-8895-2 character set We're having problems with interchange when trying to import/export iso-8859-2 character set,when we export the tables to an xls excel format.The character set iso8859-2 fails..letters :θζΎΉπ.The item list page in UI admin pages shows them correctly but when you click on edit item the edit item page shows them messed up,plus if you import the xsl files back even the statically build pages get all messed up and the characters are written with weird ascii characters that no text editor can show correctly .So if anyone has any idea where the problem is please let me know.If it helps I'll setup another demo store with login and pass where the problem can be viewed.We can't inport any products in slovenian language because of this problem. tnx oh i listed this bug as bug 154 so before anyone starts asking ,if the browser,OS supports the character set the answer is yes.That isn't the problem :) hope you can help ------------------- http://www.email.si From: klosar18 at email.si (klosar18 at email.si ) Date: Mon, 26 Mar 2001 20:08:49 +0200 Subject: [ic] ups that's iso-8859-2 not iso-8895-2 character set i misstyped the character set in the subject line in my previous post.Don't want to confuse people even more.Hope anyone can help. ------------------- http://www.email.si From: thomas at prometheas.gr (Thomas N. Stefanidis ) Date: Mon, 26 Mar 2001 22:03:32 +0300 Subject: [ic] Processing error in Netscape Hello, I got this error in Netscape while trying to access the checkout page : construct /cgi-bin/construct/process.html Difficulty interacting with browser: No action passed for processing The page loads in Netscape,but it's blank(only the backround loads).In the "view sourse" i can see the date,but nothing in the page. Everything works fine on Exlorer. Any ideas? Thank you. Thomas From: doug at lathi.net (Doug Alcorn ) Date: 26 Mar 2001 14:07:57 -0500 Subject: [ic] Interchange 4.6.4 now available "Jeff Carnahan" <jcarnahan@networq.com> writes: > This causes quite a slowdown when you have any significant level of > traffic. This is certainly true. > Moving the functionality of the basic cgi script needed to > communicate with IC into a Apache module significantly increases > speed because no resources need to be allocated or a process forked. I don't think the use of the word "significantly" is warranted here. On a reasonably loaded box, Linux can fork and exec quite efficiently. However, given the above condition (that you are under significant level of traffic) it will provide a savings. If your load is mostly below 1.0, I don't think you will see a "significant" improvement. Although actual benchmark number would be hard to dispute. -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: doug at lathi.net (Doug Alcorn ) Date: 26 Mar 2001 14:12:44 -0500 Subject: [ic] books or other documentation? "F. James Rohlf" <rohlf@life.bio.sunysb.edu> writes: > I am finding the documentation available at > http://developer.akopia.com/cgi-bin/ic is not very easy for a > beginner. Are there other sources of information No, not really. Other than genral HTML and Perl stuff. > Where I am stuck at the moment is in trying to extend the following code > from the construct demo: [box-exec bar_link]area[/box-exec]. The 'bar_link' function is implemented in <ic-dir>/catalog_before.cfg. It's pretty much standard Perl. -- (__) 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: jdix at home.com (Jim ) Date: Mon, 26 Mar 2001 11:38:52 -0800 Subject: [ic] Dumb security question I've been through the archives, and didn't see an answer and being new some things, wonder: I have a web site with access to a secure server (https://yadda...). I do not have PGP here or on the server. I need the order info emailed or, can a salesrep login and access sales info, including credit card info without PGP? I.E., will credit card data stored on server (encrypted I assume) be de-cypted when authorized user accesses data? Lastly, I noted (in the archives) a problem between IE and secure servers and IC (http://lists.akopia.com/pipermail/interchange-users/2001-March/005263.html ). Has this been corrected? Jim From: edl at newmediaems.com (Ed LaFrance ) Date: Mon, 26 Mar 2001 11:58:24 -0800 Subject: [ic] mv_search_line_return and [loop-pos n] Hello all - When using mv_search_line_return to put a full row from a db (or text file) into search results, it seems that there is no tag display the full row. In the case of a loop search, it seems that one must use [loop-code], [loop-pos 1], [loop-pos 2]...etc. Can anyone confirm this, or is their a tag which yields all the fields in the row as one string? - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: doug at lathi.net (Doug Alcorn ) Date: 26 Mar 2001 16:06:21 -0500 Subject: [ic] Dumb security question Jim <jdix@home.com> writes: > will credit card data stored on server (encrypted I assume) be > de-cypted when authorized user accesses data? IC does not store any credit-card information. After the order info is e-mailed out, the CC# is gone. Of course, you could hack IC to behave differently. In fact, you might be able to do it with order routes and not have to change IC code. -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: dan at mailturtle.com (Dan McFarland ) Date: Mon, 26 Mar 2001 16:16:16 -0600 Subject: [ic] Coupon codes... I want to have several mailing peices for customers that say ENTER THIS (ITEM?) CODE ##### and get a $--- discount. First of all, is it possible to use a negative price and create an ITEM for each code? If not.. Can someone point me to a place with easier to understand info about adding a coupon code? The archives are so scattered on this and there isn't much documentation so it's hard for a non-programmer like me to put together.... Thanks! Dan From: xiaowen at safetopia.com (Xiaowen Wu ) Date: Mon, 26 Mar 2001 17:52:55 -0800 (PST) Subject: [ic] Shipping issue Hi, I have a problem for the shipping cost too. I want to calculate the shipping cost as the cost of the UPS shipment cost plus 0.0035 of the sub-total. So I created a new shipping type in the shipping.asc, and add the following lines into it: zzz Shipping Cost [subtotal noformat=1] 0 0 e Nothing to ship! {'ups' => "0",'ui_ship_type' => "_subtotal",} zzz Shipping Cost [subtotal noformat=1] 0 999999 f @@COST@@ + [subtotal noformat=1] * 0.0035 {} But I always got 0.00 on the shipping cost. Did I miss something ? You help is very appreciated. Thanks. Wen From: doug at lathi.net (Doug Alcorn ) Date: 26 Mar 2001 20:19:38 -0500 Subject: [ic] Coupon codes... "Dan McFarland" <dan@mailturtle.com> writes: > I want to have several mailing peices for customers that say ENTER THIS > (ITEM?) CODE ##### and get a $--- discount. Here's what I think. Have a seperate table for discount codes. On the basket page, have an input for them to type in the discount code with it's own little "apply discount" submit button. Then you can take this entered value and look it up. If it exists, [discount] your totals. If it doesn't, give a warning. > First of all, is it possible to use a negative price and create an ITEM for > each code? I don't know, I haven't tried. My only concern with putting discounts in the products table is that it becomes searchable with the rest of the products. Maybe you don't care where your customers get the discount code as long as they buy something. Maybe you do. I think however you do it is going to require some programming. -- (__) 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: dingdong.sobida at q-linux.com (dingdong ) Date: Tue, 27 Mar 2001 09:33:12 +0800 Subject: [ic] How to Activate Signio???? Young Family wrote: > Hello All > What Interchange files must I edit in order to get signio payflow pro going? > Thanks > Alan Young > ary@communicationfactory.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users Hi there, There is a sample script that you have to put on the globalsub directory, along with a copy a script that uses authorize.net as your gateway. anyway inside the script are instruction you must follow, like setting som variables. i think with signio you have to communicate with it by opening a TCP/IP connect to there servers. in the script you are told how to do it. hope it help!! r, Yo From: jim at idk-enterprises.com (Jim Balcom ) Date: Mon, 26 Mar 2001 20:50:07 -0500 (EST) Subject: [ic] Coupon codes... On 26 Mar 2001, Doug Alcorn wrote: DA>>I don't know, I haven't tried. My only concern with putting discounts DA>>in the products table is that it becomes searchable with the rest of DA>>the products. Maybe you don't care where your customers get the DA>>discount code as long as they buy something. Maybe you do. I think that if a person goes to that much work to find out a discount code that they deserve to get it. I'm not going to knowingly set a discount code that will cause me to lose money, so it's no real disaster if they do find it out. And, as you said, as long as I am generating some revenue that's a good thing. I'll get them the next time that they come back and I've changed the discount codes. When I order from Uline on line I will call their customer service number on the phone to get the current discount codes to use. They give them to me without a problem. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter ---------------------------------------------------------------- Tagline for Monday, March 26, 2001 at 20:40 PM: To err is human. To moo bovine ---------------------------------------------------------------- This Linux System has been up 772 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: cfm at maine.com (cfm at maine.com ) Date: Mon, 26 Mar 2001 21:00:40 -0500 Subject: [ic] Coupon codes... On Mon, Mar 26, 2001 at 08:19:38PM -0500, Doug Alcorn wrote: > "Dan McFarland" <dan@mailturtle.com> writes: > > > I want to have several mailing peices for customers that say ENTER THIS > > (ITEM?) CODE ##### and get a $--- discount. > > Here's what I think. Have a seperate table for discount codes. On > the basket page, have an input for them to type in the discount code > with it's own little "apply discount" submit button. Then you can > take this entered value and look it up. If it exists, [discount] your > totals. If it doesn't, give a warning. > > > First of all, is it possible to use a negative price and create an ITEM for > > each code? Yes, negative prices do work (as of 4.03). We use them for "Free Saturday shipping" or "Free this or that" promotions. You will probably want some sort of logic to control how they show up (or don't). We use a "status" field in all our catalogs, -1 error/delete, 0 suspend/hide, 1 active. A negative item is not at all the same as a "discount" in usual sense. > > I don't know, I haven't tried. My only concern with putting discounts > in the products table is that it becomes searchable with the rest of > the products. Maybe you don't care where your customers get the > discount code as long as they buy something. Maybe you do. > > I think however you do it is going to require some programming. > -- > (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) > oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 > |_/ If you're a capitalist and you have the best goods and they're > free, you don't have to proselytize, you just have to wait. > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: rhertz at baits.com (Ryan Hertz ) Date: Mon, 26 Mar 2001 19:11:20 -0700 Subject: [ic] Coupon codes... At 06:50 PM 3/26/01 , Jim Balcom wrote: >I think that if a person goes to that much work to find out a discount >code that they deserve to get it. >I'm not going to knowingly set a discount code that will cause me to >lose money, so it's no real disaster if they do find it out. >And, as you said, as long as I am generating some revenue that's a good >thing. I'll get them the next time that they come back and I've changed >the discount codes. I'm sure a very simple check and balance would take care of that... depending on how you distribute the codes to your customers. Something like a standard promotional code followed by the Soundex of their last name would work well. The Soundex could even be "ignored" and just used to track who is giving out promo codes to their friends. :-) Sorry -- I'm just always looking for a good use for Text::Soundex. >When I order from Uline on line I will call their customer service >number on the phone to get the current discount codes to use. They give >them to me without a problem. Hey, could you get me some 4'x3.5" spiral cardboard tubes? :-D Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: jim at idk-enterprises.com (Jim Balcom ) Date: Mon, 26 Mar 2001 21:27:22 -0500 (EST) Subject: [ic] Coupon codes... On Mon, 26 Mar 2001, Ryan Hertz wrote: RH>>I'm sure a very simple check and balance would take care of RH>>that... depending on how you distribute the codes to your RH>>customers. Something like a standard promotional code followed by the RH>>Soundex of their last name would work well. The Soundex could even be RH>>"ignored" and just used to track who is giving out promo codes to their RH>>friends. :-) Sorry -- I'm just always looking for a good use for RH>>Text::Soundex. I use coupon codes in my advertising. This lets me track where my advertising is working. And in that context, if a person gets a coupon code out of their local newspaper and passes it on to a friend to use, it's quite acceptable to me since that newspaper ad was responsible for bringing them in. I can trace that sale to that newspaper, even though it's 2nd hand. RH>>>When I order from Uline on line I will call their customer service RH>>>number on the phone to get the current discount codes to use. They give RH>>>them to me without a problem. RH>> RH>>Hey, could you get me some 4'x3.5" spiral cardboard tubes? :-D Wow! You've got a big one! I don't get any special deals from them. Just go to www.uline.com and take a look around. Their only requirement as to who they sell to is that you have money! :-) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter ---------------------------------------------------------------- Tagline for Monday, March 26, 2001 at 21:20 PM: If you have to ask what jazz is, you'll never know. ---------------------------------------------------------------- This Linux System has been up 773 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: dingdong.sobida at q-linux.com (dingdong ) Date: Tue, 27 Mar 2001 10:30:03 +0800 Subject: [ic] MYsql? jason just a question, i've tried using the "Construct" demo on my server, i never encounter a question on whether i'd be using a MySQL server or PostgreSQL which I use. How do i tell makecat to create the database for construct for, say a PostgreSQL server. TIA r, Yo Jason Kohles wrote: > On Fri, Mar 23, 2001 at 09:29:46AM -0700, George Loch wrote: > > How many folks have taken the construct demo and converted it to a mysql DB > > instead of the flat file? What is the procedure other than by hand? > > > It should take nothing more than telling makecat to use mysql when you create > the catalog, I've always installed it using mysql. > > -- > Red Hat E-Business Solutions Jason Kohles > 11480 Sunset Hills Road Senior System Architect > Reston, VA 20190 jkohles@redhat.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: zac at mediapc.com (Zachary Matthews ) Date: Mon, 26 Mar 2001 18:37:28 -0800 Subject: [ic] search error: Search strings must be at least 1 characters My log files are filled with the following error: 'search error: Search strings must be at least 1 characters' I have set up several searches where users enter mv_searchspec in a text field. When they don't enter any words, but click the search button, my log file records the above error. Also, I have several in page searches designed to return all records -- for example: [page search=" se=* st=db fi=products ra=yes tf=category tf=sku sp=store/results " ]click here to see all products[/page] This link also creates the error, even though I have '*' for mv_searchspec. Any ideas on how to prevent my log files from getting filled with this error (which by the way does not seem to cause any problems other than a cluttered log file) Thanks, Zac From: rhertz at baits.com (Ryan Hertz ) Date: Mon, 26 Mar 2001 20:14:31 -0700 Subject: [ic] search error: Search strings must be at least 1 At 07:37 PM 3/26/01 , Zachary Matthews wrote: >My log files are filled with the following error: > >'search error: Search strings must be at least 1 characters' > >I have set up several searches where users enter mv_searchspec in a text >field. When they don't enter any words, but click the search button, my >log file records the above error. Also, I have several in page searches >designed to return all records -- for example: [page scan="ra=yes/fi=products/st=db"] or such should work. I wouldn't worry about someone entering null in the search text field... if they want to see all the products, a link, such as above, should be handy for them. ;-) -Ryan Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: lmorley at flexihost.com (LM ) Date: Tue, 27 Mar 2001 00:02:41 -0800 Subject: [ic] MYsql? The only "gotcha" I've found with Postgres and makecat is this - when using PostgreSQL, make sure the user you're running makecat as is in pg_shadow - one way to do this is to login as the postgres user, and: $ psql postgres => CREATE USER whoever CREATEDB CREATEUSER; or use the createuser command: createuser -i userid -d -u whover (or some variant thereof :) ) I've been pretty happy using Postgres with Interchange; no problems to speak of. - Larry ----- Original Message ----- From: "dingdong" <dingdong.sobida@q-linux.com> To: <interchange-users@lists.akopia.com> Sent: Monday, March 26, 2001 6:30 PM Subject: Re: [ic] MYsql? > jason > > just a question, i've tried using the "Construct" demo on my server, > i never encounter a question on whether i'd be using a MySQL server > or PostgreSQL which I use. How do i tell makecat to create the > database for construct for, say a PostgreSQL server. > > TIA > > r, > > Yo > > > Jason Kohles wrote: > > > On Fri, Mar 23, 2001 at 09:29:46AM -0700, George Loch wrote: > > > How many folks have taken the construct demo and converted it to a mysql DB > > > instead of the flat file? What is the procedure other than by hand? > > > > > It should take nothing more than telling makecat to use mysql when you create > > the catalog, I've always installed it using mysql. > > > > -- > > Red Hat E-Business Solutions Jason Kohles > > 11480 Sunset Hills Road Senior System Architect > > Reston, VA 20190 jkohles@redhat.com > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: abductor at abductor.com (Master Abductor ) Date: Mon, 26 Mar 2001 23:18:50 -0800 Subject: [ic] A point of concern about choosing the Interchange cart I'm just learning about the Interchange cart, and I just caught something about it's features that my be undesirable for me. In the demo, the images for products are small (as is the preference on many sites these days). However many of my products are videos and CD-ROM's, and for our old cart we created images that are actually collages of screen shots from the videos or CD's. The default sizes of these images is too small. Is there a way to easily configure the store to display larger images, or open a big image in a separate window perhaps? I'm also not crazy about the fact that mostly the store items are listed with small text hyperlinks, and you have to click on text to see a picture. I would prefer to have thumbnails along with the text hyperlinks. Again is this "going against the grain" of the store? Thanks, Greg From: abductor at abductor.com (Master Abductor ) Date: Mon, 26 Mar 2001 23:23:25 -0800 Subject: [ic] A point of concern about choosing the Interchange cart If I may clarify my previous post: The images displaying in the demo store are pretty small, and the images I already created for most of my products are much larger. I'm just learning about the Interchange cart, and I just caught something about it's features that my be undesirable for me. In the demo, the images for products are small (as is the preference on many sites these days). However many of my products are videos and CD-ROM's, and for our old cart we created images that are actually collages of screen shots from the videos or CD's. The default sizes of these images is too small. Is there a way to easily configure the store to display larger images, or open a big image in a separate window perhaps? I'm also not crazy about the fact that mostly the store items are listed with small text hyperlinks, and you have to click on text to see a picture. I would prefer to have thumbnails along with the text hyperlinks. Again is this "going against the grain" of the store? Thanks, Greg _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: sheich at mosinfo.ru (Sergey Sheykin ) Date: Tue, 27 Mar 2001 13:02:06 +0400 Subject: [ic] shipping calculate Hi, know anybody, how can I set [shipping] manually or how I can store shipmodes in SQL-database, not in file? sergey. From: paulo.moniz at inteliware.net (Paulo Moniz ) Date: Tue, 27 Mar 2001 13:08:24 +0100 Subject: [ic] How to deploy Interchange Project Hi all What is the best way to move one interchange project from one host to another. I did it by copying all project files after installing interchange on the new server but when interchange server starts I get the following errors: "Directive ProductFiles returned default setting error: No defualt search file! In line ... ActionMap ui_download <<EOR How to put the members only feature working in the barry exampl. I try to change this setting and doesn΄t work like it should ? I use interchange 4.5 that came with redhat 7 Thank You in advance Paul Inteliware From: Murray at scotweb.ltd.uk (Murray Gibbins ) Date: Tue, 27 Mar 2001 13:23:01 +0100 Subject: [ic] shipping calculate Sergey Sheykin wrote: > > Hi, > > know anybody, how can I set [shipping] manually > or how I can store shipmodes in SQL-database, not in file? Variable SHIPPING <<_EOF_; [sql type='list' query='select code,description from sw_shipping']<option value= "[sql-code]" [selected mv_ship_mode [sql-code]]>[sql-param description]</option> [/sql] _EOF_ This should give you enough to go on for now :-) -- ____ \__/ Murray Gibbins murray@scotweb.ltd.uk / \ Programmer _ \__/ _ ================================================ \\ || // Scotweb Limited, info@scotweb.ltd.uk \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 From: sheich at mosinfo.ru (Sergey Sheykin ) Date: Tue, 27 Mar 2001 16:32:39 +0400 Subject: [ic] shipping calculate I understand this! But how I can to force Minivend calculate [shipping] on formula, placed in SQL-table? > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of > Murray Gibbins > Sent: Tuesday, March 27, 2001 4:23 PM > To: interchange-users@lists.akopia.com > Subject: Re: [ic] shipping calculate > > > Sergey Sheykin wrote: > > > > Hi, > > > > know anybody, how can I set [shipping] manually > > or how I can store shipmodes in SQL-database, not in file? > > > > Variable SHIPPING <<_EOF_; > [sql type='list' query='select code,description from > sw_shipping']<option value= > "[sql-code]" [selected mv_ship_mode [sql-code]]>[sql-param > description]</option> > [/sql] > _EOF_ > > > This should give you enough to go on for now :-) > > > -- > ____ > \__/ Murray Gibbins murray@scotweb.ltd.uk > / \ Programmer > _ \__/ _ ================================================ > \\ || // Scotweb Limited, info@scotweb.ltd.uk > \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk > \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 > || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: rene at hertell.com (Rene Hertell ) Date: Tue, 27 Mar 2001 15:30:24 +0300 Subject: [ic] European Tax-stuff (again ...) > From: Stefan Hornburg [mailto:racke@linuxia.de] > > "Rene Hertell" <rene@hertell.com> writes: > > > } > > > } > I posted a message in December describing this issue... > > } > > > } http://developer.akopia.com/archive/interchange-users/2000/msg0 > > } 9988.html > > } > > } This is certainly on my list to discuss with the Akopia guys. > > } > > } Thanks > > } Racke > > > > When are you heading to Akopia? > > 12th March. Hi Racke! Any news from Akopia regarding the Tax-stuff? Renι From: Murray at scotweb.ltd.uk (Murray Gibbins ) Date: Tue, 27 Mar 2001 13:47:30 +0100 Subject: [ic] shipping calculate Sergey Sheykin wrote: > > I understand this! > But how I can to force Minivend calculate [shipping] > on formula, placed in SQL-table? This should give you lots to chew on :-) ========================================== [interch@handle shipd_mod]$ cat ~interch/shopping/etc/mv4_templates/products/shipping.asc code description criteria min max formula default United Kingdom quantity 0 99999999 f [perl subs=1 global=1 ]my $cost = shipd($Scratch->{present_cart},$Carts->{$Scratch->{present_cart}},$Tag,$Values->{mv_ship_mode});return $cost;[/perl][interch@handle shipd_mod]$ =========================================== GlobalSub <<EOGS sub shipd{ use lib qw(/etc/minivend/shipd_mod); use strict; use DBI ; use Sys::Syslog qw(:DEFAULT setlogsock); use POSIX; use Get_zones; use Shop2 ; use Shop3 ; use Shop4 ; use Shop5 ; use Shop5 ; use Shop6 ; use Shop7 ; my $cart = shift ; my $Carts_ref = shift || [] ; my $Tag = shift ; my $dest = shift ; sub shipd_logmsg { setlogsock("unix"); openlog("shipd","nodelay","user"); #openlog("shipd","nodelay","local3"); syslog("info","$0 $$: @_"); closelog(); #print "$0 $$: @_ at ", scalar localtime, "\n" }; my $get_zones_obj = new Get_zones(\&shipd_logmsg); shipd_logmsg("Cart : $cart"); MODTRY: { my $mod_name = lc $cart ; $mod_name = ucfirst $mod_name ; # now lets try to find the module... my $mod_obj ; eval{$mod_obj = $mod_name->new(\&shipd_logmsg,1)}; if($@){last MODTRY;} # don't go any furthur. my $hash_ref = $mod_obj->hash_gen(); my $totalcost = $mod_obj->shipd_cost($hash_ref,$dest,$get_zones_obj,); # return cost return $totalcost ; } shipd_logmsg("Can't find the module for cart $cart"); return 99999999999; } EOGS ========================================================= -- ____ \__/ Murray Gibbins murray@scotweb.ltd.uk / \ Programmer _ \__/ _ ================================================ \\ || // Scotweb Limited, info@scotweb.ltd.uk \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 From: chris at vanoosterhout.com (Christopher VanOosterhout ) Date: Tue, 27 Mar 2001 09:16:06 -0500 Subject: [ic] my need field page is not working properly Greetings, I am operating a two stores. One is working properly and the other gets hung up during the form verification process at checkout. Both stores include a needfield.html page in the special pages directory. Within that page I have included the following line: <p><b>[error all=1 show_var=1 show_error=1 joiner='<br>']</b></p> In the version that does NOT work, the html prints out the <p><b></b></p> from above, but not the error (in brackets [ ] ). Also this page come up the same way if there is an error or if there is not. No matter if I have included the correct information in all fields or included no information in any field, I get the needfield page showing there is an error ... but not printing the error. So ... no one can check out. Any ideas? Christopher From: g.gaskill at aboron.com (Greg ) Date: Tue, 27 Mar 2001 09:27:37 -0500 Subject: [ic] Dumb security question > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Doug > Alcorn > Sent: Monday, March 26, 2001 4:06 PM > To: interchange-users@minivend.com > Subject: Re: [ic] Dumb security question > > > Jim <jdix@home.com> writes: > > > will credit card data stored on server (encrypted I assume) be > > de-cypted when authorized user accesses data? > > IC does not store any credit-card information. After the order info > is e-mailed out, the CC# is gone. Of course, you could hack IC to This does not, however, seem to be the case on my default install of the construct demo. The CC# is stored in 2 places in the catalogs/consruct tree - all unencrypted (until the user sets up pgp). The first place it goes is into the logs/tracking.asc file, all order get appended to this file. The second place is in individual order files in the orders/ directory. To prevent this you have to specifically disable it. (I just re-wrote the template for what info gets stored.) > behave differently. In fact, you might be able to do it with order > routes and not have to change IC code. > -- > (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) > oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 > |_/ If you're a capitalist and you have the best goods and they're > free, you don't have to proselytize, you just have to wait. > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: sheich at mosinfo.ru (Sergey Sheykin ) Date: Tue, 27 Mar 2001 19:31:06 +0400 Subject: [ic] shipping calculate No, I dont need this. You calculate [shipping] in .asc file, not in SQL-table. > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of > Murray Gibbins > Sent: Tuesday, March 27, 2001 4:48 PM > To: interchange-users@lists.akopia.com > Subject: Re: [ic] shipping calculate > > > Sergey Sheykin wrote: > > > > I understand this! > > But how I can to force Minivend calculate [shipping] > > on formula, placed in SQL-table? > > This should give you lots to chew on :-) > > > ========================================== > > > [interch@handle shipd_mod]$ cat > ~interch/shopping/etc/mv4_templates/products/shipping.asc > code description criteria min max formula > default United Kingdom quantity 0 99999999 f > [perl subs=1 > global=1 ]my $cost = > shipd($Scratch->{present_cart},$Carts->{$Scratch->{present_cart}}, > $Tag,$Values->{mv_ship_mode});return > $cost;[/perl][interch@handle shipd_mod]$ > > =========================================== > > > GlobalSub <<EOGS > > sub shipd{ > > use lib qw(/etc/minivend/shipd_mod); > use strict; > use DBI ; > use Sys::Syslog qw(:DEFAULT setlogsock); > use POSIX; > > use Get_zones; > > > use Shop2 ; > use Shop3 ; > use Shop4 ; > use Shop5 ; > use Shop5 ; > use Shop6 ; > use Shop7 ; > > > my $cart = shift ; > my $Carts_ref = shift || [] ; > my $Tag = shift ; > my $dest = shift ; > > sub shipd_logmsg { > > setlogsock("unix"); > > > openlog("shipd","nodelay","user"); > #openlog("shipd","nodelay","local3"); > syslog("info","$0 $$: @_"); > closelog(); > > #print "$0 $$: @_ at ", scalar localtime, "\n" > }; > > > my $get_zones_obj = new Get_zones(\&shipd_logmsg); > > shipd_logmsg("Cart : $cart"); > > MODTRY: { > > my $mod_name = lc $cart ; > $mod_name = ucfirst $mod_name ; > > # now lets try to find the module... > > my $mod_obj ; > eval{$mod_obj = $mod_name->new(\&shipd_logmsg,1)}; > if($@){last MODTRY;} # don't go any furthur. > > my $hash_ref = $mod_obj->hash_gen(); > my $totalcost = > $mod_obj->shipd_cost($hash_ref,$dest,$get_zones_obj,); # > return cost > > > return $totalcost ; > } > > shipd_logmsg("Can't find the module for cart $cart"); > > return 99999999999; > > > > > > > } > EOGS > > ========================================================= > > > > -- > ____ > \__/ Murray Gibbins murray@scotweb.ltd.uk > / \ Programmer > _ \__/ _ ================================================ > \\ || // Scotweb Limited, info@scotweb.ltd.uk > \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk > \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 > || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: greg at fr.alcove.com (=?iso-8859-1?Q?Gr=E9goire?= Hubert ) Date: Tue, 27 Mar 2001 17:37:25 +0200 Subject: [ic] help ! cgi problem... Hi, I installed Interchange 4.6.4 with debian 2.2 packages. The installation seemed to run correctly. After that I ran makecat logged as interchange user to install demo store. I didn't use any external SGBD. The makecat utility put a "construct" cgi in my apache "cgi-bin" folder. I successfully restarted the server and as I want to go and visit store as a visitor or administrator the broswser stops with the URL "http://My_Server/cgi-bin/construct/index.html" and tells me that the document is unreachable. When I try running construct from a shell "./construct /index.html" it prints me out "404 - Not found" What I did wrong ? What can I do ? HELP ME !!! Greg. From: jdix at home.com (Jim ) Date: Tue, 27 Mar 2001 08:14:18 -0800 Subject: [ic] Server question Am new to shopping carts and the such and am having problems. I've tar'ed the files to cgi-bin. After many trials and errors, am I right in concluding that Interchange will not run from within (example) = "www.domainname.com/cgi-bin/interchange" ?? I also note that the tarball method created a foldr called "interchange-4.6.4" with sub-dirs. The files, when looking through them, PL's etc., want to look in "interchange". Hmmm Jim From: skekes at kosmoslink.gr (Kekes Stamatis ) Date: Tue, 27 Mar 2001 18:31:10 +0300 Subject: [ic] Greek Language installation Well I saw the archive of the list but I didn't understood what am I gonna do in order to have Greek intrenationalization. Can somebody help me ?? From: jim at idk-enterprises.com (Jim Balcom ) Date: Tue, 27 Mar 2001 11:49:40 -0500 Subject: [ic] Server question > Am new to shopping carts and the such and am having problems. > > I've tar'ed the files to cgi-bin. After many trials and errors, am I > right in concluding that Interchange will not run from within (example) > = "www.domainname.com/cgi-bin/interchange" ?? > > I also note that the tarball method created a foldr called > "interchange-4.6.4" with sub-dirs. The files, when looking through them, > PL's etc., want to look in "interchange". Hmmm >From what you have written, it appears that you have skipped a few steps. I downloaded the tarball into /usr/local/src (just my personal hang-up) I ran 'tar -xzvf interchange*' This created it's own sub-directory for interchange. Do a cd to that sub-directory and run ./configure This is going to install all of the stuff that you need to make the Interchange server work before you can set up any catalogs. I told mine to put it all in /usr/local/interchange - which is one of the places that it wanted to do it. I recommend that, as much as possible, you stick to the locations and the preferences that it wants to put things. NOTE: This process can take (literally) several hours. It needs to gather up a lot of things off of the Internet. The program is intelligent enough to go and get them and to install them. I've played with too many packages that will make you go and find some other package, install it, and get it running, and then you have to come back and start over, and then go and get other packages. I've had to go several layers deep to get this all working. Interchange is not like that. It will go and get the stuff, install it and test it. But, frequently it needs to start all over again once it gets a necessary package installed. At the end, you may end up with an error. If you run ./configure again, after it's got everything in that it wants, you should get an error-free installation. It's ONLY after this that you can start installing catalogs. This sets up and installs the server. Without an operational server, you can't set up any catalogs or do anything. -= Jim =- From: hjackson at ProSavvy.com (Herman Jackson ) Date: Tue, 27 Mar 2001 10:53:17 -0700 Subject: [ic] ProSavvy contact info: Herman Jackson/Procurement Services Specia This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C0B6E6.CDD34122 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0B6E6.CDD34122" ------_=_NextPart_001_01C0B6E6.CDD34122 Content-Type: text/plain; charset="iso-8859-1" ProSavvy is a powerful e-procurement solution for companies to more efficiently and effectively obtain professional and consulting service providers. By combining Internet-based tools that automate the selection process with uncensored quality data on consulting firms, the ProSavvy marketplace dramatically reduces the time, cost and risks involved in selecting consulting services. Clients include Emerson Electric, Texaco, Sterling Chemicals, Motorola, CH2M Hill, Hasbro and more than 150,000 other business users. ProSavvy is a member of the SOFTBANK family and is provided in cooperation with Dun & Bradstreet. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> If you or your team has any questions, technical or otherwise, that we can answer for you, please do not hesitate to call me at 720-873-4904. I look forward to building a lasting and mutually beneficial relationship with your company. Sincerely yours, Herman Jackson Procurement Services Specialist The e-source for professional services. 800-983-9737 ext. 4904 hjackson@prosavvy.com <mailto:hjackson@prosavvy.com> www.prosavvy.com <http://www.prosavvy.com/> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Automated Match Making & Posting Our proprietary system will match your requirements with our prequalified network of ProSavvy <http://www1.prosavvy.com/public/about/whyuse.cfm> affiliated consulting firms. It will also be posted anonymously (without your contact information and company name) in our Contract Posting <http://www1.prosavvy.com/members/postings/view.cfm> Center. Only ProSavvy Affiliates <http://www1.prosavvy.com/public/about/whyuse.cfm> and pre-affiliates <http://www1.prosavvy.com/members/clients/preaffiliates.cfm> with matching skills that reply to your posting will be e-mailed your contact information. Here's how it works: STEP 1 The first step in using ProSavvy to effectively obtain consulting services is to specify your project requirements. Our powerful online selection criteria development tool assists you in accurately defining requirements to ensure the best match for your consulting needs. STEP 2 Next, our comprehensive online procurement tools rapidly identify multiple firms with appropriate expertise from our database of more than 1,700 prequalified consulting firms and 200,000 other firms. From the ProSavvy Web site, you will be able to manage communications and access detailed capabilities and performance information for these firms. Responses from identified firms are presented to the client via standardized online match reports that allow the client to quickly evaluate the experience and capabilities of each firm compared to the specific project selection criteria. Clients can also access detailed online profiles of the firms' skills and background. STEP 3 To make the selection process easier, you can access detailed information regarding each firm's services and background on the ProSavvy Web site. This critical information is presented in a standardized format to simplify the decision-making process. STEP 4 You can access detailed performance reports on more than 1,700 firms with uncensored ratings from previous clients and have the opportunity to set up personal interviews with the previous clients you select. ProSavvy Affiliates must meet ProSavvy's stringent standards based on quantitative and qualitative surveys of previous clients. STEP 5 You will be able to select the firm you desire from a competitive process involving detailed proposals from matching firms. These bids, coupled with the valuable information available from our procurement tools, create a competitive selection process that will ensure the best possible consulting match for any project need. ProSavvy's Internet-based tools reduce the cost of procuring consulting services by up to 60% and the risk of hiring the wrong consulting firm by up to 95%. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------_=_NextPart_001_01C0B6E6.CDD34122 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR></HEAD> <BODY> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial"></SPAN> <P><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">ProSavvy</SPAN><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">=20 is&nbsp;a powerful e-procurement solution for companies to more = efficiently and=20 effectively obtain professional and consulting service providers. By = combining=20 Internet-based tools that automate the selection process with = uncensored quality=20 data on consulting firms, the ProSavvy marketplace dramatically reduces = the=20 time, cost and risks involved in selecting consulting services. Clients = include=20 </SPAN><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">Emerson=20 Electric, Texaco, Sterling Chemicals, Motorola, CH2M Hill, = Hasbro</SPAN><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">=20 and more than 150,000 other business users. ProSavvy is a member of the = </SPAN><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">SOFTBANK</SPAN><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">=20 family and is provided in cooperation with </SPAN><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">Dun=20 &amp; Bradstreet</SPAN><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">.=20 </SPAN><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial; mso-bidi-font-size: = 13.5pt"><?xml:namespace=20 prefix =3D o ns =3D "urn:schemas-microsoft-com:office:office"=20 /><o:p></o:p></SPAN></P> <P><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">If=20 you or your team has any questions, technical or otherwise, that we can = answer=20 for you, please do not hesitate to call me at 720-873-4904.</SPAN><SPAN = style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial; mso-bidi-font-size: = 13.5pt"><o:p></o:p></SPAN></P> <P><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">I=20 look forward to building a lasting and mutually beneficial relationship = with=20 your company. </SPAN><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial; mso-bidi-font-size: = 13.5pt"><o:p></o:p></SPAN></P> <P><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">Sincerely=20 yours, </SPAN><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial; mso-bidi-font-size: = 13.5pt"><o:p></o:p></SPAN></P> <P><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">Herman=20 Jackson</SPAN><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial; mso-bidi-font-size: = 13.5pt"><o:p></o:p></SPAN></P> <P><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">Procurement=20 Services Specialist The e-source for professional = services.<BR>800-983-9737 ext.=20 4904<BR><A=20 href=3D"mailto:hjackson@prosavvy.com">hjackson@prosavvy.com</A><BR></SPA= N><U=20 style=3D"text-underline: words"><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial"><A=20 href=3D"http://www.prosavvy.com/">www.prosavvy.com</A></SPAN></U><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">=20 <o:p></o:p></SPAN></P> <P><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: = Arial">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~</SPAN><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial; mso-bidi-font-size: = 13.5pt"><o:p></o:p></SPAN></P> <P><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial"><o:p><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial; mso-bidi-font-size: 13.5pt"><U>Automated=20 Match Making &amp; Posting</U></SPAN><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial; mso-bidi-font-size: = 13.5pt">&nbsp;</SPAN><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">=20 <o:p></o:p></SPAN></o:p></SPAN></P> <P><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">Our=20 proprietary system will match your requirements with our prequalified = network of=20 <A = href=3D"http://www1.prosavvy.com/public/about/whyuse.cfm">ProSavvy</A>=20 affiliated consulting firms. It will also be posted anonymously = (without your=20 contact information and company name) in our <A=20 href=3D"http://www1.prosavvy.com/members/postings/view.cfm">Contract = Posting=20 Center.</A> Only <A=20 href=3D"http://www1.prosavvy.com/public/about/whyuse.cfm">ProSavvy = Affiliates</A>=20 and <A=20 href=3D"http://www1.prosavvy.com/members/clients/preaffiliates.cfm">pre-= affiliates</A>=20 with matching skills that reply to your posting will be e-mailed your = contact=20 information. <o:p></o:p></SPAN></P> <P><EM><B><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial"><U><FONT=20 size=3D4>Here's how it works:</FONT></U></SPAN></B></EM><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">=20 <o:p></o:p></SPAN></P> <P><EM><B><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial"><U>STEP=20 1</U></SPAN></B></EM><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">=20 <o:p></o:p></SPAN></P> <P><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">The=20 first step in using ProSavvy to effectively obtain consulting services = is to=20 specify your project requirements. Our powerful online selection = criteria=20 development tool assists you in accurately defining requirements to = ensure the=20 best match for your consulting needs. <o:p></o:p></SPAN></P> <P><STRONG><I><U><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">STEP=20 2</SPAN></U></I></STRONG><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial"><o:p></o:p></SPAN></P> <P><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">Next,=20 our comprehensive online procurement tools rapidly identify multiple = firms with=20 appropriate expertise from our database of more than 1,700 prequalified = consulting firms and 200,000 other firms. From the ProSavvy Web site, = you will=20 be able to manage communications and access detailed capabilities and=20 performance information for these firms.<o:p></o:p></SPAN></P> <P><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">Responses=20 from identified firms are presented to the client via standardized = online match=20 reports that allow the client to quickly evaluate the experience and=20 capabilities of each firm compared to the specific project selection = criteria.=20 Clients can also access detailed online profiles of the firms' skills = and=20 background. <o:p></o:p></SPAN></P> <P><STRONG><I><U><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">STEP=20 3</SPAN></U></I></STRONG><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial"><o:p></o:p></SPAN></P> <P><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">To=20 make the selection process easier, you can access detailed information = regarding=20 each firm's services and background on the ProSavvy Web site. This = critical=20 information is presented in a standardized format to simplify the=20 decision-making process. <o:p></o:p></SPAN></P> <P><STRONG><I><U><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">STEP=20 4</SPAN></U></I></STRONG><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial"><o:p></o:p></SPAN></P> <P><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">You=20 can access detailed performance reports on more than 1,700 firms with = uncensored=20 ratings from previous clients and have the opportunity to set up = personal=20 interviews with the previous clients you select. <o:p></o:p></SPAN></P> <P><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">ProSavvy=20 Affiliates must meet ProSavvy's stringent standards based on = quantitative and=20 qualitative surveys of previous clients. <o:p></o:p></SPAN></P> <P><STRONG><I><U><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">STEP=20 5</SPAN></U></I></STRONG><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">=20 <o:p></o:p></SPAN></P> <P><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">You=20 will be able to select the firm you desire from a competitive process = involving=20 detailed proposals from matching firms. These bids, coupled with the = valuable=20 information available from our procurement tools, create a competitive = selection=20 process that will ensure the best possible consulting match for any = project=20 need. <o:p></o:p></SPAN></P> <P><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: Arial">ProSavvy's=20 Internet-based tools reduce the cost of procuring consulting services = by up to=20 60% and the risk of hiring the wrong consulting firm by up to 95%.=20 <o:p></o:p></SPAN></P> <P><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-family: = Arial">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~</SPAN><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-size: 12.0pt"><o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Book Antiqua'; = mso-bidi-font-size: 12.0pt">&nbsp;<o:p></o:p></SPAN></P></DIV> <DIV>&nbsp;</DIV></BODY></HTML> ------_=_NextPart_001_01C0B6E6.CDD34122-- ------_=_NextPart_000_01C0B6E6.CDD34122 Content-Type: application/octet-stream; name="Herman Jackson.vcf" Content-Disposition: attachment; filename="Herman Jackson.vcf" BEGIN:VCARD VERSION:2.1 N:Jackson;Herman FN:Herman Jackson ORG:ProSavvy;Project Development NOTE:Business Development Specialist TEL;WORK;VOICE:720-873-5400 ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;9510 Meridian Blvd.=0D=0ASuite 200;Englewood;CO;80112;USA LABEL;WORK;ENCODING=QUOTED-PRINTABLE:9510 Meridian Blvd.=0D=0ASuite 200=0D=0AEnglewood, CO 80112=0D=0AUSA EMAIL;PREF;INTERNET:hjackson@ProSavvy.com REV:20010109T002828Z END:VCARD ------_=_NextPart_000_01C0B6E6.CDD34122-- From: jdix at home.com (Jim ) Date: Tue, 27 Mar 2001 10:05:26 -0800 Subject: [ic] Server question Jim I gather that "usr/loca/..." is the same as "domainname/" perhaps you misunderstood me. I'm setting up a site for a client. It is "www.hisdomainname.com" It has it's own cg-bin area. When I tar'ed the file, it did create everything rather quickly. But, when I run "config", I got the following error: ----copy starts----- Found Perl 5.00404 as /usr/local/bin/perl If you get a CPAN error, rerun the configuration and it should go away. syntax error at Makefile.PL line 532, near ") for " BEGIN not safe after errors--compilation aborted at Makefile.PL line 775. make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `test'. Stop. ------ error copy ends ------ The way people seem to be discussing things here, is as if they are runing a server. I'm not. Have no access the server root, just domainname root. Is this my problem? I don't understand what you mean by "usr/loca/src". Here is what I did: [1]- FTP'ed the tar file it to www.domainname.com/cgi-bin [2]- Telnet'ed in and tar'ed it and it created a directory called interchange-4.6.4 with a swack of files and sub-dirs uner it. Seeing that it like a directory called "interchange", I rennamed the directory from interchange-4.6.4 to interchange. [3]- ran 'config and got the errors as noted above. Whew... :) Jim D Jim Balcom wrote: > > Am new to shopping carts and the such and am having problems. > > > > I've tar'ed the files to cgi-bin. After many trials and errors, am I > > right in concluding that Interchange will not run from within (example) > > = "www.domainname.com/cgi-bin/interchange" ?? > > > > I also note that the tarball method created a foldr called > > "interchange-4.6.4" with sub-dirs. The files, when looking through them, > > PL's etc., want to look in "interchange". Hmmm > > >From what you have written, it appears that you have skipped a few steps. > > I downloaded the tarball into /usr/local/src (just my personal hang-up) > I ran 'tar -xzvf interchange*' > This created it's own sub-directory for interchange. > Do a cd to that sub-directory and run ./configure > > This is going to install all of the stuff that you need to make the > Interchange server work before you can set up any catalogs. I told mine to > put it all in /usr/local/interchange - which is one of the places that it > wanted to do it. > > I recommend that, as much as possible, you stick to the locations and the > preferences that it wants to put things. > > NOTE: This process can take (literally) several hours. It needs to gather up > a lot of things off of the Internet. The program is intelligent enough to go > and get them and to install them. I've played with too many packages that > will make you go and find some other package, install it, and get it > running, and then you have to come back and start over, and then go and get > other packages. I've had to go several layers deep to get this all working. > Interchange is not like that. It will go and get the stuff, install it and > test it. But, frequently it needs to start all over again once it gets a > necessary package installed. At the end, you may end up with an error. If > you run ./configure again, after it's got everything in that it wants, you > should get an error-free installation. > > It's ONLY after this that you can start installing catalogs. This sets up > and installs the server. Without an operational server, you can't set up any > catalogs or do anything. > > -= Jim =- > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: jim at idk-enterprises.com (Jim Balcom ) Date: Tue, 27 Mar 2001 13:31:25 -0500 Subject: [ic] Server question > I gather that "usr/loca/..." is the same as "domainname/" Nope! It's not the same. > perhaps you misunderstood me. I'm setting up a site for a client. It is > "www.hisdomainname.com" > It has it's own cg-bin area. Someone else will correct me if I'm wrong here, but you have to set the server up so that it is accessible server wide. (Well, maybe not 'have to', but I don't think that you can easily set it up within a users own space.) The cgi-bin are comes into play for the users catalogs, and is not set up until after you have the server up and running. > > When I tar'ed the file, it did create everything rather quickly. But, when I run > "config", I got the following error: > > ----copy starts----- > Found Perl 5.00404 as /usr/local/bin/perl Now, HERE is a major problem! You have to have version 5.005 or higher, and during the installation of the server, it will go out and get the latest and greatest and install it - and for that you need root access. -= Jim =- From: jdix at home.com (Jim ) Date: Tue, 27 Mar 2001 11:09:00 -0800 Subject: [ic] Server question Darn... Thought so. Since I don't have access to root, the server root tha is, then I'm a tad short on making Interchange work. I have contacted the ISP and suggested they get busy and install it for their customers. Thanks Jim for all your help. Jim D Jim Balcom wrote: > > I gather that "usr/loca/..." is the same as "domainname/" > > Nope! It's not the same. > > > perhaps you misunderstood me. I'm setting up a site for a client. It is > > "www.hisdomainname.com" > > It has it's own cg-bin area. > > Someone else will correct me if I'm wrong here, but you have to set the > server up so that it is accessible server wide. (Well, maybe not 'have to', > but I don't think that you can easily set it up within a users own space.) > > The cgi-bin are comes into play for the users catalogs, and is not set up > until after you have the server up and running. > > > > > When I tar'ed the file, it did create everything rather quickly. But, when > I run > > "config", I got the following error: > > > > ----copy starts----- > > Found Perl 5.00404 as /usr/local/bin/perl > > Now, HERE is a major problem! You have to have version 5.005 or higher, and > during the installation of the server, it will go out and get the latest and > greatest and install it - and for that you need root access. > > -= Jim =- > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: chris at vanoosterhout.com (Christopher VanOosterhout ) Date: Tue, 27 Mar 2001 14:50:34 -0500 Subject: [ic] How to send out confirmation emails I was searching the archives to find instructions about how to send a confirmation email to my customers. I found a reference that said I should look in the FAQ where instructions were documented. As I searched ... I could not find this in the FAQ. Does anyone have any hints? Is this document still available online? Christopher Van Oosterhout From: Scott.Andreas at learningco.com (Andreas, Scott ) Date: Tue, 27 Mar 2001 11:51:59 -0800 Subject: [ic] A point of concern about choosing the Interchange cart this is your cart...thus you can do with it as you please. In order for you to change something you must... 1). know some basic html. The more you know the more you will be able to edit. 2). read the documentation. Its loaded with examples and howto's that will guide you through your implementation. It should be noted that interchange is very flexable and can be designed to fit your needs, yet a basic knowledge should be obtained before diving in and causing you much a headache. Goodluck!! -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Master Abductor Sent: Monday, March 26, 2001 11:23 PM To: interchange-users@lists.akopia.com Subject: RE: [ic] A point of concern about choosing the Interchange cart If I may clarify my previous post: The images displaying in the demo store are pretty small, and the images I already created for most of my products are much larger. I'm just learning about the Interchange cart, and I just caught something about it's features that my be undesirable for me. In the demo, the images for products are small (as is the preference on many sites these days). However many of my products are videos and CD-ROM's, and for our old cart we created images that are actually collages of screen shots from the videos or CD's. The default sizes of these images is too small. Is there a way to easily configure the store to display larger images, or open a big image in a separate window perhaps? I'm also not crazy about the fact that mostly the store items are listed with small text hyperlinks, and you have to click on text to see a picture. I would prefer to have thumbnails along with the text hyperlinks. Again is this "going against the grain" of the store? Thanks, Greg _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: joachim.richter at usvideocenter.de (joachim.richter ) Date: Tue, 27 Mar 2001 22:31:59 +0200 Subject: [ic] Export of Interchange Data Hi out there, I understand the following exports the userdb in the file exuserdb [tag flag write]expuserdb[/tag] [tag export userdb expuserdb]Proceed[/tag] what is the easiest way to say : do the same export, but only export the data which has an input in the mod_time field i hope this is not a bother but in the reference guide the export / import feature didn't get that much "footage" regards 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: joachim.richter at usvideocenter.de (joachim.richter ) Date: Tue, 27 Mar 2001 22:35:30 +0200 Subject: [ic] The old Art Store hi again, in the old minivend demo the "art store" was this great "i have forgotten my password" script. does anybody still have access to that ? or maybe the html pages/code ? i really like to use that thanx in advance 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: jon at akopia.com (Jon Jensen ) Date: Tue, 27 Mar 2001 14:38:26 -0600 (CST) Subject: [ic] The old Art Store On Tue, 27 Mar 2001, joachim.richter wrote: > in the old minivend demo the "art store" was this great > "i have forgotten my password" script. > > does anybody still have access to that ? or maybe the html pages/code ? http://larry.minivend.com/demos/ Jon From: joachim.richter at usvideocenter.de (joachim.richter ) Date: Tue, 27 Mar 2001 22:46:03 +0200 Subject: [ic] RE: A point of concern about choosing the Interchange cart Hi, why don't you try this use this link on you page :(adjust the dirs) <a href="#" onClick="window.open('[area scan sp=img/va=bild=[item-field display]]','bild','width=400,height=550,status=yes');"> create an html document called img.html it should look something like this <body marginwidth=0 marginheight=0 topmargin=0 leftmargin=0 background="__navigation__/close_up.jpg" onLoad="this.focus();"> <table align=center height=100%> <tr><td valign=middle align=center> [perl interpolate=1] $bildurl = "[value bild]"; $bildurl =~ s/JPG/jpg/g; return "<img name=\"bild\" src=\"__closeups__/$bildurl\" border=0>"; [/perl] </td> </tr> </table> </body> the close_up.jpg is shown in the background while the pic is loaded. you should make a dir with screenshots jpgs of the article hope that helps 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: chc at mninter.net (Curt Hauge ) Date: Tue, 27 Mar 2001 14:55:10 -0600 Subject: [ic] Server question -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Jim Balcom > > ----copy starts----- > Found Perl 5.00404 as /usr/local/bin/perl >Now, HERE is a major problem! You have to have version 5.005 or higher, and >during the installation of the server, it will go out and get the latest and >greatest and install it - and for that you need root access. or search the archives for cpan_local_install to install perl locally Curt Hauge From: jim at idk-enterprises.com (Jim Balcom ) Date: Tue, 27 Mar 2001 17:39:15 -0500 (EST) Subject: [ic] Server question On Tue, 27 Mar 2001, Curt Hauge wrote: CH>>> ----copy starts----- CH>>> Found Perl 5.00404 as /usr/local/bin/perl CH>> CH>>>Now, HERE is a major problem! You have to have version 5.005 or higher, and CH>>>during the installation of the server, it will go out and get the latest and CH>>>greatest and install it - and for that you need root access. CH>> CH>>or search the archives for cpan_local_install to install perl locally It would scare the snot out of me to have a user try doing that on my system! I realize that Perl is pretty reliable and bullet-proof. But, Perl is pretty powerful, and I've seen what users can do! :-) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter ---------------------------------------------------------------- Tagline for Tuesday, March 27, 2001 at 17:35 PM: Some nonsense now and then is relished by the wisest men ---------------------------------------------------------------- This Linux System has been up 793 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: rhertz at baits.com (Ryan Hertz ) Date: Tue, 27 Mar 2001 16:03:10 -0700 Subject: [ic] How to deploy Interchange Project Try copying your interchange.cfg from the original server to your new install and restart. :-) At 05:08 AM 3/27/01 , you wrote: >Hi all > >What is the best way to move one interchange project from one host to >another. I did it by copying all project files after installing interchange >on the new server but when interchange server starts I get the following >errors: >"Directive ProductFiles returned default setting error: No defualt search >file! >In line ... >ActionMap ui_download <<EOR > >How to put the members only feature working in the barry exampl. I try to >change this setting and doesn΄t work like it should ? > >I use interchange 4.5 that came with redhat 7 > >Thank You in advance >Paul > >Inteliware > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Tue, 27 Mar 2001 15:46:59 -0800 Subject: [ic] How to send out confirmation emails At 02:50 PM 3/27/2001 -0500, you wrote: >I was searching the archives to find instructions about how to send a >confirmation email to my customers. The construct template comes with this functionality "out of the box". o When an order is placed, a confirmation email is sent. o When an order status is changed to "shipped", another confirmation email is sent. If it's not happening for you, are you sure your sendmail config is correct? (Try 'cat some_file | mail testaddress@domain.com' to see if you have some rudimentary functionality). HTH, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: support at integricity.com (Integricity Support ) Date: Wed, 28 Mar 2001 13:07:19 +0800 Subject: [ic] [email] error msg Hi guys, I want to use the [email] tags but when I added it to my catalog.cfg, I now get this... Can anyone tell me what I am doing wrong here : Configuring catalog store...Using MySQL, DSN=dbi:mysql:live_store. UserTag 'email' subroutine failed safe check: open trapped by operation mask at (eval 599) line 17, <CONFIG> chunk 368. In line 368 of the configuration file 'catalog.cfg': UserTag email Routine <<EOR done. Interchange server started in INET and UNIX mode(s) (process id 18475) From: dingdong.sobida at q-linux.com (dingdong ) Date: Wed, 28 Mar 2001 14:40:27 +0800 Subject: [ic] MYsql? Larry, thanks I finally got to make a catalog using Postgres with makecat. but I'm having a problem with the current setting. when I access the URL: http://[myserver]/construct i get to the initial page, but that's all i can access. when i click the "Enter as Customer" or the "Admin Interface" i get an error: Undefined catalog: /cgi-bin/construct i looked into the /etc/interchange.cfg but eh catalog was correctly added (by makecat) to the config file. does anyone have an idea Yo LM wrote: > The only "gotcha" I've found with Postgres and makecat is this - > when using PostgreSQL, make sure the user you're running > makecat as is in pg_shadow - one way to do this is to login as > the postgres user, and: > > $ psql > > postgres => CREATE USER whoever CREATEDB CREATEUSER; > > or use the createuser command: > > createuser -i userid -d -u whover > > (or some variant thereof :) ) > > I've been pretty happy using Postgres with Interchange; no > problems to speak of. > > - Larry From: jon at akopia.com (Jon Jensen ) Date: Wed, 28 Mar 2001 00:45:10 -0600 (CST) Subject: [ic] Alpha test version 4.7.1 available We've packaged up the latest development version of Interchange for an alpha test. Those who've been following work committed to CVS, or hardy souls looking for i-adventure with e-Interchange are encouraged to dust off a spare server and try out Interchange 4.7.1. It's only available here, on a first-come, first-served basis: http://larry.minivend.com/interchange/alpha/interchange-4.7.1.tar.gz Please DO NOT upgrade any production servers to this experimental release. A few of the highlights are: Modular options SOAP support Pre-forked page servers [table-editor] tag [tree] tag Autonumbering fields Transaction support (commit/rollback in tags) A more complete and intimidating list is at: http://larry.minivend.com/interchange/alpha/WHATSNEW Let us know how it works for you. Jon From: abductor at abductor.com (Master Abductor ) Date: Tue, 27 Mar 2001 23:47:24 -0800 Subject: [ic] RE: A point of concern about choosing the Interchange cart Dear Joe, You rock! Sincerely, Greg :-P -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of joachim.richter Sent: Tuesday, March 27, 2001 12:46 PM To: interchange-users@lists.akopia.com Subject: [ic] RE: A point of concern about choosing the Interchange cart Hi, why don't you try this use this link on you page :(adjust the dirs) <a href="#" onClick="window.open('[area scan sp=img/va=bild=[item-field display]]','bild','width=400,height=550,status=yes');"> create an html document called img.html it should look something like this <body marginwidth=0 marginheight=0 topmargin=0 leftmargin=0 background="__navigation__/close_up.jpg" onLoad="this.focus();"> <table align=center height=100%> <tr><td valign=middle align=center> [perl interpolate=1] $bildurl = "[value bild]"; $bildurl =~ s/JPG/jpg/g; return "<img name=\"bild\" src=\"__closeups__/$bildurl\" border=0>"; [/perl] </td> </tr> </table> </body> the close_up.jpg is shown in the background while the pic is loaded. you should make a dir with screenshots jpgs of the article hope that helps 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@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: Psirix at aol.com (Psirix at aol.com ) Date: Wed, 28 Mar 2001 02:44:32 EST Subject: [ic] Question about customer Login with Interchange? Dear Interchange Users: I have a little problem with customers logging in and out my Interchange site. I tried it myself and what occurs is people can login fine but when they "log out" they log out fine and the button says "Log In" like it should but if they click the "Home" button it takes them to Home but it still acts as if they were logged in the little message says "Welcome to Nicktronics, Bob!" their name and the button at the top still says "Logout" at the top as if they never logged out. How can I fix this? If anyone knows I would greatly appreciate it. My homepage is http://www.nicktronics.com "enter as customer" Im not finished with my site yet. If possible you can email me at Psirix@aol.com. Thanks, Nick From: chen at lilux.co.il (Chen Naor ) Date: Wed, 28 Mar 2001 09:51:50 +0200 Subject: [ic] MYsql? Did you restarts interchange? You have to restart interchange to allow the server to build all of the tables in the catalog. Do: /etc/rc.d/init.d/interchange restart (for RH) Chen ----- Original Message ----- From: "dingdong" <dingdong.sobida@q-linux.com> To: <interchange-users@lists.akopia.com> Sent: Wednesday, March 28, 2001 8:40 AM Subject: Re: [ic] MYsql? > Larry, > > thanks I finally got to make a catalog using Postgres with makecat. > but I'm having a problem with the current setting. when I access the > URL: > > http://[myserver]/construct > > i get to the initial page, but that's all i can access. when i click the > "Enter as Customer" or the "Admin Interface" i get an error: > > Undefined catalog: /cgi-bin/construct > > i looked into the /etc/interchange.cfg but eh catalog was correctly > added (by makecat) to the config file. does anyone have an idea > > > Yo > > LM wrote: > > > The only "gotcha" I've found with Postgres and makecat is this - > > when using PostgreSQL, make sure the user you're running > > makecat as is in pg_shadow - one way to do this is to login as > > the postgres user, and: > > > > $ psql > > > > postgres => CREATE USER whoever CREATEDB CREATEUSER; > > > > or use the createuser command: > > > > createuser -i userid -d -u whover > > > > (or some variant thereof :) ) > > > > I've been pretty happy using Postgres with Interchange; no > > problems to speak of. > > > > - Larry > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: chen at lilux.co.il (Chen Naor ) Date: Wed, 28 Mar 2001 09:57:28 +0200 Subject: [ic] The old Art Store I would not recommend to use it, sending a plain text password over the internet is not secure... If you do it, you probably means that you don't crypt your user's passwords, again not secure. My advise, use encrypt password and build a page for reenter the password base on some special user fields. Chen ----- Original Message ----- From: "joachim.richter" <joachim.richter@usvideocenter.de> To: <interchange-users@lists.akopia.com> Sent: Tuesday, March 27, 2001 10:35 PM Subject: [ic] The old Art Store > hi again, > > in the old minivend demo the "art store" was this great > "i have forgotten my password" script. > > does anybody still have access to that ? or maybe the html pages/code ? > > i really like to use that > > > thanx in advance > > 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@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: neillunn at gunz.com.au (Neil Lunn ) Date: Wed, 28 Mar 2001 18:15:26 +1000 Subject: [ic] Question about customer Login with Interchange? I don't see that. This is behaving like a normal logout. -----Original Message----- From: Psirix@aol.com [mailto:Psirix@aol.com] Sent: Wednesday, March 28, 2001 5:45 PM To: interchange-users@lists.akopia.com Subject: [ic] Question about customer Login with Interchange? Dear Interchange Users: I have a little problem with customers logging in and out my Interchange site. I tried it myself and what occurs is people can login fine but when they "log out" they log out fine and the button says "Log In" like it should but if they click the "Home" button it takes them to Home but it still acts as if they were logged in the little message says "Welcome to Nicktronics, Bob!" their name and the button at the top still says "Logout" at the top as if they never logged out. How can I fix this? If anyone knows I would greatly appreciate it. My homepage is http://www.nicktronics.com "enter as customer" Im not finished with my site yet. If possible you can email me at Psirix@aol.com. Thanks, Nick _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users __________________________________________________________________________ Please Note : Only the intended recipient is authorised to access or use this e-mail. If you are not the intended recipient, please delete this e-mail and notify the sender immediately. The contents of this e-mail are the writer's opinion and are not necessarily endorsed by the Gunz Companies unless expressly stated. We use virus scanning software but exclude all liability for viruses or similar in any attachment. From: dingdong.sobida at q-linux.com (dingdong ) Date: Wed, 28 Mar 2001 16:14:47 +0800 Subject: [ic] MYsql? Chen, yup i did, a couple of times, what i did was I edited the /etc/interchange.cfg and disabled access to PostgreSQL. now i have access to store pages but the admin pages are still unaccessible. any ideas?? Yo Chen Naor wrote: > Did you restarts interchange? > You have to restart interchange to allow the server to build all of the > tables in the catalog. > Do: /etc/rc.d/init.d/interchange restart (for RH) > > Chen From: db at cyclonehq.dnsalias.net (Dan B ) Date: Wed, 28 Mar 2001 00:32:23 -0800 Subject: [ic] Alpha test version 4.7.1 available At 12:45 AM 3/28/2001 -0600, you wrote: >We've packaged up the latest development version of Interchange for an >alpha test. Those who've been following work committed to CVS, or hardy >souls looking for i-adventure with e-Interchange are encouraged to dust >off a spare server and try out Interchange 4.7.1. [snip some great humor] >Let us know how it works for you. Works great! I've got it running my 4.6.4 era catalogs just fine (on pgsql) except some pages that have dan-esqe perl code. I'm looking into that. On the other hand, the new foundation template had some trouble. E.g. I couldn't get any flypages to come up. I kept getting apache "error 500" and interchange "page () does not exist" errors. Also, makecat seemed to have some terminal troubles; some questions would overwrite previous ones on the screen. (When using ssh for the terminal). I'm also very excited about the following things: o Better database stuff: o New transaction support (with PostgreSQL) o DEFAULT values in database (at the interchange level, not db level) o ALTERNATE_DSN values - I plan to use this to setup failover db server o FileDatabase - to store *all* files off-disk (easier clustering) o base-sku with "varient sku" add-ons Later, all, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: rene at hertell.com (Rene Hertell ) Date: Wed, 28 Mar 2001 11:32:56 +0300 Subject: [ic] Question about customer Login with Interchange? I had the same problem with Minivend, so I got a solution that looks like this: [set name=done int][userdb function=logout clear=1][/set] [value name="username" set="" hide=1] [value name="mv_username" set="" hide=1] [value name="mv_password" set="" hide=1] [value name="mv_verify" set="" hide=1] [if scratch done] <b>Thanks for stopping in!</b> [else] You refuse to be logged out.[/L] [/else] [/if] Renι > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of > Psirix@aol.com > Sent: 28 March 2001 10:45 > To: interchange-users@lists.akopia.com > Subject: [ic] Question about customer Login with Interchange? > > > Dear Interchange Users: > I have a little problem with customers logging in and out my > Interchange site. I tried it myself and what occurs is people can > login fine but when they "log out" they log out fine and the > button says "Log In" like it should but if they click the "Home" > button it takes them to Home but it still acts as if they were > logged in the little message says "Welcome to Nicktronics, Bob!" > their name and the button at the top still says "Logout" at the > top as if they never logged out. How can I fix this? If anyone > knows I would greatly appreciate it. My homepage is http://www.nicktronics.com "enter as customer" Im not finished with my site yet. If possible you can email me at Psirix@aol.com. Thanks, Nick _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: tjohnson at odin.ac.hmc.edu (Thomas J. Johnson ) Date: Wed, 28 Mar 2001 00:39:49 -0800 (PST) Subject: [ic] Alpha test version 4.7.1 available Any estimates on when a release version with these features will be available? I'm currently in the process of developing a new site based on IC and I'd love to use these features, if a stable version will be ready by the time I have to deploy the site. Thanks Tom > > We've packaged up the latest development version of Interchange for an > alpha test. Those who've been following work committed to CVS, or hardy > souls looking for i-adventure with e-Interchange are encouraged to dust > off a spare server and try out Interchange 4.7.1. It's only available > here, on a first-come, first-served basis: > > http://larry.minivend.com/interchange/alpha/interchange-4.7.1.tar.gz > > Please DO NOT upgrade any production servers to this experimental release. > > A few of the highlights are: > > Modular options > SOAP support > Pre-forked page servers > [table-editor] tag > [tree] tag > Autonumbering fields > Transaction support (commit/rollback in tags) > > A more complete and intimidating list is at: > > http://larry.minivend.com/interchange/alpha/WHATSNEW > > Let us know how it works for you. > > Jon > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: Murray at scotweb.ltd.uk (Murray Gibbins ) Date: Wed, 28 Mar 2001 09:49:25 +0100 Subject: [ic] Alpha test version 4.7.1 available Jon Jensen wrote: > A few of the highlights are: Thank you for this. * Add a new directive "Limit". It is designed to hold limits for certain things. Implemented to begin with: Limit chained_cost_levels 20 But how about the other hard coded limit in CommonAdjust? Yours Murray -- ____ \__/ Murray Gibbins murray@scotweb.ltd.uk / \ Programmer _ \__/ _ ================================================ \\ || // Scotweb Limited, info@scotweb.ltd.uk \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 From: dingdong.sobida at q-linux.com (dingdong ) Date: Wed, 28 Mar 2001 17:45:16 +0800 Subject: [ic] MYsql? Ed, I've followed your note and was able to create/import the product table on my PostgreSQL but i get the "Undefined catalog: /cgi-bin/catalog" but if i comment the lines concerning the SQL server it runs perfectly. Any ideas. Yo Ed LaFrance wrote: > At 10:02 AM 03/23/2001 -0700, you wrote: > >So I need to make a new catalog in order to switch? It makes sense, I was > >just hoping for a less involved solution. Lazy again :) > > NO, you can just edit the catalog.cfg for your existing catalog: > > Variable SOMESQL 1 > Variable MYSQL 1 > #Variable PGSQL > #Variable ORACLE > Variable SQLDSN dbi:mysql:databasename > Variable SQLDB databasename > Variable SQLUSER username > Variable SQLPASS password > > Create a database with 'databasename' in mysql and grant all privileges to > username@localhost identified by 'password'. Then make the changes to you > catalog.cfg (like above) and restart interchange. If all goes well you > should see the table creation messages echoed to the screen and the data > will be be imported. You can look in yourcat/dbconf/mysql to see the table > definition files. > > You will need to have the proper Perl modules installed before doing any of > this - they are listed in the docs for SQL Support. > > - Ed L. > > >GL > > > >----- Original Message ----- > >From: Jason Kohles <jkohles@redhat.com> > >To: <interchange-users@lists.akopia.com> > >Sent: Friday, March 23, 2001 9:33 AM > >Subject: Re: [ic] MYsql? > > > > > > > On Fri, Mar 23, 2001 at 09:29:46AM -0700, George Loch wrote: > > > > How many folks have taken the construct demo and converted it to a mysql > >DB > > > > instead of the flat file? What is the procedure other than by hand? > > > > > > > It should take nothing more than telling makecat to use mysql when you > >create > > > the catalog, I've always installed it using mysql. > > > > > > -- > > > Red Hat E-Business Solutions Jason Kohles > > > 11480 Sunset Hills Road Senior System Architect > > > Reston, VA 20190 jkohles@redhat.com > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > >_______________________________________________ > >Interchange-users mailing list > >Interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > =============================================================== > **** Virtual Hosting w/private IC Installation, $65/month! **** > --------------------------------------------------------------- > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: joachim.richter at usvideocenter.de (joachim.richter ) Date: Wed, 28 Mar 2001 11:42:02 +0200 Subject: [ic] RE: A point of concern about choosing the Greg, help me with this and you are my hero !! Hi out there, I understand the following exports the userdb in the file exuserdb [tag flag write]expuserdb[/tag] [tag export userdb expuserdb]Proceed[/tag] what is the easiest way to say : do the same export, but only export the data which has an input in the mod_time field i hope this is not a bother but in the reference guide the export / import feature didn't get that much "footage" regards 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: rene at hertell.com (Rene Hertell ) Date: Wed, 28 Mar 2001 13:39:09 +0300 Subject: [ic] A point of concern about choosing the Interchange cart Try this script, you will probably like it :) This closes automatically the popup-window when it looses focus. I personally hate all popup windows because they have to been closed manually, and they usually popup without my "permission" :). So this script is a sort of a compromise... <script> var roam = null; function AutoClose() { roam = window.open('http://www.someurl.net','hanky','width=305,height=305');} function blowOut(){if (roam != null && roam.open) roam.close();} window.onfocus=blowOut; </script> <a href="javascript:AutoClose()">Test</a> Renι > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Master > Abductor > Sent: 27 March 2001 10:19 > To: Akopia Interchange > Subject: [ic] A point of concern about choosing the Interchange cart > > > I'm just learning about the Interchange cart, and I just caught something > about it's features that my be undesirable for me. > > In the demo, the images for products are small (as is the > preference on many > sites these days). However many of my products are videos and > CD-ROM's, and > for our old cart we created images that are actually collages of screen > shots from the videos or CD's. The default sizes of these images is too > small. Is there a way to easily configure the store to display larger > images, or open a big image in a separate window perhaps? > > I'm also not crazy about the fact that mostly the store items are listed > with small text hyperlinks, and you have to click on text to see > a picture. > I would prefer to have thumbnails along with the text hyperlinks. Again is > this "going against the grain" of the store? > > Thanks, > Greg > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: vasile_abo at wexim.com (vasile_abo at wexim.com ) Date: Wed, 28 Mar 2001 13:05:49 +0200 Subject: [ic] Can't locate object method "test_column" via package "Ven d::Table::InMemory" Hello everybody here I've got a strange problem with a Interchange 4.6.3 on a Linux box with perl 5.6. In error.log I got : ################################### [28/March/2001:03:36:57 -0500] shop /cgi-bin/shop/order_to_print.html Safe: Can't locate object method "test_column" via package "Vend:: Table::InMemory" at [interchange path here]/lib/Vend/Data.pm line 186. > > return sprintf("%.2f", $Tag->total_cost({noformat=>1})) ################################### In fact, I got this everytime I try to use $Tag->total_cost in a Perl subroutine. This problem does not happen when using a GDBM table. Does anybody has an idea ? bye -- Vasile Calmatui vasile_abo@wexim.com http://www.chez.com/vasile/ From: vasile_abo at wexim.com (vasile_abo at wexim.com ) Date: Wed, 28 Mar 2001 13:10:16 +0200 Subject: [ic] Runtime error: Could not tie to 'products': Is a directory Hello Everybody Here I've got a strange problem with a Interchange 4.6.3 on a Linux box with perl 5.6. In error.log I got : ###################################### [27/March/2001:14:55:56 -0500] shop /cgi-bin/shop/IRDA-01.html Runtime error: Could not tie to 'products': Is a directory at [interchange lib]/lib/Vend/Table/GDBM.pm line 105. ###################################### In catalog.cfg I has : Database products products.asc TAB Database products READ_ONLY 1 Database products IMPORT_ONCE 1 ProductFiles products This problem does not happen when using a InMemory table. Does anybody has an idea ? Have a nice day, bye -- Vasile Calmatui vasile_abo@wexim.com http://www.chez.com/vasile/ From: sheich at mosinfo.ru (Sergey Sheykin ) Date: Wed, 28 Mar 2001 15:24:21 +0400 Subject: [ic] credit card number Hi, where Interchange(MV) store a credit card number (mv_credit_card_number) ? - table, field... and where placed routine, that validate it number, and determinate it type? Segrey. From: gregoire.hubert at fr.alcove.com (=?iso-8859-1?Q?Gr=E9goire?= Hubert ) Date: Wed, 28 Mar 2001 13:34:42 +0200 Subject: [ic] admin interface Hi, I spent houts to build demo store, Interchange seems to work well now but I have no access to admin interface...when I click on the admin link an Interchange page tells me that the page Admin/index was not found... It's true that there's no admin.html page in the admin folder ... where is it so ? How can I manage to get an admin interface ? Thank you for your assistance... Gregoire. From: IanGibbons at fishnet.co.uk (Ian Gibbons ) Date: Wed, 28 Mar 2001 12:41:03 +0100 Subject: [ic] MySQL connect problem Hi I am using mysql on a Raq4i with all the perl modules installed, tested and working. After running makecat, creating the database test_example2 and setting all the correct parameters. I get the following error when starting interchange: Configuring catalog example2...Using MySQL, DSN=dbi:mysql:test_example2. example2 config error: connect failed (create) -- unknown error. Driver 'mysql' installed? The mysql log shows no attempted connections - so its not a permissions thing. Any ideas on what I am doing wrong? Ian Gibbons ---------------------------------------------------------- Ian Gibbons Fish.Net Ltd Providing Internet Solutions http://www.fishnet.co.uk e-mail IanGibbons@fishnet.co.uk Tel +44 (0)1457 819600 Fax +44 (0)1457 819602 ---------------------------------------------------------- From: sheich at mosinfo.ru (Sergey Sheykin ) Date: Wed, 28 Mar 2001 16:47:18 +0400 Subject: [ic] credit card Hi, everyone! I see sql-trace (I using Oracle) and when I click Place Order, Interchange do it like this: update userdb SET mv_credit_card_exp_year = '01' where username = 'dima' update userdb SET mv_credit_card_exp_month = '5' where username = 'dima' update userdb SET mv_credit_card_type = '' where username = 'dima' He stored expired month and year , but dont store credit_card_number, type and don't make validation, though I input all this parameters. Why?!! Sergey. From: chris at vanoosterhout.com (Christopher VanOosterhout ) Date: Wed, 28 Mar 2001 08:14:49 -0500 Subject: [ic] SendMail is Working ... How to send out confirmation Dan, Thanks for the reply. Send mail is in fact working. The reason I know this, is because I, as the administrator/OrderToPerson get a copy of the order for processing. However I a copy does not get sent to the customer. It seems to me that there also would have to be some way to configure this "to the customer email." After searching more through the archives I have found other pieces ... but can not seem to put it all together. I am confused as to if a lot of the references in the docs and FAQs are out of date. There is talk about a report. file, a report.html file and a form_mail.cfg file. I can find the report.html, and I think I understand that one. I can not however find either the form_mail.cfg or the report. file. Is there any documentation on this? What files are actually needed? What changes or modifications are needed in the catalog.cfg files? When you say that this confirmation email functionality works out of the box, do you mean the simple demo? I see a lot of reference to that demo in the documentation, however I did not get that with my distribution. I got "construct" and those files do not seem to be included. What am I missing? Could someone send me a copy of the needed configuration changes? Thanks, Christopher At 03:46 PM 3/27/2001 -0800, Dan B wrote: >At 02:50 PM 3/27/2001 -0500, you wrote: >>I was searching the archives to find instructions about how to send a >>confirmation email to my customers. > >The construct template comes with this functionality "out of the box". > o When an order is placed, a confirmation email is sent. > o When an order status is changed to "shipped", another confirmation > email is sent. > >If it's not happening for you, are you sure your sendmail config is >correct? (Try 'cat some_file | mail testaddress@domain.com' to see if you >have some rudimentary functionality). > >HTH, > >Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users From: bordas at jeuxvideo.com (David Bordas ) Date: Wed, 28 Mar 2001 15:37:48 +0200 Subject: [ic] does interchange take a lot of ressources ? hello, I'm studying an e-commerce solution with akopia interchange for several of my costumers. But i have one question is the akopia take a lot of ressources ? And, can i run several shops on a same server, like a linux server PIII 700 Mhz 128 Mo Ram with 18 Go SCSI for exemple. Will mysql installed on the same machine or can i connected with perl DBI:DBD to a distant mysql. I have made some perl scripts with succesfully connections to a distant mysql, but i don't know if i can do this with interchange. Thanks for reading me. Bye From: admin at sitemajic.net (Chris Jesseman ) Date: Wed, 28 Mar 2001 08:42:48 -0500 Subject: [ic] 4.7.1 compile problem Hi all, ./configure (as non root user) on FreeBSD 4.1 with (This is perl, version 5.005_03 built for i386-freebsd) [snip] PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib - I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 test.pl Can't locate Errno.pm in @INC (@INC contains: blib/arch blib/lib /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/libdata/p erl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/ i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at test.pl line 3. BEGIN failed--compilation aborted at test.pl line 3. *** Error code 2 Stop in /usr/home/seeitco/interchange-4.7.1. Thoughts? -Chris From: g.gaskill at aboron.com (Greg ) Date: Wed, 28 Mar 2001 08:47:02 -0500 Subject: [ic] Question about customer Login with Interchange? > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Neil Lunn > Sent: Wednesday, March 28, 2001 3:15 AM > To: 'interchange-users@lists.akopia.com' > Subject: RE: [ic] Question about customer Login with Interchange? > > > I don't see that. This is behaving like a normal logout. > > -----Original Message----- > From: Psirix@aol.com [mailto:Psirix@aol.com] > Sent: Wednesday, March 28, 2001 5:45 PM > To: interchange-users@lists.akopia.com > Subject: [ic] Question about customer Login with Interchange? > > > Dear Interchange Users: > I have a little problem with customers logging in and out my Interchange > site. I tried it myself and what occurs is people can login fine but when > they "log out" they log out fine and the button says "Log In" > like it should > but if they click the "Home" button it takes them to Home but it > still acts > as if they were logged in the little message says "Welcome to Nicktronics, > Bob!" their name and the button at the top still says "Logout" at > the top as Do you/they have auto-login (cookie) set? > if they never logged out. How can I fix this? If anyone knows I would > greatly appreciate it. My homepage is http://www.nicktronics.com "enter as > customer" Im not finished with my site yet. If possible you can > email me at > Psirix@aol.com. > Thanks, > Nick > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > __________________________________________________________________________ > Please Note : > Only the intended recipient is authorised to access or use this > e-mail. If > you are not the intended recipient, > please delete this e-mail and notify the sender immediately. > The contents > of this e-mail are the writer's > opinion and are not necessarily endorsed by the Gunz Companies unless > expressly stated. > > We use virus scanning software but exclude all liability for viruses or > similar in any attachment. > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: jim at idk-enterprises.com (Jim Balcom ) Date: Wed, 28 Mar 2001 08:55:18 -0500 (EST) Subject: [ic] 4.7.1 compile problem On Wed, 28 Mar 2001, Chris Jesseman wrote: CJ>>./configure (as non root user) on FreeBSD 4.1 with (This is perl, version CJ>>5.005_03 built for i386-freebsd) CJ>> CJ>>[snip] CJ>> CJ>>PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib - CJ>>I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 test.pl CJ>>Can't locate Errno.pm in @INC (@INC contains: blib/arch CJ>>blib/lib /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/libdata/p CJ>>erl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/ CJ>>i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at test.pl line 3. CJ>>BEGIN failed--compilation aborted at test.pl line 3. CJ>>*** Error code 2 CJ>> CJ>>Stop in /usr/home/seeitco/interchange-4.7.1. CJ>> CJ>>Thoughts? Do they insist on Perl 5.6 for this version? This sounds like the errors I was getting when I tried to make 4.6.x work on an unacceptable version of Perl. Just for grins, I would recommend installing the latest Perl and try it again. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter ---------------------------------------------------------------- Tagline for Wednesday, March 28, 2001 at 08:50 AM: Why am I asking all these things? ---------------------------------------------------------------- This Linux System has been up 808 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: mheins at redhat.com (Mike Heins ) Date: Wed, 28 Mar 2001 09:09:00 -0500 Subject: [ic] Interchange-users guidelines [semi-monthly posting] interchange-users@lists.akopia.com is a list for users who have questions about configuring, setting up, and fine tuning Interchange catalogs. Other topics will include: - announcements of Interchange releases and fixes - notification and submission of Interchange bugs - distributing pages which implement Interchange functions - discussing the future development of Interchange - any other topic relating *directly* to Interchange The list started January 5, 1997 as minivend-users. For an archive of past articles, see: http://developer.akopia.com/archive/interchange-users/ Also, because the list has high volume for one of its type, before posting to the list it is recommended that you use the search feature at: http://developer.akopia.com/ Many questions can be answered by trying some keywords at this facility. Try more than one combination. It is common courtesy when posting to a forum such as this to: 1. Include the version of software you are using, i.e. Interchange 4.6.1. Bugs are fixed and deficiencies corrected in each release of Interchange, as with almost any software. 2. Include relevant information where appropriate. The operating system in question is often relevant, as is the Perl version and database type in use. 3. When talking about tag problems, include a snippet of ITL tags which illustrates the problem. 4. When posting about PGP, Glimpse, or anything else that uses an external command, you need to state what happens when you run the same thing from the command line. 5. Include error log entries or a statement that there are none. If a post to this list doesn't include the relevant information, not only are you unlikely to get a reasonable answer, you will add to the volume of the list and make it less likely that reasonable questions are answered. All entries are archived and available via a web gateway. The "X-No-Archive: Yes" header is honored if you choose to use it. List etiquette issues: -- No HTML mail is allowed. Besides being improper email netiquette, it destroys the digest. -- Please try to keep your line size less than 80 characters. -- No PGP signatures should be used. This is not a legal record. -- No flame wars are tolerated. -- No "courtesy copies" unless specifically requested. It can be annoying to some people to receive two copies of the same message. -- If you must munge, make sure you mention this in the BODY of the message and not buried incomprehensibly in the header or in a cluttered signature attachment. -- The list changes the Reply-To: header to point to the list. While this is by popular demand, it is recognized that it is not always the best mode of operation. You should reply by email directly to the sender if the post will not be of general use. For more information see the Netiquette RFC: http://www.faqs.org/rfcs/rfc1855.html Thanks for your cooperation. We believe we have one of the best user lists going, and we would like to keep it useful and pleasant to use. From: DB at clevelandcrystals.com (DB ) Date: Wed, 28 Mar 2001 09:09:09 -0500 Subject: [ic] How to backup and upgrade I'm wondering about the best way to backup the catalogs I make. If my host went under and I had to reinstall IC on a different machine, would a copy of the catalog directories be all that's needed to get back in business? And what about upgrading to new versions as they come out? How does one upgrade without losing existing catalogs? I have searched the list archives but did not find a clear answer. I need to know the answers to these important questions before I devote lots of time to creating my site. DB From: bordas at jeuxvideo.com (David Bordas ) Date: Wed, 28 Mar 2001 16:24:44 +0200 Subject: [ic] does interchange take a lot of ressources ? From: "David Bordas" <bordas@jeuxvideo.com> To: <interchange-users@lists.akopia.com> Sent: Wednesday, March 28, 2001 3:37 PM Subject: [ic] does interchange take a lot of ressources ? Add :) In fact i think that each shop will recieve less than 5000 costumers / day and the machine is a dedicated server with a very good web-connection. thanks > > hello, > > I'm studying an e-commerce solution with akopia interchange for several of > my costumers. > > But i have one question is the akopia take a lot of ressources ? And, can i > run several shops on a same server, like a linux server PIII 700 Mhz 128 Mo > Ram with 18 Go SCSI for exemple. > > Will mysql installed on the same machine or can i connected with perl > DBI:DBD to a distant mysql. > > I have made some perl scripts with succesfully connections to a distant > mysql, but i don't know if i can do this with interchange. > > Thanks for reading me. > > Bye > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: doug at lathi.net (Doug Alcorn ) Date: 28 Mar 2001 09:28:04 -0500 Subject: [ic] Alpha test version 4.7.1 available Jon Jensen <jon@akopia.com> writes: > We've packaged up the latest development version of Interchange for an > alpha test. Is there an internal timeline for a stable release? I guess that would become 4.8.0? -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: doug at lathi.net (Doug Alcorn ) Date: 28 Mar 2001 09:41:20 -0500 Subject: [ic] akopia based training I know akopia/redhat has been looking at providing training for IC. What's the status of that? Is akopia willing to publish the results of their survey they took on same subject? -- (__) 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: jojo at blackpoint.de (jojo at blackpoint.de ) Date: Wed, 28 Mar 2001 16:58:04 +0200 (CEST) Subject: [ic] 4.7.1 compile problem On 28 Mar, Jim Balcom wrote: > On Wed, 28 Mar 2001, Chris Jesseman wrote: > > CJ>>./configure (as non root user) on FreeBSD 4.1 with (This is perl, version > CJ>>5.005_03 built for i386-freebsd) > CJ>> > CJ>>[snip] > CJ>> > CJ>>PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib - > CJ>>I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 test.pl > CJ>>Can't locate Errno.pm in @INC (@INC contains: blib/arch > CJ>>blib/lib /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/libdata/p > CJ>>erl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/ > CJ>>i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at test.pl line 3. > CJ>>BEGIN failed--compilation aborted at test.pl line 3. > CJ>>*** Error code 2 > CJ>> > CJ>>Stop in /usr/home/seeitco/interchange-4.7.1. > CJ>> > CJ>>Thoughts? > > Do they insist on Perl 5.6 for this version? > This sounds like the errors I was getting when I tried to make 4.6.x work > on an unacceptable version of Perl. > > Just for grins, I would recommend installing the latest Perl and try it > again. I get this error too and in some case, some IC user is not able or allowed to install the latest parl on FreeBSD. Any suggestions? Thanks! Joachim -- -------------<FreeBsd>-------------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: cwenham at netmonger.net (Chris Wenham ) Date: Wed, 28 Mar 2001 10:36:30 -0500 Subject: [ic] Alpha test version 4.7.1 available >>>>> "Jon" == Jon Jensen <jon@akopia.com> writes: > A few of the highlights are: > SOAP support > Transaction support (commit/rollback in tags) > Add ability to read files from a database instead of the > filesystem. You guys are the best. Regards, Chris Wenham From: edl at newmediaems.com (Ed LaFrance ) Date: Wed, 28 Mar 2001 08:35:05 -0800 Subject: [ic] [email] error msg At 01:07 PM 03/28/2001 +0800, you wrote: >Hi guys, > >I want to use the [email] tags but when I added it to my catalog.cfg, >I now get this... > >Can anyone tell me what I am doing wrong here : > >Configuring catalog store...Using MySQL, DSN=dbi:mysql:live_store. >UserTag 'email' subroutine failed safe check: open trapped by operation >mask at (eval 599) line 17, <CONFIG> chunk 368. > >In line 368 of the configuration file 'catalog.cfg': >UserTag email Routine <<EOR > >done. >Interchange server started in INET and UNIX mode(s) (process id 18475) This is probably because the email tag uses file handles, which would not be permitted at the catalog level unless you had set it up to be so with AllowGlobal. The simplest solution is put the email usertag file in interchange/usertag and restart - this will make it a server-level tag with the needed permission, and all should be well. In fact, Interchange is distributed this way: Usertag email should already be there. - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: chc at mninter.net (Curt Hauge ) Date: Wed, 28 Mar 2001 11:46:15 -0600 Subject: [ic] expireall and server --start fail to run in crontab (was: Where is checkstat.sh?) IC 4.6.4 tarball - Construct - Default DB - Linux Mandrake 6.0 - Perl 5.6 I have been after this problem for awhile, and now I am on a different Linux server with a fresh install and the same problem. However, I have now discovered that if I put a copy of interchange.cfg in my "virtual" root (which would be /home/htdocs/my_space), expireall functions as expected!(on this box, not other). Look below at line 103 in expireall. It seems like it is not using the /interchange directory when looking for interchange.cfg - it just looks for interchange.cfg in /my_space. The error logs report nothing. Here is the scenario. My crontab looks like this: 5,15,25,35,45,55 * * * * /home/htdocs/my_space/interchange/bin/interchange -serve 1,11,21,31,41,51 * * * * /home/htdocs/my_space/interchange/bin/expireall -r I am receiving the following error in server mail after cron runs expireall: Couldn't read interchange.cfg: No such file or directory It appears to come from line 103 in interchange/bin/expireall: open(GLOBAL, "< $Global::ConfigFile") or die "Couldn't read $Global::ConfigFile: $!\n"; What is going on in this line to cause it to die? Perhaps it is when it starts up and configures the variables? This is my second installation of Interchange with this problem. The Minivend installations I have done on the same server did not have this problem. Should I report it as a bug? Anyone know where I can go from here? Thanks again! Curt Hauge The whole expireall script follows: #!/usr/bin/perl eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' if 0; # not running under some shell ##!~_~perlpath~_~ # # Interchange session expiration for all catalogs # # $Id: expireall.PL,v 1.8 2000/09/25 16:57:54 zarko Exp $ # # Copyright (C) 1996-2000 Akopia, Inc. <info@akopia.com> # # See the file 'Changes' for information. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public # License along with this program; if not, write to the Free # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA. use lib '/home/htdocs/mnwebdesign/interchange/lib'; #use lib '~_~INSTALLPRIVLIB~_~'; use lib '/home/htdocs/mnwebdesign/interchange'; #use lib '~_~INSTALLARCHLIB~_~'; use strict; use Getopt::Std; use vars qw/$opt_e $opt_f $opt_n $opt_r/; BEGIN { ($Global::VendRoot = $ENV{MINIVEND_ROOT}) if defined $ENV{MINIVEND_ROOT}; $Global::VendRoot = $Global::VendRoot || '/home/htdocs/mnwebdesign/interchange'; # $Global::VendRoot = $Global::VendRoot || '~_~INSTALLARCHLIB~_~'; if(-f "$Global::VendRoot/interchange.cfg") { $Global::ExeName = 'interchange'; $Global::ConfigFile = 'interchange.cfg'; } elsif(-f "$Global::VendRoot/minivend.cfg") { $Global::ExeName = 'minivend'; $Global::ConfigFile = 'minivend.cfg'; } elsif(-f "$Global::VendRoot/interchange.cfg.dist") { $Global::ExeName = 'interchange'; $Global::ConfigFile = 'interchange.cfg'; } } ### END CONFIGURATION VARIABLES my $prog = $0; $prog =~ s:.*/::; my $USAGE = <<EOF; usage: $prog [-r] [-f file] -f Alternate interchange.cfg file -r Use reorganize parameter in command Expire all listed Interchange catalogs. Will read information from either the file passed with -f or: $Global::VendRoot/interchange.cfg EOF getopts('e:f:rn') or die "$@\n$USAGE\n"; ($Global::ConfigFile = $opt_f) if defined $opt_f; my $flag = ''; my @cats; if ($opt_r) { $flag .= '-r'; } if($opt_e) { $flag .= qq{ -e "$opt_e"}; } unless ($opt_n) { $flag .= " -u"; } # Parse the interchange.cfg file to look for script/catalog info PARSECFG: { my(@cfglines,%seen); open(GLOBAL, "< $Global::ConfigFile") or die "Couldn't read $Global::ConfigFile: $!\n"; while(<GLOBAL>) { push(@cfglines, $_) if /^\s*catalog\s+/i; } close GLOBAL; @cfglines = grep !$seen{$_}++, @cfglines; for(@cfglines) { next unless /^\s*(?:sub)?catalog\s+([-\w_]+)/i; push(@cats, $1); } } for(@cats) { system "$Global::VendRoot/bin/expire $flag -c $_"; } =head1 NAME expireall -- Run Interchange expire on all catalogs =head1 VERSION $Id: expireall.PL,v 1.8 2000/09/25 16:57:54 zarko Exp $ =head1 DESCRIPTION Skeleton POD to avoid make errors. =head1 SEE ALSO mvdocs(8), expire(1), http://www.akopia.com/ =cut From: jkohles at redhat.com (Jason Kohles ) Date: Wed, 28 Mar 2001 12:58:35 -0500 Subject: [ic] expireall and server --start fail to run in crontab (was: Where is checkstat.sh?) On Wed, Mar 28, 2001 at 11:46:15AM -0600, Curt Hauge wrote: > I have been after this problem for awhile, and now I am on a different Linux server with a fresh install and the same problem. However, I have now discovered that if I put a copy of interchange.cfg in my "virtual" root (which would be /home/htdocs/my_space), expireall functions as expected!(on this box, not other). Look below at line 103 in expireall. It seems like it is not using the /interchange directory when looking for interchange.cfg - it just looks for interchange.cfg in /my_space. The error logs report nothing. > Expireall expects the config file to be in the directory where you run it, which could arguably considered a bug, however... > 1,11,21,31,41,51 * * * * /home/htdocs/my_space/interchange/bin/expireall -r > The easy fix is to change your crontab entry to: 1,11,21,31,41,51 * * * * (cd /home/htdocs/my_space/interchange; ./bin/expireall -r) -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: thomas at prometheas.gr (Thomas N. Stefanidis ) Date: Wed, 28 Mar 2001 21:38:16 +0300 Subject: [ic] How to solve a problem like that? Hello all, I have a product with multiple sizes and diffent prices. I was thinking of making new products for each size. So i will have product 001,which will be the main product, and 001A,001B which will be the 2 sizes. So when a user clicks on the product "001" i want the different sizes to be in a drop-down menu.But how shall i connect all these different in that menu?In other worlds,how shall interhcange know that 001A and 001B are the same product and display them in the drop menu of product 001? Another problem is that i don't want 001A and 001B to be shown in the search but only the main product 001. Is that possible to make something like that? Any ideas? Thank you. Thomas From: edl at newmediaems.com (Ed LaFrance ) Date: Wed, 28 Mar 2001 10:47:53 -0800 Subject: [ic] How to solve a problem like that? At 09:38 PM 03/28/2001 +0300, you wrote: >Hello all, >I have a product with multiple sizes and diffent prices. >I was thinking of making new products for each size. >So i will have product 001,which will be the main product, and 001A,001B >which will be the 2 sizes. >So when a user clicks on the product "001" i want the different sizes to >be in a drop-down menu.But how shall i connect all these different in >that menu?In other worlds,how shall interhcange know that 001A and 001B >are the same product and display them in the drop menu of product 001? >Another problem is that i don't want 001A and 001B to be shown in the >search but only the main product 001. >Is that possible to make something like that? >Any ideas? > Thomas - Take a read of this: http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=tagref03%2e01 - ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: jacossio at terra.es (Juan A. Cossio ) Date: Wed, 28 Mar 2001 21:11:55 +0200 Subject: [ic] Alternatives to Interchange Hello, The Interchange Introduction manual says that Interchange may not be the right choice when a site has only a few items or items that do not change frequently. What other open source e-commerce platform with real-time charge of credit cards can be suitable in this case? I am not a member of the list. Please, reply to jacossio@terra.es Thank you! Juan A. Cossio jacossio@terra.es From: edl at newmediaems.com (Ed LaFrance ) Date: Wed, 28 Mar 2001 11:51:06 -0800 Subject: [ic] [fly-list] for arbitrary databases doesn't work? Hi all - It seems that the [fly-list] tag no longer works for non-products tables on a custom flypage - at least not like it used to. I have tried it with the base=table option to try to force the lookups to a particular table, still to not avail. It used to be (in MV) that one could pull data from one or several arbitrary tables (and products for that matter) thusly: go to my_fly.html: [page my_fly akey]Go[/page] [fly-list code="[data session arg]"] [item-code] [item-field foo] #this would get 'foo' from table products for the current key [item-data info bar] #this would get 'bar' from table info for the current key [/fly-list] ...it doesn't seem to work this way any more. Are there new directives required to make this work? I don't want to add a bunch of arbitrary databases to the ProductFiles directive just to get this to work. I guess I can use [loop..] instead, but why has the fly-list functionality been removed? - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: chc at mninter.net (Curt Hauge ) Date: Wed, 28 Mar 2001 14:48:08 -0600 Subject: [ic] expireall and server --start fail to run in crontab (was: Where is checkstat.sh?) Quoting Jason Kohles jkohles@redhat.com >Expireall expects the config file to be in the directory where you run it, >which could arguably considered a bug, however... > 1,11,21,31,41,51 * * * * /home/htdocs/my_space/interchange/bin/expireall -r > >The easy fix is to change your crontab entry to: >1,11,21,31,41,51 * * * * (cd /home/htdocs/my_space/interchange; ./bin/expireall -r) And it works! Thank you very much, Jason, and everyone that offered assistance! I don't know why 'bin/expireall -r' didn't work, while 'bin/interchange' would run from cron. Now if I could only get rid of that pesky server mail which is piling up every time cron runs 'bin/interchange'. The -q switch at least suppresses catalog reconfig messages, but do they need to be re-configured so often? I mean, what if someone had 20 cats online and running bin/interchange from cron every 10 minutes (like myself)? Of course, I want to know when the server went down and how often, but no need to know that it is running. Perhaps there is yet a better way (or some kind of /switch) to accomplish this in Interchange without filling the mailbox? =) I'll post to the 'wish list' if I don't hear from anybody. Thanks again! Curt Hauge From: jkohles at redhat.com (Jason Kohles ) Date: Wed, 28 Mar 2001 16:30:11 -0500 Subject: [ic] expireall and server --start fail to run in crontab (was: Where is checkstat.sh?) On Wed, Mar 28, 2001 at 02:48:08PM -0600, Curt Hauge wrote: > > And it works! Thank you very much, Jason, and everyone that offered > assistance! I don't know why 'bin/expireall -r' didn't work, while > 'bin/interchange' would run from cron. Now if I could only get rid of that > pesky server mail which is piling up every time cron runs 'bin/interchange'. > The -q switch at least suppresses catalog reconfig messages, but do they > need to be re-configured so often? I mean, what if someone had 20 cats > online and running bin/interchange from cron every 10 minutes (like myself)? > Of course, I want to know when the server went down and how often, but no > need to know that it is running. Perhaps there is yet a better way (or some > kind of /switch) to accomplish this in Interchange without filling the > mailbox? =) > The real answer here would probably be to stop restarting interchange from cron every 10 minutes, I can't think of any reason that you would need to restart it so often, however if you really want to do that, you can add '> /dev/null 2>&1' to the end of your crontab line, and the errors will not get emailed to you. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: chc at mninter.net (Curt Hauge ) Date: Wed, 28 Mar 2001 15:51:33 -0600 Subject: [ic] expireall and server --start fail to run in crontab (was: Where is checkstat.sh?) Thanks again. If I understood correctly, bin/interchange will re-config the catalogs but will not restart the server unless it is down (and the interchange/error. log seems to support this). I was informed in a prior post that (supposedly) bin/interchange replaces the old checkstat.sh script. Is there some other automatic way to be sure the server is running? Others must have something working or they will have to manually restart (WHEN they find out the serve IS down). >The real answer here would probably be to stop restarting interchange >from cron every 10 minutes, I can't think of any reason that you would >need to restart it so often, however if you really want to do that, you >can add '> /dev/null 2>&1' to the end of your crontab line, and the errors >will not get emailed to you. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: jlauman at nwcascades.com (Jack Lauman ) Date: Wed, 28 Mar 2001 14:02:23 -0800 Subject: [ic] Adding Quantity to Page I am using the following code to display a list of products from the database in a table. I need to replace the checkbox with a quantity field. What do I need to change? Also, is it necessary to have two sort statements or can they be combined into one? <table cellpadding=5> <tr> <th>Course #</th> <th>Description</th> <th>Price</th> </tr> <FORM METHOD=POST ACTION="[process_order]"> [loop search="ra=yes/fi=products" sort=products:category:f sort=products:sku:f"] <tr> <td><input type=checkbox name="mv_order_item" value=[loop-code]></td> <td>[loop-field comment]</td> <td align=right>[loop-field price]</td> </tr> [/loop] </table> <input type=hidden name="mv_doit" value="refresh"> <input type=submit name="mv_junk" value="Order the Checked Items" </FORM> Thanks, Jack From: jkohles at redhat.com (Jason Kohles ) Date: Wed, 28 Mar 2001 16:59:11 -0500 Subject: [ic] expireall and server --start fail to run in crontab (was: Where is checkstat.sh?) On Wed, Mar 28, 2001 at 03:51:33PM -0600, Curt Hauge wrote: > Thanks again. If I understood correctly, bin/interchange will re-config the > catalogs but will not restart the server unless it is down (and the > interchange/error. log seems to support this). I was informed in a prior > post that (supposedly) bin/interchange replaces the old checkstat.sh script. > Is there some other automatic way to be sure the server is running? Others > must have something working or they will have to manually restart (WHEN they > find out the serve IS down). > Ahh, I must have misread your previous message, I thought you were running interchange -r from cron, which would stop and restart the server, temporarily taking it off-line. Running it with no arguments (or with --serve or -start) would be appropriate for ensuring it is running. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Wed, 28 Mar 2001 14:37:19 -0800 Subject: [ic] expireall and server --start fail to run in crontab (was: Where is checkstat.sh?) Curt have you tried using the -f option in your expire statement? This is what I use: (Substitute with your paths) su -c "/usr/local/interchange/bin/expireall -r -f /usr/local/interchange/interchange.cfg" ic Yours would look like: 1,11,21,31,41,51 * * * * /home/htdocs/my_space/interchange/bin/expireall -r -f /home/htdocs/my_space/interchange/interchange.cfg This will point expireall to use the file in the -f parameter. I think this is the 'correct' solution to your problem. Take it easy! -Ron From: doug at lathi.net (Doug Alcorn ) Date: 28 Mar 2001 17:36:01 -0500 Subject: [ic] does interchange take a lot of ressources ? "David Bordas" <bordas@jeuxvideo.com> writes: > But i have one question is the akopia take a lot of ressources ? And, can i > run several shops on a same server, like a linux server PIII 700 Mhz 128 Mo > Ram with 18 Go SCSI for exemple. I think this box would run several catalogs with no problems. What's the upper limit? Not sure, my development box is similar to this one. I have about 10 catalogs loaded and running (of course, they are not all getting hammered at the same time). The box is exremely snappy even while doing other things. > Will mysql installed on the same machine or can i connected with perl > DBI:DBD to a distant mysql. Sure. The script to make a new catalog (curiously called 'makecat' just asks for the DSN. It uses it just like any other perl script. -- (__) 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: george at halescreative.com (George Loch ) Date: Wed, 28 Mar 2001 15:49:43 -0700 Subject: [ic] How to store CC info w/ order? How do I store the CC info with an order when it is placed? GL From: chc at mninter.net (Curt Hauge ) Date: Wed, 28 Mar 2001 16:47:07 -0600 Subject: [ic] expireall and server --start fail to run in crontab (was: Where is checkstat.sh?) Quoted from Ron Phipps >Curt have you tried using the -f option in your expire statement? This is >what I use: >(Substitute with your paths) >su -c "/usr/local/interchange/bin/expireall -r -f >/usr/local/interchange/interchange.cfg" ic >Yours would look like: >1,11,21,31,41,51 * * * * >/home/htdocs/my_space/interchange/bin/expireall -r -f >/home/htdocs/my_space/interchange/interchange.cfg Thanks again, Ron. Both my expireall and bin/interchange are now working on both servers, but -f looks like it is another great option for anyone encountering this in the future. Case closed. ;) Curt Hauge From: doug at lathi.net (Doug Alcorn ) Date: 28 Mar 2001 17:57:07 -0500 Subject: [ic] How to backup and upgrade DB <DB@clevelandcrystals.com> writes: > If my host went under and I had to reinstall IC on a different > machine, would a copy of the catalog directories be all that's > needed to get back in business? Pretty much. Don't forget the interchange.cfg that's in the base interchange directory. It basically has system wide settings and a list of all the catalogs. > And what about upgrading to new versions as they come out? How does > one upgrade without losing existing catalogs? Mike has said that you can just install right on top of the old version without any negative side-effects. ,----[ Miek Heins <mikeh@minivend.com>, 24 Mar 01 | "Re: Will upgrading interchange clobber existing catalogs?" ] | You should be able to simply install over the top of your existing | 4.6.1 with no impact and no changes necessary. Just tar up a backup | of the interchange software directory just in case. `---- -- (__) 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: jim at idk-enterprises.com (Jim Balcom ) Date: Wed, 28 Mar 2001 18:43:48 -0500 (EST) Subject: [ic] 4.7.1 compile problem On Wed, 28 Mar 2001 jojo@blackpoint.de wrote: >>> Do they insist on Perl 5.6 for this version? >>> This sounds like the errors I was getting when I tried to make 4.6.x work >>> on an unacceptable version of Perl. >>> >>> Just for grins, I would recommend installing the latest Perl and try it >>> again. >> >>I get this error too and in some case, some IC user is not able or >>allowed to install the latest parl on FreeBSD. Any suggestions? It is my uneducated guess that if you don't have the correct version of Perl that there is nothing that you can say, or do, that is going to make it work! Version 4.6.3 refused to install for me on Perl 5.004. I moved it to a machine that had Perl 5.005 - the minimum requirement for IC 4.6.3 to install. And, it did install. However, in the process, it went out and got the latest version of Perl and did the complete install for it. I just don't see any way around this. If you are trying to install IC on a computer that you don't have root access on, and the Perl is too old, my best recommendation would be to contact the System Administrator and explain that you want to use a program that requires a newer Perl than he has, and would he please upgrade his Perl? You might offer to download the latest and greatest for him, or maybe you have to offer to come in and clean his toilets, or something (-: to get him to do this for you. When I upgraded from Perl 4 to Perl 5, there were some programs that got 'broken', and I had to keep both on the system for a while. That may be why he hasn't upgraded. Also, he may have Perl 5 on on his system, but under a different name - like perl5.6, or something. But, in my mind, the simplest solution is to work with the System Administrator of the system that is hosting you to get the situation corrected. If you can't get the System Administrator to upgrade his Perl, then you need to find a different host. Perhaps one that already has an Interchange Server running. (Just my 2 cents. Your mileage may vary.) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter ---------------------------------------------------------------- Tagline for Wednesday, March 28, 2001 at 18:15 PM: Fact is solidified opinion ---------------------------------------------------------------- This Linux System has been up 817 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: jim at idk-enterprises.com (Jim Balcom ) Date: Wed, 28 Mar 2001 18:49:01 -0500 (EST) Subject: [ic] expireall and server --start fail to run in crontab (was: On Wed, 28 Mar 2001, Curt Hauge wrote: CH>>>The easy fix is to change your crontab entry to: CH>>>1,11,21,31,41,51 * * * * (cd /home/htdocs/my_space/interchange; CH>>./bin/expireall -r) CH>> CH>>And it works! Thank you very much, Jason, and everyone that offered CH>>assistance! I don't know why 'bin/expireall -r' didn't work, while CH>>'bin/interchange' would run from cron. Now if I could only get rid of that CH>>pesky server mail which is piling up every time cron runs 'bin/interchange'. CH>>The -q switch at least suppresses catalog reconfig messages, but do they CH>>need to be re-configured so often? I mean, what if someone had 20 cats CH>>online and running bin/interchange from cron every 10 minutes (like myself)? CH>>Of course, I want to know when the server went down and how often, but no CH>>need to know that it is running. Perhaps there is yet a better way (or some CH>>kind of /switch) to accomplish this in Interchange without filling the CH>>mailbox? =) If you put '1> /dev/null 2> /dev/null' at the end of the line in crontab, the messages will totally go away. Perhaps, however that is more killing than you want? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter ---------------------------------------------------------------- Tagline for Wednesday, March 28, 2001 at 18:45 PM: Why are there interstate highways in Hawaii? ---------------------------------------------------------------- This Linux System has been up 818 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: jlauman at nwcascades.com (Jack Lauman ) Date: Wed, 28 Mar 2001 15:56:08 -0800 Subject: [ic] Order Submission Question Is there a way, that when a user submits the order that it will not forward to the basket, but instead redisplay the current page with a small updated table that holds the number of items and the current total of the sale? (Note: This is for a static page.) Regards, Jack From: jlauman at nwcascades.com (Jack Lauman ) Date: Wed, 28 Mar 2001 15:58:50 -0800 Subject: [ic] Sessions Question If a user shops at a store with the url www.eatatjoes.com and the switches to the secure url of www.webhoster.com/secure/eatatjoes will the session data be lost? If so is there a way to fix it? Jack From: db at cyclonehq.dnsalias.net (Dan B ) Date: Wed, 28 Mar 2001 16:49:53 -0800 Subject: [ic] SendMail is Working ... How to send out confirmation At 08:14 AM 3/28/2001 -0500, you wrote: >Dan, > >Thanks for the reply. > >Send mail is in fact working. The reason I know this, is because I, as >the administrator/OrderToPerson get a copy of the order for >processing. However I a copy does not get sent to the customer. It >seems to me that there also would have to be some way to configure this >"to the customer email." > >After searching more through the archives I have found other pieces ... >but can not seem to put it all together. > >I am confused as to if a lot of the references in the docs and FAQs >are out of date. There is talk about a report. file, a report.html file >and a form_mail.cfg file. I can find the report.html, and I think I >understand that one. > >I can not however find either the form_mail.cfg or the report. file. Is >there any documentation on this? > >What files are actually needed? >What changes or modifications are needed in the catalog.cfg files? > >When you say that this confirmation email functionality works out of the >box, do you mean the simple demo? I see a lot of reference to that demo >in the documentation, however I did not get that with my distribution. I >got "construct" and those files do not seem to be included. > >What am I missing? > >Could someone send me a copy of the needed configuration changes? Hopefully someone will be able to answer your problem. (I can't figure out why it works on mine but not on yours -- I didn't do any special mods). What version of IC are you using? Do you get any error.log output? Have you tried using your "OrdersTo" e-mail address on a fictionional order? (Maybe it only works for that address, in that case you should get to distinct emails to the same email). The do-it-yourself route includes: checkout the [email] tag. (or is it [mail]?). It is very simple, and you can use it to custom build the emails you want to send out. It might be a usertag. HTH, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Wed, 28 Mar 2001 16:59:37 -0800 Subject: [ic] How to backup and upgrade At 09:09 AM 3/28/2001 -0500, you wrote: >I'm wondering about the best way to backup the catalogs I make. If my >host went under and I had to reinstall IC on a different machine, would >a copy of the catalog directories be all that's needed to get back in >business? I do a bzip2'ed tarball of the IC directory (often, I modify a lot in there) in addition to the catalog directory. Do not forget to include a dump of your database if you are using one. (e.g. 'pg_dump database' for postgres). >And what about upgrading to new versions as they come out? How does one >upgrade without losing existing catalogs? I prefer to install multiple versions side by side. For example: /usr/local/ic-4.6.1 /usr/local/ic-4.6.2 /usr/local/ic-4.6.4 /usr/local/ic-4.7.1 They all access the same catalogs: /var/ic/construct /var/ic/foundation /var/ic/etc... Later, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Wed, 28 Mar 2001 17:22:32 -0800 Subject: [ic] Order Submission Question At 03:56 PM 3/28/2001 -0800, you wrote: >Is there a way, that when a user submits the order that it will not >forward to the basket, but instead redisplay the current page with a >small updated table that holds the number of items and the current >total of the sale? Sure, there is a way. Look at templates/components/carts* pages, strip away all the HTML magic, then take whatever code you like and put it where you like (maybe LEFTRIGHT_TOP or something). HTH, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: support at integricity.com (Integricity Support ) Date: Thu, 29 Mar 2001 11:52:13 +0800 Subject: [ic] Database products EXCEL 1 Hi, Thanks for your help with the : Database products EXCEL 1 However, I get an internal server error when I put the line into my catalog.cfg I am using MySQL and IC 4.6.3 Could I take a look at your catalog.cfg to find out where you put it? Is the space b/w the words tabbed or is it a space? Thanks in advance! -- Best regards, Integricity mailto:support@integricity.com From: bordas at jeuxvideo.com (David Bordas ) Date: Thu, 29 Mar 2001 08:26:06 +0200 Subject: [ic] Alternatives to Interchange Hello, I'm also looking for an alternative for a open source e-commerce platform. Akopia is a very good product but why use a cadillac when you only needs a smart ?:) In fact, i wouldn't charge too much my servers with too many interchange with small shop. bye ----- Original Message ----- From: "Juan A. Cossio" <jacossio@terra.es> To: <interchange-users@lists.akopia.com> Sent: Wednesday, March 28, 2001 9:11 PM Subject: [ic] Alternatives to Interchange > Hello, > > The Interchange Introduction manual says that Interchange may not be the > right choice when a site has only a few items or items that do not change > frequently. What other open source e-commerce platform with real-time charge > of credit cards can be suitable in this case? > > I am not a member of the list. Please, reply to jacossio@terra.es Thank you! > > Juan A. Cossio > jacossio@terra.es > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: bordas at jeuxvideo.com (David Bordas ) Date: Thu, 29 Mar 2001 09:48:40 +0200 Subject: [ic] install akopia WITHOUT being root hello, Just a little question, can i install akopia on a share-server without a root acount. I'll have just a fully access to cgi-bin/ and htdocs/ ? That will help me to decrease hosting cost. Thanks From: tamas.kohegyi at lmf.ericsson.se (Kohegyi Tamas (LMF) ) Date: Thu, 29 Mar 2001 11:05:12 +0300 Subject: [ic] install akopia WITHOUT being root Hi, This is possible. The question is: Are you allowed to run a deamon on that machine? Tamas On Thursday 29 March 2001 10:48, you wrote: > hello, > > Just a little question, can i install akopia on a share-server without a > root acount. > I'll have just a fully access to cgi-bin/ and htdocs/ ? > > That will help me to decrease hosting cost. > > Thanks > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: bordas at jeuxvideo.com (David Bordas ) Date: Thu, 29 Mar 2001 10:08:19 +0200 Subject: [ic] install akopia WITHOUT being root I'm not allowed to run a daemon but i can tell the support, that can run daemon for me i think. But support can't install completely akopia because it'll be too long in time spent. David. ----- Original Message ----- From: "Kohegyi Tamas (LMF)" <tamas.kohegyi@lmf.ericsson.se> To: <interchange-users@lists.akopia.com> Sent: Thursday, March 29, 2001 10:05 AM Subject: Re: [ic] install akopia WITHOUT being root > Hi, > > This is possible. The question is: Are you allowed to run a deamon on that machine? > > Tamas > > > On Thursday 29 March 2001 10:48, you wrote: > > hello, > > > > Just a little question, can i install akopia on a share-server without a > > root acount. > > I'll have just a fully access to cgi-bin/ and htdocs/ ? > > > > That will help me to decrease hosting cost. > > > > Thanks > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: oliverf at mail.kdt.de (oliverf at mail.kdt.de ) Date: Thu, 29 Mar 2001 03:27:38 -0500 Subject: [ic] One store with many admins Hello list, first I have to say, that Interchange ist the greatest and best shopping cart system I΄ve found for a long time. Many Thanks to Mike and all the others !!! My question: I want to make a shop with a lot of different admins (but only ONE shop) Those admins should have only the right to edit their articles in the database, so they could delete, change or add items to the database. Is there a chance to do this with Interchange directly, or could it be the better way to program a new Interface for them, outside of Interchange ?? I know, that there are a lot questions like this on this list, but i could not find a really good answer to it. So please help. Thanks for reading this Greetings Oliver P.S. Sorry for my poor english, I give my very best :-) -------------------------------------------------------------------- Mail2Web - Check your email from the web at http://www.mail2web.com/ . From: petri.pietola at nokia.com (petri.pietola at nokia.com ) Date: Thu, 29 Mar 2001 11:56:32 +0300 Subject: [ic] Problems with javascript This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C0B82E.2685E750 Content-Type: text/plain; charset="iso-8859-1" Hi This is little bit out of this list, but anyway. I have problems with Javascript and Netscape browser. My site uses javascript and <DIV> tags to create menu popup's which works fine with IE, but with Netscape there is a problem. When I resize browser Netscape will crash, any suggestions what is wrong. I have attached my SEL_LEFT_TOP file. You can have a look and test in http://212.50.140.165 site is still under heavy construction, but will be released soon. BR, Pete <<SEL_LEFT_TOP>> ------_=_NextPart_000_01C0B82E.2685E750 Content-Type: application/octet-stream; name="SEL_LEFT_TOP" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="SEL_LEFT_TOP" <!-- begin logobar --> [if scratch members_only] [set members_only][/set] [if !session logged_in] [set mv_successpage]@@MV_PAGE@@[/set] [bounce page=3Dlogin] [/if] [/if]<html> <head> <title>[scratch page_title]</title> <script language=3D"JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=3Ddocument.MM_sr; = for(i=3D0;a&&i<a.length&&(x=3Da[i])&&x.oSrc;i++) x.src=3Dx.oSrc; } function MM_preloadImages() { //v3.0 var d=3Ddocument; if(d.images){ if(!d.MM_p) d.MM_p=3Dnew Array(); var i,j=3Dd.MM_p.length,a=3DMM_preloadImages.arguments; for(i=3D0; = i<a.length; i++) if (a[i].indexOf("#")!=3D0){ d.MM_p[j]=3Dnew Image; = d.MM_p[j++].src=3Da[i];}} } function MM_findObj(n, d) { //v3.0 var p,i,x; if(!d) d=3Ddocument; = if((p=3Dn.indexOf("?"))>0&&parent.frames.length) { d=3Dparent.frames[n.substring(p+1)].document; = n=3Dn.substring(0,p);} if(!(x=3Dd[n])&&d.all) x=3Dd.all[n]; for = (i=3D0;!x&&i<d.forms.length;i++) x=3Dd.forms[i][n]; for(i=3D0;!x&&d.layers&&i<d.layers.length;i++) = x=3DMM_findObj(n,d.layers[i].document); return x; } function MM_swapImage() { //v3.0 var i,j=3D0,x,a=3DMM_swapImage.arguments; document.MM_sr=3Dnew Array; = for(i=3D0;i<(a.length-2);i+=3D3) if ((x=3DMM_findObj(a[i]))!=3Dnull){document.MM_sr[j++]=3Dx; = if(!x.oSrc) x.oSrc=3Dx.src; x.src=3Da[i+2];} } //--> </script> <SCRIPT language=3DJavaScript1.2> function rem(){}; function menuon(){}; </SCRIPT> <SCRIPT language=3DJavaScript1.2> var agt=3Dnavigator.userAgent.toLowerCase(); var is_major =3D parseInt(navigator.appVersion); var is_minor =3D parseFloat(navigator.appVersion); var is_linux =3D (agt.indexOf("linux")!=3D-1); var is_hpux =3D (agt.indexOf("hp-ux")!=3D-1); var is_sun =3D (agt.indexOf("sunos")!=3D-1); var is_unix =3D ((agt.indexOf("x11")!=3D-1) || is_sun || is_hpux || = is_sun || is_linux); var is_ie =3D (agt.indexOf("msie") !=3D -1); var is_nav =3D ((agt.indexOf('mozilla')!=3D-1) && = (agt.indexOf('spoofer')=3D=3D-1) && (agt.indexOf('compatible') =3D=3D = -1) && (agt.indexOf('opera')=3D=3D-1) && = (agt.indexOf('webtv')=3D=3D-1)); if(is_major){ document.write("<DIV ID=3D'NSbuffer' = STYLE=3D'position:absolute;visibility:hidden;'></DIV>\n"+ [loop prefix=3Dbox search=3D" fi=3Darea st=3Ddb tf=3Dsort ac=3D0 ac=3D0 co=3Dyes sf=3Dsel op=3Deq [if scratch left_bar] se=3D[scratch left_bar][set left_bar][/set] [else] se=3Dleft [/else] [/if] sf=3Dwhich_page op=3Drm [if scratch page_class] se=3Dall|[scratch page_class][set page_class][/set] [else] se=3Dall|@@MV_PAGE@@ [/else] [/if] "] "<DIV ID=3D'a[box-code]' = STYLE=3D'position:absolute;visibility:hidden;'>\n"+ "<TABLE CELLPADDING=3D1 CELLSPACING=3D0 BORDER=3D0 = BGCOLOR=3D'#FFFFFF'>\n"+ "<TR><TD>\n"+ "<TABLE CELLPADDING=3D7 CELLSPACING=3D0 BORDER=3D0 = BGCOLOR=3D'#669999'>\n"+ "<TR>"+ "<TD NOWRAP><FONT FACE=3D'verdana,helvetica,arial' size=3D'1'>\n"+ "<b><FONT COLOR=3D'white'>[box-exec = bar_link]area[/box-exec]</FONT></b><BR><HR>\n"+ [set found_cat][/set] [loop prefix=3Dcat search=3D" fi=3Dcat st=3Ddb tf=3Dsort tf=3Dname rf=3Dcode,name sf=3Dsel se=3D[box-code] " ] "[cat-exec bar_link]cat[/cat-exec]<BR>\n"+ [/loop] "</FONT></TD></TR></TABLE>\n"+ "</TD></TR></TABLE>\n"+ "</DIV>\n"+ [/loop] " ") } var layerRef; var layerStyle; var menuName; var x=3D110; var y=3D180; var xLoc=3D0; var yLoc=3D0; function mouseMove(e){ if(document.all && ready =3D=3D "yes"){ x=3Devent.x; y=3Devent.y; menuOff(x,y); } if(document.layers && ready =3D=3D "yes"){ x=3De.pageX; y=3De.pageY; menuOff(x,y); } } if (document.all){ document.onmousemove =3D mouseMove; layerRef =3D "document.all"; layerStyle =3D ".style"; } if(document.layers){ document.onmousemove =3D mouseMove; document.captureEvents(Event.MOUSEMOVE); layerRef =3D "document.layers"; layerStyle =3D ""; } function showLayer(layerName){ eval(layerRef+'["'+layerName+'"]'+layerStyle+'.visibility=3D"visible"') = } function hideLayer(layerName){ eval(layerRef+'["'+layerName+'"]'+layerStyle+'.visibility=3D"hidden"') = } function moveLayer(layerName,top,left){ eval(layerRef+'["'+layerName+'"]'+layerStyle+'.top=3Dtop') eval(layerRef+'["'+layerName+'"]'+layerStyle+'.left=3Dleft') } function rem(){ if(document.all || document.layers){ [loop prefix=3Dbox search=3D" fi=3Darea st=3Ddb tf=3Dsort ac=3D0 ac=3D0 co=3Dyes sf=3Dsel op=3Deq [if scratch left_bar] se=3D[scratch left_bar][set left_bar][/set] [else] se=3Dleft [/else] [/if] sf=3Dwhich_page op=3Drm [if scratch page_class] se=3Dall|[scratch page_class][set page_class][/set] [else] se=3Dall|@@MV_PAGE@@ [/else] [/if] "] hideLayer("a[box-code]"); [/loop] }} function menuOn(lName){ if(document.all || document.layers){ rem(); yLoc =3D y; xLoc =3D 100; menuName =3D lName; moveLayer(lName,yLoc-30,xLoc+32); showLayer(lName); }} function menuOff(xcord,ycord){ if(xcord < xLoc-100){ rem(); } if(ycord < yLoc-30){ rem(); } if(xcord < xLoc+45 && ycord > yLoc+45){ rem(); } } ready =3D "yes"; </SCRIPT> </head> <body bgcolor=3D"[either][scratchd = bgcolor][or]__BGCOLOR__[or]#FFFFFF[/either]" = onLoad=3D"MM_preloadImages('__IMAGE_DIR__/navigation/b1_b.gif','__IMAGE_= DIR__/navigation/b2_b.gif','__IMAGE_DIR__/navigation/b3_b.gif','__IMAGE_= DIR__/navigation/b4_b.gif','__IMAGE_DIR__/navigation/b5_b.gif','__IMAGE_= DIR__/navigation/b6_b.gif','__IMAGE_DIR__/navigation/go_b.gif','__IMAGE_= DIR__/navigation/logout_b.gif')"> <div align=3D"left"> <table width=3D"100%" border=3D"1" cellspacing=3D"0" = cellpadding=3D"0" bordercolorlight=3D"#669999" = bordercolordark=3D"#669999"> <tr> <td> <table width=3D"100%" border=3D"0" cellspacing=3D"0" = cellpadding=3D"0"> <tr> <td> <table width=3D"100%" border=3D"0" cellspacing=3D"0" = cellpadding=3D"0" bgcolor=3D"#669999"> <tr> <td width=3D"700"><img src=3D"navigation/a1.gif" = width=3D"700" height=3D"76"></td> <TD></TD> </tr> <tr> <td width=3D"700"><a href=3D"[area index]" = onMouseOut=3D"MM_swapImgRestore()" = onMouseOver=3D"MM_swapImage('Home','','__IMAGE_DIR__/navigation/b1_b.gif= ',1)" target=3D"_self"><img name=3D"Home" border=3D"0" src=3D"navigation/b1.gif" width=3D"58" height=3D"18"></a><a href=3D"[area ord/basket]" = onMouseOut=3D"MM_swapImgRestore()" onMouseOver=3D"MM_swapImage('Your = Cart','','__IMAGE_DIR__/navigation/b2_b.gif',1)" target=3D"_self"><img = name=3D"Your Cart" border=3D"0" src=3D"navigation/b2.gif" width=3D"70" height=3D"18"></a>[if !session logged_in]<a href=3D"[area = login]" onMouseOut=3D"MM_swapImgRestore()" = onMouseOver=3D"MM_swapImage('Log = In','','__IMAGE_DIR__/navigation/b3_b.gif',1)" target=3D"_self"><img = name=3D"Log In" border=3D"0" src=3D"navigation/b3.gif" width=3D"55" height=3D"18"></a>[else]<a href=3D"[area logout]" = onMouseOut=3D"MM_swapImgRestore()" onMouseOver=3D"MM_swapImage('Log = Out','','__IMAGE_DIR__/navigation/logout_b.gif',1)" = target=3D"_self"><img name=3D"Log Out" border=3D"0" src=3D"navigation/logout.gif" width=3D"55" height=3D"18"></a>[/else][/if]<a href=3D"[area = ord/first]" onMouseOut=3D"MM_swapImgRestore()" = onMouseOver=3D"MM_swapImage('Check = Out','','__IMAGE_DIR__/navigation/b4_b.gif',1)" target=3D"_self"><img = name=3D"Check Out" border=3D"0" src=3D"navigation/b4.gif" width=3D"65" height=3D"18"></a><a href=3D"[area customerservice]" = onMouseOut=3D"MM_swapImgRestore()" = onMouseOver=3D"MM_swapImage('Customer = Service','','__IMAGE_DIR__/navigation/b5_b.gif',1)" = target=3D"_self"><img name=3D"Customer Service" border=3D"0" src=3D"navigation/b5.gif" width=3D"110" height=3D"18"></a><a href=3D"[area aboutus]" = onMouseOut=3D"MM_swapImgRestore()" onMouseOver=3D"MM_swapImage('About = Us','','__IMAGE_DIR__/navigation/b6_b.gif',1)" target=3D"_self"><img = name=3D"About Us" border=3D"0" src=3D"navigation/b6.gif" width=3D"36" height=3D"18"></a><img src=3D"navigation/b8.gif" = width=3D"306" height=3D"18"></td> </tr> <tr> <td width=3D"590" bgcolor=3D"#669999" colspan=3D2> <div align=3D"left"><font size=3D"1"><i><b><font = face=3D"Verdana, Arial, Helvetica, sans-serif"> &nbsp;&nbsp;&nbsp; <font color=3D"#FFFFFF" size=3D"2">Tervetuloa = Edushoppiin, [if !session logged_in]tietokonekauppaasi Internetiss=E4! [else] [data table=3Duserdb column=3Dfname key=3D'[data session = username]']! [/else] [/if] </font><font color=3D"#FFFFFF"> </font></font></b></i></font></div> </td> </tr> </table> </td> </tr> <tr> <td> <table width=3D"100%" border=3D"0" cellspacing=3D"0" = cellpadding=3D"0"> <tr> <td><img src=3D"navigation/d.gif" width=3D"100%" = height=3D"2" align=3D"top"></td> <TD></TD> </tr> </table> </td> </tr> <tr> <td> <table width=3D"100%" border=3D"0" cellspacing=3D"0" = cellpadding=3D"0"> <tr> <td width=3D"131" bgcolor=3D"#669999"><img = src=3D"navigation/d1.gif" width=3D"131" height=3D"20"></td> <td width=3D"10" valign=3D"top"> <div align=3D"left"><img src=3D"navigation/d2.gif" = width=3D"10" height=3D"20"></div> </td> <td width=3D"455"> <div align=3D"left"><font face=3D"Verdana, Arial, = Helvetica, sans-serif"><font color=3D"#0099FF" size=3D"2"><b><font = size=3D"1"><i>[scratch page_banner]</i></font></b></font></font><font = size=3D"2"><font face=3D"Verdana, Arial, Helvetica, sans-serif"><font = color=3D"#0099FF"> </font></font></font><font size=3D"1"><font = face=3D"Verdana, Arial, Helvetica, sans-serif"><font color=3D"#0099FF" = size=3D"2"></font></font></font></div> </td> <td width=3D"4"><img src=3D"navigation/d3.gif" = width=3D"12" height=3D"20"></td> </tr> <tr> <td bgcolor=3D"#669999" valign=3D"top" width=3D131> <table width=3D"131" border=3D"0" cellspacing=3D"0" cellpadding=3D"0" = bgcolor=3D"#669999"> <tr valign=3D"middle"> <td>&nbsp;</td> <td width=3D"119"> <table width=3D"126" border=3D"0" cellspacing=3D"0" = cellpadding=3D"0" bgcolor=3D"#669999"> <tr valign=3D"middle"> <td width=3D"119"> <FORM ACTION=3D"[area search]"> <INPUT TYPE=3Dhidden NAME=3Dmv_coordinate VALUE=3D1> <INPUT TYPE=3Dhidden NAME=3Dmv_searchtype VALUE=3Ddb> <INPUT TYPE=3Dhidden NAME=3Dmv_matchlimit VALUE=3D10> <INPUT TYPE=3Dhidden NAME=3Dmv_sort_field VALUE=3Dcategory> <INPUT TYPE=3Dhidden NAME=3Dmv_search_field VALUE=3Dinactive> <INPUT TYPE=3Dhidden NAME=3Dmv_search_field VALUE=3D":*"> <INPUT TYPE=3Dhidden NAME=3Dmv_column_op VALUE=3Dne> <INPUT TYPE=3Dhidden NAME=3Dmv_column_op VALUE=3Drm> <INPUT TYPE=3Dhidden NAME=3Dmv_searchspec VALUE=3D1> <INPUT MAXLENGTH=3D30 NAME=3Dmv_searchspec type=3Dtext size=3D10> </td> <td width=3D"119" valign=3D"top"><INPUT TYPE=3Dimage alt=3D"Search = Go" border=3D"0" src=3D"navigation/go.gif" width=3D"40" = height=3D"18"></a></td> </tr> </form> </table> </td> </tr> <tr> <td><img src=3D"navigation/whitey.gif" width=3D"5" height=3D"4"></td> <td width=3D"119"><img src=3D"navigation/whitey.gif" width=3D"126" = height=3D"4"></td> </tr> <tr><td colspan=3D2> [loop list=3D"1 2 3"] [if scratch component_left[loop-code]] [include file=3D"templates/components/[scratch = component_left[loop-code]]"] <br clear=3Dleft> [/if] [/loop] </td> </tr> </table> </td> <td width=3D"12">&nbsp;</td> <td valign=3D"top" width=3D"100%"> [if scratch component_before] [include file=3D"templates/components/[scratch component_before]"] [set component_before][/set] [/if] ------_=_NextPart_000_01C0B82E.2685E750-- From: neillunn at gunz.com.au (Neil Lunn ) Date: Thu, 29 Mar 2001 19:14:24 +1000 Subject: [ic] install akopia WITHOUT being root The answer really is if **you** are allowed to run a daemon (as your uid), you can install this software under your own home directory. The catalog, static html and images are there also, presumably under public_html. This requires more space. Alternately you can have your provider load the software onto the server if they are willing, and the catalogue and configuration remain under your own home directory. You need the support to tell you the actual paths to these directories again, but you install your site. The provider does a straightforward installation of minivend. All prompted, and nothing too dangerous. A benefit to them. If it's within your means you could also run the interchange software and catalogue on a different server, and then access this through inet sockets. You probably wouldn't want to do this unless you had a server in place with the hosting service. Back to the hosting costs. If interchange is an option for you and you cannot arive at an agreement with the current hosting service, look for a host that offers interchange. You can often get SQL database access with these. Should be enough info. --Neil > -----Original Message----- > From: David Bordas [mailto:bordas@jeuxvideo.com] > Sent: Thursday, March 29, 2001 6:08 PM > To: interchange-users@lists.akopia.com > Subject: Re: [ic] install akopia WITHOUT being root > > > I'm not allowed to run a daemon but i can tell the support, > that can run > daemon for me i think. > But support can't install completely akopia because it'll be > too long in > time spent. > > David. > > ----- Original Message ----- > From: "Kohegyi Tamas (LMF)" <tamas.kohegyi@lmf.ericsson.se> > To: <interchange-users@lists.akopia.com> > Sent: Thursday, March 29, 2001 10:05 AM > Subject: Re: [ic] install akopia WITHOUT being root > > > > Hi, > > > > This is possible. The question is: Are you allowed to run a > deamon on that > machine? > > > > Tamas > > > > > > On Thursday 29 March 2001 10:48, you wrote: > > > hello, > > > > > > Just a little question, can i install akopia on a > share-server without a > > > root acount. > > > I'll have just a fully access to cgi-bin/ and htdocs/ ? > > > > > > That will help me to decrease hosting cost. > > > > > > Thanks > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > __________________________________________________________________________ Please Note : Only the intended recipient is authorised to access or use this e-mail. If you are not the intended recipient, please delete this e-mail and notify the sender immediately. The contents of this e-mail are the writer's opinion and are not necessarily endorsed by the Gunz Companies unless expressly stated. We use virus scanning software but exclude all liability for viruses or similar in any attachment. From: rage at sohonetworks.cc (Rage-DCA ) Date: Thu, 29 Mar 2001 03:31:24 -0600 Subject: [ic] Problems with javascript Quick question for you, how did you disable viewing the source of the page? -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of petri.pietola@nokia.com Sent: Thursday, March 29, 2001 2:57 AM To: interchange-users@lists.akopia.com Subject: [ic] Problems with javascript Hi This is little bit out of this list, but anyway. I have problems with Javascript and Netscape browser. My site uses javascript and <DIV> tags to create menu popup's which works fine with IE, but with Netscape there is a problem. When I resize browser Netscape will crash, any suggestions what is wrong. I have attached my SEL_LEFT_TOP file. You can have a look and test in http://212.50.140.165 site is still under heavy construction, but will be released soon. BR, Pete <<SEL_LEFT_TOP>> From: jason at sohonetworks.cc (Jason Osborne ) Date: Thu, 29 Mar 2001 03:34:00 -0600 Subject: [ic] Two simple questions I apologize for wasting everyone's time, but I had two quick questions. 1. Where are the templates stored for a store? 2. How to I make Interchange publish the static pages to the root of the companies website? Right now it is putting all the static pages under a subdirectory. Jason Osborne Data and Telecom Network Solutions 3847 Timberglen Rd., STE 4013 Dallas, Texas 75287 phone: 972-307-0676 fax: 972-662-7956 e-mail: sales@sohonetworks.cc web: http://www.sohonetworks.cc From: gregoire.hubert at fr.alcove.com (=?iso-8859-1?Q?Gr=E9goire?= Hubert ) Date: Thu, 29 Mar 2001 11:41:54 +0200 Subject: [ic] Two simple questions Jason Osborne wrote: > I apologize for wasting everyone's time, but I had two quick questions. > > 1. Where are the templates stored for a store? For once I know something... the pages are under your catalog directory in the "page" folder. Be carrefull because pages often use the include tag to call non ".html" suffixed files... From: neillunn at gunz.com.au (Neil Lunn ) Date: Thu, 29 Mar 2001 19:57:53 +1000 Subject: [ic] Two simple questions > -----Original Message----- > From: Jason Osborne [mailto:jason@sohonetworks.cc] > Sent: Thursday, March 29, 2001 7:34 PM > To: Interchange Mailing List > Subject: [ic] Two simple questions > > > I apologize for wasting everyone's time, but I had two quick > questions. > > 1. Where are the templates stored for a store? Umm, where were they put? Probably where the other guy said if you didn't put them there. > > 2. How to I make Interchange publish the static pages to the > root of the > companies website? Right now it is putting all the static > pages under a > subdirectory. Configure the catalog that way. [ie From catalog.cfg] #Variable SERVER_NAME www.yourcompany.com #Variable CGI_URL /cgi-bin/catalog #Variable SECURE_SERVER http://www.yourcompany.com #Variable ORDERS_TO orders@yourcompany.com #Variable IMAGE_DIR /images #Variable DOCROOT /users/yourcompany/public_html #Variable SAMPLEHTML /users/yourcompany/public_html #Variable SAMPLEURL http://www.yourcompany.com or whatever and wherever. > > > Jason Osborne > Data and Telecom Network Solutions > 3847 Timberglen Rd., STE 4013 > Dallas, Texas 75287 > phone: 972-307-0676 > fax: 972-662-7956 > e-mail: sales@sohonetworks.cc > web: http://www.sohonetworks.cc > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > __________________________________________________________________________ Please Note : Only the intended recipient is authorised to access or use this e-mail. If you are not the intended recipient, please delete this e-mail and notify the sender immediately. The contents of this e-mail are the writer's opinion and are not necessarily endorsed by the Gunz Companies unless expressly stated. We use virus scanning software but exclude all liability for viruses or similar in any attachment. From: neillunn at gunz.com.au (Neil Lunn ) Date: Thu, 29 Mar 2001 20:13:47 +1000 Subject: [ic] Problems with javascript You might want to try looking at the differences in how the popup code is impemented in the source available from here: http://www.dynamicdrive.com/dynamicindex1/sm/static_menu.zip This is supposed to be tested for Netscape and IE. --Neil > -----Original Message----- > From: petri.pietola@nokia.com [mailto:petri.pietola@nokia.com] > Sent: Thursday, March 29, 2001 6:57 PM > To: interchange-users@lists.akopia.com > Subject: [ic] Problems with javascript > > > Hi > > This is little bit out of this list, but anyway. > I have problems with Javascript and Netscape browser. My site uses > javascript and <DIV> tags to create menu popup's which works > fine with IE, > but with Netscape there is a problem. When I resize browser > Netscape will > crash, any suggestions what is wrong. > > I have attached my SEL_LEFT_TOP file. > > You can have a look and test in http://212.50.140.165 site is > still under > heavy construction, but will be released soon. > > BR, Pete > > <<SEL_LEFT_TOP>> > __________________________________________________________________________ Please Note : Only the intended recipient is authorised to access or use this e-mail. If you are not the intended recipient, please delete this e-mail and notify the sender immediately. The contents of this e-mail are the writer's opinion and are not necessarily endorsed by the Gunz Companies unless expressly stated. We use virus scanning software but exclude all liability for viruses or similar in any attachment. From: craig at hotmix.com.au (Craig Beasland ) Date: Thu, 29 Mar 2001 19:03:28 +0800 Subject: [ic] Recursive Perl Function? Hi there, We would like to add a simple Bulletin Board system to one of our systems. The simple solution is to add a function which display a line from the BBtable, calls itself to see if there are any "children" which in turn calls itself and so on. Fairly simple to do in Visual Basic my programming language of choice until recently, but far more difficult in Interchange. I experimented with a UserTag, but then the UserTag would need to call itself using an Interchange tag. Using a simple [loop search...] and a nested [loop prefix search...] I can get a simple 2 level one going, and presumably I could nest in a third and fourth level but this seems very inefficient and I must limit the level of threading. It cant be too different from nesting categories and products with multiple levels of categorisation, which I have done in a drill-down type approach, but this time I want to show the results in a single table on a single screen. eg Message 1 Sender Message 1 response Sender Next threaded response Sender Message 1 another response Message 2 and so on. Any ideas on a different/better way to do this. cheers craig From: neillunn at gunz.com.au (Neil Lunn ) Date: Thu, 29 Mar 2001 21:31:11 +1000 Subject: [ic] Recursive Perl Function? > -----Original Message----- > From: Craig Beasland [mailto:craig@hotmix.com.au] > Sent: Thursday, March 29, 2001 9:03 PM > To: interchange-users@lists.akopia.com > Subject: [ic] Recursive Perl Function? > > > Hi there, > > We would like to add a simple Bulletin Board system to one of > our systems. > The simple solution is to add a function which display a line from the > BBtable, calls itself to see if there are any "children" > which in turn calls > itself and so on. > > Fairly simple to do in Visual Basic my programming language > of choice until Nah, I won't say it! > recently, but far more difficult in Interchange. I > experimented with a > UserTag, but then the UserTag would need to call itself using > an Interchange > tag. I don't think so. Whatever output you require for the UserTag should be parsed and presented. Maybe you want to generate the "table" output within the function (given input parameters) and then output it to the page. i.e. One tag. Maybe you are not putting a sub within a sub i.e.. Think of the UserTag sub as a program, the recursive function is a subroutine within it. Shouldn't be anything wrong with that. It's legal in Perl. __________________________________________________________________________ Please Note : Only the intended recipient is authorised to access or use this e-mail. If you are not the intended recipient, please delete this e-mail and notify the sender immediately. The contents of this e-mail are the writer's opinion and are not necessarily endorsed by the Gunz Companies unless expressly stated. We use virus scanning software but exclude all liability for viruses or similar in any attachment. From: george at 1stomni.com (George Schindler ) Date: Thu, 29 Mar 2001 14:00:22 +0200 Subject: [ic] Please help with new field in databse Hello, I try to insert into database (table products) new field (postgresql) [item-field my_new_field_name] works perfect, but now I need to insert textarea and other things into admin interface of akopia. I found the code for it in UI_STD_DBEDIT_TABLE but I'm not able to resolve where to put my code (( Can you help, how to make it? Thanks George From: thomas at prometheas.gr (Thomas N. Stefanidis ) Date: Thu, 29 Mar 2001 15:58:06 +0300 Subject: [ic] Quick question about shipping Hello, i have set the shipping method(and it works fine) but don't know how to do the last shipping method : from 100 till 120 cost=220$ ..... from 180 till 200 cost=300$ i can't do that --> "after 200 kilogram add 15$ for every 20 kilogram in the last price (300) so if the weight will be 220 the cost wil be 315, if it's 240 it will be 330. Any ideas? Thank u very much. Thomas From: jim at idk-enterprises.com (Jim Balcom ) Date: Thu, 29 Mar 2001 08:54:10 -0500 (EST) Subject: [ic] Recursive Perl Function? On Thu, 29 Mar 2001, Craig Beasland wrote: CB>>We would like to add a simple Bulletin Board system to one of our systems. CB>>The simple solution is to add a function which display a line from the CB>>BBtable, calls itself to see if there are any "children" which in turn calls CB>>itself and so on. Go to www.worldwidemart.com/scripts Matthew Wright has written a ton of scripts in Perl and has them up there. One of them is a Bulletin Board, as well as a Guestbook that works quite well. CB>>Fairly simple to do in Visual Basic my programming language of choice until I suggest that you work on learning the better programming languages, like Perl, C, C++, Java, etc. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter ---------------------------------------------------------------- Tagline for Thursday, March 29, 2001 at 08:50 AM: UFO's are real: the Air Force doesn't exist. ---------------------------------------------------------------- This Linux System has been up 832 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: info at 4co.de (Company InterNet Services ) Date: Thu, 29 Mar 2001 16:38:34 +0200 Subject: [ic] One-Click searches in a drop down box I searched the archives for my answer and found that someone else already asked it http://developer.akopia.com/archive/interchange-users/1998-old/1199.html but it was never answered. I'm need a drop down search box, so customers can search by category. i.e. title, author, ... Anyone know the 'select option="xxx"' code? Ken From: info at 4co.de (Ken Lyons ) Date: Thu, 29 Mar 2001 17:26:01 +0200 Subject: [ic] Simple question My database is too big....over 100 MB, (using standard database type) and is taking forever to search. I know IC can can use more tables (separate files that act as one database) but don't know what commands need to be put in the config file. Example: Say the big database has 10 columns of data (sku, price, x1, x2, x3, xxx) I want to use 10 files instead each having one column of data and the SKU for line reference. file1= sku, price file2= sku, x1 file3= sku, x2 What commands do I put in catalog.cfg, to load these tables (files)? I also want to use the 'One-Click searches in a drop down box' so searches would be confined to only one file saving 90% of the time (as it doesn't search the other columns). From: madams at cybernet.com (Mark Adams ) Date: Thu, 29 Mar 2001 10:44:40 -0500 (EST) Subject: [ic] Problems with construct account.html The form submission on account.html wasn't checking for missing fields, so I had to make a few changes. This is against version 4.6.4. It still doesn't check for missing fields, if you select "Save and Checkout". I think that getting that to work would require some more major changes. I also added an else to show a confirmation message of "Information Saved" as required for usability. Otherwise people clicked on save all day, "wondering why it didn't save". I don't know if everything I did was required, but it works now. I really am just now getting into this ic tag stuff. -Mark Adams http://www.bitserve.com 29c29,32 < [/if] --- > [else] > <P><FONT COLOR=__CONTRAST__>Information Saved.</FONT></P> > [/else] > [/if] 390c393 < <INPUT TYPE=SUBMIT VALUE="Save Acct. Info"> --- > <INPUT TYPE=SUBMIT VALUE="Save" NAME=mv_click> 392,394d394 < [set Save and Checkout] < mv_nextpage=ord/checkout < [/set] 401a402,409 > [seti clear_errors][error all=1 hide=1 comment="Clear errors"][/seti] > [set Save] > mv_todo=submit > [/set] > [set Save and Checkout] > mv_nextpage=ord/checkout > [/set] > --- Mark Adams madams@cybernet.com From: doug at lathi.net (Doug Alcorn ) Date: 29 Mar 2001 10:37:36 -0500 Subject: [ic] Alternatives to Interchange "Juan A. Cossio" <jacossio@terra.es> writes: > What other open source e-commerce platform with real-time charge of > credit cards can be suitable in this case? http://freshmeat.net/search/?q=shopping+cart -- (__) 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: mikeh at minivend.com (Mike Heins ) Date: Thu, 29 Mar 2001 10:56:14 -0500 Subject: [ic] [fly-list] for arbitrary databases doesn't work? Quoting Ed LaFrance (edl@newmediaems.com): > Hi all - > > It seems that the [fly-list] tag no longer works for non-products tables on > a custom flypage - at least not like it used to. I have tried it with the > base=table option to try to force the lookups to a particular table, still > to not avail. It used to be (in MV) that one could pull data from one or > several arbitrary tables (and products for that matter) thusly: > > go to my_fly.html: [page my_fly akey]Go[/page] > > [fly-list code="[data session arg]"] > [item-code] > [item-field foo] #this would get 'foo' from table products for > the current key > [item-data info bar] #this would get 'bar' from table info for the > current key > [/fly-list] > > ...it doesn't seem to work this way any more. Are there new directives > required to make this work? I don't want to add a bunch of arbitrary > databases to the ProductFiles directive just to get this to work. I guess > I can use [loop..] instead, but why has the fly-list functionality been > removed? > I am surprised it ever did. But you can add an onfly=1 option and force it to work. In any case, [fly-list onfly=1 ...] is exactly equivalent to: [loop prefix=item list="[data session arg]"] except it won't track a VIEW_PRODUCT in the tracking, and it won't run list_compat to make [if-field ...] and [if-data ...] work. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> "Laughter is inner jogging." -- Norman Cousins From: mikeh at minivend.com (Mike Heins ) Date: Thu, 29 Mar 2001 10:59:15 -0500 Subject: [ic] expireall and server --start fail to run in crontab (was: Where is checkstat.sh?) Quoting Jason Kohles (jkohles@redhat.com): > On Wed, Mar 28, 2001 at 03:51:33PM -0600, Curt Hauge wrote: > > Thanks again. If I understood correctly, bin/interchange will re-config the > > catalogs but will not restart the server unless it is down (and the > > interchange/error. log seems to support this). I was informed in a prior > > post that (supposedly) bin/interchange replaces the old checkstat.sh script. > > Is there some other automatic way to be sure the server is running? Others > > must have something working or they will have to manually restart (WHEN they > > find out the serve IS down). > > > Ahh, I must have misread your previous message, I thought you were running > interchange -r from cron, which would stop and restart the server, temporarily > taking it off-line. Running it with no arguments (or with --serve or -start) > would be appropriate for ensuring it is running. And it won't reconfig the catalogs on the running server. It will just test the configuration as it is and exit. This cron thing is not a recommended practice, by the way -- certainly not every 5 minutes. Interchange should routinely run for months at a time unless something from the outside gets in the way. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Just because something is obviously happening doesn't mean something obvious is happening. --Larry Wall From: info at 4co.de (Ken Lyons ) Date: Thu, 29 Mar 2001 17:58:50 +0200 Subject: [ic] Error at check out I was trying a test order and was looked in a loop (check items in red, then proceed) well nothing was marked in red. This is what was in my error log any ideas? Ken -------------------- 213-21-31-184.surf-callino.de ewF8z6nd:surf-callino.de - [29/Mδrz/2001:17:43:53 +0200] CBSE /cgi-bin/CBSE/process.html Safe: Can't modify constant item in postincrement at (eval 365) line 1, near "5.3536++" > syntax error at (eval 365) line 1, near "++4.76190476190476"> > 76.48+5.3536++4.76190476190476> 213-21-31-184.surf-callino.de ewF8z6nd:surf-callino.de - [29/Mδrz/2001:17:45:04 +0200] CBSE /cgi-bin/CBSE/process.html Safe: Can't modify constant item in postincrement at (eval 365) line 1, near "5.3536++" > syntax error at (eval 365) line 1, near "++4.76190476190476"> > 76.48+5.3536++4.76190476190476> Here's my checkout.html if anyone needs it: [comment] ui_template: Yes ui_template_name: fullwidth [/comment] [set page_banner]Check Out[/set] [set bgcolor]#FFFFFF[/set] [set members_only]0[/set] [set page_title]__COMPANY__ -- Check Out[/set] @_NOLEFT_TOP_@ <!-- BEGIN CONTENT --> [if !session logged_in] <p><font __FFACE__ size="2" color="navy">If you have an account with us, please login using the fields below. It is not required, but you can also <a href="[area new_account]">create an account</a> with us.</font></p> [if session failure] <div align="center"> <P> <font size="2" __FFACE__><b><font color="#FF0000">[calc]delete $Session->{failure}[/calc]</font></b></font> <P> </div> [/if] <table width="50%" border="1" cellspacing="0" cellpadding="0" bordercolordark="#000000" bordercolorlight="#000000"> <FORM ACTION="[process secure=1]" METHOD=POST> <INPUT TYPE=hidden NAME=mv_click VALUE=Login> <INPUT TYPE=hidden NAME=mv_todo VALUE=return> <INPUT TYPE=hidden NAME=mv_nextpage VALUE="ord/checkout"> [set Log In] mv_nextpage=@@MV_PAGE@@ [/set] <tr> <td> <table width="50%" border="0" cellspacing="0" cellpadding="2"> <tr bgcolor="#0099FF"> <td width="30%" align="right" bgcolor="#0099FF"><font size="2" __FFACE__><b><font color="yellow">Username</font></b></font></td> <td width="70%" bgcolor="#6E00A5" align="left"> <INPUT NAME=mv_username VALUE="[read-cookie MV_USERNAME]"> </td> </tr> <tr bgcolor="#0099FF"> <td width="30%" align="right" bgcolor="#0099FF"> <font color="#FFFFFF" size="2" __FFACE__><font color="#000000"><b><font color="yellow">Password</font></b></font></font></td> <td width="70%" bgcolor="#6E00A5" align="left"> <INPUT TYPE=password NAME=mv_password VALUE=""> <input type="hidden" NAME="mv_check" value="LogIn"> </td> </tr> [comment] <tr bgcolor="#FFFFFF"> <td width="30%" align="right" bgcolor="#FFFFFF"> <p><font __FFACE__ size="2"><b><font color="#000000" size="1">Merchant Number</font></b> </font></p> </td> <td width="70%" align="left"> <input type="text" name="merchantnumber2" size="10" maxlength="10"> <font size="1" __FFACE__> <font color="#000000">(Optional)</font></font> </td> </tr> [/comment] <tr bgcolor="#FFFFFF"> <td width="30%">&nbsp;</td> <td width="70%"> <input type="submit" value="Log In"> </td> </tr> <tr bgcolor="#FFFFFF"> <td width="30%" align="right"> <INPUT TYPE=hidden NAME=mv_cookie_password VALUE=0><INPUT TYPE=checkbox NAME=mv_cookie_password VALUE=1> </td> <td width="70%"><font __FFACE__ size="1" color="#000000">Log me in automatically<br>(sets cookie)</font></td> </tr> </table> </td> </tr> </table> </form> <p>&nbsp;</p> [/if] <SCRIPT> // JavaScript Form Validation Demo // by Paul Colton function check_tax(form) { // Make sure the email field is not blank var foundState = false; var ch = form.state.value; ch = ch.toUpperCase(); [loop list="__TAXAREA__"] if(ch == "[loop-code]") { alert("You will be charged [currency][fly-tax [loop-code]][/currency] sales tax\nsince you are shipping to [loop-code]. Click UPDATE to see the amount in your total."); foundState = true; } [/loop] return foundState; } </SCRIPT> <FORM ACTION="[process secure=1]" METHOD="POST" name=checkout> <INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]"> [if type=explicit compare="[error all=1 show_var=1 keep=1]"] <P> <font __FFACE__ size="2"><b>There were errors in your last submission.</b> <br> They are shown in <FONT COLOR=__CONTRAST__>__CONTRAST__</FONT> below.</FONT> <P> [/if] <INPUT TYPE=hidden NAME=mv_doit VALUE=refresh> <INPUT TYPE=hidden NAME=mv_nextpage VALUE="ord/checkout"> [comment] <!-- Order routes in catalog.cfg --> <!-- Checkout profile in etc/order.profiles --> [/comment] <INPUT TYPE=hidden NAME=mv_order_profile VALUE=checkout_profile> <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"> [set Save_database] [userdb save] [/set] <p><font __FFACE__ size="2" color="navy">Please verify the information below and click the "Place Order" button to process your order.</font></p> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td> <br> <table width="90%" border="1" cellspacing="0" cellpadding="0" bordercolor="navy"> <tr> <td> <table width="90%" border="0" cellspacing="0" cellpadding="0" bordercolor="navy"> <TR bgcolor="#0099ff"> <td width="9%"><font color="yellow" __FFACE__ size="0"><b>Remove</b></font></td> <td width="13%" align=center> <font color="yellow" size="2" __FFACE__><b><font size="1">SKU</font></b></font> </td> <td align=center width="27%"> <font color="yellow" __FFACE__ size="1"><b>Description</b></font> </td> <td width="13%" align="center"> <font __FFACE__ size="1" color="yellow"><b>Quantity</b></font> </td> <td width="19%" align="right"> <b><font size="1" __FFACE__ color="yellow">Price</font></b> </td> <td align="right" width="19%"> <font __FFACE__ size="1" color="yellow"><b>Extension</b></font> </td> </TR> <TBODY> [if items] [then] [item-list] <TR bgcolor="[item-alternate 2]#FFFFFF[else]#A8E3FF[/else][/item-alternate]"> <TD align=center valign=top> <FONT SIZE="-2"><INPUT TYPE=checkbox NAME="[quantity-name]" onClick="this.form.action='[process-target]', this.form.submit()" VALUE=0></FONT></TD> <TD WIDTH="2"><font __FFACE__ size="1">[item-code]</font></TD> <TD><font __FFACE__ size="1">[page [item-code]][item-description]</A></font> [if scratch dealer] [if-item-data pricing sku] <BR>[page quantity [item-code]] <font __FFACE__ size="1" COLOR=__CONTRAST__>QUANTITY PRICING</FONT> </A> [/if-item-data] [/if] [if-item-field weight] [seti weight][summary amount=`[item-quantity] * [item-field weight]`][/seti] [/if-item-field] <br> [seti count][item-data inventory quantity][/seti] [if scratch count eq 0] <a href="[area stock-alert [item-code]]"><font __FFACE__ size="1" color="#FF0000">Back Ordered</FONT> [else] <font __FFACE__ size="1">Sizes:</font> <FONT SIZE=1>[item-accessories size][item-accessories color]</FONT> [/else] [/if] </TD> <TD ALIGN=CENTER valign=top>[compute_vat] <font __FFACE__ size="1"><INPUT TYPE=text NAME="[quantity-name]" VALUE="[item-quantity]" SIZE=3></FONT></TD> <TD ALIGN=RIGHT><font __FFACE__ size="1">[discount-price]</font>[if discount [item-code]]<BR><font __FFACE__ size="1" COLOR=__CONTRAST__>Item is discounted [item-discount]</FONT>[/if] </TD> <TD ALIGN=RIGHT><font __FFACE__ size="1">[item-subtotal]</font></TD> </TR> <TR bgcolor="[item-alternate 2]#FFFFFF[else]#A8E3FF[/else][/item-alternate]"><TD ALIGN=CENTER COLSPAN=6><IMG SRC="clear.gif" WIDTH="1" ALT="" HEIGHT="2" BORDER="0"></td></TR> <TR bgcolor="[item-alternate 2]#FFFFFF[else]#A8E3FF[/else][/item-alternate]"> <TD COLSPAN=2 align="right"><font __FFACE__ size="1" ><b>Address To Ship To:</b></font></td> <TD COLSPAN=4 align="left">&nbsp; [if !value shipto_[item-increment]][value name=shipto_[item-increment] set="primary" hide=1][/if] [loop search=" ra=yes st=db sq=select * from ship_addresses where username = '[data session username]' ml=1000 tf=entry "] [on-match][data session username] <SELECT NAME=shipto_[item-increment]> <OPTION VALUE="primary" [selected shipto_[item-increment] primary]> Primary [/on-match] [list] <OPTION VALUE="[loop-data ship_addresses code]" [selected shipto_[item-increment] [loop-data ship_addresses code]]> [loop-data ship_addresses addr_nick] [/list] [on-match]</SELECT>[/on-match] [no-match]<OPTION TYPE=hidden NAME=shipto_[item-increment] VALUE="primary">Primary[/no-match] [/loop] <a href="[area ship_addresses]"><font __FFACE__ size="1" >Add New Address</font></a> </td> </TR> <TR bgcolor="[item-alternate 2]#FFFFFF[else]#A8E3FF[/else][/item-alternate]"><TD ALIGN=CENTER COLSPAN=6><IMG SRC="clear.gif" WIDTH="1" ALT="" HEIGHT="4" BORDER="0"></td></TR> [/item-list] [/then] [else] <TR><TD ALIGN=CENTER COLSPAN=6> <H3><font __FFACE__>No items at the moment.</font></H3> </TD></TR> [/else] [/if] </table> </td></tr> </table> <p> <table width="90%" border="0" cellspacing="0" cellpadding="0" bordercolor="#FF9900"> [if scratch order_discounted eq 1] <TR> <TD ALIGN=RIGHT width="75%"><font color="ff0000" face="sans-serif">Discount: </font></TD> <TD ALIGN=RIGHT><font face="sans-serif">-[currency][scratch coupon_amount][/currency]</font></TD> </TR> [/if] <TR><TD ALIGN=RIGHT width="70%"><font face="sans-serif">Subtotal:</font></TD><TD ALIGN=RIGHT><font face="sans-serif">[subtotal]</font></TD></TR><TR><TD ALIGN=RIGHT width="70%"><font face="sans-serif">Sales Tax1:</font></TD><TD ALIGN=RIGHT><font face="sans-serif">[currency][scratch tax][/currency]</font></TD> </TR><TR><TD ALIGN=RIGHT width="70%"><font face="sans-serif">Sales Tax2:</font></TD><TD ALIGN=RIGHT><font face="sans-serif">[currency][scratch tax2][/currency]</font></TD></TR><TR><TD ALIGN=RIGHT width="70%"><font face="sans-serif">Shipping:</font></TD><TD ALIGN=RIGHT><font face="sans-serif">[shipping]</font></TD> </TR><TR><TD ALIGN=RIGHT width="70%"><font face="sans-serif">TOTAL:</font></TD><TD ALIGN=RIGHT><font face="sans-serif"> [currency][calc][subtotal noformat=1]+[scratch tax]+[scratch tax2]+[shipping noformat=1][/calc][/currency] </font></TD></TR></table> </td></tr> <tr><td>&nbsp;</td></tr> <tr><td>&nbsp;</td></tr> <tr><td> <table width="75%" border="1" cellspacing="0" cellpadding="0" bordercolorlight="#000000" bordercolordark="#000000"> <tr> <td> <table width="70%" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td bgcolor="#0099FF"><font __FFACE__><b><font size="1" color="yellow">Shipping Address</font></b></font></td> <td bgcolor="#0099FF"><i><font __FFACE__ size="1" color="yellow">(primary)</font></i></td> <td bgcolor="#0099FF">&nbsp;</td> <td bgcolor="#0099FF">&nbsp;</td> </tr> <tr> <td align=right> <font __FFACE__ size="1">[error name=fname std_label="First Name" required=1]</font> </td> <td align=left> <b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=fname VALUE="[value fname]" size="20" maxlength="20"> </font></b> </td> <td align="right"><font __FFACE__ size="1">[error name=lname std_label=Last required=1]</font></td> <td align="left"> <INPUT TYPE=text NAME=lname VALUE="[value lname]" size="20"></td> </tr> <tr> [if scratch dealer] <td align="right"><font __FFACE__ size="1">[error name=company std_label=Company required=1]</font> [else] <td align="right"><font __FFACE__ size="1">Company</font> [/else] [/if] </td> <td align="left"><b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=company VALUE="[value company]" size="20" maxlength="40"> </font></b> </td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td align="right"><font __FFACE__ size="1">[error name=address1 std_label=Address required=1]</font> </td> <td align="left" colspan=3><b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=address1 VALUE="[value address1]" size="64" maxlength="64"> </font></b> </td> </tr> <tr> <td>&nbsp;</td> <td align="left" colspan=3><b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=address2 VALUE="[value address2]" size="64" maxlength="64"> </font></b> </td> </tr> <tr> <td align="right"><font __FFACE__ size="1">[error name=city std_label="City" required=1]</font> </td> <td><b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=city VALUE="[value city]" size="20" maxlength="20"> </font></b></td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td><font __FFACE__ size="1">[error name=state std_label="State/Province" required=1]</font></td> <td align="left"><b><font __FFACE__ size="1"> [loop search=" fi=state.txt sf=country se=[default country US] rf=state,name ml=100 " option=state] [on-match]<SELECT onChange="check_tax(this.form)" NAME=state>[/on-match] [list] <OPTION VALUE="[loop-code]">[loop-pos 1] [/list] [on-match]</SELECT>[/on-match] [no-match]<INPUT NAME=state VALUE="[value state]" SIZE=20>[/no-match] [/loop] </font></b></td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td align="right"><font __FFACE__ size="1">[error name=zip std_label="Zip/Postal Code" required=1] </font> </td> <td><b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=zip VALUE="[value name=zip filter=word]" size="10" maxlength="10"> </font></b></td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td align="right"><font __FFACE__ size="1">[error name=email std_label="Email Address" required=1]</font> </td> <td><b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=email VALUE="[value email]" size="30"> </font></b></td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td align="right"><b><font __FFACE__ size="1">Country</font></b> </td> <td colspan="3"> [if value country =~ /(^$|US|CA)/] <SELECT NAME=country onChange="this.form.submit()"> <OPTION VALUE="US"> United States <OPTION [selected country CA] VALUE="CA"> Canada <OPTION VALUE="JP"> Other </SELECT> [else] <SELECT onChange="this.form.submit()" NAME=country> [loop option=country search=" ra=yes fi=country st=db rf=code,name ml=1000 tf=name "] <OPTION VALUE="[loop-code]"> [loop-data country name] [/loop] </SELECT> [/else] [/if] <font __FFACE__ size="1">(will update display)</font> </td> </tr> <tr> <td align="right"><font __FFACE__ size="1">[error name=phone_day std_label="Daytime Phone" required=1]</font> </td> <td><b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=phone_day VALUE="[value phone_day]" size="12" maxlength="20"> </font></b></td> <td align="right"><font __FFACE__ size="1">Evening Phone</font> </td> <td align="left"><b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=phone_night VALUE="[value phone_night]" size="12" maxlength="20"> </font></b></td> </tr> [if session ship_message] <tr> <td>&nbsp;</td> <td colspan="3"><font __FFACE__> <font color="#FF0000"><B>Note:</B></font> [data session ship_message] </font> </td> </tr> [/if] <tr> <td align="right"><font __FFACE__ size="1"><b>Shipping method</b></font><b><font __FFACE__ size="1"> </font></b> </td> <td colspan="3"> <SELECT NAME=mv_shipmode> [loop option=mv_shipmode list=|[data table=country key='[default country US]' col=shipmodes]| ] <OPTION VALUE="[loop-code]"> [shipping-desc [loop-code]] [/loop] </SELECT> </td> </tr> <tr> <td>&nbsp;</td> <td colspan="3"><font size="1"><i><font __FFACE__>We need the bold fields to process your order</font></i></font> </td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr bgcolor="#6E00A5"> <td><font __FFACE__ size="1"><b><font color="yellow">Mailing Status</font></b></font></td> <td><font __FFACE__ size="1"><b><font color="#6E00A5">a</font></b></font></td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td align="center" valign="middle">&nbsp;</td> <td align="left">&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td align="center" valign="middle"> <SELECT NAME=email_copy> <OPTION VALUE="1">Yes <OPTION [selected name=email_copy value=0] VALUE="0">No </SELECT> </td> <td align="left"><font __FFACE__ size="1">Send an email copy of my receipt</font></td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td align="center" valign="middle">&nbsp;</td> <td align="left">&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td align="center" valign="middle"> [perl tables="__UI_META_TABLE__ mv_metadata"] return; [/perl] <SELECT NAME=mail_list> [loop acclist=1 option=mail_list list=` $table = '__UI_META_TABLE__' || 'mv_metadata'; return tag_data( $table, 'mail_list', 'userdb::mail_list') || '=No, 1=Yes'; `] <OPTION VALUE="[loop-code]">[loop-pos 1] [/loop] </SELECT> </td> <td align="left"><font __FFACE__ size="1">Mail list</font></td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </table> </td> </tr> </table> <p>&nbsp;</p> <table width="75%" border="1" cellspacing="0" cellpadding="0" bordercolordark="#000000" bordercolorlight="#000000"> <tr> <td> <table width="70%" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td bgcolor="#0099FF"><font __FFACE__><b><font size="1" color="yellow">Billing Address </font></b></font></td> <td width="130" bgcolor="#0099FF"><i><font __FFACE__ size="1" color="yellow">If different than above</font></i></td> <td bgcolor="#0099FF">&nbsp;</td> <td bgcolor="#0099FF">&nbsp;</td> </tr> <tr> <td align="right"><b><font __FFACE__ size="1">First Name</font></b> </td> <td align="left"><b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=b_fname VALUE="[value b_fname]" size="20" maxlength="20"> </font></b> </td> <td> <b><font __FFACE__ size="1">Last Name</font></b> </td> <td align="left"> <INPUT TYPE=text NAME=b_lname VALUE="[value b_lname]" size="20"> </td> </tr> <tr> <td align="right"><b><font __FFACE__ size="1">Company</font></b> </td> <td align="left"><b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=b_company VALUE="[value b_company]" size="20" maxlength="20"> </font></b> </td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td align="right"><b><font __FFACE__ size="1">Address</font></b> </td> <td align="left" colspan=3><b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=b_address1 VALUE="[value b_address1]" size="64" maxlength="64"> </font></b> </td> </tr> <tr> <td>&nbsp;</td> <td align="left" colspan=3><b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=b_address2 VALUE="[value b_address2]" size="64" maxlength="64"> </font></b> </td> </tr> <tr> <td align="right"><b><font __FFACE__ size="1">City</font></b> </td> <td><b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=b_city VALUE="[value b_city]" size="20"> </font></b></td> <td align="right"><b><font __FFACE__ size="1">State/Province</font></b></td> <td align="left"><b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=b_state VALUE="[value b_state]" size="5" maxlength="5"> </font></b></td> </tr> <tr> <td align="right"><b><font __FFACE__ size="1">Zip/Postal Code </font></b> </td> <td><b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=b_zip VALUE="[value b_zip]" size="10" maxlength="10"> </font></b></td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td align="right"><b><font __FFACE__ size="1">Country</font></b> </td> <td> <INPUT TYPE=text NAME=b_country VALUE="[value b_country]" size="10" maxlength="10"> </td> <td>&nbsp; </td> <td>&nbsp;</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr bgcolor="#6E00A5"> <td><font __FFACE__ size="1"><b><font color="yellow">Payment Method</font></b></font></td> <td bgcolor="#FF77ff"><font __FFACE__ size="1"><b><font color="yellow">a</font><font color="yellow"> </font></b></font></td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>&nbsp;</td> <td> <SELECT NAME="payment_method" onChange="this.form.submit()"> [if variable CREDIT_CARDS_ACCEPTED] <option [selected payment_method credit] value="credit">Credit Card [/if] [if variable CHECK_ACCEPTED] <option [selected payment_method check] value="check">Online Check [/if] [if variable PO_ACCEPTED] <option [selected payment_method po] value="po">Company P.O. [/if] [if variable POSTAL_ACCEPTED] <option [selected payment_method postal] value="postal">Postal Billing [/if] </SELECT> </td> <td colspan="2"> <font __FFACE__ size="1">(will update display)</font></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </table> </td></tr></table> [if !value payment_method] [or value payment_method eq credit] [then] <input type=hidden name=fax_order value=0> <p>&nbsp;</p> <table width="50%" border="1" cellspacing="0" cellpadding="0" bordercolordark="#000000" bordercolorlight="#000000"> <tr> <td> <table width="50%" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td bgcolor="#0099FF" colspan="4"><font __FFACE__><b><font size="1" color="yellow"> <div align=right>[calc] my $accepted = $Variable->{CREDIT_CARDS_ACCEPTED}; my (@out); my (@cc); my $out; push @cc, 'visa' if $accepted =~ /visa/; push @cc, 'mc' if $accepted =~ /mc/; push @cc, 'disc' if $accepted =~ /discover/; push @cc, 'amex' if $accepted =~ /amex/; for (@cc) { push @out, qq{<IMG SRC="small$_.png">}; } return join '&nbsp;&nbsp;', @out; [/calc]</div>[error std_label="Credit Card Information" name=mv_credit_card_valid] [if session username eq test]<BR>(test number <A HREF="javascript:void 0" onclick="checkout.mv_credit_card_number.value='4111 1111 1111 1111'; return false;">4111 1111 1111 1111</A>)[/if] </font></b></font></td> </tr> <tr> <td align=right> <b><font __FFACE__ size="1"> Card Number </font></b> </td> <td align=left colspan=3> <b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=mv_credit_card_number SIZE=22> </font></b> </td> </tr><tr> <td align=right><b><font __FFACE__ size="1"> Expiration </font></b></td> <td align="left" colspan="3"> <SELECT NAME=mv_credit_card_exp_month> [loop lr=1 option=mv_credit_card_exp_month list=" 1 01 - January 2 02 - February 3 03 - March 4 04 - April 5 05 - May 6 06 - June 7 07 - July 8 08 - August 9 09 - September 10 10 - October 11 11 - November 12 12 - December"] <OPTION VALUE="[loop-code]"> [loop-pos 1] [/loop] </SELECT> <SELECT NAME=mv_credit_card_exp_year> [comment] This should always return the current year as the first, then 7 more years. [/comment] [loop option=mv_credit_card_exp_year lr=1 list=` my $year = $Tag->time( '', { format => '%Y' }, '%Y' ); my $out = ''; for ($year .. $year + 7) { /\d\d(\d\d)/; $last_two = $1; $out .= "$last_two\t$_\n"; } return $out; `] <OPTION VALUE="[loop-code]"> [loop-pos 1] [/loop] </SELECT> </td> </tr> </table> </td></tr></table> [/then] [elsif value payment_method eq postal] <input type=hidden name=fax_order value=1> [/elsif] [elsif value payment_method eq check] <input type=hidden name=fax_order value=1> <p>&nbsp;</p> <table width="50%" border="1" cellspacing="0" cellpadding="0" bordercolordark="#000000" bordercolorlight="#000000"> <tr> <td> <table width="50%" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td bgcolor="#0099FF" colspan="2"><font __FFACE__><b><font size="1" color="yellow"> Check Information </font></b></font></td> <td bgcolor="#0099FF">&nbsp;</td> <td bgcolor="#0099FF">&nbsp;</td> </tr> <tr> <td align="right"><b><font __FFACE__ size="1"> Account Number </font></b> </td> <td colspan="3 align="left"><b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=check_acct SIZE=22> </font></b> </td> </tr><tr> <td align="right"><b><font __FFACE__ size="1"> Routing Number </font></b></td> <td align="left" colspan="3"> <b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=check_route SIZE=22> </font></b> </td> </tr><tr> <td align="right"><b><font __FFACE__ size="1"> Check Number </font></b></td> <td align="left" colspan="3"> <b><font __FFACE__ size="1"> <INPUT TYPE=text NAME=check_num SIZE=22> </font></b> </td> </tr> </table> </td></tr> </table> [/elsif] [elsif value payment_method eq po] <input type=hidden name=fax_order value=2> <p>&nbsp;</p> <table width="50%" border="1" cellspacing="0" cellpadding="0" bordercolordark="#000000" bordercolorlight="#000000"> <tr> <td> <table width="50%" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td bgcolor="#0099FF" colspan="2"><font __FFACE__><b><font size="1" color="yellow"> P.O. Information </font></b></font></td> <td bgcolor="#0099FF">&nbsp;</td> <td bgcolor="#0099FF">&nbsp;</td> </tr> <tr> <td align=right><b><font __FFACE__ size="1"> [error name=credit_limit_ok std_label="PO Number" required=1] </font></b></td> <td align=left colspan=3> <b><font __FFACE__ size="1"> <INPUT NAME=project_id VALUE="[value project_id]" SIZE=14> </font></b> </td> </tr> [if type=data term="userdb::credit_limit::[data session username]" op=">" compare=0.01] <tr> <td align=right valign=top><b><font __FFACE__ size="1"> Available credit </font></b></td> <td align=left colspan=3> <b><font __FFACE__ size="1"> [currency] [data table=userdb col=credit_limit key="[data session username]"] [/currency] [if type=data term="userdb::credit_limit::[data session username]" op=< compare="[total-cost noformat=1]" ] <BR> Order total [total-cost] exceeds credit limit, please call.</FONT> [/if] <BR> </font></b> </td> </tr> [/if] </table> </td></tr> </table> [/elsif] [else] [/else] [/if] </td></tr> <tr><td> <p>&nbsp;</p> <INPUT TYPE=SUBMIT VALUE="Refresh"> <B><INPUT TYPE=SUBMIT VALUE="Place Order" name="mv_click"></B> <p>&nbsp;</p> </form> [seti clear_errors][error all=1 hide=1 comment="Clear errors"][/seti] </td></tr> </table> <p> [include templates/components/specials] [set Place Order] mv_todo=submit [/set] <!-- END CONTENT --> @_NOLEFT_BOTTOM_@ From: mikeh at minivend.com (Mike Heins ) Date: Thu, 29 Mar 2001 11:11:10 -0500 Subject: [ic] Recursive Perl Function? Quoting Craig Beasland (craig@hotmix.com.au): > Hi there, > > We would like to add a simple Bulletin Board system to one of our systems. > The simple solution is to add a function which display a line from the > BBtable, calls itself to see if there are any "children" which in turn calls > itself and so on. > You might check out the [tree ...] tag in 4.7.x. It allows you to specify a master item (thread) and then walk down the tree. You would want a SQL database for it, though, as I think the overhead for GDBM would be high. And indexing is a must. id parent code message 1 99 a 2 a b 3 a c 4 a d 5 a x 6 x y 7 x z 8 99 m 9 99 n 10 99 o 11 o e 12 o f 13 o g The above sample data would produce: a mv_level=0, mv_increment=1, mv_children=4 b mv_level=1, mv_increment=1, mv_children=0 c mv_level=1, mv_increment=2, mv_children=0 d mv_level=1, mv_increment=3, mv_children=0 x mv_level=1, mv_increment=4, mv_children=2 y mv_level=2, mv_increment=1, mv_children=0 z mv_level=2, mv_increment=2, mv_children=0 m mv_level=0, mv_increment=1, mv_children=0 n mv_level=0, mv_increment=2, mv_children=0 o mv_level=0, mv_increment=3, mv_children=3 e mv_level=1, mv_increment=1, mv_children=0 f mv_level=1, mv_increment=2, mv_children=0 g mv_level=1, mv_increment=3, mv_children=0 from the tag call: [tree start=99 parent=parent child=code autodetect=1 full=1] -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Unix version of an Outlook-style virus: It works on the honor system. Please forward this message to everyone you know, and delete a bunch of your files at random. From: mikeh at minivend.com (Mike Heins ) Date: Thu, 29 Mar 2001 11:19:22 -0500 Subject: [ic] Quick question about shipping Quoting Thomas N. Stefanidis (thomas@prometheas.gr): > Hello, > i have set the shipping method(and it works fine) but don't know how to > do the last shipping method : > > from 100 till 120 cost=220$ > ..... > from 180 till 200 cost=300$ > i can't do that --> "after 200 kilogram add 15$ for every 20 kilogram > in the last price (300) > > so if the weight will be 220 the cost wil be 315, > if it's 240 it will be 330. What is wrong with (replace | with TAB): MODE|Some shipping mode|200|99999|f my $add = int ((@@TOTAL@@ - 200) / 20); 300 + $add * 15; -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Friends don't let friends use Outlook. -- Bob Blaylock From: mikeh at minivend.com (Mike Heins ) Date: Thu, 29 Mar 2001 11:35:25 -0500 Subject: [ic] Can't locate object method "test_column" via package "Ven d::Table::InMemory" Quoting vasile_abo@wexim.com (vasile_abo@wexim.com): > Hello everybody here > > I've got a strange problem with a Interchange 4.6.3 > on a Linux box with perl 5.6. In error.log I got : > ################################### > [28/March/2001:03:36:57 -0500] shop /cgi-bin/shop/order_to_print.html > Safe: Can't locate object method "test_column" via package "Vend:: > Table::InMemory" at [interchange path here]/lib/Vend/Data.pm line 186. > > > > return sprintf("%.2f", $Tag->total_cost({noformat=>1})) > ################################### > > In fact, I got this everytime I try to use $Tag->total_cost > in a Perl subroutine. > This problem does not happen when using a GDBM table. > Does anybody has an idea ? > Apparently a defect in lib/Vend/Table/InMemory.pm. Add this line near the bottom with the similar lines: *test_column = \&Vend::Table::Common::test_column; This prevents the typical Safe error when trying to access the superclass. Added to CVS, stable and devel both. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown From: mikeh at minivend.com (Mike Heins ) Date: Thu, 29 Mar 2001 11:43:04 -0500 Subject: [ic] iso-8895-2 character set Quoting klosar18@email.si (klosar18@email.si): > We're having problems with interchange when trying to > import/export iso-8859-2 character set,when we export > the tables to an xls excel format.The character set > iso8859-2 fails..letters :θζΎΉπ.The item list page in > UI admin pages shows them correctly but when you click > on edit item the edit item page shows them messed > up,plus if you import the xsl files back even the > statically build pages get all messed up and the > characters are written with weird ascii characters that > no text editor can show correctly .So if anyone has any > idea where the problem is please let me know.If it > helps I'll setup another demo store with login and pass > where the problem can be viewed.We can't inport any > products in slovenian language because of this problem. Try importing/exporting to a tab-delimited file and see if you have the same problem. If you do, then it is an Interchange problem and we will certainly take a look at it. If you don't see the same problem, it is a Spreadheet::WriteExcel or Spreadsheet::ParseExcel problem, or in our interfacing thereto. But a quick perusal of the docs for those don't mention any methods which allow us to specify the character set. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Be patient. God isn't finished with me yet. -- unknown From: mikeh at minivend.com (Mike Heins ) Date: Thu, 29 Mar 2001 11:43:57 -0500 Subject: [ic] mv_search_line_return and [loop-pos n] Quoting Ed LaFrance (edl@newmediaems.com): > Hello all - > > When using mv_search_line_return to put a full row from a db (or text file) > into search results, it seems that there is no tag display the full > row. In the case of a loop search, it seems that one must use [loop-code], > [loop-pos 1], [loop-pos 2]...etc. Can anyone confirm this, or is their a > tag which yields all the fields in the row as one string? [loop-line] -- 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: parentjp at videotron.ca (Jean-Pierre Parent ) Date: Thu, 29 Mar 2001 00:14:00 -0500 Subject: [ic] Query iteration Hi, I've been reading the doc and cant find a complete example on how to do a custom query and iterate over the returned records. Does one need use [mvasp][/mvasp] surrounded code in order to loop through a [query][/query]'s returned values? I have this done using [query arrayref="myArray"] and then using $Tmp->{myArray} to fetch the ref inside [mvasp][/mvasp]...but i was wondering if there is a simpler way to do it? I cant avoid using [query] since I'm using pattern matching operator with MySQL. I just need the structure with a few hints on which commands would do the trick and I'll read in the doc... Something like: [query sql="..."][/query] [loop ???] My HTML here...along with [item ???] [/loop] would be perfect... Thanks. Jean-Pierre Parent From: Scott.Andreas at learningco.com (Andreas, Scott ) Date: Thu, 29 Mar 2001 09:49:33 -0800 Subject: [ic] Database products EXCEL 1 I didn,t know that you were using mysql...Database products EXCEL 1 will only work on dbm databases and its text files. However there is a solution to your problem. First set up a myodbc on both the unix box and an the users box. Then setup odbc on the windows machine (assumming thats what your client is using) using myodbc as the driver of choice and then set up the DSN connection. Then use MS Access and set up a link tables to mysql via your DSN Your client will be able to edit the database directly through MSAccess...and its automatic(no re-importing or exporting) All of this is in the documentation on maintaining the databases with MSAccess is under icdatabses.pdf section 8.3 goodluck -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Integricity Support Sent: Wednesday, March 28, 2001 7:52 PM To: scott andreas Subject: [ic] Database products EXCEL 1 Hi, Thanks for your help with the : Database products EXCEL 1 However, I get an internal server error when I put the line into my catalog.cfg I am using MySQL and IC 4.6.3 Could I take a look at your catalog.cfg to find out where you put it? Is the space b/w the words tabbed or is it a space? Thanks in advance! -- Best regards, Integricity mailto:support@integricity.com _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: TNELSON at ECS-INC.com (Tim Nelson ) Date: Thu, 29 Mar 2001 13:15:47 -0500 Subject: [ic] [matches] tag returning 50 (ml=10) I have a search where I set... [search-region ml=10] and it correctly returns 10 records per match, but... Matches [matches] of [match-count] found. returns.... Matches 1-50 of 198 found. Do I have to set ml= somewhere else????? Thanks. From: g.gaskill at aboron.com (Greg ) Date: Thu, 29 Mar 2001 13:13:48 -0500 Subject: [ic] Two simple questions > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Neil Lunn > Sent: Thursday, March 29, 2001 4:58 AM > To: 'interchange-users@lists.akopia.com' > Subject: RE: [ic] Two simple questions > <snip> > > > -----Original Message----- > > From: Jason Osborne [mailto:jason@sohonetworks.cc] > > Sent: Thursday, March 29, 2001 7:34 PM > > To: Interchange Mailing List > > Subject: [ic] Two simple questions > > > > 2. How to I make Interchange publish the static pages to the > > root of the > > companies website? Right now it is putting all the static > > pages under a > > subdirectory. > > Configure the catalog that way. > [ie From catalog.cfg] <snip> You could also do the opposite and change your apache web server config to inculde this line in the set-up for your site: DirectoryIndex /cgi-bin/construct/index.html Assuming all the defaults for the Construct Something Demo store were used, and that you have the ability to get the apache config edited. Greg Gaskill From: edl at newmediaems.com (Ed LaFrance ) Date: Thu, 29 Mar 2001 11:01:18 -0800 Subject: [ic] mv_search_line_return and [loop-pos n] At 11:43 AM 03/29/2001 -0500, you wrote: > > Hello all - > > > > When using mv_search_line_return to put a full row from a db (or text > file) > > into search results, it seems that there is no tag display the full > > row. In the case of a loop search, it seems that one must use > [loop-code], > > [loop-pos 1], [loop-pos 2]...etc. Can anyone confirm this, or is their a > > tag which yields all the fields in the row as one string? > > [loop-line] > Dear Mike - Thanks for taking the time to answer this question, and my previous one regarding [fly-list] and arbitrary databases. I guess you probably know that the answers to both lay hidden in undocumented features - just a drop in the bucket compared to those that remain uncovered. Interchange just keeps getting better. Is there an initiative for the documentation to keep pace? Does Red Hat/Akopia need assistance with this? As much as users used to groan about the docs back in the Minivend days, they were far better and more complete then, than they are now, in my opinion. - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: db at cyclonehq.dnsalias.net (Dan B ) Date: Thu, 29 Mar 2001 12:52:47 -0800 Subject: [ic] Zelerate going under? (Potential Redhat acquisition) Linux Today quotes a story on the register about Zelerate possibly going under: http://linuxtoday.com/news_story.php3?ltsn=2001-03-29-002-21-NW-BZ http://www.theregister.co.uk/content/4/17959.html Unless I'm the victim of an April Fools (quite possible). What about Red Hat coming in to save the day? Akopia skillfully wove together Tallyman and Minivend (okay, mostly minivend), so why not look at the possibility of weaving together some of the code from AllComerce? For example, the "Warehouse Management" and Fulfillment house integration stuff sounds pretty interesting. While we're at it, maybe some of the fired or soon-to-be-fired perl-hacking, GPL-coding talent from Zelerate would be valuable? (AllCommerce is coded in perl *and* under the GPL, so that should help). Frankly, I never have trouble recommending business decisions. (Problem is, people frequently recommend them to me too, i.e., "Be quiet, Dan"). Later, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: rhertz at baits.com (Ryan Hertz ) Date: Thu, 29 Mar 2001 15:15:55 -0700 Subject: [ic] Recursive Perl Function? At 06:54 AM 3/29/01 , Jim Balcom wrote: >On Thu, 29 Mar 2001, Craig Beasland wrote: > >CB>>We would like to add a simple Bulletin Board system to one of our systems. >CB>>The simple solution is to add a function which display a line from the >CB>>BBtable, calls itself to see if there are any "children" which in turn >calls >CB>>itself and so on. > >Go to www.worldwidemart.com/scripts >Matthew Wright has written a ton of scripts in Perl and has them up >there. One of them is a Bulletin Board, as well as a Guestbook that >works quite well. I would avoid those scripts, as they tend to contain many security risks. Not to mention, wwwboard doesn't scale very well and will bring a server to its knees faster than a runaway Interchange. :-) Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: rhertz at baits.com (Ryan Hertz ) Date: Thu, 29 Mar 2001 15:17:53 -0700 Subject: [ic] Simple question Is your database INDEXed? At 08:26 AM 3/29/01 , Ken Lyons wrote: >My database is too big....over 100 MB, (using standard database type) >and is taking forever to search. >I know IC can can use more tables (separate files that act as one database) >but don't know what commands need to be put in the config file. Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: mikeh at minivend.com (Mike Heins ) Date: Thu, 29 Mar 2001 19:07:47 -0500 Subject: [ic] Query iteration Quoting Jean-Pierre Parent (parentjp@videotron.ca): > Hi, > > I've been reading the doc and cant find a complete example on how to do a > custom query and iterate over the returned records. Does one need use > [mvasp][/mvasp] surrounded code in order to loop through a [query][/query]'s > returned values? I have this done using [query arrayref="myArray"] and then > using $Tmp->{myArray} to fetch the ref inside [mvasp][/mvasp]...but i was > wondering if there is a simpler way to do it? I cant avoid using [query] > since I'm using pattern matching operator with MySQL. > > I just need the structure with a few hints on which commands would do the > trick and I'll read in the doc... > > Something like: > > [query sql="..."][/query] > [loop ???] > My HTML here...along with [item ???] > [/loop] > Maybe this isn't clear from the docs, but: [query list=1 sql="select * from whatever"] [sql-param field] [/query] is what you want. I can't remember why that isn't the default..... -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> I don't buy from direct telephone or email marketers. This makes it hard for me to find a phone company. ;> From: jeromie at smoothjazz.com (Jeromie Clark ) Date: Thu, 29 Mar 2001 21:21:40 -0600 Subject: [ic] More Authorize.Net GlobalSub Issues HI All- I've read *all* of the documentation I could find on the authorize.net issues, and am still having problems. I'm running the store on iServer (FreeBSD) -- it's a slightly quirky environment -- but IC (4.6.4) runs fine in all other respects (MySQL support too). My store essentially is a hacked version of construct. I read all the documentation I could find, and tried to address those issues, but am still getting the following: bad custom payment GlobalSub: authorizenet /cgi-bin/istore.cgi/process.html I've included globalsub/authorizenet in the interchange.cfg. I've added the MV_XXXX variables via KNAR as per the instructions -- tried placing them in my catalog.cfg file too... I followed the suggestion to test the module with perl, and it executes fine (sans GlobalSub >>EOF and EOF lines). I have Net::SSLeay and OpenSSL 0.9.4 is already installed by iServer. Net::SSLeay sees it, but it's above my home directory. My Secure Server Cert *is* installed and working. I ran a test script consisting basically of use Net::SSLeay to confirm that Perl sees the module. Are there other things I should be looking for? It's pretty difficult to troubleshoot as it's so transparent. Order submissions just return the user to the order page with an error alert, but no actual error displayed. TIA. Jeromie Clark VP of Information Technology http://www.smoothjazz.com/ Direct Line: (877)626-9694 -------------------------------------------------- From: gregoire.hubert at fr.alcove.com (=?iso-8859-1?Q?Gr=E9goire?= Hubert ) Date: Fri, 30 Mar 2001 11:24:04 +0200 Subject: [ic] admin interface Grιgoire Hubert wrote: > Hi, > > I have no access to admin interface...when I click on the admin link > an Interchange page tells me that the page Admin/index was not found... > > Gregoire. In an other way, do we have to develop the admin interface from scratch or is there already one existing like the admin interface on the website interchange demo store ? Thank you for your assistance... Grιgoire HUBERT. From: mikeh at minivend.com (Mike Heins ) Date: Fri, 30 Mar 2001 04:51:31 -0500 Subject: [ic] One store with many admins Quoting oliverf@mail.kdt.de (oliverf@mail.kdt.de): > Hello list, > > first I have to say, that Interchange ist the greatest and best shopping cart system I΄ve found for a long time. > > Many Thanks to Mike and all the others !!! Flattery will get you everywhere. 8-) > > My question: > > I want to make a shop with a lot of different admins (but only ONE shop) > > Those admins should have only the right to edit their articles in the > database, so they could delete, change or add items to the database. > > Is there a chance to do this with Interchange directly, or could it be the > better way to program a new Interface for them, outside of Interchange ?? > > I know, that there are a lot questions like this on this list, but i could > not find a really good answer to it. > > So please help. Interchange supports this, but there had been no UI support for administering the table_control hash in the access table. Basically, you can define an "owner_field" where the username of the logged-in user must match that field for them to edit the record. I had been meaning to do this for some time, but I finally got around to it because of your message. I just committed it to CVS -- the owner_field is now fully supported in the access_permissions manager, and owner_field is honored in the item/database select lists. (I didn't do merchandising yet, perhaps I never will. 8-) -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: mikeh at minivend.com (Mike Heins ) Date: Fri, 30 Mar 2001 04:53:31 -0500 Subject: [ic] Runtime error: Could not tie to 'products': Is a directory Quoting vasile_abo@wexim.com (vasile_abo@wexim.com): > Hello Everybody Here > > I've got a strange problem with a Interchange 4.6.3 > on a Linux box with perl 5.6. In error.log I got : > ###################################### > [27/March/2001:14:55:56 -0500] shop /cgi-bin/shop/IRDA-01.html > Runtime error: Could not tie to 'products': Is a directory > at [interchange lib]/lib/Vend/Table/GDBM.pm line 105. > ###################################### > > In catalog.cfg I has : > Database products products.asc TAB > Database products READ_ONLY 1 > Database products IMPORT_ONCE 1 > ProductFiles products > > This problem does not happen when using a InMemory table. > Does anybody has an idea ? You don't mention the situation that caused the error. If it is in the UI, then the fact that you made the table READ_ONLY is going to cause a problem.... -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Any man who is under 30, and is not liberal, has not heart; and any man who is over 30, and is not a conservative, has not brains. -- Winston Churchill From: mikeh at minivend.com (Mike Heins ) Date: Fri, 30 Mar 2001 05:11:09 -0500 Subject: [ic] One store with many admins Quoting Mike Heins (mikeh@minivend.com): > I had been meaning to do this for some time, but I finally got around to > it because of your message. I just committed it to CVS -- the owner_field > is now fully supported in the access_permissions manager, and owner_field > is honored in the item/database select lists. (I didn't do merchandising > yet, perhaps I never will. 8-) > Oops, I should mention this is only in the 4.7.x development branch accessed with "cvs co -r DEV_4_7_0". -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Research is what I'm doing when I don't know what I'm doing. -- Wernher Von Braun From: sebastian.kummer at pointec.de (Sebastian Kummer ) Date: Fri, 30 Mar 2001 12:28:23 +0200 Subject: [ic] cant transfer to Oracle hi there, I'm building a shop, and our client wants to use oracle. We developed the shop on mysql and everything worked fine. so, I installed oracle and all drivers. with perl the connect to oracle is possible. DSN, login & password are right. the problem is: interchange doesn't import any data or create any table. I only get the error message: zeit config error: ORA-00942: table or view does not exist (DBD ERROR: OCIStmtEx ecute/Describe) at /usr/local/interchange/lib/Vend/Table/DBI.pm line 643. so i did this manually. I created all tables and imported the data. fine. Interchange still returns the same error. any suggestions? thanks a lot! Regards, Sebastian Kummer --------------------------------------- Sebastian Kummer, sebastian.kummer@pointec.de Application Developer Technologies POINTEC GmbH Ferdinandstrasse 12 D-20095 Hamburg Fon: [+ 49] (0)40 - 68 87 58 - 0 Fax: [+ 49] (0)40 - 68 87 58 - 22 Besuchen Sie uns: www.pointec.de --------------------------------------- From: jason at universalplaythings.com (UP - Jason ) Date: Thu, 29 Mar 2001 23:22:45 -0800 Subject: [ic] To Interchance or not to Interchange! This is a multi-part message in MIME format. ------=_NextPart_000_0046_01C0B8A7.29359300 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Greetings Interchangers! I am considering the use of Interchange and the purchase of a support = contract from Redhat. I am writing to ask for your specific advice. = Along those lines, I have some questions that I would be very grateful = to have answered here. Here goes: 1.. Is Interchange better than platforms like Intershop, Miva, and = others?=20 2.. Redhat positions Interchange as a Blue Martini and Broadvision = killer. Is this true? Does Interchange kick butt? 3.. I have a very competent front-end development team that also = have really solid back-end skills. Will they be able to do all of the = set-up and integrations work easily or should I choose an established = integrator? 4.. How can I find an installer/integrator? If you are one = yourself, feel free to email me directly with examples of your work and = a description of your company and services. 5.. Redhat is offering me a service contract. Should I buy it if I = choose to work with my own team and not an established Interchange = integrator? 6.. What can you tell me, pro/con about using Interchange? Thank you all for any answers you can provide. I started a similar = conversation on the mailing list of a lowly competitor of Interchange = and was pleased and even surprised to receive honest and open opinions = about the product. They trashed it. That's why I am here. Kindly, Jason J. Seeber ------=_NextPart_000_0046_01C0B8A7.29359300 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Greetings Interchangers!</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>I am considering the use of Interchange = and the=20 purchase of a support contract from Redhat.&nbsp; I am writing to ask = for your=20 specific advice.&nbsp; Along those lines, I have some questions that I = would be=20 very grateful to have answered here.&nbsp; Here goes:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <OL> <OL> <LI><FONT face=3DArial size=3D2>Is Interchange better than platforms = like=20 Intershop, Miva, and others?&nbsp;</FONT></LI> <LI><FONT face=3DArial size=3D2>Redhat positions Interchange as a = Blue Martini=20 and Broadvision killer.&nbsp; Is this true?&nbsp; Does Interchange = kick=20 butt?</FONT></LI> <LI><FONT face=3DArial size=3D2>I have a very competent front-end = development=20 team that also have really solid back-end skills.&nbsp; Will they be = able to=20 do all of the set-up and integrations work easily or should I choose = an=20 established integrator?</FONT></LI> <LI><FONT face=3DArial size=3D2>How can I find an = installer/integrator?&nbsp; If=20 you are one yourself, feel free to email me directly with examples = of your=20 work and a description of your company and services.</FONT></LI> <LI><FONT face=3DArial size=3D2>Redhat is offering me a service = contract.&nbsp;=20 Should I buy it if I choose to work with my own team and not an = established=20 Interchange integrator?</FONT></LI> <LI><FONT face=3DArial size=3D2>What can you tell me, pro/con about = using=20 Interchange?</FONT></LI></OL></OL> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>Thank you all for any answers you can=20 provide.&nbsp; I started a similar conversation on the mailing list of a = lowly=20 competitor of Interchange and was pleased and even surprised to receive = honest=20 and open opinions about the product.&nbsp; They trashed it.&nbsp; That's = why I=20 am here.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>Kindly,</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>Jason J. = Seeber</FONT></DIV></BODY></HTML> ------=_NextPart_000_0046_01C0B8A7.29359300-- From: vasile_abo at wexim.com (vasile_abo at wexim.com ) Date: Fri, 30 Mar 2001 13:48:03 +0200 Subject: [ic] Re: Can't locate object method "test_column" via package "Ven d::Table::InMemory" Hello Mike and Interchange users > Apparently a defect in lib/Vend/Table/InMemory.pm. Add this line near > the bottom with the similar lines: > *test_column = \&Vend::Table::Common::test_column; > This prevents the typical Safe error when trying to access the superclass. > Added to CVS, stable and devel both. Thanks for taking the time to study and correct this. I'm glad my problem helped to get rid of a (very small) bug. BTW, I suppose, you added all the other functions (column_exists, columns, config..) to InMemory.pm Have a nice day, bye -- Vasile Calmatui vasile_abo@wexim.com http://www.chez.com/vasile/ From: vasile_abo at wexim.com (vasile_abo at wexim.com ) Date: Fri, 30 Mar 2001 14:19:28 +0200 Subject: [ic] Re: Runtime error: Could not tie to 'products': Is a directory Hello Mike and Interchange users Thanks (again) for taking the time to read and study this. >> I've got a strange problem with a Interchange 4.6.3 >> on a Linux box with perl 5.6. In error.log I got : >> ###################################### >> [27/March/2001:14:55:56 -0500] shop /cgi-bin/shop/IRDA-01.html >> Runtime error: Could not tie to 'products': Is a directory >> at [interchange lib]/lib/Vend/Table/GDBM.pm line 105. >> ###################################### >> >> In catalog.cfg I has : >> Database products products.asc TAB >> Database products READ_ONLY 1 >> Database products IMPORT_ONCE 1 >> ProductFiles products >> >> This problem does not happen when using a InMemory table. >> Does anybody has an idea ? > > You don't mention the situation that caused the error. OK, I'll give some more details. It happened only in flypage.html, nowhere else. In the same time I was able to add the product to the cart, see its description, etc... IRDA-01 is the valid sku for a product. And this error came for all the products, not just this one. As workaround, I passed to a InMemory table and it works fine (except some small problems I solved) A restart of IC server didn't solve the problem. > If it is in the UI, then the fact that you made the table READ_ONLY > is going to cause a problem.... I'm not using UI at all. Have a nice day, bye -- Vasile Calmatui vasile_abo@wexim.com http://www.chez.com/vasile/ From: klosar18 at email.si (klosar18 at email.si ) Date: Fri, 30 Mar 2001 14:51:46 +0200 Subject: [ic] ISO-8859-2 Problem Quoting klosar18@email.si (klosar18@email.si): > We're having problems with interchange when trying to > import/export iso-8859-2 character set,when we export > the tables to an xls excel format.The character set > iso8859-2 fails..letters :θζΎΉπ.The item list page in > UI admin pages shows them correctly but when you click > on edit item the edit item page shows them messed > up,plus if you import the xsl files back even the > statically build pages get all messed up and the > characters are written with weird ascii characters that > no text editor can show correctly .So if anyone has any > idea where the problem is please let me know.If it > helps I'll setup another demo store with login and pass > where the problem can be viewed.We can't inport any > products in slovenian language because of this problem. Try importing/exporting to a tab-delimited file and see if you have the same problem. If you do, then it is an Interchange problem and we will certainly take a look at it. If you don't see the same problem, it is a Spreadheet::WriteExcel or Spreadsheet::ParseExcel problem, or in our interfacing thereto. But a quick perusal of the docs for those don't mention any methods which allow us to specify the character set. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Be patient. God isn't finished with me yet. -- unknown ---------------------------------- em this is actually why we switched to excel exporting :) the tab delimiting was creating weird characters,and when excel did the same thing I posted the problem here.Just to be safe I reinstalled interchanged tried the import/export thing in excel and tab delimited again with no luck.The characters always get messed up. ------------------- http://www.email.si From: mikeh at minivend.com (Mike Heins ) Date: Fri, 30 Mar 2001 08:05:20 -0500 Subject: [ic] ISO-8859-2 Problem Quoting klosar18@email.si (klosar18@email.si): > > ---------------------------------- > em this is actually why we switched to excel exporting > :) > the tab delimiting was creating weird characters,and > when excel did the same thing I posted the problem > here.Just to be safe I reinstalled interchanged tried > the import/export thing in excel and tab delimited > again with no luck.The characters always get messed up. > I think you should understand that without seeing what is going wrong there is nothing we can do. I don't understand the reluctance to provide real data. The final steps in giving us enough info is to: 1. Create a good file (just a few records is OK). 2. Import it. 3. Export it back to a different file. Attach both the original file and the exported ASCII file to an email message (you can send to me directly) and we will see what we see. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> I don't want to get to the end of my life and find I have just lived the length of it. I want to have lived the width of it as well. -- Diane Ackerman From: jaadland at ProSavvy.com (Jody Aadland ) Date: Fri, 30 Mar 2001 06:30:14 -0700 Subject: [ic] Please Unsubscribe. please usncubscribe. Thanks much. -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com] Sent: Friday, March 30, 2001 3:32 AM To: interchange-users@lists.akopia.com Subject: Interchange-users digest, Vol 1 #397 - 20 msgs Send Interchange-users mailing list submissions to interchange-users@lists.akopia.com To subscribe or unsubscribe via the web, visit http://lists.akopia.com/mailman/listinfo/interchange-users or, via email, send a message with subject or body 'help' to interchange-users-request@lists.akopia.com You can reach the person managing the list at interchange-users-admin@lists.akopia.com When replying, please edit your Subject line so it is more specific than "Re: Contents of Interchange-users digest..." Today's Topics: 1. Re: Recursive Perl Function? (Mike Heins) 2. Re: Quick question about shipping (Mike Heins) 3. Re: Can't locate object method "test_column" via package "Ven d::Table::InMemory" (Mike Heins) 4. Re: iso-8895-2 character set (Mike Heins) 5. Re: mv_search_line_return and [loop-pos n] (Mike Heins) 6. Query iteration (Jean-Pierre Parent) 7. RE: Database products EXCEL 1 (Andreas, Scott) 8. [matches] tag returning 50 (ml=10) (Tim Nelson) 9. RE: Two simple questions (Greg) 10. Re: mv_search_line_return and [loop-pos n] (Ed LaFrance) 11. Zelerate going under? (Potential Redhat acquisition) (Dan B) 12. Re: Recursive Perl Function? (Ryan Hertz) 13. Re: Simple question (Ryan Hertz) 14. Re: Query iteration (Mike Heins) 15. More Authorize.Net GlobalSub Issues (Jeromie Clark) 16. Re: admin interface (=?iso-8859-1?Q?Gr=E9goire?= Hubert) 17. Re: One store with many admins (Mike Heins) 18. Re: Runtime error: Could not tie to 'products': Is a directory (Mike Heins) 19. Re: One store with many admins (Mike Heins) 20. cant transfer to Oracle (Sebastian Kummer) --__--__-- Message: 1 Date: Thu, 29 Mar 2001 11:11:10 -0500 From: Mike Heins <mikeh@minivend.com> To: interchange-users@lists.akopia.com Subject: Re: [ic] Recursive Perl Function? Reply-To: mike@minivend.com Reply-To: interchange-users@lists.akopia.com Quoting Craig Beasland (craig@hotmix.com.au): > Hi there, > > We would like to add a simple Bulletin Board system to one of our systems. > The simple solution is to add a function which display a line from the > BBtable, calls itself to see if there are any "children" which in turn calls > itself and so on. > You might check out the [tree ...] tag in 4.7.x. It allows you to specify a master item (thread) and then walk down the tree. You would want a SQL database for it, though, as I think the overhead for GDBM would be high. And indexing is a must. id parent code message 1 99 a 2 a b 3 a c 4 a d 5 a x 6 x y 7 x z 8 99 m 9 99 n 10 99 o 11 o e 12 o f 13 o g The above sample data would produce: a mv_level=0, mv_increment=1, mv_children=4 b mv_level=1, mv_increment=1, mv_children=0 c mv_level=1, mv_increment=2, mv_children=0 d mv_level=1, mv_increment=3, mv_children=0 x mv_level=1, mv_increment=4, mv_children=2 y mv_level=2, mv_increment=1, mv_children=0 z mv_level=2, mv_increment=2, mv_children=0 m mv_level=0, mv_increment=1, mv_children=0 n mv_level=0, mv_increment=2, mv_children=0 o mv_level=0, mv_increment=3, mv_children=3 e mv_level=1, mv_increment=1, mv_children=0 f mv_level=1, mv_increment=2, mv_children=0 g mv_level=1, mv_increment=3, mv_children=0 from the tag call: [tree start=99 parent=parent child=code autodetect=1 full=1] -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Unix version of an Outlook-style virus: It works on the honor system. Please forward this message to everyone you know, and delete a bunch of your files at random. --__--__-- Message: 2 Date: Thu, 29 Mar 2001 11:19:22 -0500 From: Mike Heins <mikeh@minivend.com> To: interchange-users@lists.akopia.com Subject: Re: [ic] Quick question about shipping Reply-To: mike@minivend.com Reply-To: interchange-users@lists.akopia.com Quoting Thomas N. Stefanidis (thomas@prometheas.gr): > Hello, > i have set the shipping method(and it works fine) but don't know how to > do the last shipping method : > > from 100 till 120 cost=220$ > ..... > from 180 till 200 cost=300$ > i can't do that --> "after 200 kilogram add 15$ for every 20 kilogram > in the last price (300) > > so if the weight will be 220 the cost wil be 315, > if it's 240 it will be 330. What is wrong with (replace | with TAB): MODE|Some shipping mode|200|99999|f my $add = int ((@@TOTAL@@ - 200) / 20); 300 + $add * 15; -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Friends don't let friends use Outlook. -- Bob Blaylock --__--__-- Message: 3 Date: Thu, 29 Mar 2001 11:35:25 -0500 From: Mike Heins <mikeh@minivend.com> To: interchange-users@lists.akopia.com Subject: Re: [ic] Can't locate object method "test_column" via package "Ven d::Table::InMemory" Reply-To: mike@minivend.com Reply-To: interchange-users@lists.akopia.com Quoting vasile_abo@wexim.com (vasile_abo@wexim.com): > Hello everybody here > > I've got a strange problem with a Interchange 4.6.3 > on a Linux box with perl 5.6. In error.log I got : > ################################### > [28/March/2001:03:36:57 -0500] shop /cgi-bin/shop/order_to_print.html > Safe: Can't locate object method "test_column" via package "Vend:: > Table::InMemory" at [interchange path here]/lib/Vend/Data.pm line 186. > > > > return sprintf("%.2f", $Tag->total_cost({noformat=>1})) > ################################### > > In fact, I got this everytime I try to use $Tag->total_cost > in a Perl subroutine. > This problem does not happen when using a GDBM table. > Does anybody has an idea ? > Apparently a defect in lib/Vend/Table/InMemory.pm. Add this line near the bottom with the similar lines: *test_column = \&Vend::Table::Common::test_column; This prevents the typical Safe error when trying to access the superclass. Added to CVS, stable and devel both. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown --__--__-- Message: 4 Date: Thu, 29 Mar 2001 11:43:04 -0500 From: Mike Heins <mikeh@minivend.com> To: interchange-users@lists.akopia.com Subject: Re: [ic] iso-8895-2 character set Reply-To: mike@minivend.com Reply-To: interchange-users@lists.akopia.com Quoting klosar18@email.si (klosar18@email.si): > We're having problems with interchange when trying to > import/export iso-8859-2 character set,when we export > the tables to an xls excel format.The character set > iso8859-2 fails..letters :θζΎΉπ.The item list page in > UI admin pages shows them correctly but when you click > on edit item the edit item page shows them messed > up,plus if you import the xsl files back even the > statically build pages get all messed up and the > characters are written with weird ascii characters that > no text editor can show correctly .So if anyone has any > idea where the problem is please let me know.If it > helps I'll setup another demo store with login and pass > where the problem can be viewed.We can't inport any > products in slovenian language because of this problem. Try importing/exporting to a tab-delimited file and see if you have the same problem. If you do, then it is an Interchange problem and we will certainly take a look at it. If you don't see the same problem, it is a Spreadheet::WriteExcel or Spreadsheet::ParseExcel problem, or in our interfacing thereto. But a quick perusal of the docs for those don't mention any methods which allow us to specify the character set. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Be patient. God isn't finished with me yet. -- unknown --__--__-- Message: 5 Date: Thu, 29 Mar 2001 11:43:57 -0500 From: Mike Heins <mikeh@minivend.com> To: interchange-users@lists.akopia.com Subject: Re: [ic] mv_search_line_return and [loop-pos n] Reply-To: mike@minivend.com Reply-To: interchange-users@lists.akopia.com Quoting Ed LaFrance (edl@newmediaems.com): > Hello all - > > When using mv_search_line_return to put a full row from a db (or text file) > into search results, it seems that there is no tag display the full > row. In the case of a loop search, it seems that one must use [loop-code], > [loop-pos 1], [loop-pos 2]...etc. Can anyone confirm this, or is their a > tag which yields all the fields in the row as one string? [loop-line] -- 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 --__--__-- Message: 6 From: "Jean-Pierre Parent" <parentjp@videotron.ca> To: <interchange-users@lists.akopia.com> Date: Thu, 29 Mar 2001 00:14:00 -0500 charset="Windows-1252" Subject: [ic] Query iteration Reply-To: interchange-users@lists.akopia.com Hi, I've been reading the doc and cant find a complete example on how to do a custom query and iterate over the returned records. Does one need use [mvasp][/mvasp] surrounded code in order to loop through a [query][/query]'s returned values? I have this done using [query arrayref="myArray"] and then using $Tmp->{myArray} to fetch the ref inside [mvasp][/mvasp]...but i was wondering if there is a simpler way to do it? I cant avoid using [query] since I'm using pattern matching operator with MySQL. I just need the structure with a few hints on which commands would do the trick and I'll read in the doc... Something like: [query sql="..."][/query] [loop ???] My HTML here...along with [item ???] [/loop] would be perfect... Thanks. Jean-Pierre Parent --__--__-- Message: 7 From: "Andreas, Scott" <Scott.Andreas@learningco.com> To: "'interchange-users@lists.akopia.com'" <interchange-users@lists.akopia.com> Subject: RE: [ic] Database products EXCEL 1 Date: Thu, 29 Mar 2001 09:49:33 -0800 charset="iso-8859-1" Reply-To: interchange-users@lists.akopia.com I didn,t know that you were using mysql...Database products EXCEL 1 will only work on dbm databases and its text files. However there is a solution to your problem. First set up a myodbc on both the unix box and an the users box. Then setup odbc on the windows machine (assumming thats what your client is using) using myodbc as the driver of choice and then set up the DSN connection. Then use MS Access and set up a link tables to mysql via your DSN Your client will be able to edit the database directly through MSAccess...and its automatic(no re-importing or exporting) All of this is in the documentation on maintaining the databases with MSAccess is under icdatabses.pdf section 8.3 goodluck -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Integricity Support Sent: Wednesday, March 28, 2001 7:52 PM To: scott andreas Subject: [ic] Database products EXCEL 1 Hi, Thanks for your help with the : Database products EXCEL 1 However, I get an internal server error when I put the line into my catalog.cfg I am using MySQL and IC 4.6.3 Could I take a look at your catalog.cfg to find out where you put it? Is the space b/w the words tabbed or is it a space? Thanks in advance! -- Best regards, Integricity mailto:support@integricity.com _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users --__--__-- Message: 8 Date: Thu, 29 Mar 2001 13:15:47 -0500 To: "'interchange-users@lists.akopia.com'" <interchange-users@lists.akopia.com> From: Tim Nelson <TNELSON@ECS-INC.com> Subject: [ic] [matches] tag returning 50 (ml=10) Reply-To: interchange-users@lists.akopia.com I have a search where I set... [search-region ml=10] and it correctly returns 10 records per match, but... Matches [matches] of [match-count] found. returns.... Matches 1-50 of 198 found. Do I have to set ml= somewhere else????? Thanks. --__--__-- Message: 9 From: "Greg" <g.gaskill@aboron.com> To: <interchange-users@lists.akopia.com> Subject: RE: [ic] Two simple questions Date: Thu, 29 Mar 2001 13:13:48 -0500 charset="iso-8859-1" Reply-To: interchange-users@lists.akopia.com > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Neil Lunn > Sent: Thursday, March 29, 2001 4:58 AM > To: 'interchange-users@lists.akopia.com' > Subject: RE: [ic] Two simple questions > <snip> > > > -----Original Message----- > > From: Jason Osborne [mailto:jason@sohonetworks.cc] > > Sent: Thursday, March 29, 2001 7:34 PM > > To: Interchange Mailing List > > Subject: [ic] Two simple questions > > > > 2. How to I make Interchange publish the static pages to the > > root of the > > companies website? Right now it is putting all the static > > pages under a > > subdirectory. > > Configure the catalog that way. > [ie From catalog.cfg] <snip> You could also do the opposite and change your apache web server config to inculde this line in the set-up for your site: DirectoryIndex /cgi-bin/construct/index.html Assuming all the defaults for the Construct Something Demo store were used, and that you have the ability to get the apache config edited. Greg Gaskill --__--__-- Message: 10 Date: Thu, 29 Mar 2001 11:01:18 -0800 To: interchange-users@lists.akopia.com From: Ed LaFrance <edl@newmediaems.com> Subject: Re: [ic] mv_search_line_return and [loop-pos n] <5.0.2.1.0.20010326115509.00a615a0@pop.mindspring.com> Reply-To: interchange-users@lists.akopia.com At 11:43 AM 03/29/2001 -0500, you wrote: > > Hello all - > > > > When using mv_search_line_return to put a full row from a db (or text > file) > > into search results, it seems that there is no tag display the full > > row. In the case of a loop search, it seems that one must use > [loop-code], > > [loop-pos 1], [loop-pos 2]...etc. Can anyone confirm this, or is their a > > tag which yields all the fields in the row as one string? > > [loop-line] > Dear Mike - Thanks for taking the time to answer this question, and my previous one regarding [fly-list] and arbitrary databases. I guess you probably know that the answers to both lay hidden in undocumented features - just a drop in the bucket compared to those that remain uncovered. Interchange just keeps getting better. Is there an initiative for the documentation to keep pace? Does Red Hat/Akopia need assistance with this? As much as users used to groan about the docs back in the Minivend days, they were far better and more complete then, than they are now, in my opinion. - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== --__--__-- Message: 11 Date: Thu, 29 Mar 2001 12:52:47 -0800 To: interchange-users@lists.akopia.com From: Dan B <db@cyclonehq.dnsalias.net> Subject: [ic] Zelerate going under? (Potential Redhat acquisition) Reply-To: interchange-users@lists.akopia.com Linux Today quotes a story on the register about Zelerate possibly going under: http://linuxtoday.com/news_story.php3?ltsn=2001-03-29-002-21-NW-BZ http://www.theregister.co.uk/content/4/17959.html Unless I'm the victim of an April Fools (quite possible). What about Red Hat coming in to save the day? Akopia skillfully wove together Tallyman and Minivend (okay, mostly minivend), so why not look at the possibility of weaving together some of the code from AllComerce? For example, the "Warehouse Management" and Fulfillment house integration stuff sounds pretty interesting. While we're at it, maybe some of the fired or soon-to-be-fired perl-hacking, GPL-coding talent from Zelerate would be valuable? (AllCommerce is coded in perl *and* under the GPL, so that should help). Frankly, I never have trouble recommending business decisions. (Problem is, people frequently recommend them to me too, i.e., "Be quiet, Dan"). Later, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com --__--__-- Message: 12 Date: Thu, 29 Mar 2001 15:15:55 -0700 To: interchange-users@lists.akopia.com From: Ryan Hertz <rhertz@baits.com> Subject: Re: [ic] Recursive Perl Function? ses.com> Reply-To: interchange-users@lists.akopia.com At 06:54 AM 3/29/01 , Jim Balcom wrote: >On Thu, 29 Mar 2001, Craig Beasland wrote: > >CB>>We would like to add a simple Bulletin Board system to one of our systems. >CB>>The simple solution is to add a function which display a line from the >CB>>BBtable, calls itself to see if there are any "children" which in turn >calls >CB>>itself and so on. > >Go to www.worldwidemart.com/scripts >Matthew Wright has written a ton of scripts in Perl and has them up >there. One of them is a Bulletin Board, as well as a Guestbook that >works quite well. I would avoid those scripts, as they tend to contain many security risks. Not to mention, wwwboard doesn't scale very well and will bring a server to its knees faster than a runaway Interchange. :-) Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com --__--__-- Message: 13 Date: Thu, 29 Mar 2001 15:17:53 -0700 To: interchange-users@lists.akopia.com From: Ryan Hertz <rhertz@baits.com> Subject: Re: [ic] Simple question Reply-To: interchange-users@lists.akopia.com Is your database INDEXed? At 08:26 AM 3/29/01 , Ken Lyons wrote: >My database is too big....over 100 MB, (using standard database type) >and is taking forever to search. >I know IC can can use more tables (separate files that act as one database) >but don't know what commands need to be put in the config file. Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com --__--__-- Message: 14 Date: Thu, 29 Mar 2001 19:07:47 -0500 From: Mike Heins <mikeh@minivend.com> To: interchange-users@lists.akopia.com Subject: Re: [ic] Query iteration Reply-To: mike@minivend.com Reply-To: interchange-users@lists.akopia.com Quoting Jean-Pierre Parent (parentjp@videotron.ca): > Hi, > > I've been reading the doc and cant find a complete example on how to do a > custom query and iterate over the returned records. Does one need use > [mvasp][/mvasp] surrounded code in order to loop through a [query][/query]'s > returned values? I have this done using [query arrayref="myArray"] and then > using $Tmp->{myArray} to fetch the ref inside [mvasp][/mvasp]...but i was > wondering if there is a simpler way to do it? I cant avoid using [query] > since I'm using pattern matching operator with MySQL. > > I just need the structure with a few hints on which commands would do the > trick and I'll read in the doc... > > Something like: > > [query sql="..."][/query] > [loop ???] > My HTML here...along with [item ???] > [/loop] > Maybe this isn't clear from the docs, but: [query list=1 sql="select * from whatever"] [sql-param field] [/query] is what you want. I can't remember why that isn't the default..... -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> I don't buy from direct telephone or email marketers. This makes it hard for me to find a phone company. ;> --__--__-- Message: 15 Date: Thu, 29 Mar 2001 21:21:40 -0600 To: interchange-users@lists.akopia.com From: Jeromie Clark <jeromie@smoothjazz.com> Subject: [ic] More Authorize.Net GlobalSub Issues Reply-To: interchange-users@lists.akopia.com HI All- I've read *all* of the documentation I could find on the authorize.net issues, and am still having problems. I'm running the store on iServer (FreeBSD) -- it's a slightly quirky environment -- but IC (4.6.4) runs fine in all other respects (MySQL support too). My store essentially is a hacked version of construct. I read all the documentation I could find, and tried to address those issues, but am still getting the following: bad custom payment GlobalSub: authorizenet /cgi-bin/istore.cgi/process.html I've included globalsub/authorizenet in the interchange.cfg. I've added the MV_XXXX variables via KNAR as per the instructions -- tried placing them in my catalog.cfg file too... I followed the suggestion to test the module with perl, and it executes fine (sans GlobalSub >>EOF and EOF lines). I have Net::SSLeay and OpenSSL 0.9.4 is already installed by iServer. Net::SSLeay sees it, but it's above my home directory. My Secure Server Cert *is* installed and working. I ran a test script consisting basically of use Net::SSLeay to confirm that Perl sees the module. Are there other things I should be looking for? It's pretty difficult to troubleshoot as it's so transparent. Order submissions just return the user to the order page with an error alert, but no actual error displayed. TIA. Jeromie Clark VP of Information Technology http://www.smoothjazz.com/ Direct Line: (877)626-9694 -------------------------------------------------- --__--__-- Message: 16 Date: Fri, 30 Mar 2001 11:24:04 +0200 From: =?iso-8859-1?Q?Gr=E9goire?= Hubert <gregoire.hubert@fr.alcove.com> Reply-To: gregoire.hubert@fr.alcove.com Organization: alcove - l informatique libre To: interchange-users@lists.akopia.com Subject: Re: [ic] admin interface Reply-To: interchange-users@lists.akopia.com Grιgoire Hubert wrote: > Hi, > > I have no access to admin interface...when I click on the admin link > an Interchange page tells me that the page Admin/index was not found... > > Gregoire. In an other way, do we have to develop the admin interface from scratch or is there already one existing like the admin interface on the website interchange demo store ? Thank you for your assistance... Grιgoire HUBERT. --__--__-- Message: 17 Date: Fri, 30 Mar 2001 04:51:31 -0500 From: Mike Heins <mikeh@minivend.com> To: interchange-users@lists.akopia.com Subject: Re: [ic] One store with many admins Reply-To: mike@minivend.com Reply-To: interchange-users@lists.akopia.com Quoting oliverf@mail.kdt.de (oliverf@mail.kdt.de): > Hello list, > > first I have to say, that Interchange ist the greatest and best shopping cart system I΄ve found for a long time. > > Many Thanks to Mike and all the others !!! Flattery will get you everywhere. 8-) > > My question: > > I want to make a shop with a lot of different admins (but only ONE shop) > > Those admins should have only the right to edit their articles in the > database, so they could delete, change or add items to the database. > > Is there a chance to do this with Interchange directly, or could it be the > better way to program a new Interface for them, outside of Interchange ?? > > I know, that there are a lot questions like this on this list, but i could > not find a really good answer to it. > > So please help. Interchange supports this, but there had been no UI support for administering the table_control hash in the access table. Basically, you can define an "owner_field" where the username of the logged-in user must match that field for them to edit the record. I had been meaning to do this for some time, but I finally got around to it because of your message. I just committed it to CVS -- the owner_field is now fully supported in the access_permissions manager, and owner_field is honored in the item/database select lists. (I didn't do merchandising yet, perhaps I never will. 8-) -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer --__--__-- Message: 18 Date: Fri, 30 Mar 2001 04:53:31 -0500 From: Mike Heins <mikeh@minivend.com> To: interchange-users@lists.akopia.com Subject: Re: [ic] Runtime error: Could not tie to 'products': Is a directory Reply-To: mike@minivend.com Reply-To: interchange-users@lists.akopia.com Quoting vasile_abo@wexim.com (vasile_abo@wexim.com): > Hello Everybody Here > > I've got a strange problem with a Interchange 4.6.3 > on a Linux box with perl 5.6. In error.log I got : > ###################################### > [27/March/2001:14:55:56 -0500] shop /cgi-bin/shop/IRDA-01.html > Runtime error: Could not tie to 'products': Is a directory > at [interchange lib]/lib/Vend/Table/GDBM.pm line 105. > ###################################### > > In catalog.cfg I has : > Database products products.asc TAB > Database products READ_ONLY 1 > Database products IMPORT_ONCE 1 > ProductFiles products > > This problem does not happen when using a InMemory table. > Does anybody has an idea ? You don't mention the situation that caused the error. If it is in the UI, then the fact that you made the table READ_ONLY is going to cause a problem.... -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Any man who is under 30, and is not liberal, has not heart; and any man who is over 30, and is not a conservative, has not brains. -- Winston Churchill --__--__-- Message: 19 Date: Fri, 30 Mar 2001 05:11:09 -0500 From: Mike Heins <mikeh@minivend.com> To: interchange-users@lists.akopia.com Subject: Re: [ic] One store with many admins Reply-To: mike@minivend.com Reply-To: interchange-users@lists.akopia.com Quoting Mike Heins (mikeh@minivend.com): > I had been meaning to do this for some time, but I finally got around to > it because of your message. I just committed it to CVS -- the owner_field > is now fully supported in the access_permissions manager, and owner_field > is honored in the item/database select lists. (I didn't do merchandising > yet, perhaps I never will. 8-) > Oops, I should mention this is only in the 4.7.x development branch accessed with "cvs co -r DEV_4_7_0". -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Research is what I'm doing when I don't know what I'm doing. -- Wernher Von Braun --__--__-- Message: 20 Reply-To: <sebastian.kummer@pointec.de> From: "Sebastian Kummer" <sebastian.kummer@pointec.de> To: <interchange-users@lists.akopia.com> Date: Fri, 30 Mar 2001 12:28:23 +0200 charset="iso-8859-1" Subject: [ic] cant transfer to Oracle Reply-To: interchange-users@lists.akopia.com hi there, I'm building a shop, and our client wants to use oracle. We developed the shop on mysql and everything worked fine. so, I installed oracle and all drivers. with perl the connect to oracle is possible. DSN, login & password are right. the problem is: interchange doesn't import any data or create any table. I only get the error message: zeit config error: ORA-00942: table or view does not exist (DBD ERROR: OCIStmtEx ecute/Describe) at /usr/local/interchange/lib/Vend/Table/DBI.pm line 643. so i did this manually. I created all tables and imported the data. fine. Interchange still returns the same error. any suggestions? thanks a lot! Regards, Sebastian Kummer --------------------------------------- Sebastian Kummer, sebastian.kummer@pointec.de Application Developer Technologies POINTEC GmbH Ferdinandstrasse 12 D-20095 Hamburg Fon: [+ 49] (0)40 - 68 87 58 - 0 Fax: [+ 49] (0)40 - 68 87 58 - 22 Besuchen Sie uns: www.pointec.de --------------------------------------- --__--__-- _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users End of Interchange-users Digest From: mikeh at minivend.com (Mike Heins ) Date: Fri, 30 Mar 2001 08:41:59 -0500 Subject: [ic] Re: Runtime error: Could not tie to 'products': Is a directory Quoting vasile_abo@wexim.com (vasile_abo@wexim.com): > Hello Mike and Interchange users > > Thanks (again) for taking the time to read and study this. > > >> I've got a strange problem with a Interchange 4.6.3 > >> on a Linux box with perl 5.6. In error.log I got : > >> ###################################### > >> [27/March/2001:14:55:56 -0500] shop /cgi-bin/shop/IRDA-01.html > >> Runtime error: Could not tie to 'products': Is a directory > >> at [interchange lib]/lib/Vend/Table/GDBM.pm line 105. > >> ###################################### > >> > >> In catalog.cfg I has : > >> Database products products.asc TAB > >> Database products READ_ONLY 1 > >> Database products IMPORT_ONCE 1 > >> ProductFiles products > >> > >> This problem does not happen when using a InMemory table. > >> Does anybody has an idea ? > > > > You don't mention the situation that caused the error. > > OK, I'll give some more details. It happened only > in flypage.html, nowhere else. In the same time I > was able to add the product to the cart, see its > description, etc... IRDA-01 is the valid sku for > a product. And this error came for all the products, > not just this one. > As workaround, I passed to a InMemory table and it > works fine (except some small problems I solved) > > A restart of IC server didn't solve the problem. > This is a bug with IMPORT_ONCE and the DBM types. I will probably not fix it in 4.6.3, but have done in 4.7.x CVS. I have attached the 4.7.x patch -- basically it is as simple I am not putting it in stable yet, as it isn't tested fully enough and this is a change with conceivable interactions. The fact that it hasn't been reported before now indicates not many people use IMPORT_ONCE (or have not read the docs well enough to find it even if they need it.) Thanks for the find. 8-) -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Be patient. God isn't finished with me yet. -- unknown From: mikeh at minivend.com (Mike Heins ) Date: Fri, 30 Mar 2001 08:42:32 -0500 Subject: [ic] Re: Runtime error: Could not tie to 'products': Is a directory --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Patch attached. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch Index: Data.pm =================================================================== RCS file: /anon_cvs/repository/interchange/lib/Vend/Data.pm,v retrieving revision 1.17.2.14 diff -r1.17.2.14 Data.pm 625c625 < if( $data->{type} > 6 or $data->{HOT} ) { --- > if( $data->{type} > 6 or $data->{HOT} or $data->{IMPORT_ONCE} ) { 721a722 > #::logDebug ("no_import_check: once=$obj->{IMPORT_ONCE} dir=$obj->{DIR}"); 888c889 < $db = $Vend::Interpolate::Db{$class_config->{Class}}->open_table( $obj, $table_name ); --- > $db = $Vend::Interpolate::Db{$class_config->{Class}}->open_table( $obj, $obj->{db_file} ); 891c892 < $db = $class_config->{Class}->open_table( $obj, $table_name ); --- > $db = $class_config->{Class}->open_table( $obj, $obj->{db_file} ); --Qxx1br4bt0+wmkIi-- From: interchange at dominic.per.sg (Dominic Tey Kek Keong ) Date: Fri, 30 Mar 2001 22:02:30 +0800 Subject: RCPT: Re: [ic] Will upgrading interchange clobber e Confirmation of reading: your message - Date: 25 Mar 01, 21:34 To: interchange-users@lists.akopia.com Subject: Re: [ic] Will upgrading interchange clobber existing catalogs? Was read at 23:24, 27 Mar 01. From: jim at idk-enterprises.com (Jim Balcom ) Date: Fri, 30 Mar 2001 08:58:36 -0500 (EST) Subject: [ic] Quantity Pricing Hi! I don't understand how to set up quantity pricing in the construct demo. Can someone please help? 1 widget is $1.00 6 widgets are $4.00 12 widgets are $8.00 1 gadget is $2.00 10 gadgets are $18.00 24 gadgets are $40.00 1 gizmo is $0.50 4 gizmos are $1.50 50 gizmos are $12.00 How do I use the built-in quantity pricing function to deal with this? Or, can I be pointed to a resource that explains it? Thanks! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter ---------------------------------------------------------------- Tagline for Friday, March 30, 2001 at 08:50 AM: Can I yell "movie" in a crowded firehouse? ---------------------------------------------------------------- This Linux System has been up 856 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: dan at mailturtle.com (Dan McFarland ) Date: Fri, 30 Mar 2001 08:24:38 -0600 Subject: [ic] One store with many admins Any idea when this version will be released with this functionality? We have been playing with a system for a year now and it doesn't do half of what you have put into IC. The ability for multiple accounts to manage ONLY their products adn nothing else would be perfect for what we have been wanting to do!! Dan ----- Original Message ----- From: Mike Heins <mikeh@minivend.com> To: <interchange-users@lists.akopia.com> Sent: Friday, March 30, 2001 4:11 AM Subject: Re: [ic] One store with many admins > Quoting Mike Heins (mikeh@minivend.com): > > I had been meaning to do this for some time, but I finally got around to > > it because of your message. I just committed it to CVS -- the owner_field > > is now fully supported in the access_permissions manager, and owner_field > > is honored in the item/database select lists. (I didn't do merchandising > > yet, perhaps I never will. 8-) > > > > Oops, I should mention this is only in the 4.7.x development branch > accessed with "cvs co -r DEV_4_7_0". > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > Research is what I'm doing when I don't know what I'm doing. > -- Wernher Von Braun > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: fcrisofulli at acsinc-nj.com (Frank Crisofull ) Date: Fri, 30 Mar 2001 09:31:46 -0500 Subject: [ic] Can't locate object method "dup" Hi I just purchased the interchange system. I have not made any changes to it. I'm trying the checkout feature and any time I check out with at least 1 item in my basket i get the error below. Can any one tell me what is the cause of this error is it bad software,install ...?. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@acomputeredge.net and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. ---------------------------------------------------------------------------- ---- Apache/1.3.17 Server at www.acomputeredge.net Port 80 This what was logged in the interchange error Log after the above error is displayed. 151.198.146.77 o2ZrqR9v:151.198.146.77 - [30/March/2001:08:53:58 -0500] acomp /~acomp/cgi-bin/cart.cgi/ord/checkout.html Runtime error: Can't locate object method "dup" via package "SQL::Parser" at /usr/local/cpanel/3rdparty/interchange/lib/SQL/Statement.pm line 379. Thanks From: arena_sabre at hotmail.com (Maximus Decimus Meridius ) Date: Fri, 30 Mar 2001 11:43:57 -0300 Subject: [ic] Images Hi Everybody! Sorry, but I΄m a newbie interchange user. I have just installed it (tarball option - 4.6.4) in a RedHat Linux Box. The store works fine, but one problem remains after the installation process: no images are loaded. Since during the catalog configuration process I inserted the correct path to the images, I don΄t know what is happening. Below is a part of the makecat.cfg file: # Sample catalog definition [catalog construct] basedir= catroot=/var/lib/interchange/catalogs/construct catuser=interch cgibase= cgibin= cgidir=/var/www/cgi-bin cgiurl=/cgi-bin/construct demotype=construct documentroot=/var/www/html imagedir=/var/www/html/construct/images imageurl=/construct/images mailorderto=arena_sabre@hotmail.com interchangegroup=interch interchangeuser=interch samplehtml=/var/www/html/construct sampleurl= servername=www.mydomain.com.br vendroot= ..... [base] permtype=M basedir=~/catalogs cgidir=/var/www/cgi-bin cgibase=/cgi-bin documentroot=/var/www/html sharedir=/var/www/html shareurl= interchangegroup= interchangeuser=interch serverconf= servername=mydomain.com.br vendroot=/usr/local/interchange Any suggestions? Thanks in advance. Arena _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From: adi at adis.on.ca (Adi Linden ) Date: Fri, 30 Mar 2001 08:47:20 -0600 (CST) Subject: [ic] ISO-8859-2 Problem Hi, Hopefully a quick a question. I am just strating with interchange and I am going through the tutorial. I have 2 colleagues/clients interested in hosting there store on my interchange server. How would I set it up so they can build their own store, products database, etc without becoming root or interch user? I do virtual domain hosting and I would prefer if they could build their stores in their respective web directories... I.e. /home/dan/public_html/interchange/..... Is this possible, and how would I do that? So far I am quite happy with it. I think the tutorial missed to mention that intrchage has to be restarted after modifying interchange.cfg... TTYL, Adi From: vasile_abo at wexim.com (vasile_abo at wexim.com ) Date: Fri, 30 Mar 2001 17:29:24 +0200 Subject: [ic] Re: Runtime error: Could not tie to 'products': Is a directory Hello Mike and Interchange users > Patch attached. Thanks for taking the time to study and correct this. I'm glad my problem helped to get rid of a bug. Have a nice day, bye -- Vasile Calmatui vasile_abo@wexim.com http://www.chez.com/vasile/ From: jim at idk-enterprises.com (Jim Balcom ) Date: Fri, 30 Mar 2001 10:34:08 -0500 Subject: [ic] Images > Hi Everybody! > > Sorry, but I΄m a newbie interchange user. I have just installed it (tarball > option - 4.6.4) in a RedHat Linux Box. The store works fine, but one problem > remains after the installation process: no images are loaded. Since during > the catalog configuration process I inserted the correct path to the images, > I don΄t know what is happening. I found during my initial installation that the images directory had gotten put elsewhere and I had to move them (as I recall) a directory named 'akopia/ui' over to a different directory. And, this one is on the same level as 'cata'logs' Your problem may be entirely different, though. -= Jim =- > > Below is a part of the makecat.cfg file: > > # Sample catalog definition > [catalog construct] > basedir= > catroot=/var/lib/interchange/catalogs/construct > catuser=interch > cgibase= > cgibin= > cgidir=/var/www/cgi-bin > cgiurl=/cgi-bin/construct > demotype=construct > documentroot=/var/www/html > imagedir=/var/www/html/construct/images > imageurl=/construct/images > mailorderto=arena_sabre@hotmail.com > interchangegroup=interch > interchangeuser=interch > samplehtml=/var/www/html/construct > sampleurl= > servername=www.mydomain.com.br > vendroot= > > > ..... > > > [base] > permtype=M > basedir=~/catalogs > cgidir=/var/www/cgi-bin > cgibase=/cgi-bin > documentroot=/var/www/html > sharedir=/var/www/html > shareurl= > interchangegroup= > interchangeuser=interch > serverconf= > servername=mydomain.com.br > vendroot=/usr/local/interchange > > > Any suggestions? > > Thanks in advance. > > Arena > > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: jacossio at terra.es (Juan A. Cossio ) Date: Fri, 30 Mar 2001 18:09:15 +0200 Subject: [ic] Red Hat Interchange vs. Zelerate AllCommerce How compares Red Hat Interchange with Zelerate AllCommerce? Thank you! Juan A. Cossio jacossio@terra.es From: robert at lanstar.com (Robert Trembath ) Date: Fri, 30 Mar 2001 10:13:11 -0600 Subject: [ic] I just moved my catalogs and it doesn't work I moved a couple of catalogs to our production server running 4.6.4 and mySQL on RH 7 Linux with all the perl modules current, but I get "undefined catalog" when I try to view it. I checked the interchange.cfg file and the catalog.cfg files in each catalog and everything looks fine. I'm connecting to mysql OK and am not getting errors when I restart interchange. I see each catalog opening, configuring and stating ...done, then returning me to prompt. I created a new catalog with makecat and it connected and created the tables in mysql but I get the same "undefined catalog" error on the one as well. Please help! Robert From: dan at mailturtle.com (Dan McFarland ) Date: Fri, 30 Mar 2001 10:15:48 -0600 Subject: [ic] Red Hat Interchange vs. Zelerate AllCommerce In my opinion, I have looked at both and interchange has a LOT more to offer. One of the features that i like the most is seen on the demo store. The products rotate themselves each time the page is visited so the customers keep seeing fresh items every time. it doesn't get stale and boring! It's also a bit faster to learn how to manipulate and can become EXTREMELY flexible to your needs! Feel free to visit our site in action at http://www.newtrailtrading.com We started out easily and used a modification of the demo. From the day we started, to entering 3,900 inventory items, to going live it took a whole SEVEN (7) days for us. most of the time was spent with inventory. And that was with only ONE person doing the entire site! Try that with All-Commerce! We spent over a month just trying to get it installed and figured out! Just my 2c worth..... Dan ===================== Unique distributor opportunities available! Earn 30%-60% commission on each product. Over 3,500 products! Not Multilevel Marketing. http://www.newtrailtrading.com E-mail dan@newtrailtrading.com for more details. Or call our office: 847-393-0001 ===================== ----- Original Message ----- From: Juan A. Cossio <jacossio@terra.es> To: <interchange-users@lists.akopia.com> Sent: Friday, March 30, 2001 10:09 AM Subject: [ic] Red Hat Interchange vs. Zelerate AllCommerce > How compares Red Hat Interchange with Zelerate AllCommerce? Thank you! > > Juan A. Cossio > jacossio@terra.es > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: jason at korksoft.com (Jason Korkin ) Date: Fri, 30 Mar 2001 11:21:49 -0500 Subject: [ic] Red Hat Interchange vs. Zelerate AllCommerce We've used Zelerate on a few occasions and also host it for several customers... Obvisouly the overhead is minimal (no daemon running), but the feature set is much smaller than that of Interchange because its not as extensible. We prefer Interchange (or Minivend); but then again we've been using it for a **really** long time. We tend to use Zelerate for customers who need to have a "basic" form of e-commerce selling just a few products; that is where Zelerates product works best. If you have a catalog with hundreds or thousands of items, then I'd look more towards Interchange. If you have more questions, email me off the list and I'd be happy to work them out with you. Regards, Jason Korkin. "Juan A. Cossio" wrote: > > How compares Red Hat Interchange with Zelerate AllCommerce? Thank you! > > Juan A. Cossio > jacossio@terra.es > --------------------------------------------------------------- **** Virtual Hosting w/ Interchange, $20/month! **** --------------------------------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com http://www.atworkservers.com Tel: (603) 672-1246 x 201 From: interchange at my-school.com (IC-Admin ) Date: Fri, 30 Mar 2001 13:16:05 -0500 (EST) Subject: [ic] To Interchance or not to Interchange! UP - Jason wrote: > 1. Is Interchange better than platforms like Intershop, Miva, and > others? What a question, of course. :-) > 2. Redhat positions Interchange as a Blue Martini and Broadvision > killer. Is this true? Does Interchange kick butt? If you knew how much my butt hurts from all the kicking... > 3. I have a very competent front-end development team that also > have really solid back-end skills. Will they be able to do all of > the set-up and integrations work easily or should I choose an > established integrator? You said the were competent, so... > 4. How can I find an installer/integrator? If you are one yourself, > feel free to email me directly with examples of your work and a > description of your company and services. Not me, but reading this site you should know where to go... > 5. Redhat is offering me a service contract. Should I buy it > if I choose to work with my own team and not an established > Interchange integrator? Yeah, that would rock, you get the best of the best. > 6. What can you tell me, pro/con about using Interchange? pro - how much time do you have ? con - get outta here... :-) OK, I needed to do this today, have to start the day with a smile. Hopefully you don't belong to the humour challenged. IC is a strong and flexible platform with a high learning curve and parts of it in develop ment. You should get help from the people who are insiders and that's basically the people who developed it or the ones who used it from the beginning and have always updated and are familiar with the latest changes. So, there are some hats out there worth looking after. P.S. Not affiliated to any hats, that's just my little revenge for RH bashing all over lately. I think they do a great job and they will come out with very nice services. Birgitt Funk From: thomas at prometheas.gr (Thomas N. Stefanidis ) Date: Fri, 30 Mar 2001 20:38:16 +0300 Subject: [ic] How to display a message in flypage about quantity? How can i display this message in the flypage? if item is quantity is N/A then show message "not available" if item is quantity is 0(zero) then show message "suspense" and if item quantity is -1 then show message "special order" and display the "speacial order" link else show normal message (in stock) Thank you very much. Thomas From: robert at lanstar.com (Robert Trembath ) Date: Fri, 30 Mar 2001 11:52:43 -0600 Subject: [ic] Images Make sure you have a symbolic link from: /var/lib/interchange/<yourcatalog>/images/ to /var/www/html/<yourcatalog>/images/ This fixed it for me. Robert -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Maximus Decimus Meridius Sent: Friday, March 30, 2001 8:44 AM To: interchange-users@lists.akopia.com Cc: russo@tsasp.com.br Subject: [ic] Images Hi Everybody! Sorry, but I΄m a newbie interchange user. I have just installed it (tarball option - 4.6.4) in a RedHat Linux Box. The store works fine, but one problem remains after the installation process: no images are loaded. Since during the catalog configuration process I inserted the correct path to the images, I don΄t know what is happening. Below is a part of the makecat.cfg file: # Sample catalog definition [catalog construct] basedir= catroot=/var/lib/interchange/catalogs/construct catuser=interch cgibase= cgibin= cgidir=/var/www/cgi-bin cgiurl=/cgi-bin/construct demotype=construct documentroot=/var/www/html imagedir=/var/www/html/construct/images imageurl=/construct/images mailorderto=arena_sabre@hotmail.com interchangegroup=interch interchangeuser=interch samplehtml=/var/www/html/construct sampleurl= servername=www.mydomain.com.br vendroot= ..... [base] permtype=M basedir=~/catalogs cgidir=/var/www/cgi-bin cgibase=/cgi-bin documentroot=/var/www/html sharedir=/var/www/html shareurl= interchangegroup= interchangeuser=interch serverconf= servername=mydomain.com.br vendroot=/usr/local/interchange Any suggestions? Thanks in advance. Arena _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: jfoster at augustmail.com (John Foster ) Date: Fri, 30 Mar 2001 12:00:30 -0600 Subject: [ic] IC 4.6.4 expireall -r gives error message IC 4.6.4 the expireall -r gives error message from cron or from commandline. How do I fix this. Output from command 'perl /my/home-directory/interchange/bin/expireall -r ' Couldn't read interchange.cfg: No such file or directory Thanks! -- We specialize in multi-processor computing systems! John Foster AdVance-Computing Systems From: chc at mninter.net (Curt Hauge ) Date: Fri, 30 Mar 2001 12:07:46 -0600 Subject: [ic] IC 4.6.4 expireall -r gives error message (Thanks to Jason Kohles) The easy fix is to change your crontab entry: for example: 1,11,21,31,41,51 * * * * (cd /my/home-directory/interchange; ./bin/expireall -r) -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of John Foster Sent: Friday, March 30, 2001 12:01 PM To: Interchange Users Subject: [ic] IC 4.6.4 expireall -r gives error message IC 4.6.4 the expireall -r gives error message from cron or from commandline. How do I fix this. Output from command 'perl /my/home-directory/interchange/bin/expireall -r ' Couldn't read interchange.cfg: No such file or directory Thanks! -- We specialize in multi-processor computing systems! John Foster AdVance-Computing Systems _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: rphipps at reliant-solutions.com (Ron Phipps ) Date: Fri, 30 Mar 2001 10:49:12 -0800 Subject: [ic] IC 4.6.4 expireall -r gives error message > IC 4.6.4 the expireall -r gives error message from cron or from > commandline. > How do I fix this. > > Output from command 'perl /my/home-directory/interchange/bin/expireall > -r ' > > Couldn't read interchange.cfg: No such file or directory Your command should be /my/home-directory/interchange/bin expireall -r -f /my/home-directory/interchage/interchange.cfg Take it easy, -Ron From: jfoster at augustmail.com (John Foster ) Date: Fri, 30 Mar 2001 13:18:38 -0600 Subject: [ic] IC 4.6.4 expireall -r gives error message Ron Phipps wrote: > Your command should be > /my/home-directory/interchange/bin expireall -r -f > /my/home-directory/interchage/interchange.cfg --------------------------------------------- Ah hA! Thanks, I did not know that I needed to give the command the file location for the .cfg file. Works fine now. -- We specialize in multi-processor computing systems! John Foster AdVance-Computing Systems From: joachim.richter at usvideocenter.de (joachim.richter ) Date: Fri, 30 Mar 2001 21:23:09 +0200 Subject: [ic] loop code access -- in scratch variable Hi there, big friday night problem here in good ol germany how can i get to the variable/result which is in the option/loop field we tried [set scratch_studio][loop-code][/set] [seti scratch_studio][loop-code][/seti] [set scratch_studio][value loop-code][/set] [seti scratch_studio][value loop-code][/seti] and many other ridiculous variations we only get [loop-code] back and not the contents, which we need for a another search on the output page of that particular loop-search heres a sniplet of whats killing me <snip> <select name="mv_searchspec" size="7"> [loop search=" fi=xxxdvd sf=xstudio ra=yes un=yes tf=xstudio rf=xstudio ml=1000 "]<option[selected mv_searchspec [loop-code]]>[loop-code]</option> [/loop] </select> <input type="submit" value="Studio"></center> </form> <snip> we really need to get the studio output, and put in a scratch variable is there anybody out there, to help me spend the night not in the office but in a pub (its friday night) regards 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: jfoster at augustmail.com (John Foster ) Date: Fri, 30 Mar 2001 13:22:12 -0600 Subject: [ic] IC 4.6.4 expireall -r gives error message Curt Hauge wrote: > (Thanks to Jason Kohles) > > The easy fix is to change your crontab entry: > > for example: > > 1,11,21,31,41,51 * * * * (cd /my/home-directory/interchange; > ./bin/expireall -r) ------------------------------------- I actually have already modified the crontab file . I needed the info for another task. Thanks for the reminder though. -- We specialize in multi-processor computing systems! John Foster AdVance-Computing Systems From: ang at Magnifi.com (ang at Magnifi.com ) Date: Fri, 30 Mar 2001 11:49:12 -0800 Subject: [ic] perl interchange install I'm new to Interchange. I am running Interchange 4.6 on Redhat 7.0 Are there any good documentations out there on configuring Perl Interchange Modules? thx, Andrew ang@magnifi.com From: robert at lanstar.com (Robert Trembath ) Date: Fri, 30 Mar 2001 14:01:22 -0600 Subject: [ic] perl interchange install use this command: perl -MCPAN -e 'install Bundle::Interchange' -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of ang@Magnifi.com Sent: Friday, March 30, 2001 1:49 PM To: interchange-users@lists.akopia.com Subject: [ic] perl interchange install I'm new to Interchange. I am running Interchange 4.6 on Redhat 7.0 Are there any good documentations out there on configuring Perl Interchange Modules? thx, Andrew ang@magnifi.com _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: xiaowen at safetopia.com (Xiaowen Wu ) Date: Fri, 30 Mar 2001 14:07:57 -0800 (PST) Subject: [ic] How to change the value of a variable Hi there, We need to add some handling fee based on the subtotal on the shiping, I can edit the checkout.html, and have the following: [calc][shipping noformat=1]+[subtotal noformat=1]*0.0035[/calc] this gives us a correct shipping fee on the checkout page. But the value is not correct in the order page. So are there any ways I can modify the [shipping] variable so that it will be changed on all pages. Thanks in advanced. wen From: dan at mailturtle.com (Dan McFarland ) Date: Fri, 30 Mar 2001 14:18:24 -0600 Subject: [ic] Error code.... What would cause this error to appear in the ERROR.LOG and how/should I correct this? [30/March/2001:13:33:08 -0600] store /cgi-bin/store/scan/MM=9c9599ce096fc336eee9c0ae40057417:50:80:50 search error: Object saved wrong in /home/dan/catalogs/store/tmp/m/mkvkILpT.9c9599ce096fc336eee9c0ae40057417 for search ID mkvkILpT.9c9599ce096fc336eee9c0ae40057417. Thanks! ===================== Unique distributor opportunities available! Earn 30%-60% commission on each product. Over 3,500 products! Not Multilevel Marketing. http://www.newtrailtrading.com E-mail dan@newtrailtrading.com for more details. Or call our office: 847-393-0001 ===================== From: jonathanmelhuish at email.com (Jonathan Melhuish ) Date: Fri, 30 Mar 2001 20:52:22 +0100 Subject: [ic] Dumb security question I'd be interested in knowing how to set up a system like this, too. I want to be able to just send a confirmation email to my sales rep, who will then log in via a secure connection to retrieve credit card details. I know linux is supposed to be secure, and that any file with the permissions set correctly should only be visible to authorised users, but would it not be sensible to encrypt the data, just in case? The data should also be deleted automatically once the rep has retrieved it. Does IC have this facility? I would have thought it would be a fairly standard setup. Has anybody found a way to implement it? Cheers Jon Jim wrote: > I've been through the archives, and didn't see an answer and being new > some things, wonder: > > I have a web site with access to a secure server (https://yadda...). > I do not have PGP here or on the server. > I need the order info emailed or, can a salesrep login and access sales > info, including credit card info without PGP? I.E., will credit card > data stored on server (encrypted I assume) be de-cypted when authorized > user accesses data? > Lastly, I noted (in the archives) a problem between IE and secure > servers and IC > (http://lists.akopia.com/pipermail/interchange-users/2001-March/005263.html > ). Has this been corrected? > > Jim > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: jonathanmelhuish at email.com (Jonathan Melhuish ) Date: Fri, 30 Mar 2001 21:14:53 +0100 Subject: [ic] HTML editor The best HTML editor is Bluefish (for linux) http://www.bluefish.openoffice.nl - but it does exactly what it says on the tin; it edits HTML code. There isn't any graphical representations, you code, assisted slightly by buttons that automatically insert common codes, and then view the output in a browser. Perhaps this doesn't suit 'graphic designers', but why shouldn't they learn to code HTML properly? It's not exactly difficult, especially when you compare it to Photoshop! Jon "F. James Rohlf" wrote: > Editing the Interchange catalog files seems a bit awkward because the > various files (pages, special_pages, and normal HTML files) get swapped in > and out dynamically by Interchange. Which HTML editors work best in this > environment? Obviously, MS FrontPage which I have used for 'normal' web > pages does not work so well here -- even if I could figure out how to get > the FrontPage extensions installed. > > Thanks, Jim > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: stevep at sga.org (Steve Palm ) Date: Fri, 30 Mar 2001 15:42:43 -0600 Subject: [ic] HTML editor >The best HTML editor is Bluefish (for linux) Nah.... :-) BBEDIT for Macintosh. http://www.bbedit.com -- Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * http://www.sga.org From: rohlf at life.bio.sunysb.edu (F. James Rohlf ) Date: Fri, 30 Mar 2001 16:52:51 -0500 Subject: [ic] inventory not activated? -- also "Page (nothing) not found" On the store I am developing the stock always comes up as 'N'. When I enter as administrator the product tables show 'N/A' for the inventory quantities. I did upload the inventory.txt file and when I look at it as admin I see the quantities I entered for all products. Do I have to do something to enable inventory checking? Another problem is that when enter as a customer, enter a quantity, and click 'Buy' a page comes up saying the following: "Sorry, the page (nothing) was not found". What page is it trying to find and what have I probably messed-up in order to have this happen? Thanks, Jim From: jojo at blackpoint.de (jojo at blackpoint.de ) Date: Fri, 30 Mar 2001 23:56:27 +0200 (CEST) Subject: [ic] How to display a message in flypage about quantity? On 30 Mar, Thomas N. Stefanidis wrote: > How can i display this message in the flypage? > > if item is quantity is N/A then show message "not available" > if item is quantity is 0(zero) then show message "suspense" > and if item quantity is -1 then show message "special order" and display > the "speacial order" link > > else show normal message (in stock) > > Thank you very much. Try [seti dummy][item-field quantity][/seti] [if scratch dummy =~ /N/] not available<BR> [elsif scratch dummy < 0] special order<BR> [/elsif] [else] suspense<BR> [/else] [/if] if you have a field quantity in your products file or try it with [if-item-data inventory quantity < 1] and so on, if you have the quantity in your inventory file. (not tested) Joachim -- -------------<FreeBsd>-------------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: pauls at compuace.com (Paul R Stearns ) Date: Fri, 30 Mar 2001 17:15:29 -0500 Subject: [ic] HTML editor You may wish to try CSE HTML Validator Lite from http://htmlvalidator.com Paul Steve Palm wrote: > >The best HTML editor is Bluefish (for linux) > > Nah.... :-) > > BBEDIT for Macintosh. http://www.bbedit.com > > -- > Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * > http://www.sga.org > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: adi at adis.on.ca (Adi Linden ) Date: Fri, 30 Mar 2001 16:21:23 -0600 (CST) Subject: [ic] HTML editor Hi, What happened to vim...??? I love it and use it for all my editing (incl. HTML) needs... TTYL, Adi On Fri, 30 Mar 2001, Steve Palm wrote: > >The best HTML editor is Bluefish (for linux) > > Nah.... :-) > > BBEDIT for Macintosh. http://www.bbedit.com > > -- > Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * > http://www.sga.org > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: rohlf at life.bio.sunysb.edu (F. James Rohlf ) Date: Fri, 30 Mar 2001 17:35:33 -0500 Subject: [ic] linking to html from result.html page Sorry, to ask again so soon but it is not clear to me where to look in the documentation for this. In the results.html page it says: <a href="[area [item-code]]">....</a> to build a link for when someone clicks on the product description. I would rather have it link to a field I define for each product. I changed that code to: <a href="[area [item-field www_desc]]">...</a> where www_desc is a field I added to the products database. It 'works' except that it looks for the page under cgi-bin rather than under the html directory. How do I get it to go to my normal html directories? Thanks again! I don't think it would be possible to use Interchange without this list. Jim From: cfm at maine.com (cfm at maine.com ) Date: Fri, 30 Mar 2001 17:50:24 -0500 Subject: [ic] Dumb security question On Fri, Mar 30, 2001 at 08:52:22PM +0100, Jonathan Melhuish wrote: > I'd be interested in knowing how to set up a system like this, too. I want to > be able to just send a confirmation email to my sales rep, who will then log > in via a secure connection to retrieve credit card details. > > I know linux is supposed to be secure, and that any file with the permissions > set correctly should only be visible to authorised users, but would it not be > sensible to encrypt the data, just in case? The data should also be deleted > automatically once the rep has retrieved it. > > Does IC have this facility? I would have thought it would be a fairly > standard setup. Has anybody found a way to implement it? Seems to me that if one does not know **how** to do it you run a high risk of missing something. You certainly cannot leave things on the floor just because linux is supposed to be secure. It gives you all the rope you need to hang yourself any number of ways. The **easiest** way to go is standard interchange, eg put pgp on the machine or pay someone who can rather than trying to implement a workaround. That is the safest too, until you learn how to otherwise. $.02 cfm > > Cheers > > Jon > > Jim wrote: > > > I've been through the archives, and didn't see an answer and being new > > some things, wonder: > > > > I have a web site with access to a secure server (https://yadda...). > > I do not have PGP here or on the server. > > I need the order info emailed or, can a salesrep login and access sales > > info, including credit card info without PGP? I.E., will credit card > > data stored on server (encrypted I assume) be de-cypted when authorized > > user accesses data? > > Lastly, I noted (in the archives) a problem between IE and secure > > servers and IC > > (http://lists.akopia.com/pipermail/interchange-users/2001-March/005263.html > > ). Has this been corrected? > > > > Jim > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: mikeh at minivend.com (Mike Heins ) Date: Fri, 30 Mar 2001 18:34:36 -0500 Subject: [ic] Dumb security question Quoting Jonathan Melhuish (jonathanmelhuish@email.com): > I'd be interested in knowing how to set up a system like this, too. I want to > be able to just send a confirmation email to my sales rep, who will then log > in via a secure connection to retrieve credit card details. > > I know linux is supposed to be secure, and that any file with the permissions > set correctly should only be visible to authorised users, but would it not be > sensible to encrypt the data, just in case? The data should also be deleted > automatically once the rep has retrieved it. > > Does IC have this facility? I would have thought it would be a fairly > standard setup. Has anybody found a way to implement it? Nope. Because unless you write a complicated and potentially insecure script to decrypt the card, you have to store the credit card number in the clear on the disk. We don't do that. If you want to figure it out yourself and do it, so be it, but we certainly won't help. One way to do it is to use https and pass a GPG pass-phrase that way every time, but that is not really secure either. We encourage the use of GPG/PGP as the means of getting credit card numbers. That, you can do with Interchange. In fact, it is even quite convenient with a mailer like Eudora, which only prompts you once no matter how many emails you open in the same session. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: edl at newmediaems.com (Ed LaFrance ) Date: Fri, 30 Mar 2001 16:09:21 -0800 Subject: [ic] linking to html from result.html page At 05:35 PM 03/30/2001 -0500, you wrote: >Sorry, to ask again so soon but it is not clear to me where to look in the >documentation for this. > >In the results.html page it says: <a href="[area [item-code]]">....</a> to >build a link for when someone clicks on the product description. I would >rather have it link to a field I define for each product. I changed that >code to: <a href="[area [item-field www_desc]]">...</a> where www_desc is a >field I added to the products database. It 'works' except that it looks for >the page under cgi-bin rather than under the html directory. How do I get it >to go to my normal html directories? > >Thanks again! I don't think it would be possible to use Interchange without >this list. > >Jim Here's one way (check the setting of the SAMPLEURL variable in catalog.cfg) <a href="__SAMPLEURL__/[item-field www_desc]">...</a> - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: pauls at compuace.com (Paul R Stearns ) Date: Fri, 30 Mar 2001 19:30:04 -0500 Subject: [ic] HTML editor VIM is truly an editor. The only reason I use CSE is that it does syntax checking. What I generally do with Interchange is to save the generated html from my browser, and use CSE to validate syntax, and then make the appropriate changes using the editor of my choice. Winvi32 on windows, VIM on ix. Paul Adi Linden wrote: > Hi, > > What happened to vim...??? I love it and use it for all my editing (incl. > HTML) needs... > > TTYL, > Adi > > On Fri, 30 Mar 2001, Steve Palm wrote: > > > >The best HTML editor is Bluefish (for linux) > > > > Nah.... :-) > > > > BBEDIT for Macintosh. http://www.bbedit.com > > > > -- > > Steve Palm <stevep@sga.org> * SGA * Loves Park, IL * > > http://www.sga.org > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: db at cyclonehq.dnsalias.net (Dan B ) Date: Fri, 30 Mar 2001 16:33:43 -0800 Subject: [ic] To Interchance or not to Interchange! At 11:22 PM 3/29/2001 -0800, UP - Jason wrote: > * Is Interchange better than platforms like Intershop, Miva, and others? In my opinion, Interchange with a RH contract *IS* better than Intershop, Miva, and friends. Without a contract, it can be better or worse, depending on your team's skill level. I like Mike Heins' recent analogy: Interchange is the engine, you are the auto manufacturer. It is a powerful, flexible engine, but much of the quality is up to you. (Or, you can buy manufacturing help with a RH contract). > * Redhat positions Interchange as a Blue Martini and Broadvision > killer. Is this true? Does Interchange kick butt? The greatest strength of Interchange, IMO, is that whatever Interchange doesn't do today, you can make it do (i.e. open source). And if you don't have the skills/time to make IC do it, then you can pay someone to make it do it for you (i.e. RH contract). > * I have a very competent front-end development team that also have > really solid back-end skills. Will they be able to do all of the set-up > and integrations work easily or should I choose an established integrator? Many people don't hire based on skillsets, rather based on how quickly they can learn and adapt. If you have the "learn and adapt" variety, then they should be able to learn the ins-and-outs of catalog.cfg manipulation and other interchange installation goodies. But there is a lot to be said for the value of cleanly separated responsibility between installation, hosting, management, administration and programming, design, hacking, etc. > * Redhat is offering me a service contract. Should I buy it if I > choose to work with my own team and not an established Interchange integrator? You can start without a contract, sure (I did). But if you need help, you might find yourself clamoring for a "fireman" later on.(and that's OK -- RH has plenty of firemen on hand). But often times it is better in the long term to have the groundwork, planning, etc. stages guided all along, cultivating a more "general contractor"-esqe relationship with RH E-biz. > * What can you tell me, pro/con about using Interchange? Pro: One thing that really stands out for me is the database connectivity in IC. It allows a common access method for so many backend datasources, and front-end programmers don't need to know if it is flatfile, Mysql, Pgsql, Oracle, or ODBC over a 2400 baud phoneline that they are accessing. It just works. Amazing. Con: Reading the documentation is like a mouth full of feathers on a hot desert afternoon. It sure would be nice to have Orielly or Open Docs Publishing do a book on it. HTH, HAND, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Fri, 30 Mar 2001 17:00:31 -0800 Subject: [ic] loop code access -- in scratch variable At 09:23 PM 3/30/2001 +0200, you wrote: >big friday night problem here in good ol germany Ich bin ein Berliner. (quoting JFK: "I am a jelly doughnut"). >how can i get to the variable/result which is in the option/loop field > >we tried > >[set scratch_studio][loop-code][/set] >[seti scratch_studio][loop-code][/seti] >[set scratch_studio][value loop-code][/set] >[seti scratch_studio][value loop-code][/seti] > >and many other ridiculous variations >we only get [loop-code] back and not the contents, >which we need for a another search on the output page of that particular >loop-search Another victim. This beast has bitten many wanderers in Interchange-land, and has been spotted in the wild. The natives in the land call it "HCITWINTQATIAT". Which roughly translates in English to "How can I tell when I need to quote a tag inside a tag?". Encyclopedia Britannica recommends the following resources: http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=faq05%2e07 To find out what the named arguments are: Loop: http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=reference09%2e04 http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=tagref03%2e39 seti: http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=tagref03%2e62 http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=reference09%2e03 selected: http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=tagref03%2e59 >is there anybody out there, to help me spend the night not in the office >but in a pub (its friday night) Then again, you might be having a whole 'nuther problem all together. :-) I'm trying to help, anyway. Best of luck. Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: steveandpatti at wubs.org (Steve & Patti Getzinger ) Date: Fri, 30 Mar 2001 20:08:18 -0600 Subject: [ic] HTML editor I see this topic has hit the list once again. While I use any standard text editor I am working on a GUI interface for Interchange written in C. With so much conversation and requests for "do it for me" software I ask where are the C programmers to help with solving this issue? Paul's post brought to light a feature I had totally overlooked. Not in any first releases but rest assured validation will be in the future. If anyone with experience in C, GTK+, GNOME, CORBA or BONOBO would like to devote any time towards completing the project I would greatly appreciate the help. Steve Paul R Stearns wrote: > > VIM is truly an editor. > > The only reason...VIM on ix. > > Paul > > Adi Linden wrote: > > > Hi, > > > > What happened to vim...needs... > > > > TTYL, > > Adi > > > > On Fri, 30 Mar 2001, Steve Palm wrote: > > > > > >The best HTML...bbedit.com > > > ========================================================= WDI Steve & Patti Getzinger 702 Lincolnway West steveandpatti@wubs.org South Bend, IN 46616 http://www.wubs.org/ 219-287-4700 (Main Office) 317-535-0239 (Direct Line) ========================================================= From: db at cyclonehq.dnsalias.net (Dan B ) Date: Fri, 30 Mar 2001 17:05:34 -0800 Subject: [ic] How to change the value of a variable At 02:07 PM 3/30/2001 -0800, you wrote: >We need to add some handling fee based on the subtotal on the shiping, I >can edit the checkout.html, and have the following: > >[calc][shipping noformat=1]+[subtotal noformat=1]*0.0035[/calc] > >this gives us a correct shipping fee on the checkout page. But the >value is not correct in the order page. So are there any ways I can >modify the [shipping] variable so that it will be changed on all pages. I am wondering the same thing. So far, I've solved the problem by going through every page where [shipping] is used, and replacing it with a call to a usertag (or [include ...]) that does the calculation. Maybe a better alternative will come out during discussion. (catalog.cfg entry?) Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: vic at anabolic.com (vic ) Date: Fri, 30 Mar 2001 17:45:21 -0800 Subject: [ic] (was) Dumb security question While cfm makes an interesting point (know your operating system), one alternate way to provide for this type of email confirmation functionality is to simply email them a LINK to the information and have that information be accessible only via https login or restrict access to the link by IP# in. I believe Akopia has a similar function, but I stopped trying to really use the remote admin features of minivend a long time ago. Using this approach you do not have the burden of having to you have your rep understand pgp, encryption or anything else, he can just be a sales guy. Also, this gives the chance to build information dynamically on the strengths of minivend (in my case, I can generate the information dynamically on an as-need basis) and I don't have to worry about invoicing information going out across the wire. The additional benefit is, a sales rep would be hard pressed to say they didn't get the information and you can use that same link to convey other timely information (to your sales team, intranet advertising so to say). Also, technically, we should all be paying for commercial licenses of pgp if we use it in a commerical endeavor, so there is a slight barrier to using the pgp approach (legitimately), especially in a economically scalable solution. However, with the wonders of web magic and https, we can define strict access requirements using certs (even if they're just self signed for internal use). Vic Find out today how secure you are at www.hackerwhacker.com From: leon at quoll.com (Leon Harris ) Date: Sat, 31 Mar 2001 15:38:50 +0800 Subject: [ic] cant get interchange daemon to run This is a cryptographically signed message in MIME format. --------------msA3D907F45715A22D1CD10CC4 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 SGkuIEkgY2FudCBnZXQgaW50ZXJjaGFuZ2UgZGFlbW9uIHRvIHJ1biAtIGVpdGhlciB0aGUg dmVyc2lvbiBJIG1hbnVhbGx5DQpjb21waWxlZCBvciB0aGUgcnBtLg0KSSBhbSBjdXJyZW50 bHkgdXNpbmcgdGhlIHJwbSB2ZXJzaW9uIGZvciByaCA2LngNCg0Kd2hlbiBJIHJ1bg0KL2V0 Yy9yYy5kL2luaXQuZC9pbnRlcmNoYW5nZSBzdGFydA0KSSBnZXQgYW4gb2ssIGJ1dCB0aGVy ZSBpcyBubyBkYWVtb24gaW4gbXkgcHJvY2VzcyB0YWJsZS4NCndoZW4gSSBkbyBhDQovZXRj L3JjLmQvaW5pdC5kL2ludGVyY2hhbmdlIHN0YXR1cywgSSBnZXQgdGhlIG1lc3NhZ2UgOg0K aW50ZXJjaGFuZ2UgZGVhZCBidXQgc3Vic3lzIGxvY2tlZA0KDQp0aGVyZSBhcmUgbm8gbWVz c2FnZXMgaW4NCi92YXIvbG9nL21lc3NhZ2VzIG9yIHZhci9sb2cvaW50ZXJjaGFuZ2UvY29u c3RydWN0LmVycm9yLmxvZw0KDQoNCmlmIEkgbWFudWFsbHkgcnVuOg0Kc3UgLWMgIi91c3Iv c2Jpbi9pbnRlcmNoYW5nZSAtciIgaW50ZXJjaA0Kbm8gZXJyb3JzIGFyZSByZXBvcnRlZC4N Cg0KSWYgSSBydW4NCnN0cmFjZSAgIHN1IC1jICIvdXNyL3NiaW4vaW50ZXJjaGFuZ2UgLXIi IGludGVyY2gNCg0KaXQgc2VlbXMgdG8gZXhpdCBjbGVhbmx5IHdpdGggYSBtdW5tYXAgZm9s bG93ZWQgYnkgYSBfZXhpdCgyNTYpID0gMA0KYnV0IG5vdGhpbmcgZWxzZS4gTXkgaW5zdGlu Y3RzIHNjcmVhbSAicGVybCBpbnN0YWxsYXRpb24gcHJvYmxlbSIgYXQgbWUsDQpidXQgbXkg cGVybCB3b3JrcyBmaW5lLiBXaGF0IGNhbiBJIGRvIHRvIGdldCBhIGJpdCBtb3JlIGluZm8g dG8gZGVidWcNCnRoaXM/DQoNCkNoZWVycywNCkxlb24NCg0Kb24gYSBwNDUwIDEyOCBtYiBy aCA2LjAgYnV0IHBhdGNoZWQgdXAgdG8gY2xvc2Ugc2VjdXJpdHkgaG9sZXMsIGFwYWNoZQ0K MS4zLjYgIHdpdGggYWJvdXQgMjAgb3Igc28gZnVsbCB2aXJ0dWFsIGhvc3RzICggcGx1cyBz dW5kcnkgMzAxDQpyZWRpcmVjdHMpLg0KDQo= --------------msA3D907F45715A22D1CD10CC4 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIH5AYJKoZIhvcNAQcCoIIH1TCCB9ECAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC BbUwggKZMIICAqADAgECAgMDVbYwDQYJKoZIhvcNAQEEBQAwgZQxCzAJBgNVBAYTAlpBMRUw EwYDVQQIEwxXZXN0ZXJuIENhcGUxFDASBgNVBAcTC0R1cmJhbnZpbGxlMQ8wDQYDVQQKEwZU aGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25h bCBGcmVlbWFpbCBSU0EgMTk5OS45LjE2MB4XDTAwMDkyODEwMjQyOFoXDTAxMDkyODEwMjQy OFowQDEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEdMBsGCSqGSIb3DQEJARYO bGVvbkBxdW9sbC5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALp3UDwW4Qz5z8Rn 6+j0lDuK1C5T/P8J+e0nOY9qUPm68EPi3yGBxSTuG74OQRFP2d8nHGrbrT8RZMgy+ZhNwLu4 CaF/nbN/mU0tlb2oGo8t4jd9/i/CJ1NlGNJGx8pp7LUe7X4WutZPC6cTCDjhjLEmSjFlf7lY ffv60txoqEGLAgMBAAGjTDBKMBkGA1UdEQQSMBCBDmxlb25AcXVvbGwuY29tMAwGA1UdEwEB /wQCMAAwHwYDVR0jBBgwFoAUiKvxYINmVfTkWMdGHcBhvSPXw4wwDQYJKoZIhvcNAQEEBQAD gYEAXBI6RLBVOSI09IrwC0l0CLafyCcqBKuqvQITpXRUwoeC82YoIQ17V6lsGvoGmfK+3Xpo 51RLa9xwH89Ee6V8L+TQh/Xp6n45/M4eHCKX+wa2Bftve6TshgPY/x4W2jlEDa/Vn9a7HuOW 87AyETNkz8o4PN4CXxtjQBrRj5FtfVcwggMUMIICfaADAgECAgELMA0GCSqGSIb3DQEBBAUA MIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBl IFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0 aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1h aWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcN OTkwOTE2MTQwMTQwWhcNMDEwOTE1MTQwMTQwWjCBlDELMAkGA1UEBhMCWkExFTATBgNVBAgT DFdlc3Rlcm4gQ2FwZTEUMBIGA1UEBxMLRHVyYmFudmlsbGUxDzANBgNVBAoTBlRoYXd0ZTEd MBsGA1UECxMUQ2VydGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZyZWVt YWlsIFJTQSAxOTk5LjkuMTYwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALNpWpfU0BYL erXFXekhnCNyzRJMS/d+z8f7ynIk9EJSrFeV43theheE5/1yOTiUtOrtZaeSBl694GX2GbuU eXZMPrlocHWEHPQRdAC8BSxPCQMXMcz0QdRyxqZd4ohEsIsuxE3x8NaFPmzzlZR4kX5A6ZzR jRVXjsJz5TDeRvVPAgMBAAGjNzA1MBIGA1UdEwEB/wQIMAYBAf8CAQAwHwYDVR0jBBgwFoAU cknCczTGVfQLdnKBfnf0h+fGsg4wDQYJKoZIhvcNAQEEBQADgYEAa8ZZ6TH66bbssQPY33Jy /pFgSOrGVd178GeOxmFw523CpTfYnbcXKFYFi91cdW/GkZDGbGZxE9AQfGuRb4bgITYtwdfq sgmtzy1txoNSm/u7/pyHnfy36XSS5FyXrvx+rMoNb3J6Zyxrc/WG+Z31AG70HQfOnZ6CYynv kwl+Vd4xggH3MIIB8wIBATCBnDCBlDELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4g Q2FwZTEUMBIGA1UEBxMLRHVyYmFudmlsbGUxDzANBgNVBAoTBlRoYXd0ZTEdMBsGA1UECxMU Q2VydGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZyZWVtYWlsIFJTQSAx OTk5LjkuMTYCAwNVtjAJBgUrDgMCGgUAoIGxMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEw HAYJKoZIhvcNAQkFMQ8XDTAxMDMzMTA3Mzg1MFowIwYJKoZIhvcNAQkEMRYEFIdr8WJ0wPQ1 dzBOnadE4n5dyf6EMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYIKoZIhvcNAwIC AgCAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgFAMA0GCCqGSIb3DQMCAgEoMA0GCSqGSIb3DQEB AQUABIGATskuHtk3W+mgPxukTvj1pLVNKlKQ++2fncNQr1We83qWVefMvoJ3Ti1mltSqSTN1 lLGm1ah0Zi7E4HqopZINl2uPFvyvPRiYxrkE3n33+HVElMKjc3U8l5LkReK2QSZCIDPlyHE8 mBtuv0yiKJ4RAASAmIHjNRtwTTAEZrm2DcI= --------------msA3D907F45715A22D1CD10CC4-- From: ary at communicationfactory.com (Young Family ) Date: Thu, 29 Mar 2001 01:13:59 -0800 Subject: [ic] Wish List Hello All Does Interchange have a shopping wish list capability? I am looking but not finding.... Thanks Alan Young ary@communicationfactory.com From: Curtis at MegaMac.com (Curtis Garrison ) Date: Sat, 31 Mar 2001 03:11:08 -0600 Subject: [ic] Price & Platform Is it still true (even after Redhat bought akopia) that there is no price for an InterChange software license - meaning absolutely FREE? Also, since it runs on "Linux or Unix Variant" - has anyone installed this on Mac OS X or Mac OS X Server yet? Mac OS X is based on FreeBSD, has Apache pre-installed and also supports MySQL... Curtis Garrison President, CEO and Founder Curtis@MegaMac.Com MegaMac.Com - http://www.MegaMac.Com "Millions of Mac People, Places and Things" PHONE: 972-530-2555 MAILING ADDRESS: P.O. Box 801548; Dallas, TX 75380 _________________________________________________________________ The HOTTEST FREE email for Mac Fans is at http://www.MegaMac.com From: greg at rubberplant.freeserve.co.uk (Greg Cope ) Date: Sat, 31 Mar 2001 09:28:31 +0000 Subject: [ic] Price & Platform Curtis Garrison wrote: > > Is it still true (even after Redhat bought akopia) that there is no price > for an InterChange software license - meaning absolutely FREE? > Free as in price, but there is still a copyright and a licence that grants you cartain freedoms under the GPL - but it has certain restrictions so it is not completly "free" in an absolute sense. > Also, since it runs on "Linux or Unix Variant" - has anyone installed this > on Mac OS X or Mac OS X Server yet? Mac OS X is based on FreeBSD, has > Apache pre-installed and also supports MySQL... In theory I think it should work but could be wrong - whats wrong with FreeBSD / Linux ? Greg (who thinks you should run an ecommmerce engine on a tried and tested platform) > > Curtis Garrison > President, CEO and Founder > Curtis@MegaMac.Com > MegaMac.Com - http://www.MegaMac.Com > "Millions of Mac People, Places and Things" > PHONE: 972-530-2555 > MAILING ADDRESS: P.O. Box 801548; Dallas, TX 75380 > > _________________________________________________________________ > The HOTTEST FREE email for Mac Fans is at http://www.MegaMac.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: webmaster at growsearch.com (Kellen Weissenbach, GrowSearch Admin ) Date: Sat, 31 Mar 2001 03:44:56 -0000 Subject: [ic] Another stupid question Hello Folks, Here's one for ya. Why would the pull down menu to select a catagory when adding a new item not appear? It will appear on SOME of the items in the construct demo I installed, but it never appears when I go to add new item. Sometimes it won't show up when I view an existing item either. Any clues? Thanks, Kellen Weissenbach GrowSearch.com From: leon at quoll.com (Leon Harris ) Date: Sat, 31 Mar 2001 19:36:10 +0800 Subject: [ic] can't get interchange daemon to run. Hi all. Sorry for the repost - it seems the list didn't like my signature on the last post. Whatever ... Any help would be greatly appreciated. I cant get interchange daemon to run - either the version I manually compiled or the rpm. I am currently using the rpm version for rh 6.x when I run /etc/rc.d/init.d/interchange start I get an ok, but there is no daemon in my process table. when I do a /etc/rc.d/init.d/interchange status, I get the message : interchange dead but subsys locked there are no messages in /var/log/messages or var/log/interchange/construct.error.log if I manually run: su -c "/usr/sbin/interchange -r" interch no errors are reported. If I run strace su -c "/usr/sbin/interchange -r" interch it seems to exit cleanly with a munmap followed by a _exit(256) = ? but nothing else. My instincts scream "perl installation problem" at me, but my perl works fine, as far as I can see. What can I do to get a bit more info to debug this? Cheers, Leon on a p450 128 mb rh 6.0 but patched up to close security holes, apache 1.3.6 with about 20 or so full virtual hosts ( plus sundry 301 redirects). From: mikeh at minivend.com (Mike Heins ) Date: Sat, 31 Mar 2001 07:09:11 -0500 Subject: [ic] cant get interchange daemon to run Quoting Leon Harris (leon@quoll.com): > if I manually run: > su -c "/usr/sbin/interchange -r" interch > no errors are reported. > > If I run > strace su -c "/usr/sbin/interchange -r" interch > > it seems to exit cleanly with a munmap followed by a _exit(256) = 0 > but nothing else. My instincts scream "perl installation problem" at me, > but my perl works fine. What can I do to get a bit more info to debug > this? > Your antennae must be similar to mine. Check and see if your Perl has threading enabled. You can set DEBUG to 1 in interchange.cfg and do a "tail -f /tmp/icdebug" to see if something shows up. Other than that, check the error.log file and see what it says. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers From: mikeh at minivend.com (Mike Heins ) Date: Sat, 31 Mar 2001 07:10:03 -0500 Subject: [ic] Price & Platform Quoting Curtis Garrison (Curtis@MegaMac.com): > Is it still true (even after Redhat bought akopia) that there is no price > for an InterChange software license - meaning absolutely FREE? > > Also, since it runs on "Linux or Unix Variant" - has anyone installed this > on Mac OS X or Mac OS X Server yet? Mac OS X is based on FreeBSD, has > Apache pre-installed and also supports MySQL... > Yes, Interchange runs fine on Mac OS/X once you have the developer tools and are able to install the requisite Perl modules. And yes, it is free. 8-) -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers From: mikeh at minivend.com (Mike Heins ) Date: Sat, 31 Mar 2001 07:12:02 -0500 Subject: [ic] How to change the value of a variable Quoting Dan B (db@cyclonehq.dnsalias.net): > At 02:07 PM 3/30/2001 -0800, you wrote: > >We need to add some handling fee based on the subtotal on the shiping, I > >can edit the checkout.html, and have the following: > > > >[calc][shipping noformat=1]+[subtotal noformat=1]*0.0035[/calc] > > > >this gives us a correct shipping fee on the checkout page. But the > >value is not correct in the order page. So are there any ways I can > >modify the [shipping] variable so that it will be changed on all pages. > > I am wondering the same thing. So far, I've solved the problem by going > through every page where [shipping] is used, and replacing it with a call > to a usertag (or [include ...]) that does the calculation. > > Maybe a better alternative will come out during discussion. (catalog.cfg > entry?) > You can add another shipping charge via mv_handling. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> My wife is great. She doesn't care where I go, just as long as I don't have any fun. -- Lee Trevino From: leon at quoll.com (Leon Harris ) Date: Sat, 31 Mar 2001 20:49:57 +0800 Subject: [ic] Re: cant get interchange daemon to run Leon Harris wrote: > Thanks Mike. > Threading isn't mentioned when I do a perl -V, so I guess it is not there. > The cfg file has a line > Environment mod_perl in it. > I don't have mod_perl, and there isn't anywhere I can see which says I > must. Could this be a problem? > > Cheers, > Leon > > Leon Harris wrote: > > > Hi. I cant get interchange daemon to run - either the version I manually > > compiled or the rpm. > > I am currently using the rpm version for rh 6.x > > From: jhaltiw at clemson.edu (James N. Haltiwanger, Jr. ) Date: Sat, 31 Mar 2001 10:10:13 -0500 (EST) Subject: [ic] (no subject) Hey, I am wanting to setup a store with akopia but we have 100,000 products with one Of our distributor and 30,000 with another. I have to write to separate files so each distributor can pick up there orders and process them. Is this even possible with akopia . Can I track products and what distributor they come from? Thanks James From: cfm at maine.com (cfm at maine.com ) Date: Sat, 31 Mar 2001 09:45:38 -0500 Subject: [ic] can't get interchange daemon to run. On Sat, Mar 31, 2001 at 07:36:10PM +0800, Leon Harris wrote: > Any help would be greatly appreciated. > I cant get interchange daemon to run - either the version I manually > compiled or the rpm. > I am currently using the rpm version for rh 6.x > > when I run > /etc/rc.d/init.d/interchange start > I get an ok, but there is no daemon in my process table. > when I do a > /etc/rc.d/init.d/interchange status, I get the message : > interchange dead but subsys locked > > there are no messages in > /var/log/messages or var/log/interchange/construct.error.log > > > if I manually run: > su -c "/usr/sbin/interchange -r" interch > no errors are reported. > > If I run > strace su -c "/usr/sbin/interchange -r" interch > > it seems to exit cleanly with a munmap followed by a _exit(256) = ? > but nothing else. My instincts scream "perl installation problem" at me, > > but my perl works fine, as far as I can see. What can I do to get a bit > more info to debug > this? What about shell for user "interch" or is that user "interchange" and truncated? What about limits, profiles and so forth? Replace interchange with hello world. > -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: cfm at maine.com (cfm at maine.com ) Date: Sat, 31 Mar 2001 09:49:52 -0500 Subject: [ic] (no subject) On Sat, Mar 31, 2001 at 10:10:13AM -0500, James N. Haltiwanger, Jr. wrote: > Hey, > > I am wanting to setup a store with akopia but we have 100,000 products with one > Of our distributor and 30,000 with another. I have to write to separate files so > each distributor can pick up there orders and process them. Is this even > possible with akopia. What do you mean by separate files? Do you mean routing orders by distributor, etc...? You will get better response if you can clarify question. :-) > Can I track products and what distributor they come from? yes. > > > Thanks > James > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: pauls at compuace.com (Paul Stearns ) Date: Sat, 31 Mar 2001 10:40:22 -0500 Subject: [ic] Multiple Ship To's In December I had indicated that I would try to rewrite the shipping module to handle Multiple Ship To's. I have been unable to do this, due to a variety of higher priority items, both business and personal. Has anyone else endeavoured to handle Multiple Ship To's? What I need is the protypical gift shop store where a person might order 10 items, either different or the same, which are to be shipped to anywhere from 1 to 10 different addresses. The Construct something Demo is tantalizing in that it allows the entry of multiple ship to's but it does nothing with the data. Paul From: leon at quoll.com (Leon Harris ) Date: Sat, 31 Mar 2001 23:43:37 +0800 Subject: [ic] can't get interchange daemon to run. Thanks Christopher, this has gotten me a good way further. I had set the shell on interch as /bin/false when I compiled it from tarball, on the grounds that noone would be logging in on it. Changing to /bin/bash has at least got the server to run, and I shall debug it from here. Cheers, Leon What about shell for user "interch" or is that user "interchange" and truncated? What about limits, profiles and so forth? Replace interchange with hello world. From: thomas at prometheas.gr (Thomas N. Stefanidis ) Date: Sat, 31 Mar 2001 19:09:24 +0300 Subject: [ic] Shipping question(one last thing) Hello all, In my shipping method i use weight(which works just fine!). But now my customer doesn't want to charge shipping if the total cost of the product is over 100.000 drh Any ideas how can combine weight and price? --shipping.asc-- Greece Ταχυδρομείο weight 0 0 e Δεν υπάρχει τίποτα προς αποστολή! {} Greece Ταχυδρομείο weight 0 1000 1250 Greece Ταχυδρομείο weight 1000 2000 1350 Greece Ταχυδρομείο weight 2000 3000 1450 Greece Ταχυδρομείο weight 3000 4000 1550 Greece Ταχυδρομείο weight 4000 5000 1650 Greece Ταχυδρομείο weight 5000 6000 1750 Greece Ταχυδρομείο weight 6000 7000 1850 Greece Ταχυδρομείο weight 7000 8000 1950 Greece Ταχυδρομείο weight 8000 9000 2050 Greece Ταχυδρομείο weight 9000 10000 2150 Greece Ταχυδρομείο weight 10000 11000 2250 Greece Ταχυδρομείο weight 11000 12000 2350 Greece Ταχυδρομείο weight 12000 13000 2450 Greece Ταχυδρομείο weight 13000 14000 2550 Greece Ταχυδρομείο weight 14000 15000 2650 Greece Ταχυδρομείο weight 15000 16000 2750 Greece Ταχυδρομείο weight 16000 17000 2850 Greece Ταχυδρομείο weight 17000 18000 2950 Greece Ταχυδρομείο weight 18000 19000 3050 Greece Ταχυδρομείο weight 19000 999999 f my $add = int ((@@TOTAL@@ - 19000) / 1000); 3050 + $add * 100; --end of shipping.asc From: adi at adis.on.ca (Adi Linden ) Date: Sat, 31 Mar 2001 10:42:01 -0600 (CST) Subject: [ic] Multiple users and accounts... Hi, How can I setup a catalog that is not owned by interch but owned by a particular user who owns a particular domain and store? I am running the secure server and core interchange functionality. But the owner of the vdomain needs to be able to access his catalog and make changes. Also, his web designers need to have access to his html pages without access to other clients pages and catalogs... TTYL, Adi From: adi at adis.on.ca (Adi Linden ) Date: Sat, 31 Mar 2001 10:42:47 -0600 (CST) Subject: [ic] Canada Post eParcel Service Hi, Has anyone used the eParcel shipping module offered by Canada Post? TTYL, Adi From: webmaster at aboron.com (Webmaster ) Date: Sat, 31 Mar 2001 12:49:58 -0500 Subject: [ic] Multiple Ship To's > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Paul > Stearns > Sent: Saturday, March 31, 2001 10:40 AM > To: interchange-users@lists.akopia.com > Subject: [ic] Multiple Ship To's > > > In December I had indicated that I would try to rewrite the shipping > module to handle Multiple Ship To's. > > I have been unable to do this, due to a variety of higher priority > items, both business and personal. > > Has anyone else endeavoured to handle Multiple Ship To's? > > What I need is the protypical gift shop store where a person might order > 10 items, either different or the same, which are to be shipped to > anywhere from 1 to 10 different addresses. > > The Construct something Demo is tantalizing in that it allows the entry > of multiple ship to's but it does nothing with the data. This is not entirely true - the construct demo, as it installed itself on my machine, takes the line by line ship-to:'s and writes them into the individual order files in the orders/ directory. Although I would like this information to display in the GUI, I have not had time to pump it in (yet). So I just manually check the orders. We get less than 6 orders a day, so it isn't a difficult thing to look at. Eventually, when we finish educating our shipping people, I will have the entire order with credit card and ship-to:'s get encrypted and e-mailed to the fulfillment person. (but they're still complaining about having to get adjusted to Eudora and the new web insterface for phone orders) Greg Gaskill SysAdmin, Webmaster, Shipping Manager, President, and guy with too many hats and not enough budget. www.miniatureemporium.com From: mheins at redhat.com (Mike Heins ) Date: Sat, 31 Mar 2001 13:09:18 -0500 Subject: [ic] Multiple Ship To's Quoting Webmaster (webmaster@aboron.com): > > > > -----Original Message----- > > From: interchange-users-admin@lists.akopia.com > > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Paul > > Stearns > > Sent: Saturday, March 31, 2001 10:40 AM > > To: interchange-users@lists.akopia.com > > Subject: [ic] Multiple Ship To's > > > > > > In December I had indicated that I would try to rewrite the shipping > > module to handle Multiple Ship To's. > > > > I have been unable to do this, due to a variety of higher priority > > items, both business and personal. > > > > Has anyone else endeavoured to handle Multiple Ship To's? > > > > What I need is the protypical gift shop store where a person might order > > 10 items, either different or the same, which are to be shipped to > > anywhere from 1 to 10 different addresses. > > > > The Construct something Demo is tantalizing in that it allows the entry > > of multiple ship to's but it does nothing with the data. > > > This is not entirely true - the construct demo, as it installed itself > on my machine, takes the line by line ship-to:'s and writes them into the > individual order files in the orders/ directory. Although I would like > this information to display in the GUI, I have not had time to pump it in > (yet). So I just manually check the orders. We get less than 6 orders > a day, so it isn't a difficult thing to look at. > > Eventually, when we finish educating our shipping people, I will have > the entire order with credit card and ship-to:'s get encrypted and > e-mailed to the fulfillment person. (but they're still complaining about > having to get adjusted to Eudora and the new web insterface for phone > orders) > Yes, and foundation in the next version will have a better implementation. But it still will not address what is usually the question, multiple shipping calculations line-by-line. Very possible, but there are a lot of pitfalls to it. Our PSG group has done this on a custom basis, and they might be able to help the original poster with that. To reach sonemone who can help you there, just send email to sales@akopia.com. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Research is what I'm doing when I don't know what I'm doing. -- Wernher Von Braun From: kar at webline.dk (Kaare Rasmussen ) Date: Sat, 31 Mar 2001 20:20:23 +0200 Subject: [ic] Automatic redirect Can't find anything about this. I want to go to another page depending on some internal processing, not caused by user intervention. How do I do that? -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Εben 14.00-18.00 Email: kar@webline.dk 2000 Frederiksberg Lψrdag 11.00-17.00 Web: www.suse.dk From: db at cyclonehq.dnsalias.net (Dan B ) Date: Sat, 31 Mar 2001 10:45:36 -0800 Subject: [ic] Automatic redirect At 08:20 PM 3/31/2001 +0200, you wrote: >Can't find anything about this. > >I want to go to another page depending on some internal processing, not >caused by user intervention. > >How do I do that? [bounce page] Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: db at cyclonehq.dnsalias.net (Dan B ) Date: Sat, 31 Mar 2001 10:48:17 -0800 Subject: [ic] Wish List At 01:13 AM 3/29/2001 -0800, you wrote: >Hello All >Does Interchange have a shopping wish list capability? No pre-cooked wish lists. You could easily create one, though. You could use a second $Cart-> for example and/or save it to a new database. Sounds like a fun job. Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: ary at communicationfactory.com (Young Family ) Date: Fri, 30 Mar 2001 01:09:12 -0800 Subject: [ic] Wish List wow I am humbled. thanks for the pointer ----- Original Message ----- From: <jojo@blackpoint.de> To: <interchange-users@lists.akopia.com> Sent: Saturday, March 31, 2001 11:14 AM Subject: Re: [ic] Wish List > On 29 Mar, Young Family wrote: > > Hello All > > Does Interchange have a shopping wish list capability? > > > > I am looking but not finding.... > > ....but I found it, if your are looking for the solutions like > > http://developer.akopia.com/archive/interchange-users/1999/msg07805.html > > ciao > > Joachim > > -- > -------------<FreeBsd>-------------------------------------------------- > Hans-Joachim Leidinger black point arts Internet Solutions GmbH > email: jojo@blackpoint.de FAX : +49 0209-398265 > http://www.bpaserver.net > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: ary at communicationfactory.com (Young Family ) Date: Fri, 30 Mar 2001 03:11:39 -0800 Subject: [ic] Strange Error.. links revert to 127.0.0.1 (localhost) Hello All I am getting a strange (apparently random ) error where the whole site is working fine and the area hyperlinks work perfect, with links such as http://tahitishop.tahititrader.com/cgi-bin/tahiti/index.html and then suddenly the links become http://127.0.0.1/cgi-bin/tahiti/index.html. Any ideas? Alan Young ary@communicationfactory.com From: ary at communicationfactory.com (Young Family ) Date: Fri, 30 Mar 2001 09:44:11 -0800 Subject: [ic] Editing a template and a paypal question > 1) How do you edit the "welcome to _______, your online hardware store!" = > title in the cell below the logo and links at the top of the page The templates are in the /var/lib/interchange/yourdirectory/templates/regions folder There are several such as LEFTRIGHT_TOP, etc that you must change > 2) Is there a way to incorporate paypal into interchange so that you can = > use it as your billing system? Not done by anybody according to what I have seen come accross the list Alan Young ary@communicationfactory.com ----- Original Message ----- From: "Kellen Weissenbach" <kellen@totalchoicesolutions.com> To: "!Interchange List" <interchange-users@lists.akopia.com> Sent: Sunday, April 01, 2001 3:08 AM Subject: [ic] Editing a template and a paypal question > Hello all, > I setup a catalog using the construct template. I have two questions: > 1) How do you edit the "welcome to _______, your online hardware store!" = > title in the cell below the logo and links at the top of the page? > > 2) Is there a way to incorporate paypal into interchange so that you can = > use it as your billing system? > > > Thanks for your time, > Kellen Weissenbach > Growsearch.com > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: ary at communicationfactory.com (Young Family ) Date: Fri, 30 Mar 2001 12:23:33 -0800 Subject: [ic] Construct Us Demo Colors (Need to convert to a variable) Hi All While I am quite impressed with the Construct Us demo, I am not very pleased with the color scheme. That FF9900 Orange is quite hard on the eyes.. Two questions... 1 . How Can we create a minivend variable that sets the color scheme in one setup file ? Go easy on me I am looking but I havent found that capability yet, maybe I have missed something. 2. Is there some Linux grep command thing that can search all of the html template pages and replace the hard-coded colors with a call to the afore-mentioned minivend variable? Obviously that will not work for the graphics but it will help save some time. Thanks in advance. Alan Young ary@communicationfactory.com From: ary at communicationfactory.com (Young Family ) Date: Fri, 30 Mar 2001 12:45:33 -0800 Subject: [ic] Construct Us Demo Colors (Need to convert to a variable) Ok I looked in the KNAR area and I found a bunch of variables that set up the user interface for the admin control panel. Apparently the Construct Us demo does not use those variables so I must set some up and then Include them in my templates. So I now know that. but....my question still remains >> 2. Is there some Linux grep command thing that can search all > > of the html > > template pages and replace the hard-coded colors with a call to the > > afore-mentioned minivend variable? Obviously that will not > > work for the > > graphics but it will help save some time Alan ----- Original Message ----- From: "Allen Armstrong" <allen@fixitmobile.com> To: <ary@communicationfactory.com> Sent: Sunday, April 01, 2001 12:29 PM Subject: RE: [ic] Construct Us Demo Colors (Need to convert to a variable) > Look in the "knar" found in "administration" area of the backend. > > ttyl, > > Allen Armstrong > > > -----Original Message----- > > From: interchange-users-admin@lists.akopia.com > > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Young > > Family > > Sent: March 30, 2001 12:24 PM > > To: > > Subject: [ic] Construct Us Demo Colors (Need to convert to a variable) > > > > > > Hi All > > > > While I am quite impressed with the Construct Us demo, I am > > not very pleased > > with the color scheme. > > That FF9900 Orange is quite hard on the eyes.. > > > > Two questions... > > 1 . How Can we create a minivend variable that sets the color > > scheme in one > > setup file ? Go easy on me I am looking but I havent found > > that capability > > yet, maybe I have missed something. > > > > 2. Is there some Linux grep command thing that can search all > > of the html > > template pages and replace the hard-coded colors with a call to the > > afore-mentioned minivend variable? Obviously that will not > > work for the > > graphics but it will help save some time. > > > > Thanks in advance. > > Alan Young > > ary@communicationfactory.com > > > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > From: ary at communicationfactory.com (Young Family ) Date: Fri, 30 Mar 2001 13:06:25 -0800 Subject: [ic] > Any Ideas? Yes read the documentation... > Any Ideas? Yes read the documentation... Ok. Please excuse me for not finding the answer in my 1000 page manual I have been poring through for two hours. And by the way the archives at http://lists.akopia.com/mailman/listinfo/interchange-users dont have a search function. I was just stupid and lazy. I should have spent another two hours searching before I finally came to the conclusion that I shouldnt have posted the question. Please forgive me. It was entirely my fault. Alan ----- Original Message ----- From: "John Beima" <jbeima@reality.palb.com> To: <interchange-users@lists.akopia.com> Sent: Sunday, April 01, 2001 12:45 PM Subject: Re: [ic] Strange Error.. links revert to 127.0.0.1 (localhost) > Any Ideas? Yes read the documentation... > > > Quoting Young Family <ary@communicationfactory.com>: > > > Hello All > > > > I am getting a strange (apparently random ) error where the whole site > > is > > working fine and the area hyperlinks work perfect, with links such as > > http://tahitishop.tahititrader.com/cgi-bin/tahiti/index.html and then > > suddenly the links become http://127.0.0.1/cgi-bin/tahiti/index.html. > > > > Any ideas? > > Alan Young > > ary@communicationfactory.com > > > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > John Beima > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: ary at communicationfactory.com (Young Family ) Date: Fri, 30 Mar 2001 13:06:59 -0800 Subject: [ic] Construct Us Demo Colors (Need to convert to a variable) Thank you! ----- Original Message ----- From: "Fraser Campbell" <fraser@starnix.com> To: <interchange-users@lists.akopia.com> Sent: Sunday, April 01, 2001 12:59 PM Subject: Re: [ic] Construct Us Demo Colors (Need to convert to a variable) > "Young Family" <ary@communicationfactory.com> writes: > > > So I now know that. but....my question still remains > > > > >> 2. Is there some Linux grep command thing that can search all > > > > of the html > > > > template pages and replace the hard-coded colors with a call to the > > > > afore-mentioned minivend variable? Obviously that will not > > > > work for the > > > > graphics but it will help save some time > > sed -e 's/FF9900/__IC_COLOR_VAR__/' < orig.file > new.file > mv new.file orig.file > > Wrap something like that into a script that recurses through all your > files/directories. > > ttyl, > -- > Fraser Campbell <fraser@starnix.com> Starnix Inc. > Telephone: (905) 771-0017 Thornhill, Ontario, Canada > http://www.starnix.com/ Professional Linux Services & Products > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: ary at communicationfactory.com (Young Family ) Date: Fri, 30 Mar 2001 22:46:31 -0800 Subject: [ic] Beima's Response! Hello All I started this, I will just add one more set of comments and then I am done. I think it may be easy for some people to forget how intimidating this system is to a first time user. I am not disputing its power, but I would not even have attempted to use this system unless I knew that there was some sort of listserv to support questions. For the record, I just went through the entire PDF library at http://developer.akopia.com/cgi-bin/ic/dev/index.html searching for 127.0.0.1 (which was the topic of my original question) and I found ONE reference , referring to the host at which interchange will be listening.(It was NOT pertinent to my question). Summation: My answer was NOT in the manual. In fact, that is why I joined the list, I thought/hoped there would be receptivity to questions. The preponderance of your comments today all confirm to me that on the whole this is a group of people who seem to have not minded my asking the original question. Plus I learned a new place to search for answers. The footer > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users that comes with each mail that goes out to this list was NOT helpful to me, since it pointed me to a link that does NOT have searchability. Maybe the owner of the list could change that footer to add a pointer to the search engine archive link. http://developer.akopia.com/archive/interchange-users/ which I have now searched after someone kindly pointed it out to me, and my answer was about the 8th listing down. I sincerely do not want to waste people's valuable time, I sincerely DO RTFM, and I will now know to search the archives, and I thank you all for the help I have received so far. Please forgive any trouble I may have caused. I promise that once I am up to speed I will try and give something back. I am trying to add several features to my own "Construct Us" site that seem to be necessary for me.. 1) XML export to my accounting server 2) My own Interchange based guest book 3) My own Interchange "Links Page" 4) A FAQ database 5) A wish list My hope is to be able to work on these and then contribute them back when they are functional. I am not in a position to do that yet since I am still on the climbing side of the learning curve. Alan Young ary@communicationfactory.com ----- Original Message ----- From: "Guy Soudant" <guy.soudant@soudant.net> To: <interchange-users@lists.akopia.com> Sent: Sunday, April 01, 2001 10:04 PM Subject: Re: [ic] Beima's Response! > Hi, > > I would like to comment on the fact that you call newbie questions dumb > questions. Dumb questions are questions that are not asked. I agree that > some people might want to search the archives better, but some questions > seem to be simple to answer, but in the end are rather complex problems > which cannot be solved by the community of this mailing list. > > Regards > > Guy Soudant > -------------------------------------------------------- > You can mail messages with large attachements to guy@soudant.net during > the hours: 9 am and 22 pm. Do not use this mail address outside of these > hours. Use soudant@home.nl in stead. > > u kunt mailtjes met grote bestanden mailen naar guy@soudant.net tussen 9 > uur en 22 uur. Gebruik dit e-mail adres niet buiten deze uren. Gebruik > soudant@home.nl buiten deze uren. > > > -----Original Message----- > From: Dan B <db@cyclonehq.dnsalias.net> > To: interchange-users@lists.akopia.com > Date: Sun, 01 Apr 2001 22:34:30 -0800 > Subject: Re: [ic] Beima's Response! > > > What is this list for? > > > > Community. > > > > In my opinion, that little word can mean a lot. For those of you that > > feel > > annoyed by the sheer volume of newbies asking the same question over > > and > > over again, or one that is answered in the docs: would you prefer it > > if > > you were the only user on the list? Or only 10? 20? Interchange has > > at > > least tens of thousands of users. We are bound to get all kinds of > > dumb > > questions (I'm renowned for asking them). > > > > But there is so much value in all of those users, that to me it is > > worth it > > to answer their questions and try to help them get through the > > documentation. I find a lot of value in Interchange comes from the > > community. And community starts with newbies. You never know when a > > newbie that doesn't understand the documentation will become the next > > Stefan Hornburg, or contributes a new usertag for a financial service, > > or a > > patch that allows application-level database clustering, for example > > (I'm > > working on it ;^). > > > > I think that too many are applying the stereotype of "too lazy to read > > the > > documentation" when really it's, "too hard to _understand_ the > > documentation". In fact, when I started, it was hard to know HOW to > > search > > the documentation/mailing list. I didn't know about "grep -r", and the > > google search. I was hungry, but didn't know how to fish. > > > > That is why, now, I *try* to answer every question I can, even though > > I'm > > usually not very good :-). Because I'm trying to build the > > community. Frankly, I do it because I'm selfish. Because I receive a > > lot > > of value when the community is strong; the environmental diversity > > increases Interchange's technical value much more, more diverse ideas > > are > > shared, etc. To me, it is the equivalent of sitting in an office at > > Oracle > > doing development on 10i. We are the ones who can download the CVS and > > contribute straight back into the source. So I'm going to do what I > > can to > > help the new intern, even if "what I can" isn't much. > > > > I think that Red Hat (Akopia) realizes that there is value in > > demo-specific > > documentation (the "engine manual") in addition to the general > > interchange > > documentation (the "combustion theory"). For example, Jon Jenson > > mentioned: > > http://lists.akopia.com/pipermail/interchange-users/2001-February/00499 > > 1.html > > ----------------------------------------------------------------------- > > --------- > > On Thu, 22 Feb 2001, Bob Puff@NLE wrote: > > > Is there any doc file on the Construct demo itself, telling how / > > > where things are? There seems to be a ton of stuff in there. > > > > There's plenty of useful stuff throughout the other docs, but nothing > > specific on the demo yet. We plan to have separate documentation for > > the > > demo for the 4.8 release. Sorry! > > ----------------------------------------------------------------------- > > ---------- > > Basically, I think we all have high goals for Interchange. It's too > > bad > > that right now we don't have the holy grail of documentation. But > > instead > > of spending hours flaming about how many newbies don't read/understand > > the > > docs (inluding me) and what to do about it, why doesn't someone _do_ > > something about it? > > > > Aren't there some experts out there that can run circles around > > "construct" > > demo? What if the said experts took the time to contribute to the > > docs? E.g., "Gee mike, I got sick of people asking how to send out > > email > > confirmations, so I wrote down the 1-2-3 and A-B-C baby steps of how it > > is > > done in Construct". > > > > Unfortunately, most people don't spontaneously write metric tons of > > documentation. But there are so many unique individuals on this list > > that > > I would wouldn't put it past the community. > > > > My hope in writing to you all is that we can get back to encouraging > > and > > helping, rather than tearing down. Give a man a fish and he will eat > > for a > > day. Teach a man to fish and he will eat for a lifetime. Are we > > teaching > > newbies how to find out what they want to find out? "grep -r" and the > > mailing list URL's are posted often, that is examples of teaching to > > fish. So is giving a URL to the location in the docs, or to a given > > mail > > archive. In fact, even mentioning "search for terms XYZ and ABC" is > > still > > "teaching to fish". > > > > And by the very definition of doing that, we will weed out the lazy > > ones > > who don't want to learn it (i.e. just want their fish handout). And we > > avoid the alternative of earnest users who want to learn to fish but > > can't > > because no one teaches them. > > > > For each newbie or repeat question, here is what I try to do (often I > > fail): > > - recommend search terms to use on a search that will result > > in > > the answer > > - recommend a chapter / section in the docs > > - recommend a resource outside of interchange (unix for > > dummies, etc.) > > - link to a specific doc section > > - link to post from mailing list archive (very illuminating) > > - explain HOW to search for information (grep -r usage, > > google) > > - real time documentation (for undocumented, unexplored > > topics, or > > opportunities to pontificate, like now). > > > > Doing the above takes a *little* more time than "RTFM". But sometimes > > "RTFM" doesn't equate with the steps above, and the value that the > > community will recieve by attempting to be a little more recieving can > > be > > unexpectedly large. CFM and others already do this very well. In > > fact, I > > have recommended that the mailing list be setup to reply to every *new* > > user post (i.e. the first post you write, but not thereafter) with a > > message that outlines all the resources for searching for the answer to > > your problem. > > > > In conclusion, I think that if we all have a more helpful attitude, > > then we > > will add to the ranks of people who use/understand interchange, > > including > > the amount of people who write patches. It's too bad that we don't > > have > > more "core" developers now, but we can all help to get more people to > > that > > point. (I, for one, am striving to get there). > > > > Well, now that I have won the "most kilobytes wasted in a single > > e-mail" > > award, I'm going to retire to my iml programming. Thanks for > > listening, > > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users >