Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't terminate user
#1
Whenever I try to terminate a user, it just shows up with the main info page.
Kevin Mark - TheHostingTool Lead Developer
#2
Known bug, already reported by me in 1.1. I will need some input from Jonny Wink
Jimmie Lin - Community Manager & THT.Next Developer
#3
(12-23-2008, 10:12 AM)Kevin M Wrote: Whenever I try to terminate a user, it just shows up with the main info page.
It will do that when WHM returns false with termination.
Jonny H - THT Main Developer & Founder


#4
So is it a bug, or is it something wrong with my installation?
Kevin Mark - TheHostingTool Lead Developer
#5
Not a bug, not a problem with your installation. Something to do with WHM. WHM just says it didn't terminate and returned that.
Jonny H - THT Main Developer & Founder


#6
My work fine on this.
#7
Kevin make sure the user exists on WHM. I don't know why WHM fails. Usually even if the user doesn't exist it returns true.
Jonny H - THT Main Developer & Founder


#8
It doesn't. That's why I'm trying to delete it. Tongue But even when I deleted a account. It gave me all kinds of crazy errors. It deleted the whm account but not the tht one.
Kevin Mark - TheHostingTool Lead Developer
#9
Can't do anything without the errors.
Jonny H - THT Main Developer & Founder


#10
Something like this:
Code:
<b>Warning</b>:  SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: Entity: line 1: parser error : Start tag expected, '&lt;' not found in <b>/home/tyreus/public_html/signup/includes/servers/whm.php</b> on line <b>49</b><br />
<br />
<b>Warning</b>:  SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: Failed to update htaccess file during suspension: No such file or directory at / in <b>/home/tyreus/public_html/signup/includes/servers/whm.php</b> on line <b>49</b><br />
<br />
<b>Warning</b>:  SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: ^ in <b>/home/tyreus/public_html/signup/includes/servers/whm.php</b> on line <b>49</b><br />
<br />
<b>Fatal error</b>:  Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/tyreus/public_html/signup/includes/servers/whm.php:49
Stack trace:
#0 /home/tyreus/public_html/signup/includes/servers/whm.php(49): SimpleXMLElement-&gt;__construct('Failed to updat...')
#1 /home/tyreus/public_html/signup/includes/servers/whm.php(84): whm-&gt;remote('/xml-api/suspen...')
#2 /home/tyreus/public_html/signup/includes/class_server.php(220): whm-&gt;suspend('tysowner', '7')
#3 /home/tyreus/public_html/signup/includes/types/p2h.php(212): server-&gt;suspend('226')
#4 /home/tyreus/public_html/signup/includes/cron.php(24): p2h-&gt;cron()
#5 {main}
  thrown in <b>/home/tyreus/public_html/signup/includes/servers/whm.php</b> on line <b>49</b><br />
Kevin Mark - TheHostingTool Lead Developer


Forum Jump:


Users browsing this thread: 2 Guest(s)