|
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! |
|||
|
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
- KuJoe ▒ LvL8 ▒ The Free Web Hosting Guide ▒ FreeWebHostingTalk PM me for theme conversions @ $15! |
|||
|
04-07-2010, 11:19 PM
Post: #3
|
|||
|
|||
| RE: PHP error when signing up | |||
|
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! |
|||
|
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. |
|||
|
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 |
|||
|
04-10-2010, 01:06 AM
Post: #7
|
|||
|
|||
|
RE: PHP error when signing up
How would I do this?
![]() Thanks! |
|||
|
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;Kevin Mark - TheHostingTool Lead Developer |
|||
|
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)
|
|||
|
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 |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)





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