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!

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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice