Author Topic: WHMCS & CWP api error  (Read 12313 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
WHMCS & CWP api error
« on: July 23, 2019, 07:11:38 AM »
WHMCS & CWP api error

The problem CWP and WHMCS rappel together, but user account that can be created can not log in, either the user name is wrong or the password is wrong. In CWP the users are created, but in WHMCS we do not show this, and it appears all the time only the frotschrittsbalken. that does not change even after 20 minutes, all port are open accordingly, so that's not it. Who can help me ?


Offline
*****
Re: WHMCS & CWP api error
« Reply #1 on: July 23, 2019, 06:48:41 PM »
You can use the cwp7 module for whmcs in one direction whmcs => cwp

Offline
*
Re: WHMCS & CWP api error
« Reply #2 on: July 24, 2019, 08:33:05 AM »
nice and what is not the user name and the apsswort, that still is not true even if I only use it in one direction. that no request comes to me already noticed, but that is not true at all with the api is probably clear. if one-sided transfer then should username and apsswort be correct? Or does someone else see that?

Offline
*****
Re: WHMCS & CWP api error
« Reply #3 on: July 24, 2019, 09:02:44 AM »
Can you give me an example of what you are trying to do

Offline
*
Re: WHMCS & CWP api error
« Reply #4 on: July 25, 2019, 04:38:14 AM »
whmcs webhost via api, api creates customer name and password, cwp client available, but a login with the customer name and password is not possible, as it is not accepted by api (wcp).

Offline
*****
Re: WHMCS & CWP api error
« Reply #5 on: July 25, 2019, 10:25:43 AM »
And what was the response of the api when requesting the password change?

Offline
*
Re: WHMCS & CWP api error
« Reply #6 on: July 25, 2019, 02:42:28 PM »
The Api laughed at me and said it's not working!

Offline
*****
Re: WHMCS & CWP api error
« Reply #7 on: July 25, 2019, 02:48:49 PM »
In the response of the api has the description of what happened!

Offline
*
Re: WHMCS & CWP api error
« Reply #8 on: July 25, 2019, 04:08:16 PM »
here is the api log otherwise i can not show you or upload you. even just a part of it


2019-07-23 07:04:12  Trozo 3 accout_add,accout_upd,accout_del,accout_list,accout_susp,accout_unsp,detailaccount_list,changpass_udp,
2019-07-23 07:04:12  authorized
2019-07-23 07:04:12  Action ADD
2019-07-23 07:04:13  STATUS OK
2019-07-23 07:29:34  grep 9cOKSU4vGjOEtOnKtZ86rR5AJH2hpDusIq5f464TFvTQp /root/.conf/apikey
2019-07-23 07:29:34  aqui WP-WHMCS|@|144.76.60.164|@|9cOKSU4vGjOEtOnKtZ86rR5AJH2hpDusIq5f464TFvTQp|@|accout_add,accout_upd,accout_del,accout_list,accout_susp,accout_unsp,detailaccount_list,|@|JSON|@|1

2019-07-23 07:29:34  Trozo 3 accout_add,accout_upd,accout_del,accout_list,accout_susp,accout_unsp,detailaccount_list,
2019-07-23 07:29:34  authorized
2019-07-23 07:29:34  Action ADD
2019-07-23 07:29:35  STATUS OK
19-07-23 07:30:20 encryption
19-07-23 07:30:20 Insert Ok
19-07-23 07:30:20 OK...
2019-07-23 07:34:23  grep 9cOKSU4vGjOEtOnKtZ86rR5AJH2hpDusIq5f464TFvTQp /root/.conf/apikey
2019-07-23 07:34:23  aqui WP-WHMCS|@|144.76.60.164|@|9cOKSU4vGjOEtOnKtZ86rR5AJH2hpDusIq5f464TFvTQp|@|accout_add,accout_upd,accout_del,accout_list,accout_susp,accout_unsp,detailaccount_list,|@|JSON|@|1

2019-07-23 07:34:23  Trozo 3 accout_add,accout_upd,accout_del,accout_list,accout_susp,accout_unsp,detailaccount_list,
2019-07-23 07:34:23  Unauthorized action111
2019-07-23 07:38:00  grep 9cOKSU4vGjOEtOnKtZ86rR5AJH2hpDusIq5f464TFvTQp /root/.conf/apikey
2019-07-23 07:38:00  aqui WP-WHMCS|@|144.76.60.164|@|9cOKSU4vGjOEtOnKtZ86rR5AJH2hpDusIq5f464TFvTQp|@|accout_add,accout_upd,accout_del,accout_list,accout_susp,accout_unsp,detailaccount_list,|@|JSON|@|1

2019-07-23 07:38:00  Trozo 3 accout_add,accout_upd,accout_del,accout_list,accout_susp,accout_unsp,detailaccount_list,
2019-07-23 07:38:00  authorized
2019-07-23 07:38:00  Action ADD
2019-07-23 07:38:01  STATUS OK
2019-07-23 08:05:16  grep 9cOKSU4vGjOEtOnKtZ86rR5AJH2hpDusIq5f464TFvTQp /root/.conf/apikey
2019-07-23 08:05:16  aqui WP-WHMCS|@|144.76.60.164|@|9cOKSU4vGjOEtOnKtZ86rR5AJH2hpDusIq5f464TFvTQp|@|accout_add,accout_upd,accout_del,accout_list,accout_susp,accout_unsp,detailaccount_list,|@|JSON|@|1

2019-07-23 08:05:16  Trozo 3 accout_add,accout_upd,accout_del,accout_list,accout_susp,accout_unsp,detailaccount_list,
2019-07-23 08:05:16  authorized
2019-07-23 08:05:16  Action ADD
2019-07-23 08:05:16  STATUS ERROR  Username puxecnnc already exists in database!
19-07-23 08:05:55 encryption
19-07-23 08:05:55 Insert Ok
19-07-23 08:05:55 OK...
2019-07-23 08:08:52  grep 9cOKSU4vGjOEtOnKtZ86rR5AJH2hpDusIq5f464TFvTQp /root/.conf/apikey
2019-07-23 08:08:52  aqui WP-WHMCS|@|144.76.60.164|@|9cOKSU4vGjOEtOnKtZ86rR5AJH2hpDusIq5f464TFvTQp|@|accout_add,accout_upd,accout_del,accout_list,accout_susp,accout_unsp,detailaccount_list,|@|JSON|@|1

2019-07-23 08:08:52  Trozo 3 accout_add,accout_upd,accout_del,accout_list,accout_susp,accout_unsp,detailaccount_list,
2019-07-23 08:08:52  authorized
2019-07-23 08:08:52  Action ADD
2019-07-23 08:08:52  STATUS ERROR  Username puxecnnc already exists in database!
19-07-23 14:45:19 encryption
19-07-23 14:45:19 OK...
19-07-23 14:45:53 encryption
19-07-23 14:45:53 OK...
19-07-23 19:33:46 mkdir -p /home/mydomain.com/backupcwp/full-backup_20190723193346
19-07-23 19:33:46 mkdir -p /home/mydomain.com/backupcwp/full-backup_20190723193346/home/
19-07-23 19:33:46 mkdir -p /home/mydomain.com/backupcwp/full-backup_20190723193346/mysql/
19-07-23 19:33:46 mkdir -p /home/mydomain.com/backupcwp/full-backup_20190723193346/vmail/
19-07-23 19:33:46 mkdir -p /home/mydomain.com/backupcwp/full-backup_20190723193346/named/
19-07-23 19:33:46 mkdir -p /home/mydomain.com/backupcwp/full-backup_20190723193346/ftp/
19-07-23 19:33:46 touch /home/mydomain.com/backupcwp/full-backup_20190723193346/conf.json
19-07-23 19:34:10 ionice -c 3 nice -n +19 rsync -av --exclude 'backupcwp/' /home/mydomain.com/ /home/mydomain.com/backupcwp/full-backup_20190723193346/home/
19-07-23 19:34:10 ionice -c 3 nice -n +19 rsync -av /var/vmail/your-vshost.cf /home/mydomain.com/backupcwp/full-backup_20190723193346/vmail/ 2>&1
19-07-23 19:34:10 ionice -c 3 nice -n +19 cp  /var/named/your-vshost.cf.db /home/mydomain.com/backupcwp/full-backup_20190723193346/named/ 2>&1
19-07-23 19:34:11 ionice -c 3 nice -n +19 rsync -av /var/vmail/mydomain.com /home/mydomain.com/backupcwp/full-backup_20190723193346/vmail/ 2>&1
19-07-23 19:34:11 ionice -c 3 nice -n +19 cp  /var/named/mydomain.com.db /home/mydomain.com/backupcwp/full-backup_20190723193346/named/ 2>&1
19-07-23 19:34:11 find /home/mydomain.com/backupcwp/full-backup_20190723193346/named/ -name *.db -print | xargs sed -i s/144.76.60.164/{IPSERVER}/g
19-07-23 19:34:33 cd /home/mydomain.com/backupcwp/full-backup_20190723193346/; ionice -c 3 nice -n +19 tar -czvf full-backup_20190723193346.tar.gz --exclude full-backup_20190723193346.tar.gz *
19-07-23 19:34:33 mv /home/mydomain.com/backupcwp/full-backup_20190723193346/full-backup_20190723193346.tar.gz /home/mydomain.com/backupcwp/
19-07-23 19:34:33 rm -fR /home/mydomain.com/backupcwp/full-backup_20190723193346/
19-07-23 19:34:33 chown mydomain.com:mydomain.com /home/mydomain.com/backupcwp/full-backup_20190723193346.tar.gz
19-07-23 19:34:33 rm -fR /home/mydomain.com/backupcwp/inprocess.cwp
19-07-23 19:34:34 du -h /home/mydomain.com/backupcwp/full-backup_20190723193346.tar.gz
19-07-24 04:19:57 encryption
19-07-24 04:19:58 OK...