[ic] remove

webmaster webmaster@jizang.com
Sun, 29 Oct 2000 00:04:55 -0400


remove

-----Original Message-----
From: interchange-users-admin@minivend.com
[mailto:interchange-users-admin@minivend.com]
Sent: Saturday, October 28, 2000 7:18 PM
To: interchange-users@minivend.com
Subject: Interchange-users digest, Vol 1 #83 - 16 msgs



Send Interchange-users mailing list submissions to
	interchange-users@www.minivend.com

To subscribe or unsubscribe via the web, visit
	http://www.minivend.com/mailman/listinfo/interchange-users
or, via email, send a message with subject or body 'help' to
	interchange-users-request@www.minivend.com
You can reach the person managing the list at
	interchange-users-admin@www.minivend.com

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Interchange-users digest..."


Today's Topics:

  1. Install/configure problem - error in MakeFile.PL?? (M Ven)
  2. Re: Install/configure problem - error in MakeFile.PL?? (Jon Jensen)
  3. BGCOLORS (Steve & Patti Getzinger)
  4. Nested-IFS and Inner-IFS keep breaking (Houman Akhavan)
  5. RE: How can I construct a full URL (Cameron B. Prince)
  6. Re: Install/configure problem - error in MakeFile.PL?? (David Wilson)
  7. Re: Nested-IFS and Inner-IFS keep breaking (Stefan Hornburg)
  8. Re: Nested-IFS and Inner-IFS keep breaking (Viktors Rotanovs)
  9. Re: Nested-IFS and Inner-IFS keep breaking (Viktors Rotanovs)
  10. Re: How can I construct a full URL (Viktors Rotanovs)
  11. Re: Nested-IFS and Inner-IFS keep breaking (Stefan Hornburg)
  12. Re: Nested-IFS and Inner-IFS keep breaking (John Beima)
  13. Re: Nested-IFS and Inner-IFS keep breaking (John Beima)
  14. Nested-IFS and Inner-IFS keep breaking (Houman Akhavan)
  15. Re: BGCOLORS (Steve & Patti Getzinger)
  16. Akopia works for about 3 minutes, then the interchange server quits
(VHS Admin)

--__--__--

Message: 1
From: "M Ven" <bk295@scn.org>
To: interchange-users@minivend.com
Date: Fri, 27 Oct 2000 17:53:15 -0700
Reply-to: bk295@scn.org
Subject: [ic] Install/configure problem - error in MakeFile.PL??
Reply-To: interchange-users@www.minivend.com

I am trying to install interchange 4.6.0 in my server (Redhad 5.1
system).

When I run ./configure, I get the following message:

Found Perl 5.00404 as /usr/bin/perl
(No CPAN error messages displayed)

Syntax error at MakeFile.PL line 508 near ") for "
BEGIN not safe after errors - compilation aborted at MakeFile.PL
line 741
make: *** No targets - stop
make: *** No rule to make target 'test' - stop.

I also had the same problems while trying 4.5.7 as well.
The system runs perl 5, Apache.
(used the tarball with the command tar -zxvf interchange-
4.6.0.tar.gz to get the source)

Any suggestions to try?

Thanks in advance.

mV

--__--__--

Message: 2
Date: Fri, 27 Oct 2000 20:18:56 -0500 (CDT)
From: Jon Jensen <jon@akopia.com>
To: M Ven <bk295@scn.org>
cc: interchange-users@minivend.com
Subject: Re: [ic] Install/configure problem - error in MakeFile.PL??
Reply-To: interchange-users@www.minivend.com

On Fri, 27 Oct 2000, M Ven wrote:

> I am trying to install interchange 4.6.0 in my server (Redhad 5.1
> system).
>
> When I run ./configure, I get the following message:
>
> Found Perl 5.00404 as /usr/bin/perl
> (No CPAN error messages displayed)

Interchange requires Perl 5.005 or newer.

Jon


--__--__--

Message: 3
Date: Fri, 27 Oct 2000 21:08:04 -0500
From: Steve & Patti Getzinger <steveandpatti@wubs.org>
Organization: Interfaith Christian Union, Inc. / WUBS 89.7 FM
To: interchange-users@minivend.com
Subject: [ic] BGCOLORS
Reply-To: interchange-users@www.minivend.com

Ok this is going to sound absurd but does anyone know where white and
pink are that show up in the drop down menu on page edit for index? 4.6
Yep I've looked and see no hints anywhere.

Steve

=========================================================
  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)
=========================================================



--__--__--

Message: 4
From: "Houman Akhavan" <houman@edigitalweb.com>
To: <interchange-users@minivend.com>
Date: Fri, 27 Oct 2000 21:16:09 -0700
charset="iso-8859-1"
Subject: [ic] Nested-IFS and Inner-IFS keep breaking
Reply-To: interchange-users@www.minivend.com

The following is a search page which is running on Interchange v4.5.6. After
the third nested if this breaks. I have tested it as a single nested if and
it works. I am just checking to see if my syntax is incorrect for the
if-statement. The Construct store really doesn't have any nested-ifs in its
pages, and the docs don't say much about them either.  Also, it breaks when
you use logical operators more than once, such as [AND ...] and [OR ...].

btw, congratulations on the 4.6 release!

Thanks,
Houman

These values are sent to the search page:

<FORM action=[area search] name=search_form method=GET>

<INPUT TYPE=hidden NAME=mv_search_map VALUE="
mv_searchspec=make
mv_searchspec=model
mv_searchspec=year
">
<INPUT TYPE=hidden NAME=mv_search_field VALUE=make>
<INPUT TYPE=hidden NAME=mv_search_field VALUE=model>
<INPUT TYPE=hidden NAME=mv_search_field VALUE=year>
<INPUT TYPE=hidden NAME=make VALUE="HONDA">
<INPUT TYPE=hidden NAME=model VALUE="CIVIC">
<INPUT TYPE=hidden NAME=year VALUE="1990">
<INPUT TYPE=hidden NAME=mv_coordinate VALUE=1>
<INPUT TYPE=hidden NAME=mv_search_page VALUE=search_mirrors>

<INPUT BORDER=0 NAME="mv_submit" VALUE="Submit" TYPE=submit>

</TD></TR></FORM></TABLE>



Page Contents:

[if value make eq "Make"]
        [if value model eq "Model"]
              [if value year eq "Years"]
                   <br>select make you haven't select anything<br>
              [else]
                   year
              [/else]
              [/if]
         [else]
              model
         [/else]
         [/if]

[elsif value model eq "Models"]
            HONDA
[/elsif]

[elsif value models eq "Years"]
            HONDA,CIVIC
[/elsif]

[else]
            HONDA,CIVIC,1990
[/else]
[/if]

Resulting Output:
CIVIC

1990
year [/else] [/if] [else] model [/else] [/if] [elsif value search2 eq "All
Models"] make [/elsif] [elsif value search3 eq "All Models"] make,model
[/elsif] [else] make,model,year



--__--__--

Message: 5
Reply-To: <cameron@akopia.com>
From: "Cameron B. Prince" <cameron@akopia.com>
To: <interchange-users@minivend.com>
Subject: RE: [ic] How can I construct a full URL
Date: Sat, 28 Oct 2000 01:17:30 -0500
charset="us-ascii"
Reply-To: interchange-users@www.minivend.com

To create a url for passing the session, you'd append it to the url like:

http://www.domain.com/cgi-bin/catalog/success.html?id=dfERsetdf

So you could pass the session id to pocket pass with [data session id]. The
url they redirected to would need this appended on the url as above. You
could possibly pass the amount back as well and setup Interchange so that it
does a compare of the amount to the order total for that particular session,
and error out if they are different.

My question is where do you plan to submit the post that refers to
pocketpass?

If you post to pocketpass vs. interchange on the checkout page, you will
loose any new or updated values.

If you do it on Interchange's receipt page, after the sale, you will have to
rely on the honesty of the users. They may have the possibility of mimicking
a proper hit to the success page and even passing the proper url back to
Interchange, bypassing pocketpass. This is if you have something reading
their return and marking the orders paid.

This may not be an issue if pocketpass has the ability to send a
notification email. I mean you would know not to complete an order if you
didn't get an email from Interchange and Pocketpass.

Also, what if pocketpass denies them? Then the sale would be stored and
marked as a pending order in Interchange. I guess the failpage could remove
the order and decrement the counter.

The security is all that concerns me with this. I mean you will be putting a
lot of dependance on the arguments passed back in the url... Example, user
is just messing around and he gets the fail page. What if he changes the
session id in the url to another active session and refreshes?

Let us know how it goes,

Cameron




Cameron



-----Original Message-----
From: interchange-users-admin@minivend.com
[mailto:interchange-users-admin@minivend.com]On Behalf Of Khai Doan
Sent: Friday, October 27, 2000 7:01 PM
To: interchange-users@minivend.com
Subject: [ic] How can I construct a full URL


Hi Cameron,

What I am trying to do is to construct a full URL for the success/failure
pages with sessionid embedded, and pass on to Pocketpass payment CGI
script.  Pocketpass payment CGI can redirect to success/fail page upon
successful/fail authorization from the customer.  If the customer is
redirected to a success page, then I need to save his order, and print the
receipt.  If he is redirected to a failure page, then I need to allow him
to choose different payment options.  Within the success page, I might have
to understand parameters that are pass back by the Pocketpass CGI.

Any hints on how I can accomplish all these?

(As I understand, Interchange can support visitors that have cookie
DISABLED browser, by constructing a full URL.  How do I construct a full
URL before hand?).

Khai


_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users


--__--__--

Message: 6
From: David Wilson <david@wwns.com>
Subject: Re: [ic] Install/configure problem - error in MakeFile.PL??
To: interchange-users@minivend.com
Date: Sat, 28 Oct 2000 02:39:01 -0500 (CDT)
Reply-To: interchange-users@www.minivend.com

Just a bit of advice,

I would highly recommend upgrading anyway.  There are a number of things
that need to be updated in 5.1.  I would not want to even think about
it.  I would recommend 6.2 or RH 7.0 (and do the update RPMs if
you choose 6.2)

Dave

Jon Jensen wrote...
>
> On Fri, 27 Oct 2000, M Ven wrote:
>
> > I am trying to install interchange 4.6.0 in my server (Redhad 5.1
> > system).
> >
> > When I run ./configure, I get the following message:
> >
> > Found Perl 5.00404 as /usr/bin/perl
> > (No CPAN error messages displayed)
>
> Interchange requires Perl 5.005 or newer.
>
> Jon
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@www.minivend.com
> http://www.minivend.com/mailman/listinfo/interchange-users
>


--
David R. Wilson
World Wide Network Services
Nashville, Tennessee USA
david@wwns.com



--__--__--

Message: 7
To: interchange-users@minivend.com
Subject: Re: [ic] Nested-IFS and Inner-IFS keep breaking
From: Stefan Hornburg <racke@linuxia.de>
Date: 28 Oct 2000 09:40:30 +0200
Reply-To: interchange-users@www.minivend.com

"Houman Akhavan" <houman@edigitalweb.com> writes:

> The following is a search page which is running on Interchange v4.5.6.
After
> the third nested if this breaks. I have tested it as a single nested if
and
> it works. I am just checking to see if my syntax is incorrect for the
> if-statement. The Construct store really doesn't have any nested-ifs in
its
> pages, and the docs don't say much about them either.  Also, it breaks
when
> you use logical operators more than once, such as [AND ...] and [OR ...].

[...]

>
> Page Contents:
>
> [if value make eq "Make"]
>         [if value model eq "Model"]
>               [if value year eq "Years"]
>                    <br>select make you haven't select anything<br>
>               [else]
>                    year
>               [/else]
>               [/if]
>          [else]
>               model
>          [/else]
>          [/if]

First, for nested ifs you are better off with the addition of [then],
but I suggest to use embedded Perl for sth like that.

Ciao
        Racke

--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---

--__--__--

Message: 8
From: Viktors Rotanovs <Viktors@Rotanovs.com>
Date: Sat, 28 Oct 2000 12:04:26 +0200
charset="iso-8859-1"
To: interchange-users@minivend.com
Subject: Re: [ic] Nested-IFS and Inner-IFS keep breaking
Reply-To: interchange-users@www.minivend.com

Hi,

this is old problem, and it exists even in Minivend. For complex
pages it's sometimes better to use usertags, they increase
readibility too. Or use embedded perl code.

By the way, [if]s are slow.

On Saturday 28 October 2000 12:02, you wrote:
> The following is a search page which is running on Interchange v4.5.6.
> After the third nested if this breaks. I have tested it as a single nested
> if and it works. I am just checking to see if my syntax is incorrect for
> the if-statement. The Construct store really doesn't have any nested-ifs
in
> its pages, and the docs don't say much about them either.  Also, it breaks
> when you use logical operators more than once, such as [AND ...] and [OR
> ...].
>
> btw, congratulations on the 4.6 release!
>
> Thanks,
> Houman
>
> These values are sent to the search page:
>
> <FORM action=[area search] name=search_form method=GET>
>
> <INPUT TYPE=hidden NAME=mv_search_map VALUE="
> mv_searchspec=make
> mv_searchspec=model
> mv_searchspec=year
> ">
> <INPUT TYPE=hidden NAME=mv_search_field VALUE=make>
> <INPUT TYPE=hidden NAME=mv_search_field VALUE=model>
> <INPUT TYPE=hidden NAME=mv_search_field VALUE=year>
> <INPUT TYPE=hidden NAME=make VALUE="HONDA">
> <INPUT TYPE=hidden NAME=model VALUE="CIVIC">
> <INPUT TYPE=hidden NAME=year VALUE="1990">
> <INPUT TYPE=hidden NAME=mv_coordinate VALUE=1>
> <INPUT TYPE=hidden NAME=mv_search_page VALUE=search_mirrors>
>
> <INPUT BORDER=0 NAME="mv_submit" VALUE="Submit" TYPE=submit>
>
> </TD></TR></FORM></TABLE>
>
>
>
> Page Contents:
>
> [if value make eq "Make"]
>         [if value model eq "Model"]
>               [if value year eq "Years"]
>                    <br>select make you haven't select anything<br>
>               [else]
>                    year
>               [/else]
>               [/if]
>          [else]
>               model
>          [/else]
>          [/if]
>
> [elsif value model eq "Models"]
>             HONDA
> [/elsif]
>
> [elsif value models eq "Years"]
>             HONDA,CIVIC
> [/elsif]
>
> [else]
>             HONDA,CIVIC,1990
> [/else]
> [/if]
>
> Resulting Output:
> CIVIC
>
> 1990
> year [/else] [/if] [else] model [/else] [/if] [elsif value search2 eq "All
> Models"] make [/elsif] [elsif value search3 eq "All Models"] make,model
> [/elsif] [else] make,model,year
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@www.minivend.com
> http://www.minivend.com/mailman/listinfo/interchange-users

--
Best Wishes,
Viktors Rotanovs
I create websites that attract more clients. http://riga.nu/
Riga Latvia +371, Phone/Fax 7377-472, GSM 9173-000

--__--__--

Message: 9
From: Viktors Rotanovs <Viktors@Rotanovs.com>
Date: Sat, 28 Oct 2000 12:05:36 +0200
charset="iso-8859-1"
To: interchange-users@minivend.com
Subject: Re: [ic] Nested-IFS and Inner-IFS keep breaking
Reply-To: interchange-users@www.minivend.com

Hi,

I had cases when even [then] didn't help.

On Saturday 28 October 2000 12:04, you wrote:
> "Houman Akhavan" <houman@edigitalweb.com> writes:
> > The following is a search page which is running on Interchange v4.5.6.
> > After the third nested if this breaks. I have tested it as a single
> > nested if and it works. I am just checking to see if my syntax is
> > incorrect for the if-statement. The Construct store really doesn't have
> > any nested-ifs in its pages, and the docs don't say much about them
> > either.  Also, it breaks when you use logical operators more than once,
> > such as [AND ...] and [OR ...].
>
> [...]
>
> > Page Contents:
> >
> > [if value make eq "Make"]
> >         [if value model eq "Model"]
> >               [if value year eq "Years"]
> >                    <br>select make you haven't select anything<br>
> >               [else]
> >                    year
> >               [/else]
> >               [/if]
> >          [else]
> >               model
> >          [/else]
> >          [/if]
>
> First, for nested ifs you are better off with the addition of [then],
> but I suggest to use embedded Perl for sth like that.
>
> Ciao
>         Racke

--
Best Wishes,
Viktors Rotanovs
I create websites that attract more clients. http://riga.nu/
Riga Latvia +371, Phone/Fax 7377-472, GSM 9173-000

--__--__--

Message: 10
From: Viktors Rotanovs <Viktors@Rotanovs.com>
Date: Sat, 28 Oct 2000 12:08:56 +0200
charset="us-ascii"
To: interchange-users@minivend.com
Subject: Re: [ic] How can I construct a full URL
Reply-To: interchange-users@www.minivend.com

Hi,

first, look at mailing list archives with topic about
"Banca Sella", their scheme is very similar.
I implemented Banca Sella stuff myself, but I had to
deal with lost session - I had to restore session manually
from database, with OrderID passed from Banca Sella
as the key.

On Saturday 28 October 2000 12:07, you wrote:
> Dear list,
>
> I am working on integrating Interchange with Pocketpass payment
> system.  Pocketpass payment system require that Interchange redirect the
> shoppers to a special page hosted on Pocketpass server where shopper can
> enter his username and password to authorize the payment.  After the user
> authorize the payment, Pocketpass server will redirect the shoppers to a
> success/failure page.
>
> How can I construct a full URL for the success or failure page?
>
> Also,  Pocketpass need to pass some information back to Interchange.  How
> can I access these information?
>
> Any help on these matter would be greatly appreciated.
>
> Thanks
>
> Khai Doan
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@www.minivend.com
> http://www.minivend.com/mailman/listinfo/interchange-users

--
Best Wishes,
Viktors Rotanovs
I create websites that attract more clients. http://riga.nu/
Riga Latvia +371, Phone/Fax 7377-472, GSM 9173-000

--__--__--

Message: 11
To: interchange-users@minivend.com
Subject: Re: [ic] Nested-IFS and Inner-IFS keep breaking
From: Stefan Hornburg <racke@linuxia.de>
Date: 28 Oct 2000 12:14:02 +0200
Reply-To: interchange-users@www.minivend.com

Viktors Rotanovs <Viktors@Rotanovs.com> writes:

> Hi,
>
> I had cases when even [then] didn't help.

I too, but there are cases where it helps. Complex conditions
with IC tags are not a good idea anyway as you pointed out.

Bye
        Racke

--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---

--__--__--

Message: 12
From: John Beima <jbeima@reality.palb.com>
To: interchange-users@minivend.com
Subject: Re: [ic] Nested-IFS and Inner-IFS keep breaking
Date: Sat, 28 Oct 2000 06:16:04 -0600 (MDT)
Reply-To: interchange-users@www.minivend.com

> <FORM action=[area search] name=search_form method=GET>
>
> <INPUT TYPE=hidden NAME=mv_search_map VALUE="
> mv_searchspec=make
> mv_searchspec=model
> mv_searchspec=year
> ">
> <INPUT TYPE=hidden NAME=mv_search_field VALUE=make>
> <INPUT TYPE=hidden NAME=mv_search_field VALUE=model>
> <INPUT TYPE=hidden NAME=mv_search_field VALUE=year>
> <INPUT TYPE=hidden NAME=make VALUE="HONDA">
> <INPUT TYPE=hidden NAME=model VALUE="CIVIC">
> <INPUT TYPE=hidden NAME=year VALUE="1990">
> <INPUT TYPE=hidden NAME=mv_coordinate VALUE=1>
> <INPUT TYPE=hidden NAME=mv_search_page VALUE=search_mirrors>
>
> <INPUT BORDER=0 NAME="mv_submit" VALUE="Submit" TYPE=submit>
>
> </TD></TR></FORM></TABLE>

You can actually try several approaches to this....

First I find the syntax you use rarely reliably works...

If you use the syntax:

[if type="value" term="make" op="eq" compare="Make"]
[if type="value" term="model" op="eq" compare="Model"]
[and type="value" term="year" op="eq" compare="Years"]
<br>select make you haven't select anything<br>
[/if]
[if type="value" term="model" op="eq" compare="Model"]
[and type="value" term="year" op="ne" compare="Years"]
Year
[/if]
[if type="value" term="model" op="ne" compare="Model"]
[and type="value" term="year" op="eq" compare="Years"]
Model
[/if]
[if type="value" term="model" op="ne" compare="Model"]
[and type="value" term="year" op="ne" compare="Years"]
Model & Year
[/if]
[/if]

[if type="value" term="make" op="ne" compare="Make"]
[if type="value" term="model" op="eq" compare="Model"]
[and type="value" term="year" op="eq" compare="Years"]
Make
[/if]
[if type="value" term="model" op="eq" compare="Model"]
[and type="value" term="year" op="ne" compare="Years"]
Make & Year
[/if]
[if type="value" term="model" op="ne" compare="Model"]
[and type="value" term="year" op="eq" compare="Years"]
Make & Model
[/if]
[if type="value" term="model" op="ne" compare="Model"]
[and type="value" term="year" op="ne" compare="Years"]
Make, Model, & Year
[/if]
[/if]

That should work for you... The other thing I would try is since you are
calling
this page from a from your type might have to be type="cgi"...

Also you have a type in your code below... On the else if statement just
above
the HONDA,CIVIC line, you have mistyped you variable name... That can cause
what
you have done below...

> [if value make eq "Make"]
>         [if value model eq "Model"]
>               [if value year eq "Years"]
>                    <br>select make you haven't select anything<br>
>               [else]
>                    year
>               [/else]
>               [/if]
>          [else]
>               model
>          [/else]
>          [/if]
>
> [elsif value model eq "Models"]
>             HONDA
> [/elsif]
>
> [elsif value models eq "Years"]
>             HONDA,CIVIC
> [/elsif]
>
> [else]
>             HONDA,CIVIC,1990
> [/else]
> [/if]
>
> Resulting Output:
> CIVIC
>
> 1990
> year [/else] [/if] [else] model [/else] [/if] [elsif value search2 eq
> "All
> Models"] make [/elsif] [elsif value search3 eq "All Models"] make,model
> [/elsif] [else] make,model,year
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@www.minivend.com
> http://www.minivend.com/mailman/listinfo/interchange-users
>


John Beima
jbeima@palb.com

P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6

--__--__--

Message: 13
From: John Beima <jbeima@reality.palb.com>
To: interchange-users@minivend.com
Subject: Re: [ic] Nested-IFS and Inner-IFS keep breaking
Date: Sat, 28 Oct 2000 06:29:07 -0600 (MDT)
Reply-To: interchange-users@www.minivend.com

A far simplier way would be to use a scratch variable...

First off, if there is nother selected have the search field be empty...

Then do this....

[set result][/set]

[if value model]
[seti result][value model][/seti]
[/if]
[if value make]
[and scratch result]
[seti result][scratch reslut], [value make][/seti]
[else]
[seti result][value make][/seti]
[/else]
[/if]
[if value year]
[and scratch result]
[seti result][scratch reslut], & [value year][/seti]
[else]
[seti result][value year][/seti]
[/else]
[/if]

[if scratch result]
[scratch result]
[else]
<P>
You have selected nothing!
</P>
[/else]
[/if]

[set result][/set]

That should be MUCH faster.


John Beima
jbeima@palb.com

P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6

--__--__--

Message: 14
From: "Houman Akhavan" <houman@edigitalweb.com>
To: <interchange-users@minivend.com>
Date: Sat, 28 Oct 2000 11:03:57 -0700
charset="iso-8859-1"
Subject: [ic] Nested-IFS and Inner-IFS keep breaking
Reply-To: interchange-users@www.minivend.com

Thank you all for the prompt response. Since posting my initial request for
help I was able to get the following [IF] statements to work, I had to
implement the logic through several [IF] statements . But after reading the
negative feedback about using the [IF] tag in terms of speed and flexibility
I am considering re-writing this in embedded perl or [User Tags] which I
will have to do some reading on. Here is the code. Let me know what you
think....

[if value make eq "Select Make"]
    [if value model eq "Select Model"]
        [if value year eq "All Years"]
            <br>select make you haven't select anything<br>
        [/if]
    [/if]

[elsif value model eq "All Models"]
    <font size=4 color=orange><b>MAKE</b></font>

    [loop search="
     ra=yes
     st=db
     sq=select * from parts where make = '[value make]'
     ml=1000
    "]
               row: [loop-data parts row],
               partno: [loop-data parts partno],
               make: [loop-data parts make],
               model: [loop-data parts model],
               year: [loop-data parts year].<br>
    [/loop]
[/elsif]

[elsif value year eq "All Models"]

    <font color=red size=4><b>MAKE,MODEL</font></b>

    [loop search="
     ra=yes
     st=db
     sq=select * from parts where make = '[value make]' and model = '[value
model]'
     ml=1000
    "]
               row: [loop-data parts row],
               partno: [loop-data parts partno],
               make: [loop-data parts make],
               model: [loop-data parts model],
               year: [loop-data parts year].<br>

    [/loop]

[/elsif]

[else]

    <font size=4 color=purple><b>MAKE,MODEL,YEAR</b></font>

    [loop search="
     ra=yes
     st=db
     sq=select * from parts where make = '[value make]' and model = '[value
model]' and year =         '[value year]'
     ml=1000
    "]
               row: [loop-data parts row],
               partno: [loop-data parts partno],
               make: [loop-data parts make],
               model: [loop-data parts model],
               year: [loop-data parts year].<br>
    [/loop]

[/else]

[/if]

[if value make eq "Select Make"]
    [if value model eq "All Model"]
        [if value year ne "All Years"]
            year
        [/if]
    [/if]
[/if]

[if value make eq "Select Make"]
    [if value year eq "All Years"]
        [if value model ne "All Model"]
            model
        [/if]
    [/if]
[/if]
________________________________________
Houman A.


--__--__--

Message: 15
Date: Sat, 28 Oct 2000 17:30:19 -0500
From: Steve & Patti Getzinger <steveandpatti@wubs.org>
Organization: Interfaith Christian Union, Inc. / WUBS 89.7 FM
To: interchange-users@minivend.com
Subject: Re: [ic] BGCOLORS
Reply-To: interchange-users@www.minivend.com

  Found them. Just needed a little more work with my friends cat and grep.
So far so
good.

Steve

=========================================================
  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)
=========================================================



--__--__--

Message: 16
Reply-To: "VHS Admin" <admin@virtualhostingsolutions.com>
From: "VHS Admin" <admin@virtualhostingsolutions.com>
To: <interchange-users@minivend.com>
Date: Sat, 28 Oct 2000 18:15:35 -0500
Organization: Virtual Hosting Solutions
charset="iso-8859-1"
Subject: [ic] Akopia works for about 3 minutes, then the interchange server
quits
Reply-To: interchange-users@www.minivend.com

Hello,
I have some basic knowledge of UNIX.  We are using a Linux Redhat 6.1 server
with Apache 1.3.4.  I installed the Interchange software without to much
hassle.  I had to install it as the root user, then I switched to one of the
virtual domains for the catalog setup.

I have checked the permissions as the documentation suggests.  I have tried
everything, but can not get the software to run for more than 3-4 minutes.
Everything works perfectly, then it just quits.  I have to go in and restart
the interchange server.

I would be grateful if anyone has any ideas on what I could try to stabilize
the software and get it to run.  I am also open to paying a consultant if it
would be necessary.

I have looked at several shopping cart packages out there and I will have to
say that Akopia seems to be the best that I have seen.  Thank you in advance
for your help.


David Beckham
CEO/Co-Founder
Virtual Hosting Solutions, LLC
www.virtualhostingsolutions.com
Web Beat Internet Technologies
Web Beat E-Commerce Solutions
www.webbeat.com

Local Phone: 850-934-1536
Toll Free:      866-VHS-HOST
Fax:              208-293-6066




--__--__--

_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users


End of Interchange-users Digest