"source": {
"type": "git",
"url": "https://github.com/unrealircd/unrealircd-rpc-php.git",
- "reference": "29c42a5bc6ad7607561cf4dbf6a777a348d3a30b"
+ "reference": "57c1d592f076a9e06be89345cfe84d9e54a8664a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/unrealircd/unrealircd-rpc-php/zipball/29c42a5bc6ad7607561cf4dbf6a777a348d3a30b",
- "reference": "29c42a5bc6ad7607561cf4dbf6a777a348d3a30b",
+ "url": "https://api.github.com/repos/unrealircd/unrealircd-rpc-php/zipball/57c1d592f076a9e06be89345cfe84d9e54a8664a",
+ "reference": "57c1d592f076a9e06be89345cfe84d9e54a8664a",
"shasum": ""
},
"require": {
"issues": "https://github.com/unrealircd/unrealircd-rpc-php/issues",
"source": "https://github.com/unrealircd/unrealircd-rpc-php/tree/main"
},
- "time": "2023-01-14T07:08:42+00:00"
+ "time": "2023-01-14T16:19:46+00:00"
}
],
"packages-dev": [],
$api_login,
Array("tls_verify"=>$tls_verify)
);
-} catch (Exception $e) {
- die("Unable to connect to UnreaIRCd<br>");
+}
+catch (Exception $e)
+{
+ echo "Unable to connect to UnrealIRCd: ".$e->getMessage() . "<br><br>";
+ echo "Verify your connection details in config.php (rpc user, rpc password, host) and ".
+ "verify your UnrealIRCd configuration (listen block with listen::options::rpc and ".
+ "an rpc-user block with the correct IP allowed and the correct username and password).";
+ throw $e;
}