Educating the world

Our blog has over 10,000 readers a month

Categories: "Computer Languages" or "C#" or "Java" or "Javascript" or "PHP" or "PowerShell" or "Python" or "SQL" or "Unix Shell"

Error: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known

May 19th, 2017
Recently had a problem with Yii2's migrate when trying to connect to a local database. [root@example.com yii-application]# ./yii migrate Yii Migration Tool (based on Yii v2.0.11.2) Error: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo… more »

file_get_contents SSL operation failed with code 1 SSL3_GET_SERVER_CERTIFICATE certificate verify failed

April 29th, 2017
Recently got this message while I was trying to use get_file_contents in PHP. file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed This is… more »

Hessian expected end of call (z) at M

February 22nd, 2017
Just thought I'd post this to help anyone else coping with this error message. expected end of call ('z') at 'M'. Check method arguments and ensure method overloading is enabled if necessary package uk.co.bigsoft.app.hessian.clients; import… more »

Pivotal Tomcat server configuration is missing in Eclipse

September 21st, 2016
I use Spring Tool Suite (STS) when I'm working on Java projects that heavily use the Spring Framework. One gotcha that keeps getting me is the following message. The Tomcat server configuration at \Servers\Pivotal tc Server Developer Edition… more »

Example log4j.properties file

October 1st, 2015
Configuring the Log4J properties file is one of those tasks which you have to spend a while trying to figure out but you invariably end up with the same thing. In fact most of the time something you cut and paste from the internet will do just fine. So… more »