Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
File: /var/www/kreatura/data/www/watchdeluxe.sk/www/libs/dibi/drivers/mysql.php Line: 105
Line 98: $this->connection = @mysql_connect($host, $config['username'], $config['password'], TRUE, $config['options']); // intentionally @
Line 99: } else {
Line 100: $this->connection = @mysql_pconnect($host, $config['username'], $config['password'], $config['options']); // intentionally @
Line 101: }
Line 102: }
Line 103:
Line 104: if (!is_resource($this->connection)) {
Line 105: throw new DibiDriverException(mysql_error(), mysql_errno());
Line 106: }
Line 107:
Line 108: if (isset($config['charset'])) {
Line 109: $ok = FALSE;
Line 110: if (function_exists('mysql_set_charset')) {
Line 111: // affects the character set used by mysql_real_escape_string() (was added in MySQL 5.0.7 and PHP 5.2.3)
Line 112: $ok = @mysql_set_charset($config['charset'], $this->connection); // intentionally @
libs/DibiConnection.php (124) source ► DibiMySqlDriver-> connect (arguments ►)
$config | array(9) ► |
---|
Line 117: */
Line 118: final protected function connect()
Line 119: {
Line 120: if (!$this->connected) {
Line 121: if ($this->profiler !== NULL) {
Line 122: $ticket = $this->profiler->before($this, IDibiProfiler::CONNECT);
Line 123: }
Line 124: $this->driver->connect($this->config);
Line 125: $this->connected = TRUE;
Line 126: if (isset($ticket)) {
Line 127: $this->profiler->after($ticket);
Line 128: }
Line 129: }
Line 130: }
Line 131:
libs/DibiConnection.php (235) source ► DibiConnection-> connect ()
Line 228: * @param array|mixed one or more arguments
Line 229: * @return DibiResult|int result set object (if any)
Line 230: * @throws DibiException
Line 231: */
Line 232: final public function query($args)
Line 233: {
Line 234: $args = func_get_args();
Line 235: $this->connect();
Line 236: $translator = new DibiTranslator($this->driver);
Line 237: return $this->nativeQuery($translator->translate($args));
Line 238: }
Line 239:
Line 240:
Line 241:
Line 242: /**
dibi/dibi.php (287) source ► DibiConnection-> query (arguments ►)
$args | array(1) ▼ |
---|
Line 280: * @param array|mixed one or more arguments
Line 281: * @return DibiResult|int result set object (if any)
Line 282: * @throws DibiException
Line 283: */
Line 284: public static function query($args)
Line 285: {
Line 286: $args = func_get_args();
Line 287: return self::getConnection()->query($args);
Line 288: }
Line 289:
Line 290:
Line 291:
Line 292: /**
Line 293: * Executes the SQL query - Monostate for DibiConnection::nativeQuery().
Line 294: * @param string SQL statement.
app/bootstrap.php (40) source ► dibi:: query (arguments ►)
$args | string(57) "SET SQL_MODE="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION""
|
---|
Line 33: // 3a) get and setup a front controller
Line 34: $application = Environment::getApplication();
Line 35: //$application->errorPresenter = 'Error';
Line 36: //$application->catchExceptions = TRUE;
Line 37:
Line 38: // Step 3b: Configure database connection
Line 39: dibi::connect(Environment::getConfig('database'),'main');
Line 40: dibi::query('SET SQL_MODE="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"');
Line 41:
Line 42: // Step 4: Setup application router
Line 43: $router = $application->getRouter();
Line 44:
Line 45: Environment::setVariable('isMultilingual',(bool)@Environment::getConfig('mlcms')->isMultilingual); // tady to pak mozna zjistovat rovnou z db ( i kdyz to je asi blbost)
Line 46:
Line 47: $router[] = new Route('index.php', array(
www/index.php (14) source ► require (arguments ►)
#0 | string(63) "/var/www/kreatura/data/www/watchdeluxe.sk/www/app/bootstrap.php"
|
---|
Line 7:
Line 8: // absolute filesystem path to the libraries
Line 9: define('LIBS_DIR',WWW_DIR.'/libs');
Line 10:
Line 11: require WWW_DIR . '/vendor/autoload.php';
Line 12:
Line 13: // load bootstrap file
Line 14: require(APP_DIR.'/bootstrap.php');
Line 15:
Line 16: ?>
array(0)
NULL
WWW_DIR | string(45) "/var/www/kreatura/data/www/watchdeluxe.sk/www"
|
---|---|
APP_DIR | string(49) "/var/www/kreatura/data/www/watchdeluxe.sk/www/app"
|
LIBS_DIR | string(50) "/var/www/kreatura/data/www/watchdeluxe.sk/www/libs"
|
/var/www/kreatura/data/www/watchdeluxe.sk/www/index.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/vendor/autoload.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/vendor/composer/autoload_real.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/vendor/composer/ClassLoader.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/vendor/composer/autoload_static.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/vendor/guzzlehttp/psr7/src/functions_include.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/vendor/guzzlehttp/psr7/src/functions.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/vendor/guzzlehttp/promises/src/functions_include.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/vendor/guzzlehttp/promises/src/functions.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/vendor/guzzlehttp/guzzle/src/functions_include.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/vendor/guzzlehttp/guzzle/src/functions.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/app/bootstrap.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/loader.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/exceptions.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Framework.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Object.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/ObjectMixin.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Callback.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Loaders/LimitedScope.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Loaders/AutoLoader.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Loaders/NetteLoader.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Debug.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Environment.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Configurator.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Config/Config.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Collections/Hashtable.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Collections/Collection.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Collections/ICollection.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Collections/IMap.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Config/ConfigAdapterIni.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Config/IConfigAdapter.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Tools.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/ArrayTools.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/ServiceLocator.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/IServiceLocator.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Loaders/RobotLoader.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Caching/Cache.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Caching/FileStorage.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Caching/ICacheStorage.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Reflection/ClassReflection.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Reflection/AnnotationsParser.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Web/Session.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Application/Application.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/dibi/dibi.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/dibi/Nette/IDebugPanel.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/dibi/Nette/DateTime53.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/dibi/libs/interfaces.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/dibi/libs/DibiObject.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/dibi/libs/DibiException.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/dibi/libs/DibiConnection.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/dibi/libs/DibiResult.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/dibi/libs/DibiResultIterator.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/dibi/libs/DibiRow.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/dibi/libs/DibiTranslator.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/dibi/libs/DibiDataSource.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/dibi/libs/DibiFluent.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/dibi/libs/DibiDatabaseInfo.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/dibi/libs/DibiProfiler.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/dibi/drivers/mysql.php |
/var/www/kreatura/data/www/watchdeluxe.sk/www/libs/Nette/Debug.templates/bluescreen.phtml |
PATH | string(49) "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
|
---|---|
SCRIPT_NAME | string(10) "/index.php"
|
REQUEST_URI | string(34) "/o-nas/zoznam-predajni/wow-optima/"
|
QUERY_STRING | string(0) ""
|
REQUEST_METHOD | string(3) "GET"
|
SERVER_PROTOCOL | string(8) "HTTP/1.1"
|
GATEWAY_INTERFACE | string(7) "CGI/1.1"
|
REDIRECT_URL | string(34) "/o-nas/zoznam-predajni/wow-optima/"
|
REMOTE_PORT | string(5) "57936"
|
SCRIPT_FILENAME | string(55) "/var/www/kreatura/data/www/watchdeluxe.sk/www/index.php"
|
SERVER_ADMIN | string(24) "webmaster@watchdeluxe.sk"
|
CONTEXT_DOCUMENT_ROOT | string(45) "/var/www/kreatura/data/www/watchdeluxe.sk/www"
|
CONTEXT_PREFIX | string(0) ""
|
REQUEST_SCHEME | string(4) "http"
|
DOCUMENT_ROOT | string(45) "/var/www/kreatura/data/www/watchdeluxe.sk/www"
|
REMOTE_ADDR | string(13) "66.249.79.133"
|
SERVER_PORT | string(2) "80"
|
SERVER_ADDR | string(12) "77.93.193.13"
|
SERVER_NAME | string(18) "www.watchdeluxe.sk"
|
SERVER_SOFTWARE | string(68) "Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.6.40"
|
SERVER_SIGNATURE | string(0) ""
|
HTTP_IF_MODIFIED_SINCE | string(29) "Mon, 14 Oct 2019 19:48:51 GMT"
|
HTTP_ACCEPT_ENCODING | string(15) "gzip,deflate,br"
|
HTTP_USER_AGENT | string(198) "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; ... "
|
HTTP_FROM | string(26) "googlebot(at)googlebot.com"
|
HTTP_ACCEPT | string(160) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,text/html,application/xhtml+xml,application/signed-exchange;v=b3,application/xml;q=0.9 ... "
|
HTTP_CONNECTION | string(5) "close"
|
HTTP_AMP_CACHE_TRANSFORM | string(15) "google;v="1..2""
|
HTTP_HOST | string(18) "www.watchdeluxe.sk"
|
PERL5LIB | string(49) "/usr/share/awstats/lib:/usr/share/awstats/plugins"
|
UNIQUE_ID | string(27) "XadeFeYB2IFY1xdt6ABfDgAAAB4"
|
REDIRECT_STATUS | string(3) "200"
|
REDIRECT_PERL5LIB | string(49) "/usr/share/awstats/lib:/usr/share/awstats/plugins"
|
REDIRECT_UNIQUE_ID | string(27) "XadeFeYB2IFY1xdt6ABfDgAAAB4"
|
FCGI_ROLE | string(9) "RESPONDER"
|
PHP_SELF | string(10) "/index.php"
|
REQUEST_TIME_FLOAT | float(1571249685.3329)
|
REQUEST_TIME | int(1571249685)
|
If-Modified-Since | Mon, 14 Oct 2019 19:48:51 GMT |
---|---|
Accept-Encoding | gzip,deflate,br |
User-Agent | Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) |
From | googlebot(at)googlebot.com |
Accept | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,text/html,application/xhtml+xml,application/signed-exchange;v=b3,application/xml;q=0.9,*/*;q=0.8 |
Connection | close |
Amp-Cache-Transform | google;v="1..2" |
Host | www.watchdeluxe.sk |
empty
empty
empty
X-Powered-By: PHP/5.6.40