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.

Frustrated with Accounting.php

Discussion in 'General Discussion' started by tsrconsultant, Jan 30, 2004.

  1. tsrconsultant

    tsrconsultant Registered

    Joined:
    Aug 9, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I have tried all examples, know PHP pretty darn well, yet any attempt to call a function returns a blank (empty) array.

    I tried showversion, listpkgs, and listaccts and all of them return a blank array.

    However, when I purposely modify the hash (to make it incorrect) I return an array with an error.

    What the heck is going on here?
     
  2. thug

    thug Member

    Joined:
    May 27, 2003
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Switzerland
    cPanel Access Level:
    Website Owner
    Accounting.php

    I also use Accounting.php. when I use ssl, then the returns are also empty. without ssl it run's well.
     
  3. tsrconsultant

    tsrconsultant Registered

    Joined:
    Aug 9, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Not using SSL

    I'm not using SSL -- not getting errors -- just getting empty arrays...

    grrrrrrrrr.
     
  4. netnameus

    netnameus Well-Known Member

    Joined:
    Mar 7, 2004
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    Re: Not using SSL

    Post an example of you code. Maybe we can help you find whats wrong.
     
  5. neraath

    neraath Member

    Joined:
    May 25, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Aggieland, TX
    I origionally had this problem, but I read a few posts on the forum and apparently you have to have curl installed for PHP regardless if you are using SSL or not. Bad bug, but after I recompiled PHP with curl, it started working.
     
  6. listenmirndt

    listenmirndt Member

    Joined:
    Jul 14, 2004
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    having the same problem, curl and SSL installed...
     

Share This Page