|
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).
|
|||
|
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 |
|||
|
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?
|
|||
|
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 |
|||
|
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:
|
|||
|
04-10-2010, 02:54 AM
Post: #16
|
|||
|
|||
RE: PHP error when signing up
(04-10-2010 02:26 AM)rollthebones Wrote: Somewhat improved...... 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 |
|||
|
04-10-2010, 02:59 AM
Post: #17
|
|||
|
|||
|
RE: PHP error when signing up
I feel dumb. Which lines would those be?
Thanks! |
|||
|
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); PHP Code: $xml = ""; Kevin Mark - TheHostingTool Lead Developer |
|||
|
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. |
|||
|
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.
Kevin Mark - TheHostingTool Lead Developer |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)




![[Image: standard.png]](http://twitstamp.com/kev1nmark/standard.png)
![[Image: standard.png]](http://twitstamp.com/thehostingtool/standard.png)
