PDA

View Full Version : API SSL: fatal protocol error But is working fine.


kansaschuck
Sep-03-2007, 08:19 AM
All my API calls are geting errors...but are working ok. :scratch

This is code that has been running for about 6 months. Any recommendation for additional diags? hints? Thanks


[/URL]https://api.smugmug.com/hack/php/1.2.0/?method=smugmug.login.withPassword&EmailAddress=IamaReporter&Password=fake&APIKey=xxxxxxxxxxxxxxx&output=php

Warning: file_get_contents() [[url="http://www.elementope.com/scgi-bin/function.file-get-contents"]function.file-get-contents (https://api.smugmug.com/hack/php/1.2.0/?method=smugmug.login.withPassword&EmailAddress=IamaReporter&Password=fake&APIKey=xxxxxxxxxxxxxxx&output=php)]: SSL: fatal protocol error in /home/eleme6/public/cgi/phpcodehere.php on line 243



F1a check_api_call:

F1a API call returned: ok

F1a Successful ?method=smugmug.login.withPassword API call.

F1g End check API call for ?method=smugmug.login.withPassword. -

die on fail was: yes -

stat_is was : ok .

. Unserialized output for logon with password. .

. Array
(
[stat] => ok
[method] => smugmug.login.withPassword
[Login] => Array
(
[PasswordHash] => $1$hhgoodhashherexxxx.
[AccountType] => Pro
[Session] => Array
(
[id] => d0goodid here 35e265ad9ed2a
)

devbobo
Sep-03-2007, 01:53 PM
G'day Chuck,

Don recently changed the mime type that the PHP API returns to application/php. I am wondering if this has something to do with it.

I will chase it up with him.

Cheers,

David