E_WARNING: mysqli::mysqli(): (HY000/2003): Can't connect to MySQL server on 'db.euronet.sk' (61)

At: /data/web/corbitoys.sk/public_html/components/mysql.class.php on line 79

*/ function __construct($host, $user, $password, $dbname, $charset = "utf8", $port = null, $pipe = null) { $this->connect = @new mysqli($host, $user, $password, $dbname, $port, $pipe); if(!$this->connect) $this->errorFunct("Error while connecting"); if(mysqli_connect_error())

E_UNKNOWN: Exception: Can't connect to MySQL server on 'db.euronet.sk' (61)

At: /data/web/corbitoys.sk/public_html/components/mysql.class.php on line 611

if($this->onError == 'trace') throw new Exception($error. "<br /><br />".str_replace(" ", "&nbsp;", nl2br(print_r(debug_backtrace(), 1)))); elseif($this->onError == 'die') throw new Exception($error); elseif($this->onError == 'warn') echo "<b>ERROR:</b> $error<br />\n"; }

Stack trace:

At: /data/web/corbitoys.sk/public_html/components/mysql.class.php on line 83

if(!$this->connect) $this->errorFunct("Error while connecting"); if(mysqli_connect_error()) $this->errorFunct(mysqli_connect_error()); $this->connect->query(" SET NAMES '{$charset}' "); $this->connect->query(" SET @@global.sql_mode= ''; ");

At: /data/web/corbitoys.sk/public_html/components/mysql.class.php on line 776 calling MysqlClass->__construct

global $con; global $config; $con = new MysqlClass($config['dbHost'], $config['dbUser'], $config['dbPassword'], $config['dbName'], "utf8", $config['port'], $config['pipe']); return $con; }

At: /data/web/corbitoys.sk/public_html/index.php on line 13 calling MysqlClass::doConnect

include ('entities/entity.php'); include ('modules/module.php'); ConnectClass::doConnect(); //$con->enableLogging(true); // Url generator
Email was sent to administrators!