Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/30/2019 in all areas

  1. It did not, upon looking at the CWP Module for Blesta included with the latest version. It is clearly different to what is currently implemented. /home/webytely/public_html/dashboard/components/modules/centoswebpanel/apis/centoswebpanel_api.php public function apiRequest($function, array $params = []) { // Set api url $protocol = ($this->use_ssl ? 'https' : 'http'); $port = ($this->use_ssl ? '2031' : '2030'); $url = $protocol . '://' . $this->hostname . ':' . $port . '/api/?key=' . $this->key . '&api=' . $function . '&' . http_build_query($params); // Send request $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_TIMEOUT, 30); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30); curl_setopt($ch, CURLOPT_FRESH_CONNECT, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); $data = $this->parseResponse(curl_exec($ch)); curl_close($ch); return $data; } And what CWP Provided as an Example: $data = array(“key” => “MYKEY”,”action”=>’add’, ”domain”=>’MY_DOMAIN’, ”user”=>’USER’, ”pass”=>’PASSWORD’, ”email”=>’email@account’, ”package”=>’PACKAGE_NAME’, ”inode”=>’0’,”limit_nproc”=>’40’,”limit_nofile”=>’0’,”server_ips”=>’MY_IP_SERVER’); $url = “https://IPSERVERAPI:2304/v1/account”; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, “POST”); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt ($ch, CURLOPT_POSTFIELDS, http_build_query($data)); curl_setopt ($ch, CURLOPT_POST, 1); $response = curl_exec($ch); curl_close($ch); Based on the new revisions provided here: https://docs.control-webpanel.com/docs/developer-tools/api-manager/functions/function-api-account/add So Essentially, this made the Error 500 problem since the server isnt responding due to a wrong api method being used. Not even using port 2304 on the latest blesta update. Can we get this bumped to a developer at blesta to take a look. Thanks
    1 point
  2. I recommend DirectAdmin.
    1 point
  3. cpanel account integration meaning?
    1 point
  4. in almost every forum this is the hot talk there are many alternatives to this, even considering support of automation from blesta the paid panels inculde - directadmin, plesk, interworx the free ones include - centos-web-panel, vestacp, virtualmin, ispconfig, cyberpanel ispmanager and imscp are also there on a lighter note, why not wait for the blesta team to release a control panel...
    1 point
  5. Amit Kumar Mishra

    .

    blesta dont automaticly fetches the license after the trial is over, we, i asume, have to key in the details... correct me if i am wrong, poor @imanoob2000 is being cheated
    1 point
  6. Michael

    .

    it will have the license key for the trial and then Paul can pull up the IP and find the host, or something.
    1 point
  7. Amit Kumar Mishra

    .

    if what i am point out is right, then he wont find any clue in the phpmyadmin
    1 point
  8. thats what i pointed out the firewall may be blocking the ports
    1 point
  9. Amit Kumar Mishra

    .

    believe me they are either giving you and addon, or are using a nulled blesta again its @Paul who may confirm if your domain exists in their database? did you write your domain name here or send it to @Paul over IM, also you may open a ticket with blesta stating your domain and it must be an addon which they are giving to you, not sure if it is ethical
    1 point
  10. Paul

    .

    I don't see any licenses issued to that domain. Did you enter the entire key they provided you? Please PM me the key and I'll take a look. We now allow 1 IPv4 and 1 IPv6 IP by default, should no longer be an issue.
    1 point
  11. Amit Kumar Mishra

    .

    hi as i had said, the community will help you out neither they are authorised to use blesta not whmcs, not sure about any other now its upto @Paul to verify if they have any valid resellership with blesta so logically, they are cheating you and here i deserve more thanks, for pointing this to you, now as well as earlier
    1 point
  12. Amit Kumar Mishra

    .

    also, @imanoob2000, why not name the host here may be if there would be some mistake, which others would have done it in the past, will guide you and u get time saved!!! else others be aware of such shady hosts...
    1 point
  13. Amit Kumar Mishra

    .

    refer to my manual #4 i have stated this already and may be if proved, @Paul, must take some stringent step to protect the customers right
    1 point
  14. Amit Kumar Mishra

    .

    also it might be the ipv6 which stands as the culprit at times...
    1 point
  15. Amit Kumar Mishra

    .

    1. do what to get authenticated 2. in case you have the license number, its better to open a support ticket at https://account.blesta.com/client/login/ 3. in case the license is really valid, @Paul or some one from blesta will help you 4. in case the license is not valid, again, they will help you how to proceed, also, in case the host is cheating on you, blesta will take proper action 5. if you feel this is helpful, like by pressing the react button wish you happy blesta-ing in case you still require more help, let the forum know
    1 point
×
×
  • Create New...