HTTPSocket Class

$this->result still has no output and $sock->error gives Array ( [0] => 0 - Success ) and the account still does not become suspended.
 
Line 86 of httpsocket.php: You should see "@fsockopen", change that to read "fsockopen". (remove the @)

Run the script. If we're lucky it'll error out and that should tell us more.
 
AH HA (httpsocket.php was renamed to directadmin.php)

Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/webadmin/......./directadmin.php on line 86

Warning: fsockopen(): unable to connect to https://ns1.atomicrax.net:2222 in /home/webadmin/......./directadmin.php on line 86
 
AtomicRax said:
AH HA (httpsocket.php was renamed to directadmin.php)
That really shouldn't matter.

Now here we go...

AtomicRax said:
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/webadmin/......./directadmin.php on line 86

Warning: fsockopen(): unable to connect to https://ns1.atomicrax.net:2222 in /home/webadmin/......./directadmin.php on line 86
Basically that's saying it doesn't know what the hell to do. Try changing https:// to ssl:// in the connect address
 
Warning: fsockopen(): no SSL support in this build in /home/webadmin/......./directadmin.php on line 86

Warning: fsockopen(): unable to connect to ns1.atomicrax.net:2222 in /home/webadmin/......./directadmin.php on line 86
 
Switch back to https://, that I'm pretty sure is correct now.

We need to recompile PHP with OpenSSL so that it can recognize https URLs. I'm having a bit of trouble getting that to work. =\
 
Back
Top