WHMCS Module Bug
Posted: Thu Oct 09, 2014 7:16 am
I am trying to intergrate WHMCS since many days but couldn't do it.
When I process order, it says
in Vesta Control panel. Account is created and domain is added but without Nginx Support
when i checked vestacp logs from /var/log/error.log
it says
command should be like this
when i checked vesta.php module for WHMCS but i can't find any function which call this command
===EDIT===
I modified the /usr/local/vesta/bin/v-add-domain file
from
to
and v-add-domain command worked like charm. I think there's some bug in v-add-domain file.
But after modifiying this v-add-domain file. WHMCS adds all information but gives user name already exists issue. That means it loops the same creation commands.
Added same details in bug tracker: https://bugs.vestacp.com/responses/v-add-domain
When I process order, it says
Code: Select all
Order Accept Encountered Problems
Error: argument extentions is not valid (empty)
when i checked vestacp logs from /var/log/error.log
it says
Code: Select all
2014-10-09 08:51:47 v-add-web-domain-proxy testuser testdomain no [Error 2]
Code: Select all
v-add-web-domain-proxy testuser testdomain default jpg,jpeg,gif,png,ico,svg,css,zip,tgz,gz,rar,bz2,exe,pdf,doc,xls,ppt,txt,odt,ods,odp,odf,tar,bmp,rtf,js,mp3,avi,mpeg,flv,html,htm no
while i manually addv-add-web-domain-proxy
in machine ssh console it gives same errorv-add-domain
Code: Select all
Error: argument extentions is not valid (empty)
I modified the /usr/local/vesta/bin/v-add-domain file
from
Code: Select all
# Proxy support
# Do Not restart at this point, will loose connection from API calls
if [ ! -z "$PROXY_SYSTEM" ] && [ "$return_code" -eq 0 ]; then
$BIN/v-add-web-domain-proxy $user $domain '' '' no
Code: Select all
# Proxy support
# Do Not restart at this point, will loose connection from API calls
if [ ! -z "$PROXY_SYSTEM" ] && [ "$return_code" -eq 0 ]; then
$BIN/v-add-web-domain-proxy $user $domain
But after modifiying this v-add-domain file. WHMCS adds all information but gives user name already exists issue. That means it loops the same creation commands.
Added same details in bug tracker: https://bugs.vestacp.com/responses/v-add-domain