Hi, Not getting much help from support so I thought I would try this list before I use another provider. Any help would be greatly appreciated. I am using Win2003 server. PHP 5.2.5 Apache: 2.0 XMLRPC from http://phpxmlrpc.sourceforge.net/ (version 2.2) I have created my API account and received my password. I have copied the sample code from https://api.ote.gandi.net/#login and changed the details to my own. You can view the error message here. http://www.weddingevite.co.uk/test.php I have been working on this for a week now and I have the XMLRPC working with other sites OK Here is the exact PHP code in the page ******************************* require_once("xmlrpc.inc"); $proxy = new xmlrpc_client(" https://api.gandi.net/xmlrpc/"); $msg = new xmlrpcmsg( "login", array( new xmlrpcval("SL2899-GANDI"), new xmlrpcval("dXnriiZq"), new xmlrpcval(True, "boolean")) ); $reply = $proxy->send($msg); if ($reply->faultCode()) { echo "could not login because: " . $reply->faultString() . "\n"; exit(67); } $session = $reply->value(); **************************************
Gandi API: API Login Script
You should be logged in to post new messages. Create an account.
- By:
Steve Lowe - Date: on 2008 Feb. 22 19:53
- Subject: API Login Script
- By:
Atlaz - Date: on 2008 Feb. 24 10:36
- Subject: Re: API Login Script
I have the same problem and support haven't replied to me either. I can only assume there's some sort of "issue" with PHP or their test libs. Can ANYONE from support help us because it's slightly less than optimal to have these groups and support if nobody can help. On Feb, 22 2008 19:53 CET, Steve Lowe wrote:
Hi, Not getting much help from support so I thought I would try this list before I use another provider. Any help would be greatly appreciated. I am using Win2003 server. PHP 5.2.5 Apache: 2.0 XMLRPC from http://phpxmlrpc.sourceforge.net/ (version 2.2) I have created my API account and received my password. I have copied the sample code from https://api.ote.gandi.net/#login and changed the details to my own. You can view the error message here. http://www.weddingevite.co.uk/test.php I have been working on this for a week now and I have the XMLRPC working with other sites OK Here is the exact PHP code in the page ******************************* require_once("xmlrpc.inc"); $proxy = new xmlrpc_client(" https://api.gandi.net/xmlrpc/"); $msg = new xmlrpcmsg( "login", array( new xmlrpcval("SL2899-GANDI"), new xmlrpcval("dXnriiZq"), new xmlrpcval(True, "boolean")) ); $reply = $proxy->send($msg); if ($reply->faultCode()) { echo "could not login because: " . $reply->faultString() . "\n"; exit(67); } $session = $reply->value(); **************************************
- By:
Steve Lowe - Date: on 2008 Feb. 27 19:42
- Subject: Re: API Login Script
Keep on at support. I think my auto-generated password had a problem. Suddenly, my account worked. This seems to be the email address for API issues - api-ote@support.gandi.net On Feb, 24 2008 10:36 CET, Atlaz wrote:
I have the same problem and support haven't replied to me either. I can only assume there's some sort of "issue" with PHP or their test libs. Can ANYONE from support help us because it's slightly less than optimal to have these groups and support if nobody can help. On Feb, 22 2008 19:53 CET, Steve Lowe wrote:Hi, Not getting much help from support so I thought I would try this list before I use another provider. Any help would be greatly appreciated. I am using Win2003 server. PHP 5.2.5 Apache: 2.0 XMLRPC from http://phpxmlrpc.sourceforge.net/ (version 2.2) I have created my API account and received my password. I have copied the sample code from https://api.ote.gandi.net/#login and changed the details to my own. You can view the error message here. http://www.weddingevite.co.uk/test.php I have been working on this for a week now and I have the XMLRPC working with other sites OK Here is the exact PHP code in the page ******************************* require_once("xmlrpc.inc"); $proxy = new xmlrpc_client(" https://api.gandi.net/xmlrpc/"); $msg = new xmlrpcmsg( "login", array( new xmlrpcval("SL2899-GANDI"), new xmlrpcval("dXnriiZq"), new xmlrpcval(True, "boolean")) ); $reply = $proxy->send($msg); if ($reply->faultCode()) { echo "could not login because: " . $reply->faultString() . "\n"; exit(67); } $session = $reply->value(); **************************************