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.

BUG alert, in whmreq/accounting w/ new PHP

Discussion in 'General Discussion' started by tkoweb, Apr 20, 2003.

  1. tkoweb

    tkoweb Active Member

    Joined:
    Dec 26, 2002
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    In the whmreq function, the code to read in from a socket when CURL is not present fails because in the new PHP, the default socket_read type is set to BINARY while the barely older version of PHP defaulted to NORMAL. This means, it was reading in the max it could before seeing if it was what it wanted, so it discarded the whole result even though it was working.

    Also, why is curl installed but not configured properly in the default cpanel installation?
     
  2. laundryp

    laundryp Member

    Joined:
    Apr 21, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    accounting

    Btw, just so whoever is reading is clear...this has to do with the Accounting include script for the remote access.
     
Loading...

Share This Page