LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » Archive » LxAdmin » Bug Report » Error in Lxadmin module for whmcs
Error in Lxadmin module for whmcs [message #20947] Tue, 05 February 2008 16:42 Go to next message
Silence is currently offline Silence  Spain
Messages: 244
Registered: October 2007
Location: Spain
Senior Member
Hello, i don't know where to ask this so.. sorry if this isn't the proper place.
I'm using whmcs, i'm trying to use the lxadmin module http://forum.whmcs.com/showthread.php?t=7365&highlight=l xadmin (i haven't find any other), but is not working for me, i asked ddnev about my problem and he told me that i should ask here because he understands that it's a lxadmin error (i don't know), when configuring the module or trying to create an account this error appears in the footer of whmcs:


Fatal Error. Got a non-object from the server: {"message":"success","result":{"basic host___client_s_vv_p_admin":"Basic Host","nano host___client_s_vv_p_admin":"Nano Host","pro host___client_s_vv_p_admin":"Pro Host"},"return":"success"}

Basic, Nano and Pro host are my resource packages, i'm using latest lxadmin. Anyone is using the module successfully?, Thanks!

Config
http://img528.imageshack.us/img528/801/configeq6.png

Result after save the config
http://img156.imageshack.us/img156/1093/resultaftersaveaa9.png
Re: Error in Lxadmin module for whmcs [message #20948 is a reply to message #20947] Tue, 05 February 2008 16:46 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
Most likely the JSON module is not loaded. Lxadmin returns a full JSON object, and from what I see below, the lxadmin output is a proper JSON object, which whmcs is not able to parse properly. I think the JSON module is integrated with WHMCS only in the later versions. So you may have to update WHMCS first.


On Tue, Feb 05, 2008 at 09:42:44PM -0000, Silence wrote:
>
>
> Hello, i don't know where to ask this so.. sorry if this isn't the proper place.
> I'm using whmcs, i'm trying to use the lxadmin module http://forum.whmcs.com/showthread.php?t=7365&highlight=l xadmin (i haven't find any other), but is not working for me, i asked ddnev about my problem and he told me that i should ask here because he understands that it's a lxadmin error (i don't know), when configuring the module or trying to create an account this error appears in the footer of whmcs:
>
Re: Error in Lxadmin module for whmcs [message #20949 is a reply to message #20947] Tue, 05 February 2008 16:49 Go to previous messageGo to next message
Silence is currently offline Silence  Spain
Messages: 244
Registered: October 2007
Location: Spain
Senior Member
Whmcs is latest version, 3.5.1 :/
Re: Error in Lxadmin module for whmcs [message #20950 is a reply to message #20949] Tue, 05 February 2008 16:53 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
Actually, ddenev should be able to help. The problem is with JSON. Can you try creating the hosting packages without spaces in their names?


On Tue, Feb 05, 2008 at 09:49:54PM -0000, Silence wrote:
>
>
> Whmcs is latest version, 3.5.1 :/
Re: Error in Lxadmin module for whmcs [message #20952 is a reply to message #20947] Tue, 05 February 2008 17:05 Go to previous messageGo to next message
DeanClinton is currently offline DeanClinton  United Kingdom
Messages: 247
Registered: May 2007
Location: Morecambe
Senior Member
Did you copy the JSON file from the HyperVM module folder into the LXAdmin module folder?
Re: Error in Lxadmin module for whmcs [message #20953 is a reply to message #20947] Tue, 05 February 2008 17:07 Go to previous messageGo to next message
Silence is currently offline Silence  Spain
Messages: 244
Registered: October 2007
Location: Spain
Senior Member
Yes i copied JSON.php, i'll try creating the packages without spaces.
Re: Error in Lxadmin module for whmcs [message #20954 is a reply to message #20947] Tue, 05 February 2008 17:12 Go to previous messageGo to next message
Silence is currently offline Silence  Spain
Messages: 244
Registered: October 2007
Location: Spain
Senior Member
Same problem without spaces:
Fatal Error. Got a non-object from the server: {"message":"success","result":{"basic___client_s_vv_p_admin ":"basic","nano___client_s_vv_p_admin":"nano","pro___client_s_vv_p_admin ":"pro"},"return":"success"}

Anyone is using the module without problems?
Re: Error in Lxadmin module for whmcs [message #20957 is a reply to message #20947] Tue, 05 February 2008 17:23 Go to previous messageGo to next message
Silence is currently offline Silence  Spain
Messages: 244
Registered: October 2007
Location: Spain
Senior Member
I just checked the file on the server (JSON.php) and it seems that was corrupted when uploaded via ftp (12.5kb vs the 25kb of the original file)i just uploaded again and it's working!, Sorry, thanks for your help.

[Updated on: Tue, 05 February 2008 17:23]

Report message to a moderator

Re: Error in Lxadmin module for whmcs [message #20973 is a reply to message #20957] Wed, 06 February 2008 03:40 Go to previous messageGo to next message
drank is currently offline drank  Bulgaria
Messages: 1324
Registered: June 2007
Senior Master
Sorry, I see your post just now. I am glad it finally worked for you since I could not think of what could be the problem with the code. I tested it thoroughly before releasing it and there weren't any problems. BTW, Matt (the developer of WHMCS) still did not include it in the core WHMCS and I don't know if he'll do this.

Best regards,
DDenev


Dragomir Denev
DGM
www.dgm.bg
Re: Error in Lxadmin module for whmcs [message #21048 is a reply to message #20973] Wed, 06 February 2008 14:56 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
I have talked to Matt, and he said he will include it in the next version.

Also, you might want to start building the Enterprise distribution features into the module. The server choosing is involved only at the time of creation of the client. You have to also set the web/mail/dns/mysql servers for the client.

You can check the demo for lxadmin Enterprise here. http://demo.lxadmin.com:7778

Distributed hosting has had a very bad name, because Hsphere was extremely buggy. With Lxadmin, we are planning on making distribution the default choice of even people hosting a couple of websites.

Thanks.



On Wed, Feb 06, 2008 at 08:40:36AM -0000, Dragomir Denev wrote:
>
>
> Sorry, I see your post just now. I am glad it finally worked for you since I could not think of what could be the problem with the code. I tested it thoroughly before releasing it and there weren't any problems. BTW, Matt (the developer of WHMCS) still did not include it in the core WHMCS and I don't know if he'll do this.
>
Re: Error in Lxadmin module for whmcs [message #21049 is a reply to message #21048] Wed, 06 February 2008 15:14 Go to previous messageGo to next message
drank is currently offline drank  Bulgaria
Messages: 1324
Registered: June 2007
Senior Master
I am glad Matt will put it in the core WHMCS. Last time he wanted to integrate the module but it did not work properly after he ionCube-encoded the file and I guess he just gave up at some point. But the module is useful even without being part of the core WHMCS.

Sure I can start developing the enterprise features into the module but I will need some test licenses for one of my HiB servers (I have faster connection than to your demo server). Is this possible?

Best regards


Dragomir Denev
DGM
www.dgm.bg
Re: Error in Lxadmin module for whmcs [message #21050 is a reply to message #21049] Wed, 06 February 2008 15:24 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
We are planning on changing the free license to 2 server and 30 domains, rather than 1 server and 100 domains. Anyway, you can create the license at client.lxlabs.com, and open a ticket, and we will mark it as test.

Thanks.



On Wed, Feb 06, 2008 at 08:15:00PM -0000, Dragomir Denev wrote:
>
>
> I am glad Matt will put it in the core WHMCS. Last time he wanted to integrate the module but it did not work properly after he ionCube-encoded the file and I guess he just gave up at some point. But the module is useful even without being part of the core WHMCS.
>
> Sure I can start developing the enterprise features into the module but I will need some test licenses for one of my HiB servers (I have faster connection than to your demo server). Is this possible?
>
> Best regards
> --
> Dragomir Denev
> DGM
> http://www.dgm.bg
Re: Error in Lxadmin module for whmcs [message #21052 is a reply to message #21049] Wed, 06 February 2008 15:53 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
I have created 2 new forums: lxadmin backup/restore and hyperVM windows.

If possible, could you please move the existing backup/restore questions into this forum. Backup/Restore is central to Lxadmin, and very important for customer peace-of-mind and we take it extremely seriously.

Thanks.




On Wed, Feb 06, 2008 at 08:15:00PM -0000, Dragomir Denev wrote:
>
>
> I am glad Matt will put it in the core WHMCS. Last time he wanted to integrate the module but it did not work properly after he ionCube-encoded the file and I guess he just gave up at some point. But the module is useful even without being part of the core WHMCS.
Re: Error in Lxadmin module for whmcs [message #21054 is a reply to message #21052] Wed, 06 February 2008 16:10 Go to previous messageGo to next message
drank is currently offline drank  Bulgaria
Messages: 1324
Registered: June 2007
Senior Master
Sure, no problem Smile

Dragomir Denev
DGM
www.dgm.bg
Re: Error in Lxadmin module for whmcs [message #35335 is a reply to message #20947] Sat, 16 August 2008 19:39 Go to previous messageGo to next message
supraseed is currently offline supraseed  United States
Messages: 61
Registered: July 2008
Valuable Member
I am also getting this same problem with Lxadmin in WHMCS but the JSON.php file has been reuploaded and copied several times. Also when I try to checkmark to "Get the available choices from the server" it crashes the product and I have to create a new one. Pleas help
Re: Error in Lxadmin module for whmcs [message #37445 is a reply to message #35335] Sat, 13 September 2008 12:26 Go to previous messageGo to next message
drank is currently offline drank  Bulgaria
Messages: 1324
Registered: June 2007
Senior Master
supraseed wrote on Sun, 17 August 2008 02:39

I am also getting this same problem with Lxadmin in WHMCS but the JSON.php file has been reuploaded and copied several times. Also when I try to checkmark to "Get the available choices from the server" it crashes the product and I have to create a new one. Pleas help

Please check the version of PHP that you are using. The WHMCS module works with PHP 5.x and above.


Dragomir Denev
DGM
www.dgm.bg
Re: Error in Lxadmin module for whmcs [message #37453 is a reply to message #20947] Sat, 13 September 2008 20:40 Go to previous messageGo to next message
arthurthornton is currently offline arthurthornton  United States
Messages: 2120
Registered: August 2007
Location: Virginia
Grandmaster
LxCenter Staff

Actually, we got the same problem as reported by supraseed (everything) and it was on a test license of WHMCS, so we just decided to scrap it. We no longer have the license valid (it was only 15 days), and as such, we cannot test anything.

I just figured it was some sort of issue because I changed the port numbers in LxAdmin (but even changing back to default and restarting Lxadmin didn't fix anything).

Here are the versions of software that were being used in our server when we had the test license:
PHP 5.2.1
MySQL 5.0.45
Apache 2.2.3

I wanted to include that in case it helps to solve your problems. I also tested it while the license was valid with 5.2.6 to no avail.

Thanks,
Arthur


Re: Error in Lxadmin module for whmcs [message #38279 is a reply to message #20947] Tue, 23 September 2008 15:18 Go to previous messageGo to next message
savehost is currently offline savehost  Canada
Messages: 1
Registered: September 2008
Member
I am having the same problem and I can't seem to find a solution. I have a ticket open with WHMCS but I think they are cherry picking tickets and don't want to help out so much with this one.

I receive the following error message: "Fatal Error. Got a non-object from the server: "

But that's it, I don't get a readout like everyone else. I am fairly new to lxadmin so any help would be extremely appreciated.

[Updated on: Tue, 23 September 2008 15:18]

Report message to a moderator

Re: Error in Lxadmin module for whmcs [message #38305 is a reply to message #38279] Tue, 23 September 2008 23:10 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
The non-object is specifically an issue with the JSON php module. We do have people quite successfully using WHMCS with lxadmin, and this is the only problem, we have found till now.

thanks.


On Tue, Sep 23, 2008 at 07:18:15PM -0000, Chris wrote:
>
>
> I am having the same problem and I can't seem to find a solution. I have a ticket open with WHMCS but I think they are cherry picking tickets and don't want to help out so much with this one.
Re: Error in Lxadmin module for whmcs [message #67201 is a reply to message #20947] Sat, 06 June 2009 16:39 Go to previous messageGo to next message
SoftDux is currently offline SoftDux  South Africa
Messages: 344
Registered: April 2008
Location: Johannesburg, South Afric...
Senior Member
Hi,

I'm getting the exact same error, using WHMCS V4.0.1 & Kloxo 6.0.1812 Stable

LxHelp, is this still a problem with the JSON file? Is so, which file, and where do I need to check for it?
Re: Error in Lxadmin module for whmcs [message #67214 is a reply to message #67201] Sat, 06 June 2009 21:49 Go to previous messageGo to next message
Ice-Man is currently offline Ice-Man  Switzerland
Messages: 93
Registered: September 2008
Valuable Member
SoftDux wrote on Sat, 06 June 2009 22:39
Hi,

I'm getting the exact same error, using WHMCS V4.0.1 & Kloxo 6.0.1812 Stable


Same error for me too
Re: Error in Lxadmin module for whmcs [message #67240 is a reply to message #20947] Sun, 07 June 2009 06:34 Go to previous message
SoftDux is currently offline SoftDux  South Africa
Messages: 344
Registered: April 2008
Location: Johannesburg, South Afric...
Senior Member
So, does anyone know how to fix it?
Previous Topic:awstats still broke
Next Topic:Database name maximum string length
Goto Forum:
  


Current Time: Thu May 23 09:16:44 EDT 2013

Total time taken to generate the page: 0.01384 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software