Skip to main content

Create cPanel account WHM API

Comments

8 comments

  • cPanelMichael
    I have problem with this code, it works, but website is locked, and don't return any information, then it's reloaded, and return that account exists, i can't handle this problem, other api calls works fine.

    Hello, Could you provide some additional details, including full error messages, on the steps you are taking to reproduce this issue? Can you reproduce the problem when using the command line example on the
    0
  • Pelsedu
    I add file from console log, same info i can receive from php, but only with saving output to file, but server doesn't response anything, i got this response from browser, with other calls, i got very fast response, and can see result on browser. The {domain} page isn"t working {domain} didn"t send any data. ERR_EMPTY_RESPONSE
    0
  • cPanelMichael
    but server doesn't response anything, i got this response from browser, with other calls, i got very fast response, and can see result on browser. The {domain} page isn"t working {domain} didn"t send any data. ERR_EMPTY_RESPONSE

    I'm not sure I understand the issue. Could you let us know the step-by-step instructions we can take to reproduce this problem? Thank you.
    0
  • Pelsedu
    I want to use function echo, or print, to display information API sent back, but server doesn't respond. I got only error from browser "ERR_EMPTY_RESPONSE". It's like creating cPanel account disables server PHP output to WWW server (Apache). I can save response to file, but i can't send response to browser. I need to let know user that created the account that account is created, he needs to get that information.
    0
  • cPanelMichael
    Could you let us know of any output to /usr/local/cpanel/logs/error_log or /usr/local/apache/logs/error_log when this happens? Also, could you try using the JSON or XML API examples from
    0
  • Pelsedu
    I looked over in the logs for information about this problem, but i found nothing. I think problem may be caused by function new profile - during that, as i know, the apache is restarted (right?), so PHP script will stop, i may be wrong, but i can't find solution...
    0
  • Stonex
    I also have problems when manipulating cpanel, so PHP script will stop, i may be wrong can restart??
    0
  • cPanelMichael
    Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0

Please sign in to leave a comment.