THT Community (TCom)

Full Version: PHP error when signing up
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
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!
Looks like the same problem as here.

The page you are linking to is blank.
It isn't blank on my end...

Here's a copy/paste of the HTML: http://bombspace.net/phpinfo.html
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?
(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.
If you can, echo the variable that holds the page content from cURL before it is parsed. This often proves very helpful for debugging.
How would I do this? Confused

Thanks!
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(); 
"/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)
no, in /home/*********/public_html/portal/includes/servers/whm.php
Pages: 1 2 3 4
Reference URL's