Hello There, Guest! Register

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP error when signing up
04-10-2010, 01:45 AM,
#11
RE: PHP error when signing up
Running the file directly just shows a blank page (no source code at all).
Reply
04-10-2010, 02:02 AM,
#12
RE: PHP error when signing up
No, in http://thehostingtool.com/forum/thread-696-post-4678.html#pid4678 "that file" = /home/*********/public_html/portal/includes/servers/whm.php
Kevin Mark - TheHostingTool Lead Developer
Reply
04-10-2010, 02:06 AM,
#13
RE: PHP error when signing up
I know. I added that code after "// End" and opened the file in Safari, nothing showed. Should I try signing up again?
Reply
04-10-2010, 02:16 AM,
#14
RE: PHP error when signing up
You don't want to run the file in your browser manually. Try to replicate your original error.
Kevin Mark - TheHostingTool Lead Developer
Reply
04-10-2010, 02:26 AM,
#15
RE: PHP error when signing up
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
04-10-2010, 02:54 AM,
#16
RE: PHP error when signing up
(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
04-10-2010, 02:59 AM,
#17
RE: PHP error when signing up
I feel dumb. Which lines would those be?

Thanks!
Reply
04-10-2010, 03:10 AM,
#18
RE: PHP error when signing up
This is pretty risky but try replacing
PHP Code:
$xml = new SimpleXMLElement($data); 
with
PHP Code:
$xml ""
Kevin Mark - TheHostingTool Lead Developer
Reply
04-10-2010, 03:17 AM, (This post was last modified: 04-10-2010, 03:17 AM by rollthebones.)
#19
RE: PHP error when signing up
Same as before. Account is made in WHM, but not in THT.

And Step 5 is again blank.
Reply
04-10-2010, 03:22 AM,
#20
RE: PHP error when signing up
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: 1 Guest(s)