This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
601
CentOS 7 Problems / Re: CWP7.php and WHMCS 7 Change Package not working
« on: March 22, 2018, 07:05:01 AM »
Something like this should work
Code: [Select]
function cwp7_ChangePackage($params){
$postvars = array('key' => $params["serveraccesshash"],'acction' => 'udp','user' => $params["username"], 'package' =>$params["configoption1"]);
$postdata = http_build_query($postvars);
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, 'https://'. $params["serverhostname"] . ':2304/v1/account');
curl_setopt($curl, CURLOPT_RETURNTRANSFER,true);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, $postdata);
$answer = curl_exec($curl);
logModuleCall('cwpwhmcs','cwp7_ChangePackage','https://' . $params["serverhostname"] . ':2304/v1/account'.$postdata,$answer);
}
602
Information / Re: Customization of Panel Logo and User Login Logo
« on: March 19, 2018, 10:15:15 AM »
1. Make a copy of the folder:
2. You go to theme manager and define it as default
3. Change the logos and the images you want in the
After you work, let me know how it went, pls
Code: [Select]
/usr/local/cwpsrv/var/services/users/cwp_theme/design/
with another name2. You go to theme manager and define it as default
3. Change the logos and the images you want in the
Code: [Select]
/usr/local/cwpsrv/var/services/users/cwp_theme/design/img/
folder with this you will prevent the CWP updates from replacing your workAfter you work, let me know how it went, pls
603
Installation / Re: CWP account API error in creation a new account in WHMCS
« on: March 17, 2018, 10:25:26 PM »604
Installation / Re: sh: /scripts/update_cwp: No such file or directory
« on: March 17, 2018, 09:44:45 PM »
Are you running the command from the location / root /?
605
CentOS 7 Problems / Re: Account Transfer Server (CWP -> CWP) : Error in API
« on: March 15, 2018, 05:42:17 PM »
What do the logs indicate?
You can see it by File Manager -> CWP-> Log viewer
You can see it by File Manager -> CWP-> Log viewer
606
CentOS-WebPanel Bugs / Re: Problem with creation FTP user
« on: March 15, 2018, 12:14:13 AM »
I understand that a version that contains this correction is already released, to update your server execute the following
Code: [Select]
sh /script/update_cwp
607
FTP / Re: Prevent user from create ftp account
« on: March 14, 2018, 10:52:27 PM »
regards
You can block an FTP account module for one or more accounts and even per package type from the admin module
CWP Settings -> Themes and Languajes -> Feature Manager tab
There, place a name to the rule, to what type you will apply it (Accounts or Packages) and choose the module that the final client will have access to
Let us know if this was your help
You can block an FTP account module for one or more accounts and even per package type from the admin module
CWP Settings -> Themes and Languajes -> Feature Manager tab
There, place a name to the rule, to what type you will apply it (Accounts or Packages) and choose the module that the final client will have access to
Let us know if this was your help
608
CentOS-WebPanel GUI / Re: User Control Panel problem "User configuration does not exist"
« on: March 14, 2018, 10:36:06 AM »609
CentOS 7 Problems / Re: Clone a CWP CentOS 7 server
« on: March 11, 2018, 10:37:58 PM »
regards
You have tested with the tool that CWP has, to migrate accounts,
Menu User Accounts -> CWP-> CWP Migration
You have tested with the tool that CWP has, to migrate accounts,
Menu User Accounts -> CWP-> CWP Migration
610
CentOS-WebPanel GUI / Re: Can Not Log in Client Side
« on: March 07, 2018, 10:11:20 PM »
Try to update your version to the newest one,
and tell me how it was
Code: [Select]
sh /script/update_cwp
and tell me how it was
611
CentOS-WebPanel GUI / Re: User panel don't work - Users Cant login
« on: March 06, 2018, 12:58:07 AM »
Apparently this problem has already been solved, everything works correctly
613
Installation / Re: WHMCS new module - 404
« on: March 05, 2018, 05:33:51 PM »
Be sure to create an api key and autotize the ip involved
can do a php and test the api, replacing the values of the variables
can do a php and test the api, replacing the values of the variables
Code: [Select]
$ data = array ("key" => "MYKEY", "action" => 'list');
$ 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);
614
Installation / Re: WHMCS new module - 404
« on: March 05, 2018, 05:22:17 PM »
what error throws you
615
CentOS-WebPanel GUI / Re: User panel don't work - Users Cant login
« on: March 03, 2018, 12:27:40 PM »
What version of centos do you have?