This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[MODULE] WHMCS
#91
RE: [MODULE] WHMCS
I just installed latest version of sentora & lates version of WHMCS module, But there's just blank page when try to manage WHMCS module.
The log file: /var/sentora/logs/sentora-error.log
Code:
PHP Parse error:  syntax error, unexpected '[' in /etc/sentora/panel/modules/whmcs/code/controller.ext.php on line 201, referer: x.x.x.x/?module=moduleadmin&action=EditModule
and it refers to this static function:
Code:
    static function getCurrentUserID()
    {
        return ctrl_users::GetUserDetail()["userid"];
    }
But i can't see any unexpected '[' !!!!!!!!!
How can fix this?
Reply
Thanks given by:
#92
RE: [MODULE] WHMCS
I did change the function to simpler type:
Code:
    static function getCurrentUserID()
    {
        $current_user=ctrl_users::GetUserDetail() ;
        return $current_user["userid"];
    }
and it works!
Reply
Thanks given by:
#93
RE: [MODULE] WHMCS
(01-10-2016, 06:37 AM)cybercoder Wrote: I did change the function to simpler type:
Code:
static function getCurrentUserID()
{
$current_user=ctrl_users::GetUserDetail() ;
return $current_user["userid"];
}
and it works!

cybercoder Awesome, I'll include that in the next update Smile
Reply
Thanks given by:
#94
RE: [MODULE] WHMCS
Hello, I have the following error when I try to install the module .



root@clientes:~# zppy repo add zppy.grid-servers.net
The repository 'zppy.grid-servers.net' already exists.
root@clientes:~# zppy update
Updating package list..
Connecting to store.sentora.org/repo
Getting list from store.sentora.org/repo
Connecting to zppy.grid-servers.net
Getting list from zppy.grid-servers.net
Local package cache is now up-to-date!
root@clientes:~# zppy install whmcs
Module to be installed whmcs
No package match, check you have added the correct repo!
root@clientes:~#
Reply
Thanks given by:
#95
RE: [MODULE] WHMCS
(02-01-2016, 05:27 AM)KyKarHosting Wrote: Hello, I have the following error when I try to install the module .



root@clientes:~# zppy repo add zppy.grid-servers.net
The repository 'zppy.grid-servers.net' already exists.
root@clientes:~# zppy update
Updating package list..
 Connecting to store.sentora.org/repo
 Getting list from store.sentora.org/repo
 Connecting to zppy.grid-servers.net
 Getting list from zppy.grid-servers.net
Local package cache is now up-to-date!
root@clientes:~# zppy install whmcs
Module to be installed whmcs
No package match, check you have added the correct repo!
root@clientes:~#

Hi KyKarHosting, I'll check that out, I'll see real quick if I can resolve that, if not I'll check it first thing tomorrow when I get to my office
Reply
Thanks given by:
#96
RE: [MODULE] WHMCS
(02-01-2016, 05:39 AM)Rynoxx Wrote:
(02-01-2016, 05:27 AM)KyKarHosting Wrote: Hello, I have the following error when I try to install the module .



root@clientes:~# zppy repo add zppy.grid-servers.net
The repository 'zppy.grid-servers.net' already exists.
root@clientes:~# zppy update
Updating package list..
 Connecting to store.sentora.org/repo
 Getting list from store.sentora.org/repo
 Connecting to zppy.grid-servers.net
 Getting list from zppy.grid-servers.net
Local package cache is now up-to-date!
root@clientes:~# zppy install whmcs
Module to be installed whmcs
No package match, check you have added the correct repo!
root@clientes:~#

Hi @[KyKarHosting], I'll check that out, I'll see real quick if I can resolve that, if not I'll check it first thing tomorrow when I get to my office

Ok, I'II wait the solution.
Reply
Thanks given by:
#97
RE: [MODULE] WHMCS
(02-01-2016, 06:07 AM)KyKarHosting Wrote:
(02-01-2016, 05:39 AM)Rynoxx Wrote:
(02-01-2016, 05:27 AM)KyKarHosting Wrote: Hello, I have the following error when I try to install the module .



root@clientes:~# zppy repo add zppy.grid-servers.net
The repository 'zppy.grid-servers.net' already exists.
root@clientes:~# zppy update
Updating package list..
 Connecting to store.sentora.org/repo
 Getting list from store.sentora.org/repo
 Connecting to zppy.grid-servers.net
 Getting list from zppy.grid-servers.net
Local package cache is now up-to-date!
root@clientes:~# zppy install whmcs
Module to be installed whmcs
No package match, check you have added the correct repo!
root@clientes:~#

Hi KyKarHosting, I'll check that out, I'll see real quick if I can resolve that, if not I'll check it first thing tomorrow when I get to my office

Ok, I'II wait the solution.

Hi KyKarHosting, I did some tweaks which might've solved your issue, give it another try, and if the problem remains I'll get back to you tomorrow
Reply
Thanks given by:
#98
RE: [MODULE] WHMCS
(02-01-2016, 06:07 AM)KyKarHosting Wrote:
(02-01-2016, 05:39 AM)Rynoxx Wrote:
(02-01-2016, 05:27 AM)KyKarHosting Wrote: - Snip -

Hi KyKarHosting, I'll check that out, I'll see real quick if I can resolve that, if not I'll check it first thing tomorrow when I get to my office

Ok, I'II wait the solution.
KyKarHosting The problem should now be solved, sorry for the delay!

Code:
root@dashboard:~# zppy update
Updating package list..
  Connecting to store.sentora.org/repo
  Getting list from store.sentora.org/repo
  Connecting to zppy.grid-servers.net
  Getting list from zppy.grid-servers.net
  Connecting to auxio.github.io
  Getting list from auxio.github.io
  Connecting to zppy-repo.mach-hosting.com
  Getting list from zppy-repo.mach-hosting.com
  Connecting to zppy.lupoinfo.com.br
  Getting list from zppy.lupoinfo.com.br
  Failed to contact the URL 'zppy.lupoinfo.com.br'
  Connecting to repo.jkmods.tk
  Getting list from repo.jkmods.tk
  Connecting to zppy.grid-servers.net/test
  Getting list from zppy.grid-servers.net/test
  Connecting to rustus.txt-clan.com
  Getting list from rustus.txt-clan.com
  Connecting to repo.alio.dk
  Getting list from repo.alio.dk
Local package cache is now up-to-date!
root@dashboard:~# zppy install whmcs
Module to be installed whmcs
converted 'http://zppy.grid-servers.net/whmcs.zpp' (ANSI_X3.4-1968) -> 'http://zppy.grid-servers.net/whmcs.zpp' (UTF-8)
--2016-02-01 08:23:15--  http://zppy.grid-servers.net/whmcs.zpp
Resolving zppy.grid-servers.net (zppy.grid-servers.net)... 178.33.170.24
Connecting to zppy.grid-servers.net (zppy.grid-servers.net)|178.33.170.24|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 236610 (231K)
Saving to: 'whmcs.zpp'

whmcs.zpp                                                            100%[=====================================================================================================================================================================>] 231.06K  --.-KB/s   in 0s    

2016-02-01 08:23:15 (1.26 GB/s) - 'whmcs.zpp' saved [236610/236610]
Reply
Thanks given by:
#99
RE: [MODULE] WHMCS
Hello;

I'm running WHMCS and Sentora on the same server, and getting 'Account couldn't be created, the API Request failed.'

I've double and triple checked my settings, all seem right

All thats in my /var/sentora/logs/sentora-error.log is:

[Wed Apr 06 22:47:02.478197 2016] [access_compat:error] [pid 8790] [client my-ip:43688] AH01797: client denied by server configuration: /etc/sentora/panel/server-status
Reply
Thanks given by:
RE: [MODULE] WHMCS
(04-06-2016, 08:49 PM)modcar Wrote: Hello;

I'm running WHMCS and Sentora on the same server, and getting 'Account couldn't be created, the API Request failed.'

I've double and triple checked my settings, all seem right

All thats in my /var/sentora/logs/sentora-error.log is:

[Wed Apr 06 22:47:02.478197 2016] [access_compat:error] [pid 8790] [client my-ip:43688] AH01797: client denied by server configuration: /etc/sentora/panel/server-status

Hi modcar, could you post the output of the WHMCS module log? (After enabling it and trying again)
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
[MODULE] phpMyAdmin-AU (Auto-Update) TGates 14 40 ,542 06-15-2021, 06:54 AM
Last Post: TGates
[MODULE] SenBrand - Basic Branding module for Sentora TGates 20 43 ,251 06-04-2021, 11:47 AM
Last Post: ccr1969
[MODULE] CoinCorner BitCoin Module Xversion 4 13 ,028 06-03-2021, 05:02 AM
Last Post: zHostingSolutions

Forum Jump:


Users browsing this thread: 1 Guest(s)