Difference between revisions of "Common Errors"
From TheHostingTool Wiki
Jump to navigationJump to search (→Fixes) |
|||
Line 3: | Line 3: | ||
* Spaces in package name in WHM. | * Spaces in package name in WHM. | ||
====Fixes==== | ====Fixes==== | ||
− | Remove spaces from package names. | + | =====Remove spaces from package names.===== |
+ | |||
==Common Errors== | ==Common Errors== | ||
===Fatal error: Uncaught exception 'Exception'=== | ===Fatal error: Uncaught exception 'Exception'=== |
Revision as of 10:39, 31 March 2010
Package Issues
Common Causes
- Spaces in package name in WHM.
Fixes
Remove spaces from package names.
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]
#0009: Usernames beginning with numbers
- Description: WHM does not support usernames beginning with a number.
- Version acknowledged: 1.2
- Date acknowledged: 2-22-10
#0010: Usernames can't have special characters
- Description: WHM does not support usernames with special characters like _
- Version acknowledged: 1.2.1
- Date acknowledge: 3-29-10
Patched bugs
#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