dimanche 4 septembre 2016

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in


to resolve this deprecated warning you can add   "@" operator before function name like

 @mysql_connect("localhost","root","");

or add this function

 error_reporting(E_ALL ^ E_DEPRECATED)

in fact:
To not display the E_DEPRECATED errors (for example) without changing the rest of the configuration :
error_reporting(error_reporting() & (-1 ^ E_DEPRECATED));

http://www.php.net/manual/fr/function.error-reporting.php

error in http connection org.apache.http.conn.HttpHostConnectException: Connection to

Error in http connection org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.1.72:80 refused


This exception occured when you connect to server and is not started .you must verify the server wamp or easyphp for example is started or no.

samedi 3 septembre 2016

Exception in thread "main" org.hibernate.PropertyValueException: not-null property references a null or transient value:

Exception in thread "main" org.hibernate.PropertyValueException: not-null property references a null or transient value: persistance.Client.prenom
at org.hibernate.engine.Nullability.checkNullability(Nullability.java:72)


This exception occurs because you have a column named prenom wich is not nullable , and you forgot to set it's value.

So to resolve this issue you must add a valuet to this property .

CANADA JOB