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.

xml-api resellerstats not reporting suspended accounts correctly

Discussion in 'cPanel Developers' started by methos, Jul 25, 2008.

  1. methos

    methos Member

    Joined:
    Sep 25, 2007
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    i am getting strange results for the value of "suspended" when calling resellerstats .... basically, the suspended tag seems to be corrupted on all but deleted accounts, on deleted accounts suspended is set to 1, but on all other accounts the output is missing ..... here is an example of the output i am getting .....

    - <accts>
    <bandwidthlimit>2000000</bandwidthlimit>
    <bandwidthused>14.27</bandwidthused>
    <deleted>0</deleted>
    <diskquota>100000</diskquota>
    <diskused>416.34</diskused>
    <domain>validdomain.com</domain>
    <package>website_Basic</package>
    <suspended /> <------ ALL NON-DELETED ACCOUNTS APPEAR LIKE THIS
    <user>myuser</user>
    </accts>
    - <accts>
    <bandwidthlimit>0</bandwidthlimit>
    <bandwidthused>23.03</bandwidthused>
    <deleted>1</deleted>
    <diskquota>0</diskquota>
    <diskused>0</diskused>
    <domain>deleteddomain.com</domain>
    <package>deleted account</package>
    <suspended>1</suspended>
    <user>hanhonor</user>
    </accts>


    anyone else seen this?
     
  2. methos

    methos Member

    Joined:
    Sep 25, 2007
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    hmmm, has no one else run into this?

    just to clarify, all non-deleted accounts, whether suspended or not are returning: <suspended />, whereas all deleted accounts are returning: <suspended>1</suspended>
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I am unable to replicate this issue on:

    WHM 11.23.2 cPanel 11.23.4-B26152
    CENTOS Enterprise 4.6 i686 on standard - WHM X v3.1.0
     
  4. methos

    methos Member

    Joined:
    Sep 25, 2007
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    I've tried it now on two servers, both running:
    WHM 11.23.2 cPanel 11.23.4-R26138
    FEDORA 7 i686 on standard - WHM X v3.1.0


    can anyone confirm that this is happening in the release version and fixed in later builds?
     
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I know QA has managed to replicate this issue. I have no ETA on a resolution though. (Internal Case 8842)
     
Loading...

Share This Page