ERROR: SQLSTATE[HY000] [2002] Connection refusedERROR: SQLSTATE[HY000] [2002] Connection refused
Fatal error: Uncaught Error: Call to a member function prepare() on null in /DATA/sites/cursalba.cat/webspace/php/funcions.php:9
Stack trace:
#0 /DATA/sites/cursalba.cat/webspace/php/funcions.php(260): ConsultaMYSQL('SELECT * FROM c...')
#1 /DATA/sites/cursalba.cat/webspace/php/sessions.php(123): EventExisteix(168, 'es')
#2 /DATA/sites/cursalba.cat/webspace/index.php(1): include('/DATA/sites/cur...')
#3 {main}
thrown in /DATA/sites/cursalba.cat/webspace/php/funcions.php on line 9