04-10-2010, 01:45 AM
Running the file directly just shows a blank page (no source code at all).
PHP error when signing up
|
04-10-2010, 01:45 AM
Running the file directly just shows a blank page (no source code at all).
04-10-2010, 02:02 AM
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
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
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
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
(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
I feel dumb. Which lines would those be?
Thanks!
04-10-2010, 03:10 AM
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.)
Same as before. Account is made in WHM, but not in THT.
And Step 5 is again blank.
04-10-2010, 03:22 AM
oh, you need to remove the echo and exit we added before.
Kevin Mark - TheHostingTool Lead Developer
|
« Next Oldest | Next Newest »
|