[ic] Please help! Attributes cleared

Lewey Taylor interchange-users@interchange.redhat.com
Thu Sep 27 07:08:01 2001


I will try one last time.  If someone does not have any
clues why all my modifiers get tossed, I guess I'll have to
pay someone to help me fix it.  Don't know what else to do
and I gotta get this site up.  I did even try a new catalog
with mysql but that didn't help either.  I will post my
debug again and again I apologize for the long post :)

As always thanks,

Start DEBUG at Wed Sep 26 15:56:39 2001
main:debug: session='' cookie='' chost=''
main:debug: session name='auzWhmhC:63.64.71.30'

main:debug: arg is
main:debug: path=index
main:debug: session='auzWhmhC'
cookie='MV_SESSION_ID=auzWhmhC:63.64.71.30'
chost='63.64.71.30'
main:debug: accesses=1 admin=
main:debug: session name='auzWhmhC:63.64.71.30'

main:debug: arg is
main:debug:
path=scan/fi=products/st=db/co=yes/sf=category/se=Bausch &
Lomb/va=banner_image=/va=banner_text=
main:debug: session='auzWhmhC'
cookie='MV_SESSION_ID=auzWhmhC:63.64.71.30'
chost='63.64.71.30'
main:debug: session name='auzWhmhC:63.64.71.30'

main:debug: arg is
main:debug: path=bl0009
main:debug: session='auzWhmhC'
cookie='MV_SESSION_ID=auzWhmhC:63.64.71.30'
chost='63.64.71.30'
main:debug: accesses=1 admin=
main:debug: session name='auzWhmhC:63.64.71.30'

main:debug: arg is
main:debug: path=nothing
main:debug: todo=refresh prior to mv_click=munge_quantity
main:debug: Looking for click munge_quantity
main:debug: Found scratch click 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]"]
|
main:debug: todo=refresh after mv_click
main:debug: todo=refresh after mv_click
main:debug: session='auzWhmhC'
cookie='MV_SESSION_ID=auzWhmhC:63.64.71.30'
chost='63.64.71.30'
main:debug: accesses=2 admin=
main:debug: session name='auzWhmhC:63.64.71.30'

main:debug: arg is
main:debug: path=bl0009
main:debug: session='auzWhmhC'
cookie='MV_SESSION_ID=auzWhmhC:63.64.71.30'
chost='63.64.71.30'
main:debug: session name='auzWhmhC:63.64.71.30'

main:debug: arg is
main:debug: path=ord/checkout
main:debug: session='auzWhmhC'
cookie='MV_SESSION_ID=auzWhmhC:63.64.71.30'
chost='63.64.71.30'
main:debug: session name='auzWhmhC:63.64.71.30'

main:debug: arg is
main:debug: path=process
main:debug: todo= prior to mv_click=
main:debug: todo= after mv_click
main:debug: todo=refresh after mv_click
main:debug: adding modifiers
main:debug: updating line 0 modifiers: {
  'price_group' => '',
  'code' => 'bl0009',
  'gift_cert' => '',
  'numberinbox' => '6pack',
  'mv_ip' => '0',
  'mv_ib' => 'products',
  'bcurve' => 'Flat',
  'diameter' => '14.2',
  'quantity' => '1',
  'power' => '+20',
  'color' => 'Clear'
}

main:debug: CGI value=
main:debug: line 0 modifier power now
main:debug: updating line 0 modifiers: {
  'price_group' => '',
  'code' => 'bl0009',
  'gift_cert' => '',
  'numberinbox' => '6pack',
  'mv_ip' => '0',
  'mv_ib' => 'products',
  'bcurve' => 'Flat',
  'diameter' => '14.2',
  'quantity' => '1',
  'power' => '',
  'color' => 'Clear'
}

main:debug: CGI value=
main:debug: line 0 modifier bcurve now
main:debug: updating line 0 modifiers: {
  'price_group' => '',
  'code' => 'bl0009',
  'gift_cert' => '',
  'numberinbox' => '6pack',
  'mv_ip' => '0',
  'mv_ib' => 'products',
  'bcurve' => '',
  'diameter' => '14.2',
  'quantity' => '1',
  'power' => '',
  'color' => 'Clear'
}

main:debug: CGI value=
main:debug: line 0 modifier diameter now
main:debug: updating line 0 modifiers: {
  'price_group' => '',
  'code' => 'bl0009',
  'gift_cert' => '',
  'numberinbox' => '6pack',
  'mv_ip' => '0',
  'mv_ib' => 'products',
  'bcurve' => '',
  'diameter' => '',
  'quantity' => '1',
  'power' => '',
  'color' => 'Clear'
}

main:debug: CGI value=
main:debug: line 0 modifier color now
main:debug: updating line 0 modifiers: {
  'price_group' => '',
  'code' => 'bl0009',
  'gift_cert' => '',
  'numberinbox' => '6pack',
  'mv_ip' => '0',
  'mv_ib' => 'products',
  'bcurve' => '',
  'diameter' => '',
  'quantity' => '1',
  'power' => '',
  'color' => ''
}

main:debug: CGI value=
main:debug: line 0 modifier numberinbox now
main:debug: updating line 0 quantity: {
  'price_group' => '',
  'code' => 'bl0009',
  'gift_cert' => '',
  'numberinbox' => '',
  'mv_ip' => '0',
  'mv_ib' => 'products',
  'bcurve' => '',
  'diameter' => '',
  'quantity' => '1',
  'power' => '',
  'color' => ''
}

main:debug: after update, cart is: [
  {
    'price_group' => '',
    'code' => 'bl0009',
    'gift_cert' => '',
    'numberinbox' => '',
    'mv_ip' => 0,
    'mv_ib' => 'products',
    'bcurve' => '',
    'diameter' => '',
    'quantity' => '1',
    'power' => '',
    'color' => ''
  }
]

main:debug: after toss, cart is: [
  {
    'price_group' => '',
    'code' => 'bl0009',
    'gift_cert' => '',
    'numberinbox' => '',
    'mv_ip' => 0,
    'mv_ib' => 'products',
    'bcurve' => '',
    'diameter' => '',
    'quantity' => '1',
    'power' => '',
    'color' => ''
  }
]

main:debug: Looking for click Save_database
main:debug: Found NO click Save_database