Hello, I am requesting help with a problem that I have when creating the subdomain when an order is accepted.
WHMCS DEBUG LOG
"REQUEST"
"ANSWER"
Can somebody help me?
WHMCS DEBUG LOG
"REQUEST"
Code:
Array
(
[whmcsVersion] => 7.2.3-release.1
[accountid] => 10
[serviceid] => 10
[userid] => 8
[domain] =>
[username] =>
[password] => **********
[packageid] => 14
[pid] => 14
[serverid] => 2
[status] => Active
[type] => hostingaccount
[producttype] => hostingaccount
[moduletype] => multicraft
[configoption1] => 50
[configoption2] => 512
[configoption3] => no
[configoption4] =>
[configoption5] => Minecraft Server
[configoption6] => daemon
[configoption7] => 1
[configoption8] => 10
[configoption9] =>
[configoption10] => 0
[configoption11] =>
[configoption12] => on
[configoption13] => on
[configoption14] => on
[configoption15] =>
[configoption16] => on
[configoption17] => on
[configoption18] =>
[configoption19] => on
[configoption20] =>
[configoption21] => on
[configoption22] => on
[configoption23] => on
[configoption24] =>
[customfields] => Array
(
[domain] => servermania
)
[configoptions] => Array
(
)
[model] => WHMCS\Service\Service Object
(
[table:protected] => tblhosting
[columnMap:protected] => Array
(
[clientId] => userid
[serverId] => server
[registrationDate] => regdate
[paymentGateway] => paymentmethod
[status] => domainstatus
[promotionId] => promoid
[overrideAutoSuspend] => overideautosuspend
[overrideSuspendUntilDate] => overidesuspenduntil
[bandwidthUsage] => bwusage
[bandwidthLimit] => bwlimit
[lastUpdateDate] => lastupdate
[recurringFee] => amount
)
[dates:protected] => Array
(
[0] => registrationDate
[1] => nextDueDate
[2] => nextInvoiceDate
[3] => terminationDate
[4] => completedDate
[5] => overrideSuspendUntilDate
[6] => lastUpdateDate
)
[booleans:protected] => Array
(
[0] => overideautosuspend
)
[appends:protected] => Array
(
[0] => serviceProperties
)
[unique] => Array
(
)
[guardedForUpdate] => Array
(
)
[strings:protected] => Array
(
)
[ints:protected] => Array
(
)
[semanticVersions:protected] => Array
(
)
[commaSeparated:protected] => Array
(
)
[characterSeparated:protected] => Array
(
)
[connection:protected] =>
[primaryKey:protected] => id
[perPage:protected] => 15
[incrementing] => 1
[timestamps] => 1
[attributes:protected] => Array
(
[id] => 10
[userid] => 8
[orderid] => 10
[packageid] => 14
[server] => 2
[regdate] => 2017-07-29
[domain] =>
[paymentmethod] => paypal
[firstpaymentamount] => 0.00
[amount] => 0.00
[billingcycle] => Free Account
[nextduedate] => 0000-00-00
[nextinvoicedate] => 0000-00-00
[termination_date] => 0000-00-00
[completed_date] => 0000-00-00
[domainstatus] => Active
[username] =>
[password] => /WisGUQygJRa8N/Xr8vquxdAKDgsoAvoIuzAWgwO
[notes] =>
[subscriptionid] =>
[promoid] => 0
[suspendreason] =>
[overideautosuspend] => 0
[overidesuspenduntil] => 0000-00-00
[dedicatedip] =>
[assignedips] =>
[ns1] =>
[ns2] =>
[diskusage] => 0
[disklimit] => 0
[bwusage] => 0
[bwlimit] => 0
[lastupdate] => 0000-00-00 00:00:00
[created_at] => 0000-00-00 00:00:00
[updated_at] => 0000-00-00 00:00:00
)
[original:protected] => Array
(
[id] => 10
[userid] => 8
[orderid] => 10
[packageid] => 14
[server] => 2
[regdate] => 2017-07-29
[domain] =>
[paymentmethod] => paypal
[firstpaymentamount] => 0.00
[amount] => 0.00
[billingcycle] => Free Account
[nextduedate] => 0000-00-00
[nextinvoicedate] => 0000-00-00
[termination_date] => 0000-00-00
[completed_date] => 0000-00-00
[domainstatus] => Active
[username] =>
[password] => /WisGUQygJRa8N/Xr8vquxdAKDgsoAvoIuzAWgwO
[notes] =>
[subscriptionid] =>
[promoid] => 0
[suspendreason] =>
[overideautosuspend] => 0
[overidesuspenduntil] => 0000-00-00
[dedicatedip] =>
[assignedips] =>
[ns1] =>
[ns2] =>
[diskusage] => 0
[disklimit] => 0
[bwusage] => 0
[bwlimit] => 0
[lastupdate] => 0000-00-00 00:00:00
[created_at] => 0000-00-00 00:00:00
[updated_at] => 0000-00-00 00:00:00
)
[relations:protected] => Array
(
[product] => WHMCS\Product\Product Object
(
[table:protected] => tblproducts
[columnMap:protected] => Array
(
[productGroupId] => gid
[isHidden] => hidden
[welcomeEmailTemplateId] => welcomeemail
[stockControlEnabled] => stockcontrol
[quantityInStock] => qty
[proRataChargeDayOfCurrentMonth] => proratadate
[proRataChargeNextMonthAfterDay] => proratachargenextmonth
[paymentType] => paytype
[allowMultipleQuantities] => allowqty
[freeSubDomains] => subdomain
[module] => servertype
[serverGroupId] => servergroup
[moduleConfigOption1] => configoption1
[moduleConfigOption2] => configoption2
[moduleConfigOption3] => configoption3
[moduleConfigOption4] => configoption4
[moduleConfigOption5] => configoption5
[moduleConfigOption6] => configoption6
[moduleConfigOption7] => configoption7
[moduleConfigOption8] => configoption8
[moduleConfigOption9] => configoption9
[moduleConfigOption10] => configoption10
[moduleConfigOption11] => configoption11
[moduleConfigOption12] => configoption12
[moduleConfigOption13] => configoption13
[moduleConfigOption14] => configoption14
[moduleConfigOption15] => configoption15
[moduleConfigOption16] => configoption16
[moduleConfigOption17] => configoption17
[moduleConfigOption18] => configoption18
[moduleConfigOption19] => configoption19
[moduleConfigOption20] => configoption20
[moduleConfigOption21] => configoption21
[moduleConfigOption22] => configoption22
[moduleConfigOption23] => configoption23
[moduleConfigOption24] => configoption24
[recurringCycleLimit] => recurringcycles
[daysAfterSignUpUntilAutoTermination] => autoterminatedays
[autoTerminationEmailTemplateId] => autoterminateemail
[allowConfigOptionUpgradeDowngrade] => configoptionsupgrade
[upgradeEmailTemplateId] => upgradeemail
[enableOverageBillingAndUnits] => overagesenabled
[overageDiskLimit] => overagesdisklimit
[overageBandwidthLimit] => overagesbwlimit
[overageDiskPrice] => overagesdiskprice
[overageBandwidthPrice] => overagesbwprice
[applyTax] => tax
[affiliatePayoutOnceOnly] => affiliateonetime
[affiliatePaymentType] => affiliatepaytype
[affiliatePaymentAmount] => affiliatepayamount
[isRetired] => retired
[displayOrder] => order
)
[booleans:protected] => Array
(
[0] => isHidden
[1] => showDomainOptions
[2] => stockControlEnabled
[3] => proRataBilling
[4] => allowConfigOptionUpgradeDowngrade
[5] => applyTax
[6] => affiliatePayoutOnceOnly
[7] => isRetired
[8] => isFeatured
)
[strings:protected] => Array
(
[0] => description
[1] => autoSetup
[2] => module
[3] => moduleConfigOption1
[4] => moduleConfigOption2
[5] => moduleConfigOption3
[6] => moduleConfigOption4
[7] => moduleConfigOption5
[8] => moduleConfigOption6
[9] => moduleConfigOption7
[10] => moduleConfigOption8
[11] => moduleConfigOption9
[12] => moduleConfigOption10
[13] => moduleConfigOption11
[14] => moduleConfigOption12
[15] => moduleConfigOption13
[16] => moduleConfigOption14
[17] => moduleConfigOption15
[18] => moduleConfigOption16
[19] => moduleConfigOption17
[20] => moduleConfigOption18
[21] => moduleConfigOption19
[22] => moduleConfigOption20
[23] => moduleConfigOption21
[24] => moduleConfigOption22
[25] => moduleConfigOption23
[26] => moduleConfigOption24
)
[ints:protected] => Array
(
[0] => welcomeEmailTemplateId
[1] => quantityInStock
[2] => proRataChargeDayOfCurrentMonth
[3] => proRataChargeNextMonthAfterDay
[4] => serverGroupId
[5] => displayOrder
)
[commaSeparated:protected] => Array
(
[0] => freeSubDomains
[1] => freeDomainPaymentTerms
[2] => freeDomainTlds
[3] => enableOverageBillingAndUnits
)
[unique] => Array
(
)
[guardedForUpdate] => Array
(
)
[semanticVersions:protected] => Array
(
)
[characterSeparated:protected] => Array
(
)
[connection:protected] =>
[primaryKey:protected] => id
[perPage:protected] => 15
[incrementing] => 1
[timestamps] => 1
[attributes:protected] => Array
(
[id] => 14
[type] => hostingaccount
[gid] => 3
[name] => Minecraft Basic
[description] =>
[hidden] => 0
[showdomainoptions] => 0
[welcomeemail] => 0
[stockcontrol] => 0
[qty] => 0
[proratabilling] => 0
[proratadate] => 0
[proratachargenextmonth] => 0
[paytype] => free
[allowqty] => 0
[subdomain] =>
[autosetup] => payment
[servertype] => multicraft
[servergroup] => 4
[configoption1] => 50
[configoption2] => 512
[configoption3] => no
[configoption4] =>
[configoption5] => Minecraft Server
[configoption6] => daemon
[configoption7] => 1
[configoption8] => 10
[configoption9] =>
[configoption10] => 0
[configoption11] =>
[configoption12] => on
[configoption13] => on
[configoption14] => on
[configoption15] =>
[configoption16] => on
[configoption17] => on
[configoption18] =>
[configoption19] => on
[configoption20] =>
[configoption21] => on
[configoption22] => on
[configoption23] => on
[configoption24] =>
[freedomain] =>
[freedomainpaymentterms] =>
[freedomaintlds] =>
[recurringcycles] => 0
[autoterminatedays] => 0
[autoterminateemail] => 0
[configoptionsupgrade] => 0
[billingcycleupgrade] =>
[upgradeemail] => 0
[overagesenabled] =>
[overagesdisklimit] => 0
[overagesbwlimit] => 0
[overagesdiskprice] => 0.0000
[overagesbwprice] => 0.0000
[tax] => 0
[affiliateonetime] => 0
[affiliatepaytype] =>
[affiliatepayamount] => 0.00
[order] => 0
[retired] => 0
[is_featured] => 0
[created_at] => 2017-07-27 02:31:23
[updated_at] => 2017-07-27 02:31:23
)
[original:protected] => Array
(
[id] => 14
[type] => hostingaccount
[gid] => 3
[name] => Minecraft Basic
[description] =>
[hidden] => 0
[showdomainoptions] => 0
[welcomeemail] => 0
[stockcontrol] => 0
[qty] => 0
[proratabilling] => 0
[proratadate] => 0
[proratachargenextmonth] => 0
[paytype] => free
[allowqty] => 0
[subdomain] =>
[autosetup] => payment
[servertype] => multicraft
[servergroup] => 4
[configoption1] => 50
[configoption2] => 512
[configoption3] => no
[configoption4] =>
[configoption5] => Minecraft Server
[configoption6] => daemon
[configoption7] => 1
[configoption8] => 10
[configoption9] =>
[configoption10] => 0
[configoption11] =>
[configoption12] => on
[configoption13] => on
[configoption14] => on
[configoption15] =>
[configoption16] => on
[configoption17] => on
[configoption18] =>
[configoption19] => on
[configoption20] =>
[configoption21] => on
[configoption22] => on
[configoption23] => on
[configoption24] =>
[freedomain] =>
[freedomainpaymentterms] =>
[freedomaintlds] =>
[recurringcycles] => 0
[autoterminatedays] => 0
[autoterminateemail] => 0
[configoptionsupgrade] => 0
[billingcycleupgrade] =>
[upgradeemail] => 0
[overagesenabled] =>
[overagesdisklimit] => 0
[overagesbwlimit] => 0
[overagesdiskprice] => 0.0000
[overagesbwprice] => 0.0000
[tax] => 0
[affiliateonetime] => 0
[affiliatepaytype] =>
[affiliatepayamount] => 0.00
[order] => 0
[retired] => 0
[is_featured] => 0
[created_at] => 2017-07-27 02:31:23
[updated_at] => 2017-07-27 02:31:23
)
[relations:protected] => Array
(
)
[hidden:protected] => Array
(
)
[visible:protected] => Array
(
)
[appends:protected] => Array
(
)
[fillable:protected] => Array
(
)
[guarded:protected] => Array
(
[0] => *
)
[dates:protected] => Array
(
)
[dateFormat:protected] =>
[casts:protected] => Array
(
)
[touches:protected] => Array
(
)
[observables:protected] => Array
(
)
[with:protected] => Array
(
)
[morphClass:protected] =>
[exists] => 1
[wasRecentlyCreated] =>
)
[client] => WHMCS\User\Client Object
(
[table:protected] => tblclients
[columnMap:protected] => Array
(
[passwordHash] => password
[twoFactorAuthModule] => authmodule
[twoFactorAuthData] => authdata
[currencyId] => currency
[defaultPaymentGateway] => defaultgateway
[overrideLateFee] => latefeeoveride
[overrideOverdueNotices] => overideduenotices
[disableAutomaticCreditCardProcessing] => disableautocc
[billingContactId] => billingcid
[securityQuestionId] => securityqid
[securityQuestionAnswer] => securityqans
[creditCardType] => cardtype
[creditCardLastFourDigits] => cardlastfour
[creditCardExpiryDate] => expdate
[storedBankNameCrypt] => bankname
[storedBankTypeCrypt] => banktype
[storedBankCodeCrypt] => bankcode
[storedBankAccountCrypt] => bankacct
[paymentGatewayToken] => gatewayid
[lastLoginDate] => lastlogin
[lastLoginIp] => ip
[lastLoginHostname] => host
[passwordResetKey] => pwresetkey
[passwordResetKeyRequestDate] => pwresetexpiry
)
[timestamps] => 1
[dates:protected] => Array
(
[0] => lastLoginDate
[1] => passwordResetKeyRequestDate
)
[booleans:protected] => Array
(
[0] => taxExempt
[1] => overrideLateFee
[2] => overrideOverdueNotices
[3] => separateInvoices
[4] => disableAutomaticCreditCardProcessing
[5] => emailOptOut
[6] => overrideAutoClose
[7] => emailVerified
)
[unique] => Array
(
[0] => email
)
[appends:protected] => Array
(
[0] => fullName
[1] => countryName
)
[fillable:protected] => Array
(
[0] => lastlogin
[1] => ip
[2] => host
[3] => pwresetkey
[4] => pwresetexpiry
)
[guardedForUpdate] => Array
(
)
[strings:protected] => Array
(
)
[ints:protected] => Array
(
)
[semanticVersions:protected] => Array
(
)
[commaSeparated:protected] => Array
(
)
[characterSeparated:protected] => Array
(
)
[connection:protected] =>
[primaryKey:protected] => id
[perPage:protected] => 15
[incrementing] => 1
[attributes:protected] => Array
(
[id] => 8
[uuid] => 83494bd1-546d-4f94-9326-bdee494e5760
[firstname] => Esteban
[lastname] => Hernandez
[companyname] => L216403
[email] => xxxxxxxxxx
[address1] => xxxxxxxxx
[address2] =>
[city] => Mexicali
[state] => Baja California
[postcode] => 21290
[country] => MX
[phonenumber] => xxxxxxxxxxxxxxx
[password] => ************************************************************
[authmodule] =>
[authdata] =>
[currency] => 1
[defaultgateway] =>
[credit] => 0.00
[taxexempt] => 0
[latefeeoveride] => 0
[overideduenotices] => 0
[separateinvoices] => 0
[disableautocc] => 0
[datecreated] => 2017-07-27
[notes] =>
[billingcid] => 0
[securityqid] => 0
[securityqans] => 8GVIeKG86BbBucKwWUY7B5j0uoU=
[groupid] => 0
[cardtype] =>
[cardlastfour] =>
[cardnum] =>
[startdate] =>
[expdate] =>
[issuenumber] =>
[bankname] =>
[banktype] =>
[bankcode] =>
[bankacct] =>
[gatewayid] =>
[lastlogin] => 2017-07-27 20:38:35
[ip] => xxxxxxxxx
[host] => xxxxxxxxx
[status] => Inactive
[language] =>
[pwresetkey] =>
[emailoptout] => 0
[overrideautoclose] => 0
[allow_sso] => 1
[email_verified] => 0
[created_at] => 0000-00-00 00:00:00
[updated_at] => 0000-00-00 00:00:00
[pwresetexpiry] => 0000-00-00 00:00:00
)
[original:protected] => Array
(
[id] => 8
[uuid] => 83494bd1-546d-4f94-9326-bdee494e5760
[firstname] => Esteban
[lastname] => Hernandez
[companyname] => L216403
[email] => xxxxxxxxxxxxxxx
[address1] => xxxxxxxxxxxxxx
[address2] =>
[city] => Mexicali
[state] => Baja California
[postcode] => 21290
[country] => MX
[phonenumber] => xxxxxxxxxxx
[password] => ************************************************************
[authmodule] =>
[authdata] =>
[currency] => 1
[defaultgateway] =>
[credit] => 0.00
[taxexempt] => 0
[latefeeoveride] => 0
[overideduenotices] => 0
[separateinvoices] => 0
[disableautocc] => 0
[datecreated] => 2017-07-27
[notes] =>
[billingcid] => 0
[securityqid] => 0
[securityqans] => 8GVIeKG86BbBucKwWUY7B5j0uoU=
[groupid] => 0
[cardtype] =>
[cardlastfour] =>
[cardnum] =>
[startdate] =>
[expdate] =>
[issuenumber] =>
[bankname] =>
[banktype] =>
[bankcode] =>
[bankacct] =>
[gatewayid] =>
[lastlogin] => 2017-07-27 20:38:35
[ip] => xxxxxxxxxxx
[host] => xxxxxxxx
[status] => Inactive
[language] =>
[pwresetkey] =>
[emailoptout] => 0
[overrideautoclose] => 0
[allow_sso] => 1
[email_verified] => 0
[created_at] => 0000-00-00 00:00:00
[updated_at] => 0000-00-00 00:00:00
[pwresetexpiry] => 0000-00-00 00:00:00
)
[relations:protected] => Array
(
)
[hidden:protected] => Array
(
)
[visible:protected] => Array
(
)
[guarded:protected] => Array
(
[0] => *
)
[dateFormat:protected] =>
[casts:protected] => Array
(
)
[touches:protected] => Array
(
)
[observables:protected] => Array
(
)
[with:protected] => Array
(
)
[morphClass:protected] =>
[exists] => 1
[wasRecentlyCreated] =>
)
)
[hidden:protected] => Array
(
)
[visible:protected] => Array
(
)
[fillable:protected] => Array
(
)
[guarded:protected] => Array
(
[0] => *
)
[dateFormat:protected] =>
[casts:protected] => Array
(
)
[touches:protected] => Array
(
)
[observables:protected] => Array
(
)
[with:protected] => Array
(
)
[morphClass:protected] =>
[exists] => 1
[wasRecentlyCreated] =>
)
[server] => 1
[serverip] => 34.231.8.177
[serverhostname] => https://minecraft.xxxxxxx.com.xxxxxxxxx
[serverusername] => admin
[serverpassword] =>
[serveraccesshash] => **************
[serversecure] =>
[serverhttpprefix] => http
[serverport] =>
[clientsdetails] => Array
(
[userid] => 8
[id] => 8
[uuid] => 83494bd1-546d-4f94-9326-bdee494e5760
[firstname] => Esteban
[lastname] => Hernandez
[fullname] => Esteban Hernandez
[companyname] => L216403
[email] => xxxxxxxxxxxxx
[address1] => xxxxxxxxxx
[address2] =>
[city] => Mexicali
[fullstate] => Baja California
[state] => Baja California
[postcode] => 21290
[countrycode] => MX
[country] => MX
[phonenumber] => xxxxxxxx
[password] => ************************************************************
[statecode] => Baja California
[countryname] => Mexico
[phonecc] => 52
[phonenumberformatted] => +xxxxxx
[billingcid] => 0
[notes] =>
[twofaenabled] =>
[currency] => 1
[defaultgateway] =>
[cctype] =>
[cclastfour] =>
[gatewayid] =>
[securityqid] => 0
[securityqans] =>
[groupid] => 0
[status] => Inactive
[credit] => 0.00
[taxexempt] =>
[latefeeoveride] =>
[overideduenotices] =>
[separateinvoices] =>
[disableautocc] =>
[emailoptout] =>
[overrideautoclose] =>
[allowSingleSignOn] => 1
[language] =>
[lastlogin] => Date: 27/07/2017 20:38<br>IP Address: xxxxxx<br>Host: xxxxxxxxx
)
[action] => create
)
"ANSWER"
Code:
Complete log:
===
Multicraft Service Module v3.0 (604281) starting
Server field "domain" set to "servermania" from custom field "domain".
Locking /home/hostside/clientes.hostsiden.com.mx/modules/servers/multicraft/multicraft.php
Username set from module parameters
Username set from client email
Verified data for client 8, service 10, plan 14: Server 2, username "[email protected]", players 50, RAM 512
Password set from module parameters
Got existing password: **********
Daemon 1 has no available memory amount set.
Creating server on daemon 1
Not assigning dedicated IP.
Found user "[email protected]" (2) with same email ([email protected]). Reusing.
Created server 10
Updating server 10
Failed to update server: Array
(
[domain] => Array
(
[0] => Invalid subdomain name, only numbers and letters are allowed
)
)
Can somebody help me?
