Current time: 04-24-2014, 06:21 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP error when signing up
04-10-2010, 01:45 AM
Post: #11
RE: PHP error when signing up
Running the file directly just shows a blank page (no source code at all).
Find all posts by this user
Quote this message in a reply
04-10-2010, 02:02 AM
Post: #12
RE: PHP error when signing up
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
Visit this user's website Find all posts by this user
Quote this message in a reply
04-10-2010, 02:06 AM
Post: #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?
Find all posts by this user
Quote this message in a reply
04-10-2010, 02:16 AM
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
04-10-2010, 02:26 AM
Post: #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]
Find all posts by this user
Quote this message in a reply
04-10-2010, 02:54 AM
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
04-10-2010, 02:59 AM
Post: #17
RE: PHP error when signing up
I feel dumb. Which lines would those be?

Thanks!
Find all posts by this user
Quote this message in a reply
04-10-2010, 03:10 AM
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
04-10-2010, 03:17 AM (This post was last modified: 04-10-2010 03:17 AM by rollthebones.)
Post: #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.
Find all posts by this user
Quote this message in a reply
04-10-2010, 03:22 AM
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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