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.

Creating new account ignores quota parameter

Discussion in 'cPanel Developers' started by gene303, Nov 12, 2008.

  1. gene303

    gene303 Member

    Joined:
    Jan 28, 2007
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    WHM version 11.24.0 using XML API

    New account is created with all parameters set to correct values except for quota. Instead of 1000 it is set to unlimited.

    Connection string:
    PHP:
    $this->connect("/xml-api/createacct?username=$user&password=$pass&domain=$domain&quota=$quota&ip=$ip&maxftp=$maxftp&maxpop=$maxpop&maxlst=$maxlst&maxpark=$maxpark&maxaddon=$maxaddon&bwlimit=$bwlimit&customip=$customip");
    I checked parsed string and it does parse $quota into integer 1000 (&quota=1000&ip=)

    Any ideas what could be the problem?
     
  2. MattDees

    MattDees cPanel Product Owner
    Staff Member

    Joined:
    Apr 29, 2005
    Messages:
    417
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page