[ic] Problems with tutorial

Ing. Roberto Andrade Fonseca interchange-users@interchange.redhat.com
Wed Nov 28 19:24:00 2001


Hi:

I can see on your mails archive:

>> Every time I try to checkout after filling in all the
>> forms in checkout.html, I always go to needfield.html.
>> This says I forgot some important fields, but it
>> doesn't say which as it should.
>> Problem is I did fill in all the forms.
>>
>> I allready checked all the spelling of the checkout
>> pages (even copy-paste from the tutorial), tried
>> removing all the "required"'s in profiles.order,
>> upgraded to the newest interchange 4.6.2,... but I
>> never get it to receipt.html
>>
>> What could be my problem? My construct demo-catalog
>> works fine. I'm using redhat 7.
>>
>> thank you very much 

>When something like this happens, make a page which has just
>this in it: <XMP>[dump]</XMP> Then access that page. It should give the value of your session, and you will find
>a top-level key in the session information called "errors".
>Look at that and see if the information is there.

Well, I have the same problem, but I can't figure out wath's the problem.

The [dump] page says:

Full client host name:  Full client IP address: 127.0.0.1 Query string was:       browser: Mozilla/4.0 (compatible; MSIE 5.0; Linux 2.4.9-7 i586) Opera 5.0  [en] last_url: /queonda.html 0 items in main cart. ###### ENVIRONMENT     ##### {           'QUERY_STRING' => '',           'SERVER_ADDR' => '127.0.0.1',           'HTTP_COOKIE2' => '$Version="1"',           'SERVER_PROTOCOL' => 'HTTP/1.1',           'HTTP_CONNECTION' => 'Keep-Alive, TE',           'SERVER_SIGNATURE' => '
Apache/1.3.20 Server at ingrid.intranet.abl.com Port 80
',
          'PATH_TRANSLATED' => '/var/www/html/queonda.html',
          'REMOTE_PORT' => '33026',
          'HTTP_USER_AGENT' => 'Mozilla/4.0 (compatible; MSIE 5.0; Linux 2.4.9-7 i586) Opera 5.0  [en]',
          'HTTP_ACCEPT' => 'text/html, image/png, image/jpeg, image/gif, image/x-xbitmap, */*',
          'GATEWAY_INTERFACE' => 'CGI/1.1',
          'HTTP_HOST' => 'localhost',
          'PATH_INFO' => '/queonda.html', 'SERVER_SOFTWARE' => 'Apache/1.3.20 (Unix)  (Red-Hat/Linux) mod_ssl/2.8.4 OpenSSL/0.9.6b DAV/1.0.2 PHP/4.0.6 mod_perl/1.24_01',
          'SERVER_ADMIN' => 'root@localhost',
          'REMOTE_ADDR' => '127.0.0.1',
          'HTTP_TE' => 'deflate, gzip, chunked, identity, trailers',
          'SCRIPT_NAME' => '/cgi-bin/tutorial',
          'HTTP_ACCEPT_ENCODING' => 'deflate, gzip, x-gzip, identity, *;q=0', 'SERVER_NAME' => 'ingrid.intranet.abl.com',
          'DOCUMENT_ROOT' => '/var/www/html',
          'REQUEST_URI' => '/cgi-bin/tutorial/queonda.html',
          'HTTP_COOKIE' => 'MV_SESSION_ID=5qtQUiRa:127.0.0.1',
          'REQUEST_METHOD' => 'GET', 'SCRIPT_FILENAME' => '/var/www/cgi-bin/tutorial',
          'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin',
          'SERVER_PORT' => '80'
        } ###### END ENVIRONMENT #####
###### CGI VALUES      #####
{
          'mv_nextpage' => 'queonda',
          'mv_session_id' => '5qtQUiRa'
        } ###### END CGI VALUES  #####
###### SESSION         #####
{
          'path_alias' => {},
          'one_time_path_alias' => {},
          'superuser' => undef, 'last_url' => '/queonda.html',
          'ohost' => '127.0.0.1',
          'values' => {
                        'state' => 'TX',
                        'country' => 'USA',
                        'mv_credit_card_exp_month' => '1', 'address1' => 'Paseo de FFCC',
                        'address2' => 'Iztacala',
                        'submit' => 'Finalize!',
                        'mv_session_id' => '5qtQUiRa',
                        'city' => 'Tlane',
                        'lname' => 'Andrade',
                        'mv_cyber_mode' => 'minivend_test',
                        'fname' => 'Roberto',
                        'mv_shipmode' => 'default',
                        'zip' => '54090', 'mv_order_profile' => 'order_profile',
                        'mv_credit_card_exp_year' => '02'
                      },
          'admin' => undef,
          'extension' => '.html',
          'browser' => 'Mozilla/4.0 (compatible; MSIE 5.0; Linux 2.4.9-7 i586) Opera 5.0  [en]',
          'host' => '127.0.0.1',
          'carts' => {
                       'main' => []
                     },
          'scratch' => {}, 'user' => undef,
          'arg' => undef,
          'referer' => 'http://localhost/cgi-bin/tutorial/ord/basket?mv_session_id=mtCIR4kV&mv_pc=26&mv_action=refresh&mv_order_item=0198',
          'time' => 1006993058,
          'errors' => {},
          'username' => undef,
          'id' => '5qtQUiRa',
          'control' => [],
          'pageCount' => 35
        }

###### END SESSION    #####


How can I fix that problem?

TIA.

Saludos,

Roberto Andrade Fonseca
randrade@abl.com.mx