WHMCS Module Bug
-
- Posts: 33
- Joined: Sun Oct 05, 2014 7:53 am
WHMCS Module Bug
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
-
- Posts: 33
- Joined: Sun Oct 05, 2014 7:53 am
Re: WHMCS Module Bug
well after so many tries i found out that it was vesta cp bug. i have fixed it for current version by editing v-add-domain file
from
to
i found it from the github: https://github.com/serghey-rodin/vesta/ ... add-domain
i have applied this fix on Version:0.9.8 (i386) and it is working perfect with whmcs.
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
if [ ! -z "$PROXY_SYSTEM" ] && [ "$return_code" -eq 0 ]; then
extentions="jpg,jpeg,gif,png,ico,svg,css,zip,tgz,gz,rar,bz2,doc,xls"
extentions="$extentions,exe,pdf,ppt,txt,odt,ods,odp,odf,tar,wav"
extentions="$extentions,bmp,rtf,js,mp3,avi,mpeg,flv,html,htm"
$BIN/v-add-web-domain-proxy $user $domain 'default' "$extentions" 'no'
i have applied this fix on Version:0.9.8 (i386) and it is working perfect with whmcs.
Re: WHMCS Module Bug
Hi, armyboylegend
you problem is solved ?
you problem is solved ?
-
- Posts: 33
- Joined: Sun Oct 05, 2014 7:53 am
Re: WHMCS Module Bug
Yes I have solved my problem. Thanks for asking.
Re: WHMCS Module Bug
Where is the v-add-domain file located?
Im having the same problem but i can't find that file.
Im having the same problem but i can't find that file.
Re: WHMCS Module Bug
Can modificated that Module for Fix? or need manually fix?
Re: WHMCS Module Bug
I found the file and modified but no change in the outcome.
Re: WHMCS Module Bug
hostingpr wrote:I found the file and modified but no change in the outcome.
So need config manually no?