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.

Remote Access: Upgrading Package Problem!

Discussion in 'General Discussion' started by Gamer4u, Mar 18, 2006.

  1. Gamer4u

    Gamer4u Member

    Feb 14, 2006
    Likes Received:
    Trophy Points:
    Hi, i've been using WHM Remote Access for a while now and i have been able to use it to a certain extent.
    Create Accounts
    Terminate Accounts
    Change Password
    Output Service Status and Server Information
    Unsuspend Account

    However... i'm having trouble with upgrading accounts :confused: When it gets to the point where the php script should upgrade or downgrade the package in WHM i get a 'WHM Login' form. What am i doing wrong?

    The Script works for the above listed functions!




    $do changepackage($host,$user,$accesshash,$usessl,$user,$package);
    if (
    eregi('Changing max sub domains'$do)) {
    // do other stuff  
    In whmfunctions:

     function changepackage ($host,$user,$accesshash,$usessl,$user,$package) {
    $result whmreq("/scripts2/upacct?user=${user}&pkg=${package}",$host,$user,$accesshash,$usessl);
        if (
    $cpanelaccterr != "") { return; } 

Share This Page