PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Warning: file_get_contents(): SSL: fatal protocol error in /home/stssquad/public_html/squadstats/update.php on line 16 https://www.novaworld.com/Players/Stats ... 7&p=616065
No log handling enabled - turning on stderr logging
Creating directory: /var/net-snmp
Failed to create the persistent directory for /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
Creating directory: /var/net-snmp
Failed to create the persistent directory for /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
Creating directory: /var/net-snmp
Failed to create the persistent directory for /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
When using SSL, Microsoft IIS will violate the protocol by closing the connection without sending a close_notify indicator. PHP will report this as "SSL: Fatal Protocol Error" when you reach the end of the data. To workaround this, you should lower your error_reporting level not to include warnings. PHP 4.3.7 and higher can detect buggy IIS server software when you open the stream using the https:// wrapper and will suppress the warning for you. If you are using fsockopen() to create an ssl:// socket, you are responsible for detecting and suppressing the warning yourself.
PHP Version 5.1.6
OpenSSL Version OpenSSL 0.9.7a Feb 19 2003
I'll update SSL and see if that does anything...
Do the SSL warnings have anything to do with the latter error? Even if i set my error reporting to lower, I get still get their error.
No log handling enabled - turning on stderr logging
Creating directory: /var/net-snmp
Failed to create the persistent directory for /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
Creating directory: /var/net-snmp
Failed to create the persistent directory for /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
Creating directory: /var/net-snmp
Failed to create the persistent directory for /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
stssquad@rps [~/www/squadstats]# php update.php
bool(true)
<br />
5.1.6<br />
Warning: file_get_contents(): SSL: fatal protocol error in /home/stssquad/public_html/squadstats/update.php on line 15 https://www.novaworld.com/Players/Stats ... 7&p=616065
No log handling enabled - turning on stderr logging
Creating directory: /var/net-snmp
Failed to create the persistent directory for /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
Creating directory: /var/net-snmp
Failed to create the persistent directory for /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
Creating directory: /var/net-snmp
Failed to create the persistent directory for /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
ok, i managed to get my ssh back, and those are the results
comes from this extension (I think...)
The strange thing is: Again that's a bug that should have been fixed in php 4.3.x
see http://bugs.php.net/bug.php?id=32613
When using SSL, Microsoft IIS will violate the protocol by closing the connection without sending a close_notify indicator. PHP will report this as "SSL: Fatal Protocol Error" when you reach the end of the data. To workaround this, you should lower your error_reporting level not to include warnings. PHP 4.3.7 and higher can detect buggy IIS server software when you open the stream using the https:// wrapper and will suppress the warning for you. If you are using fsockopen() to create an ssl:// socket, you are responsible for detecting and suppressing the warning yourself.
But I'm using PHP 5 so I don't think I need this. Beside, I don't find how to lower the error_reporting level