Current time: 02-08-2012, 09:49 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP error when signing up
04-07-2010, 09:21 PM (This post was last modified: 04-07-2010 09:22 PM by rollthebones.)
Post: #1
PHP error when signing up
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!
Find all posts by this user
Quote this message in a reply
04-07-2010, 11:05 PM (This post was last modified: 04-07-2010 11:06 PM by KuJoe.)
Post: #2
RE: PHP error when signing up
Looks like the same problem as here.

The page you are linking to is blank.

- KuJoe
▒ LvL8
▒ The Free Web Hosting Guide
▒ FreeWebHostingTalk


PM me for theme conversions @ $15!
Visit this user's website Find all posts by this user
Quote this message in a reply
04-07-2010, 11:19 PM
Post: #3
RE: PHP error when signing up
It isn't blank on my end...

Here's a copy/paste of the HTML: http://bombspace.net/phpinfo.html
Find all posts by this user
Quote this message in a reply
04-08-2010, 01:19 AM
Post: #4
RE: PHP error when signing up
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
▒ LvL8
▒ The Free Web Hosting Guide
▒ FreeWebHostingTalk


PM me for theme conversions @ $15!
Visit this user's website Find all posts by this user
Quote this message in a reply
04-08-2010, 06:43 PM
Post: #5
RE: PHP error when signing up
(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.
Find all posts by this user
Quote this message in a reply
04-09-2010, 10:06 PM
Post: #6
RE: PHP error when signing up
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
Visit this user's website Find all posts by this user
Quote this message in a reply
04-10-2010, 01:06 AM
Post: #7
RE: PHP error when signing up
How would I do this? Confused

Thanks!
Find all posts by this user
Quote this message in a reply
04-10-2010, 01:20 AM
Post: #8
RE: PHP error when signing up
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
Visit this user's website Find all posts by this user
Quote this message in a reply
04-10-2010, 01:33 AM
Post: #9
RE: PHP error when signing up
"/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)
Find all posts by this user
Quote this message in a reply
04-10-2010, 01:41 AM
Post: #10
RE: PHP error when signing up
no, in /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
Post Reply 


Forum Jump:


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