Current time: 05-24-2012, 12:51 AM Hello There, Guest! (LoginRegister)

 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fatal Error on signup
09-08-2009, 02:49 PM (This post was last modified: 09-08-2009 05:19 PM by jamiet757.)
Post: #1
Bug Fatal Error on signup
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

ClearerImages
Visit this user's website Find all posts by this user
09-08-2009, 05:02 PM
Post: #2
RE: Fatal Error on signup
Please use the Quik Paste guidelines.

Kevin Mark - TheHostingTool Lead Developer
Visit this user's website Find all posts by this user
09-08-2009, 05:19 PM
Post: #3
RE: Fatal Error on signup
(09-08-2009 05:02 PM)Kevin M Wrote:  Please use the Quik Paste guidelines.

Fixed.

ClearerImages
Visit this user's website Find all posts by this user
09-08-2009, 05:26 PM
Post: #4
RE: Fatal Error on signup
Is this a paid account?

Jonny H - THT Main Developer & Founder
Find all posts by this user
09-08-2009, 05:27 PM
Post: #5
RE: Fatal Error on signup
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
Visit this user's website Find all posts by this user
09-13-2009, 01:25 AM (This post was last modified: 09-13-2009 01:28 AM by adi003.)
Post: #6
RE: Fatal Error on signup
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 
Find all posts by this user
09-13-2009, 03:54 AM
Post: #7
RE: Fatal Error on signup
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
Find all posts by this user
09-13-2009, 08:30 PM
Post: #8
RE: Fatal Error on signup
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.

ClearerImages
Visit this user's website Find all posts by this user
09-13-2009, 11:39 PM
Post: #9
RE: Fatal Error on signup
Did you enable SSL in the security settings? If so, switch it off, if not, switch it on.

Kevin Mark - TheHostingTool Lead Developer
Visit this user's website Find all posts by this user
09-14-2009, 02:00 AM
Post: #10
RE: Fatal Error on signup
Had SSL disabled, tried enabling it and creating another account, the error still appears.

ClearerImages
Visit this user's website Find all posts by this user


Forum Jump:


User(s) browsing this thread: 3 Guest(s)