Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fatal Error on signup
#1
Bug 
THT Version:1.2
Browser (including version):Firefox 3.5.2
Your Operating System:Vista 64-bit SP2
Server's Operating System:Linux
Apache Version:2.2.13
Control Panel Type: WHM
Control Panel Version:11.24.2
Error:When signing up, I get this message after the signup is completed:
Your account has been completed!
You may now use the client login bar to see your client area or proceed to your control panel. An email has been dispatched to the address on file.
Fatal error: Cannot redeclare class whm in /home2/blufireh/public_html/includes/servers/whm.php on line 9
#2
Please use the Quik Paste guidelines.
Kevin Mark - TheHostingTool Lead Developer
#3
(09-08-2009, 05:02 PM)Kevin M Wrote: Please use the Quik Paste guidelines.

Fixed.
#4
Is this a paid account?
Jonny H - THT Main Developer & Founder


#5
This is the beginning of the 1.2 whm.php Line 9 is marked.
PHP Code:
<?php
//////////////////////////////
// The Hosting Tool
// cPanel/WHM Server Class
// By Jonny H and Kevin M
// Released under the GNU-GPL
//////////////////////////////

class whm // <--- Line 9
    
    # START THE MO TRUCKIN FUNCTIONS #
    
    
public $name "cPanel/WHM"# THT Values
    
public $hash true# Password or Access Hash?
    
    
private $server

Looks like whm.php is being included twice along the line somewhere. Odd. Anybody else having this problem? Does this problem always happen or was this just a random incident?
Kevin Mark - TheHostingTool Lead Developer
#6
and this one at paid hosting

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

and this is for the free hosting

PHP Code:
Fatal errorUncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/ihostnet/public_html/tht/includes/servers/whm.php:61 Stack trace#0 /home/ihostnet/public_html/tht/includes/servers/whm.php(61): SimpleXMLElement->__construct('') #1 /home/ihostnet/public_html/tht/includes/servers/whm.php(105): whm->remote('/xml-api/create...') #2 /home/ihostnet/public_html/tht/includes/class_server.php(139): whm->signup('3', '0') #3 /home/ihostnet/public_html/tht/includes/ajax.php(124): server->signup() #4 /home/ihostnet/public_html/tht/includes/ajax.php(939): AJAX->create() #5 {main} thrown in /home/ihostnet/public_html/tht/includes/servers/whm.php on line 61 
#7
Your server details are wrong.
It's not connecting.

Make sure it's localhost if internal and all your access hash is setup properly.
Jonny H - THT Main Developer & Founder


#8
My server is set up correctly, and I just tried another test signup, and got the same error message, so it is not a random occurrence.
#9
Did you enable SSL in the security settings? If so, switch it off, if not, switch it on.
Kevin Mark - TheHostingTool Lead Developer
#10
Had SSL disabled, tried enabling it and creating another account, the error still appears.


Forum Jump:


Users browsing this thread: 1 Guest(s)