Difference between revisions of "Common Errors"

From TheHostingTool Wiki
Jump to navigationJump to search
Line 64: Line 64:
 
* Fixed by: Jonny
 
* Fixed by: Jonny
 
* Notes: PHP configuration issue on some servers was repaired.
 
* Notes: PHP configuration issue on some servers was repaired.
 +
===<s>#0008: Username truncatation</s>===
 +
* Description: When the user enters a username over length of 8 WHM truncates it to 8 letters causing the user the have an incorrect login for WHM.
 +
* Version acknowledged: 1.2
 +
* Version fixed: 1.2.1
 +
* Date acknowledged: [unknown]
 +
* Fixed by: Kevin
 +
===<s>#0009: Usernames beginning with numbers</s>===
 +
*  Description: WHM does not support usernames  beginning with a number.
 +
* Version  acknowledged: 1.2
 +
*  Version fixed: [pending]
 +
*  Date acknowledged: 2-22-10
 +
* Fixed  by: [pending]

Revision as of 04:25, 26 February 2010

Common Errors

Fatal error: Uncaught exception 'Exception'

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

Common Causes

  • The server details are incorrect. Make sure all fields are correct and generate a new API key.
  • The server is down
  • THT expected to parse XML but WHM gave it other text

Fixes

Check Server Details

Checks and correct your server details and generate and use a new access hash.

THT 1.1.2 Error Patch

USE AT YOUR OWN RISK
This patch for THT 1.1.2 will fix any issues you have connecting. This is not for use with THT 1.2 or above and will not be supported.

Order page hangs on Step 5 (Creating account)/Blank Error

Common Causes

  • The server is down
  • Server details are incorrect
  • The username is abnormal or too long

Fixes

Make sure WHM is accessible and that THT can contact WHM. Triple-check your server details, make sure the username isn't more than eight characters, and that it doesn't contain strange (special) characters such as @, $, #, %, ^, etc.

Known Bugs

#0001: Only 1 subdomain when ordering

  • Version acknowledged: 1.2
  • Version fixed: [unknown]
  • Date acknowledged: [unknown]

#0002: shell_exec() on installer

  • Version acknowledged: 1.2
  • Version fixed: 1.2.1
  • Date acknowledged: [unknown]
  • Fixed by: Kevin

#0003: Type does not exist

  • Version acknowledged: 1.2
  • Version fixed: 1.2.1
  • Date acknowledged: [unknown]
  • Fixed by: Kevin

#0004: Undefined tooltip on change password ACP page

  • Version acknowledged: 1.2
  • Version fixed: 1.2.1
  • Date acknowledged: [unknown]
  • Fixed by: Kevin

#0005: Username above 8 characters doesn't return error

  • Version acknowledged: 1.2
  • Version fixed: 1.2.1
  • Date acknowledged: [unknown]
  • Fixed by: Kevin

#0006: ereg() is deprecated

  • Version acknowledged: [all]
  • Version fixed: 1.2.1
  • Date acknowledged: [unknown]
  • Fixed by: Kevin

#0007: Class Whm should not be redeclared

  • Version acknowledged: 1.2
  • Version fixed: 1.2.1
  • Date acknowledged: [unknown]
  • Fixed by: Jonny
  • Notes: PHP configuration issue on some servers was repaired.

#0008: Username truncatation

  • Description: When the user enters a username over length of 8 WHM truncates it to 8 letters causing the user the have an incorrect login for WHM.
  • Version acknowledged: 1.2
  • Version fixed: 1.2.1
  • Date acknowledged: [unknown]
  • Fixed by: Kevin

#0009: Usernames beginning with numbers

  • Description: WHM does not support usernames beginning with a number.
  • Version acknowledged: 1.2
  • Version fixed: [pending]
  • Date acknowledged: 2-22-10
  • Fixed by: [pending]