Have some1 the same problem:
Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to http://nick:password@domain:22555/' invar/www/jsonRPCClient.php:139
Stack trace:
#0var/www/index.php(7): jsonRPCClient->__call('getinfo', Array)
#1var/www/index.php(7): jsonRPCClient->getinfo()
#2 {main}
thrown invar/www/jsonRPCClient.php on line 139
I've this code
<?php
require_once 'jsonRPCClient.php';
 $dogecoin = new jsonRPCClient('nick:password@domain:22555');
try{
 echo "<pre>\n";
 print_r($dogecoin->getinfo());
 echo "</pre>";
} catch(Exception $e){
 echo nl2br($e->getMessage()).'<br />'."\n"; }
?>
With Exception I've got this error
Parse error: syntax error, unexpected '$dogecoin' (T_VARIABLE) invar/www/index.php on line 9