Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP error when signing up
#11
Running the file directly just shows a blank page (no source code at all).
Reply
#12
No, in http://thehostingtool.com/forum/thread-6...ml#pid4678 "that file" = /home/*********/public_html/portal/includes/servers/whm.php
Kevin Mark - TheHostingTool Lead Developer
Reply
#13
I know. I added that code after "// End" and opened the file in Safari, nothing showed. Should I try signing up again?
Reply
#14
You don't want to run the file in your browser manually. Try to replicate your original error.
Kevin Mark - TheHostingTool Lead Developer
Reply
#15
Somewhat improved......

An account is made in WHM, and I get a conformation email of that (from whm), but the client is not added to THT, and THT does not send an email.

Also, Step 5 is blank:

[Image: S3WMP.png]
Reply
#16
(04-10-2010, 02:26 AM)rollthebones Wrote: Somewhat improved......

An account is made in WHM, and I get a conformation email of that (from whm), but the client is not added to THT, and THT does not send an email.

Also, Step 5 is blank:

[Image: S3WMP.png]

That probably means that the XML is failing to parse because... there isn't any XML. Try commenting out the XML parsing stuff.
Kevin Mark - TheHostingTool Lead Developer
Reply
#17
I feel dumb. Which lines would those be?

Thanks!
Reply
#18
This is pretty risky but try replacing
PHP Code:
$xml = new SimpleXMLElement($data); 
with
PHP Code:
$xml ""
Kevin Mark - TheHostingTool Lead Developer
Reply
#19
Same as before. Account is made in WHM, but not in THT.

And Step 5 is again blank.
Reply
#20
oh, you need to remove the echo and exit we added before. Tongue
Kevin Mark - TheHostingTool Lead Developer
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)