THT Community (TCom)

Full Version: When setting up a account... Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I get this error:

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/freechos/public_html/bill/includes/servers/whm.php:61 Stack trace: #0 /home/freechos/public_html/bill/includes/servers/whm.php(61): SimpleXMLElement->__construct('') #1 /home/freechos/public_html/bill/includes/servers/whm.php(105): whm->remote('/xml-api/create...') #2 /home/freechos/public_html/bill/includes/class_server.php(139): whm->signup('3', '0') #3 /home/freechos/public_html/bill/includes/ajax.php(124): server->signup() #4 /home/freechos/public_html/bill/includes/ajax.php(939): AJAX->create() #5 {main} thrown in /home/freechos/public_html/bill/includes/servers/whm.php on line 61


What did I do wrong nowSmile btw got cURL installed thats all for last help
Now I get this. I added the hash being Mydomain.com:2086

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 6: parser error : Entity 'reg' not defined in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: <title>cPanel&reg; 11</title> in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 8: parser error : Opening and ending tag mismatch: link line 7 and head in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: </head> in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 26: parser error : Opening and ending tag mismatch: input line 26 and td in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: <td><input type="text" name="user" autocomplete="off" size="16"></td> in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 27: parser error : Opening and ending tag mismatch: td line 26 and tr in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: </tr> in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 30: parser error : Opening and ending tag mismatch: input line 30 and td in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: <td><input type="password" name="pass" size="16"></td> in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 31: parser error : Opening and ending tag mismatch: td line 30 and tr in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: </tr> in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 33: parser error : Entity 'nbsp' not defined in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: <td>&nbsp;</td> in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 34: parser error : Opening and ending tag mismatch: input line 34 and td in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: <td><input type="submit" value="Login" class="input-button"></td> in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 35: parser error : Opening and ending tag mismatch: td line 34 and tr in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: </tr> in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 36: parser error : Opening and ending tag mismatch: tr line 32 and table in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: </table> in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 38: parser error : Opening and ending tag mismatch: input line 37 and form in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: </form> in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 42: parser error : Opening and ending tag mismatch: tr line 28 and div in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: </div> in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 43: parser error : Opening and ending tag mismatch: tr line 24 and div in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: </div> in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 46: parser error : Entity 'copy' not defined in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: &copy; cPanel, Inc. 2006-2008 in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 47: parser error : Opening and ending tag mismatch: table line 20 and div in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: </div> in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 48: parser error : Opening and ending tag mismatch: input line 19 and body in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: </body> in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 49: parser error : Opening and ending tag mismatch: form line 18 and html in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: </html> in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 50: parser error : Premature end of data in tag div line 16 in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 50: parser error : Premature end of data in tag div line 15 in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 50: parser error : Premature end of data in tag div line 11 in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 50: parser error : Premature end of data in tag body line 10 in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 50: parser error : Premature end of data in tag link line 4 in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 50: parser error : Premature end of data in tag head line 3 in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 50: parser error : Premature end of data in tag html line 2 in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/freechos/public_html/bill/includes/servers/whm.php on line 61

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/freechos/public_html/bill/includes/servers/whm.php:61 Stack trace: #0 /home/freechos/public_html/bill/includes/servers/whm.php(61): SimpleXMLElement->__construct('<!DOCTYPE html ...') #1 /home/freechos/public_html/bill/includes/servers/whm.php(105): whm->remote('/xml-api/create...') #2 /home/freechos/public_html/bill/includes/class_server.php(139): whm->signup('3', '0') #3 /home/freechos/public_html/bill/includes/ajax.php(124): server->signup() #4 /home/freechos/public_html/bill/includes/ajax.php(939): AJAX->create() #5 {main} thrown in /home/freechos/public_html/bill/includes/servers/whm.php on line 61
You're getting HTML instead of XML. Is cURL set up right and are your server details correct?
Well my host set it up for me check it out of you like http://www.freechost.com/info.php

Also the hash information is the port I connect to it?
No the WHM Hash/Key.
(11-12-2009 07:11 PM)Kevin Wrote: [ -> ]No the WHM Hash/Key.
oh ok I think I know what that iss....


sorry for my newbiezim
Hey is there a step by step how to setup most of this stuff.. it is now connecting but now I get his error...


Error: Sorry, unable to use Package freechos_Free. Verify that the Package exists and that you have not exceeded your reseller restrictions.

Can anyone help about what I did wrong this time Smile

Thanks in advance
Ok scratch that got the answer Thanks all that helped
This may be the problem I have too...
(12-14-2009 08:37 AM)olivia Wrote: [ -> ]This may be the problem I have too...

The problem "might" be the uppercase letter in the (backend) package name.
Reference URL's