Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] Seperate SSL Server Problems...



G'Day Folks,

For those of you, who like us, use a dedicated SSL server for several site, need
to read on...

Basicly the problem at hand in when going back and forth between the two servers
Interchange can not access the cookie stored for the other, so the user data is
maintained, but the shopping cart contents is lost...

Here is the fix...

In your catalog.cfg file uncomment or add the following line:

AlwaysSecure   order ord/checkout ord/basket login change_password process

Comment out or delete the following line:

AlwaysSecure    ord/checkout login change_password

The second line you are deleting shoudl be located about 3 lines above the first
line you are keeping, if you have a stock catalog.cfg file from the foundation
template 4.7.3 or greater...

Next replace the results.html file in the pages directory with the one I have
included... Then everything will work just fine...



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
[comment] ui_template: Yes ui_template_name: leftright [/comment] [control reset=1] [control-set] [component]search_box_small[/component] [/control-set] [control-set] [component]category_vertical[/component] [/control-set] [control-set] [component][/component] [/control-set] [control-set] [component][/component] [/control-set] [control-set] [component]cross_horizontal[/component] [size]2[/size] [cols]2[/cols] [banner]Also see...[/banner] [/control-set] [control-set] [component]random[/component] [size]3[/size] [cols]1[/cols] [banner]Specials[/banner] [/control-set] [control reset=1] [set members_only]0[/set] [set page_banner] [/set] [set page_title]__COMPANY__ -- Search results[/set] @_LEFTRIGHT_TOP_@
[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=""] [/set] [tmp cross_sale][value-extended name=mv_searchspec index=0][/tmp] [on-match] [/on-match] [search-list] [item-change 1][condition][item-field category][/condition] [/item-change 1] [/search-list]
 Product SKU Stock Price Qty Buy
 
 [either][value banner_text][or][item-field category][/either]
[item-description] [item-code] [item-calc] my $q = q{[item-data inventory quantity]}; if($q > 0) { return <Y EOF } else { return <N EOF } [/item-calc] [item-price]
[no-match]

Sorry, no matches for [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]

Errors:
[value-extended name=mv_search_error joiner="
"]
[/if]

[/no-match]
[more-list]
Matches [matches] of [match-count] found.
[more]
[/more-list] [/search-region]
@_LEFTRIGHT_BOTTOM_@
Search for: Match: Format: Sort by: