Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with changepackage

Discussion in 'cPanel Developers' started by techteen, Nov 12, 2009.

  1. techteen

    techteen Active Member

    Joined:
    Jul 31, 2004
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    151
    Hello all, I am having a problem with the changepackage API.

    $acct = array( username => $username, pkg => $plan );
    print $xmlapi->changepackage($acct);


    Everytime i execute that, it tells me "Warning: Missing argument 2 for xmlapi::changepackage(), called in /home/jefftest/public_html/api/planmod.php on line 33 and defined in /home/jefftest/public_html/api/xmlapi.php on line 1050"

    Any thoughts?
     
  2. techteen

    techteen Active Member

    Joined:
    Jul 31, 2004
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    151
    Fixed, i didnt need the array.
     
Loading...

Share This Page