Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP error when signing up
#1
Quote:Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/*********/public_html/portal/includes/servers/whm.php:54 Stack trace: #0 /home/*********/public_html/portal/includes/servers/whm.php(54): SimpleXMLElement->__construct('') #1 /home/*********/public_html/portal/includes/servers/whm.php(98): whm->remote('/xml-api/create...') #2 /home/*********/public_html/portal/includes/class_server.php(142): whm->signup('1', '0') #3 /home/*********/public_html/portal/includes/ajax.php(138): server->signup() #4 /home/*********/public_html/portal/includes/ajax.php(977): AJAX->create() #5 {main} thrown in /home/*********/public_html/portal/includes/servers/whm.php on line 54

PHP info: http://tinyurl.com/y86zvad

This still occurs even after applying the whm.php patch.

Thanks!
Reply
#2
Looks like the same problem as here.

The page you are linking to is blank.
- KuJoe
Reply
#3
It isn't blank on my end...

Here's a copy/paste of the HTML: http://bombspace.net/phpinfo.html
Reply
#4
I've read that some people fixed this by enabling php_openssl.dll in the php.ini file (removing the ; from the front of the line). I checked your phpinfo and it looks like openssl is enabled, can you verify that the line in your php.ini file isn't commented out?
- KuJoe
Reply
#5
(04-08-2010, 01:19 AM)KuJoe Wrote: I've read that some people fixed this by enabling php_openssl.dll in the php.ini file (removing the ; from the front of the line). I checked your phpinfo and it looks like openssl is enabled, can you verify that the line in your php.ini file isn't commented out?

OpenSSL is indeed enabled. Disabling SSL for WHM still triggers the problem, though.
Reply
#6
If you can, echo the variable that holds the page content from cURL before it is parsed. This often proves very helpful for debugging.
Kevin Mark - TheHostingTool Lead Developer
Reply
#7
How would I do this? Confused

Thanks!
Reply
#8
In that file, where you see "//END" put the following two lines after it and tell us what you get:
PHP Code:
echo $data;
exit(); 
Kevin Mark - TheHostingTool Lead Developer
Reply
#9
"/order/index.php"? I added that after "#End it" and it didn't appear to output anything. However, the image location for most displayed images changed to "http://mydomain.net/order/%3CURL%3Ethemes/icons/bullet_toggle_minus.png" (and obviously would not display)
Reply
#10
no, in /home/*********/public_html/portal/includes/servers/whm.php
Kevin Mark - TheHostingTool Lead Developer
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)