HSPC::MT::Core account_add Method

Discussion in 'Troubleshooting' started by ibxx, Apr 20, 2005.

  1. ibxx

    ibxx Guest

    Hello,

    I'm trying to use the account_add() method to establish a connection between a user and an account. A soon as I call the Method the script dies with:

    Died at /usr/lib/perl5/site_perl/5.8.3/HSPC/MT/Core/Person.pm line 272.

    My code is:
    my $person = HSPC::MT::Core->find_person(email=> $ARGV[1] );

    if ( ! $person ) {
    print "SEVERE ERROR: Person not found for $ARGV[1]";
    exit;
    }

    $person->add_account(account_id=>$ACC_ID,role_id=>1);

    Where ARGV[1] is a valid Email Address and $ACC_ID is valid account ID.

    I get the same ERROR when executing the script exactly as described in the example in the HSPC Intergration Guide.

    MY HSPC-Version ist: 3.1.0-87

    I've already written to the support(TN: #57865) and havn't recieved an answer yet.

    Maybe you can help me.

    Thanks
    --john
     
  2. fenster

    fenster Tera Poster

    Messages:
    429
    Hi,

    According to our records, your ticket was escalated to HSPcomplete maintenance department, our developers will take care of it. I thought you received a notification...
     

Share This Page