Ok, I've looked at this baby every which way. Something is broken.

I am currently having to use v2.21 manage.cgi, with it pointing to the 2.21
conf file.

If I use v2.22 manage.cgi, pointing to v2.22 conf file, it breaks, giving me
a 500 Server error.

Am I the only one ?  :-) surely not...

I'm version 2.22 MLDN. Everything works FINE --- _except_ manage.cgi.

The error in the apache error_log is:

[Fri Nov 24 13:56:53 2000] [error] [client 203.1.96.26] malformed header
from script. Bad header=the undone domain is [mackay-t:
/var3/hosts/www.inexpensivewebsites.com/cgi-bin/opensrs-client-2.22/cgi/22.m
anage.cgi

Notice that the errormessage is actually truncated???? and I can't find the
cause.
...."the undone domain is [mackay-t: /var3/hosts/www.inexpensivewebsites..."

The -actual domain- is mackay-tourism.com
The sub-user login in 'support' and the password is 'mackay2000'

you can try it here;
http://www.inexpensivewebsites.com/cgi-bin/opensrs-client-2.22/cgi/22.manage
.cgi


It will give a 500 Server error.

However !!!!!

If I set 2 breakpoints in the login part of manage.cgi
you can try it here;
http://www.inexpensivewebsites.com/cgi-bin/opensrs-client-2.22/cgi/org-22.ma
nage.cgi

----------------------------------------------------
    # get permissions for a given user
    my $xcp_request = {
                action => "set",
                object => "cookie",
                attributes => {
                    domain => $reg_domain_race_obj->{ConvertedDomain},
                    reg_username => $reg_username,
                    reg_password => $reg_password,
                    }
            };

# Breakpoint
#    error_out("$reg_domain");
    error_out("$reg_domain_race_obj->{ConvertedDomain}");
#   exit;

    my $response = $XML_Client->send_cmd( $xcp_request );
    if (not $response->{is_success}) {
        error_out("$response->{response_text}<br>\n");
        exit;
    }

    $cookie = $response->{attributes}->{cookie};
    $domain_count = $response->{attributes}->{domain_count};
    $reg_encoding_type = $response->{attributes}->{encoding_type};
    $reg_domain_race_obj = RACE::UndoRACE (Domain => $reg_domain,
                                           EncodingType =>
$reg_encoding_type);
    warn "the undone domain is
[".$reg_domain_race_obj->{OriginalDomain}."]\n";

# Breakpoint
    error_out("$reg_domain_race_obj->{ConvertedDomain}");
#    exit;

    $reg_permission = $response->{attributes}->{permission};
    $reg_f_owner = $response->{attributes}->{f_owner};
    $expiredate = $response->{attributes}->{expiredate};
    $last_access_time = $response->{attributes}->{last_access_time};
    $last_ip = $response->{attributes}->{last_ip};
    # XXX what about waiting request stuff???

------------------------------------------------

It will actually go through and display the menu of management options.
However - it still wont work. Thats all it does.
Take out the breakpoint - and it fails again.

I've tried it with IE, and with Netscape - thinking it may be a browser
prob. Nope. Just fails.

I might add, the V2.21's manage.cgi still works fine in the same location.
Indeed it's what I have to use now...


I really need some help on this folks.

thanks ... and Happy Thanks Giving to our US friends. (go Vikings)

Robert


Reply via email to