[ic] upgrade from 4.6 to 4.8.3 wierd problem

Ed LaFrance interchange-users@interchange.redhat.com
Tue Dec 4 12:29:01 2001


At 08:47 AM 12/04/2001 -0600, you wrote:
>Does nobody have a clue what the problem could be or did this message
>not make it out to the list?
>
>I don't want to take out 4.8.3 and put 4.6 back in but that one works.
>
>Thanks.
>
>jaime
>
>On Sun, Dec 02, 2001 at 07:49:31PM -0600, Interchange Admin wrote:
> > I am in the process of moving my store to a faster computer and Internet
> > connection and thought it would be a good time to upgrade from Interchange
> > 4.6 to 4.8.3.  I had some strange problems going to 4.8.anything in the
> > past and cancelled the upgrade.  I hoped that this newest version would
> > not have the wierd problems.  It does.
> >
> > The problem is that Interchange will not recognize and go to the second
> > (and third, I suppose) checkout page.

I think I ran across this, but didn't investigate much.  Something has 
changed in the handling of order profiles in 4.8 vs. 4.6, and consequently 
this &set is ignored in some (if not all) circumstances:

&set = mv_successpage mypagename

Remove it from your profile and set it with an hidden form input or within 
an mv_click block on the calling page instead:

<input type=hidden name=mv_successpage value=checkout2>

-- or --

<input type=submit name=mv_click value=Continue>

[set Continue]
         mv_successpage=checkout2
         mv_todo=submit
[/set]

- Ed L.






>  It works perfectly on 4.6.
> > On 4.8.x I get "page not found".  Either something in Interchange is
> > broken or I am lucky it worked in 4.6.
> >
> > Any help would be much appreciated!
> >
> > interchange-4.6.5-1.rh6 perl-5.00503-10 RedHat 7.2
> >
> > Here are the relevent portions of the suspect files:
> >
> > FILE-  etc/profiles.order
> >
> >    __NAME__ checkout_profile
> >
> >    fname=required
> >    lname=required
> >    address1=required
> >    city=required
> >    state=required
> >    zip=required
> >    email=required
> >    phone=required
> >
> >    &final=no
> >    &fatal=yes
> >    &set=mv_successpage checkout2
> >
> >    __END__
> >
> >    __NAME__ checkout_profile2
> >
> >    &final=no
> >    &fatal=yes
> >    &set=mv_successpage checkout3
> >
> >    __END__
> >
> > FILE- pages/checkout.html
> >    __TOP__
> >    <h1>Checkout Page One</h1>
> >
> >    <form method=post action="[process]">
> >    <input type=hidden name=mv_todo value=submit>
> >    <input type=hidden name=mv_order_profile value=checkout_profile>
> >
> >    <P>We need all of the following information to complete your 
> order.  When
> >    finished entering all of the information please click on 
> <b>NEXT!</b> below.</P>
> >
> >    <TABLE ALIGN="CENTER" BORDER="1" CELLPADDING="1" CELLSPACING="1">
> >      <TR>
> >           <TH BGCOLOR="#CCFFFF" align=right>* First Name</TH>
> >           <TD BGCOLOR="#FFFF00"><input type=text name=fname size="32"
> >                  maxlength="60" value="[value fname]"></TD>
> >      </TR>
> > [STUFF DELETED FOR SPACE]
> >    </TABLE>
> >
> >    <p>
> >    <input type=submit name=mv_click value="Next!">
> >    <input type=reset name=reset value="Reset">
> >    </p>
> >
> >    </form>
> >
> >    <p>[page index]Return to shopping instead[/page]</p>
> >    __BOTTOM__
>
>--
>interch            | I read recently that human beings use only 15%
>@    Jaime Viehweg | of their brains capacity.  Makes you wonder
>viehweg.net        | what they do with the other 75%.
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users

===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================