Filters

Market Cap, $

Volume (24h), $

Exchanges

Change % (24h)

Search
#Coin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#CoinPriceChange (24h)Market CapVolume 24hChange (1h)Change (24h)Change (7d) 
1$ 0.000000000%
-
-
$ 01
$ 0.000000001
0%0%0%
2$ 0.00000000+0.3%
$ 1 073 537
$ 1.07 M
$ 03
$ 0.000000003
+0.05%+0.3%+7.1%
3$ 0.205829770%
$ 464 567
$ 464 567.00
$ 01
$ 0.000000001
0%0%-9.95%
4$ 0.00000000-2.34%
-
-
$ 00
$ 0.000000000
-0.18%-2.34%+6.84%
5$ 0.00000000+25.13%
-
-
$ 02
$ 0.000000002
-0.18%+25.13%+6.84%
6$ 0.000000000%
$ 247 486
$ 247 486.00
$ 02
$ 0.000000002
-0.8%0%0%
7$ 0.000000000%
$ 2 003
$ 2 003.00
$ 01
$ 0.000000001
0%0%0%
8$ 0.000000000%
$ 131 219
$ 131 219.00
$ 01
$ 0.000000001
-0.16%0%0%
9$ 2.790%
$ 171 192
$ 171 192.00
$ 03
$ 0.000000003
0%0%0%
10$ 0.00000000+2.47%
$ 768 491
$ 768 491.00
$ 01
$ 0.000000001
-0.21%+2.47%+6.91%
11$ 0.000000000%
$ 29 442
$ 29 442.00
$ 01
$ 0.000000001
0%0%0%
12$ 0.00000000-6.95%
-
-
$ 00
$ 0.000000000
-0.45%-6.95%-16.17%
13$ 0.000000000%
$ 380 047
$ 380 047.00
$ 02
$ 0.000000002
0%0%0%
14$ 0.000000000%
$ 69 413
$ 69 413.00
$ 01
$ 0.000000001
0%0%0%
15$ 0.000000000%
$ 198 439
$ 198 439.00
$ 01
$ 0.000000001
0%0%0%
16$ 0.00000000+2.47%
$ 411 336
$ 411 336.00
$ 01
$ 0.000000001
-0.21%+2.47%+6.91%
17$ 0.00000000-2.34%
-
-
$ 02
$ 0.000000002
-0.18%-2.34%+6.85%
18$ 0.000000000%
$ 2 722
$ 2 722.00
$ 01
$ 0.000000001
0%0%0%
19$ 0.000000000%
-
-
$ 02
$ 0.000000002
+0.11%0%0%
20$ 0.00000000-2.34%
-
-
$ 01
$ 0.000000001
-0.18%-2.34%+6.85%
21$ 0.000000000%
$ 232 539
$ 232 539.00
$ 01
$ 0.000000001
0%0%0%
22$ 0.000000000%
$ 40 264
$ 40 264.00
$ 03
$ 0.000000003
0%0%0%
23$ 0.00000000+4.5%
-
-
$ 03
$ 0.000000003
+0.08%+4.5%+9.23%
24$ 0.00000000-2.34%
-
-
$ 02
$ 0.000000002
-0.18%-2.34%+11.09%
25$ 0.000000000%
$ 153 366
$ 153 366.00
$ 02
$ 0.000000002
0%0%0%
26$ 0.000000000%
-
-
$ 01
$ 0.000000001
0%0%+5.26%
27$ 0.000000000%
-
-
$ 01
$ 0.000000001
0%0%0%
28$ 0.000000000%
$ 63 397
$ 63 397.00
$ 01
$ 0.000000001
0%0%0%
29$ 0.00000000+2.61%
$ 152 006
$ 152 006.00
$ 02
$ 0.000000002
-0.1%+2.61%+6.82%
30$ 0.000000000%
$ 166 683
$ 166 683.00
$ 01
$ 0.000000001
0%0%0%
31$ 0.000000000%
$ 99 591
$ 99 591.00
$ 01
$ 0.000000001
0%0%0%
32$ 0.00000000-2.34%
-
-
$ 01
$ 0.000000001
-0.18%-2.34%+6.84%
33$ 0.000000000%
$ 109 239
$ 109 239.00
$ 01
$ 0.000000001
0%0%0%
34$ 0.000000000%
$ 667 565
$ 667 565.00
$ 01
$ 0.000000001
0%0%0%
35$ 0.000000000%
$ 59 923
$ 59 923.00
$ 01
$ 0.000000001
0%0%0%
36$ 0.000000000%
$ 27 819
$ 27 819.00
$ 02
$ 0.000000002
0%0%0%
37$ 0.00000000+2.11%
$ 17 129 398
$ 17.13 M
$ 02
$ 0.000000002
-0.06%+2.11%+7.67%
38$ 0.000000000%
-
-
$ 01
$ 0.000000001
0%0%0%
39$ 0.000000000%
$ 19 152
$ 19 152.00
$ 00
$ 0.000000000
0%0%0%
40$ 0.000000000%
$ 186 713
$ 186 713.00
$ 02
$ 0.000000002
0%0%0%
41$ 0.000000000%
$ 260 753
$ 260 753.00
$ 01
$ 0.000000001
0%0%0%
42$ 0.000000000%
$ 1 278 266
$ 1.28 M
$ 01
$ 0.000000001
-0.01%0%0%
43$ 0.000000000%
$ 58 457
$ 58 457.00
$ 01
$ 0.000000001
0%0%0%
44$ 0.000000000%
$ 9 582
$ 9 582.00
$ 01
$ 0.000000001
0%0%0%
45$ 0.00000000-2.34%
-
-
$ 01
$ 0.000000001
-0.18%-2.34%+20.2%
46$ 0.000000000%
$ 278 839
$ 278 839.00
$ 01
$ 0.000000001
0%0%0%
47$ 0.000000000%
$ 63 011
$ 63 011.00
$ 01
$ 0.000000001
0%0%0%
48$ 0.000000000%
$ 11 941
$ 11 941.00
$ 01
$ 0.000000001
0%0%0%
49$ 0.000391790%
-
-
$ 03
$ 0.000000003
0%0%0%
50$ 0.000000000%
$ 112 773
$ 112 773.00
$ 00
$ 0.000000000
0%0%0%
51$ 0.000000000%
-
-
$ 01
$ 0.000000001
0%0%0%
52$ 0.000000000%
$ 17 640
$ 17 640.00
$ 01
$ 0.000000001
+0.67%0%0%
53$ 0.00000000-2.32%
-
-
$ 01
$ 0.000000001
-0.18%-2.32%+6.84%
54$ 0.000000000%
-
-
$ 02
$ 0.000000002
0%0%0%
55$ 0.000000000%
$ 39 246
$ 39 246.00
$ 01
$ 0.000000001
+0.8%0%0%
56$ 0.000259660%
$ 13 881
$ 13 881.00
$ 00
$ 0.000000000
0%0%-1.38%
57$ 0.000000000%
$ 308 472
$ 308 472.00
$ 01
$ 0.000000001
0%0%0%
58$ 0.000000000%
$ 1 333 692
$ 1.33 M
$ 02
$ 0.000000002
-0.41%0%0%
59$ 0.000000000%
$ 340 702
$ 340 702.00
$ 01
$ 0.000000001
0%0%0%
60$ 0.00000000-2.32%
-
-
$ 00
$ 0.000000000
-0.18%-2.32%-46.58%
61$ 0.000000000%
$ 71 820
$ 71 820.00
$ 01
$ 0.000000001
0%0%0%
62$ 0.00000000+49.54%
$ 192 340
$ 192 340.00
$ 01
$ 0.000000001
0%+49.54%+238.2%
63$ 0.000000000%
-
-
$ 02
$ 0.000000002
0%0%0%
64$ 0.000000000%
$ 18 582
$ 18 582.00
$ 01
$ 0.000000001
0%0%0%
65$ 0.00000000-0.06%
-
-
$ 00
$ 0.000000000
-0.41%-0.06%+8.83%
66$ 0.000000000%
$ 7 806
$ 7 806.00
$ 01
$ 0.000000001
0%0%0%
67$ 0.000000000%
$ 566 973
$ 566 973.00
$ 02
$ 0.000000002
0%0%0%
68$ 0.000000000%
$ 35 041
$ 35 041.00
$ 01
$ 0.000000001
0%0%0%
69$ 0.00000000+0.11%
-
-
$ 00
$ 0.000000000
+0.41%+0.11%-11.71%
70$ 0.00000000-2.34%
-
-
$ 02
$ 0.000000002
-0.18%-2.34%+11.38%
71$ 0.00000000-2.32%
-
-
$ 00
$ 0.000000000
-0.18%-2.32%+6.84%
72$ 0.000000000%
$ 234 127
$ 234 127.00
$ 01
$ 0.000000001
0%0%0%
73$ 0.000000000%
$ 138 452
$ 138 452.00
$ 02
$ 0.000000002
0%0%0%
74$ 0.000000000%
$ 428 465
$ 428 465.00
$ 01
$ 0.000000001
0%0%+0.38%
75$ 0.00000000+0.61%
$ 282 725
$ 282 725.00
$ 00
$ 0.000000000
0%+0.61%+3.68%
76$ 0.000000000%
$ 14 501
$ 14 501.00
$ 03
$ 0.000000003
0%0%0%
77$ 0.00000000-2.34%
-
-
$ 02
$ 0.000000002
-0.17%-2.34%-46.58%
78$ 0.00000000-2.34%
-
-
$ 01
$ 0.000000001
-0.18%-2.34%+6.85%
79$ 0.000000000%
$ 2 460 554
$ 2.46 M
$ 02
$ 0.000000002
0%0%0%
80$ 0.000000000%
$ 149 792
$ 149 792.00
$ 01
$ 0.000000001
-0.07%0%0%
81$ 0.00000000-2.34%
-
-
$ 03
$ 0.000000003
-0.18%-2.34%+6.85%
82$ 0.00000000-2.34%
-
-
$ 01
$ 0.000000001
-0.18%-2.34%+6.85%
83$ 0.000000000%
$ 73 019
$ 73 019.00
$ 01
$ 0.000000001
0%0%0%
84$ 0.00000000-2.34%
-
-
$ 01
$ 0.000000001
-0.18%-2.34%+6.85%
85$ 0.000000000%
$ 53 540
$ 53 540.00
$ 01
$ 0.000000001
-0.07%0%0%
86$ 0.00000000+6.43%
$ 344 123
$ 344 123.00
$ 01
$ 0.000000001
+1.52%+6.43%+11.66%
87$ 0.000000000%
$ 196 388
$ 196 388.00
$ 01
$ 0.000000001
0%0%0%
88$ 0.000000000%
-
-
$ 02
$ 0.000000002
0%0%0%
89$ 0.00000000-2.34%
-
-
$ 01
$ 0.000000001
-0.18%-2.34%+6.85%
90$ 0.000000000%
-
-
$ 02
$ 0.000000002
0%0%0%
91$ 0.000000000%
$ 25 858
$ 25 858.00
$ 00
$ 0.000000000
0%0%+6.09%
92$ 0.000000000%
$ 81 355
$ 81 355.00
$ 03
$ 0.000000003
0%0%0%
93$ 0.000000000%
$ 56 681
$ 56 681.00
$ 02
$ 0.000000002
0%0%0%
94$ 0.000000000%
$ 3 224
$ 3 224.00
$ 01
$ 0.000000001
0%0%0%
95$ 0.000000000%
$ 249 413
$ 249 413.00
$ 01
$ 0.000000001
0%0%0%
96$ 0.000000000%
-
-
$ 01
$ 0.000000001
0%0%0%
97$ 0.015345000%
$ 109 456
$ 109 456.00
$ 00
$ 0.000000000
0%0%0%
98$ 0.086262890%
$ 10 828
$ 10 828.00
$ 05
$ 0.000000005
0%0%0%
99$ 0.00000000+3.42%
$ 6 707
$ 6 707.00
$ 00
$ 0.000000000
-0.01%+3.42%+2.77%
100$ 0.008254910%
-
-
$ 00
$ 0.000000000
0%0%-2.13%

Database Exception – yii\db\Exception
Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Database Exceptionyii\db\Exception

SQLSTATE[HY000] [2002] Connection refused

  • 1. in /raid/1/www/2yachts/vendor/yiisoft/yii2/db/Connection.php at line 649
    640641642643644645646647648649650651652653654655656657658
     
                if ($enableProfiling) {
                    Yii::endProfile($token, __METHOD__);
                }
            } catch (\PDOException $e) {
                if ($enableProfiling) {
                    Yii::endProfile($token, __METHOD__);
                }
     
                throw new Exception($e->getMessage(), $e->errorInfo, (int) $e->getCode(), $e);
            }
        }
     
        /**
         * Closes the currently active DB connection.
         * It does nothing if the connection is already closed.
         */
        public function close()
        {
    
  • 2. in /raid/1/www/2yachts/vendor/yiisoft/yii2/db/Connection.php at line 1063 yii\db\Connection::open()
    1057105810591060106110621063106410651066106710681069
         * Returns the PDO instance for the currently active master connection.
         * This method will open the master DB connection and then return [[pdo]].
         * @return PDO the PDO instance for the currently active master connection.
         */
        public function getMasterPdo()
        {
            $this->open();
            return $this->pdo;
        }
     
        /**
         * Returns the currently active slave connection.
         * If this method is called for the first time, it will try to open a slave connection when [[enableSlaves]] is true.
    
  • 3. in /raid/1/www/2yachts/vendor/yiisoft/yii2/db/Connection.php at line 1050 yii\db\Connection::getMasterPdo()
    1044104510461047104810491050105110521053105410551056
         * is available and `$fallbackToMaster` is false.
         */
        public function getSlavePdo($fallbackToMaster = true)
        {
            $db = $this->getSlave(false);
            if ($db === null) {
                return $fallbackToMaster ? $this->getMasterPdo() : null;
            }
     
            return $db->pdo;
        }
     
        /**
    
  • 4. in /raid/1/www/2yachts/vendor/yiisoft/yii2/db/Schema.php at line 463 yii\db\Connection::getSlavePdo()
    457458459460461462463464465466467468469
        public function quoteValue($str)
        {
            if (!is_string($str)) {
                return $str;
            }
     
            if (mb_stripos($this->db->dsn, 'odbc:') === false && ($value = $this->db->getSlavePdo()->quote($str)) !== false) {
                return $value;
            }
     
            // the driver doesn't support quote (e.g. oci)
            return "'" . addcslashes(str_replace("'", "''", $str), "\000\n\r\\\032") . "'";
        }
    
  • 5. in /raid/1/www/2yachts/vendor/yiisoft/yii2/db/Connection.php at line 942 yii\db\Schema::quoteValue('40ae061bb9704db1e873a93cbba1ee6d')
    936937938939940941942943944945946947948
         * @param string $value string to be quoted
         * @return string the properly quoted string
         * @see https://secure.php.net/manual/en/pdo.quote.php
         */
        public function quoteValue($value)
        {
            return $this->getSchema()->quoteValue($value);
        }
     
        /**
         * Quotes a table name for use in a query.
         * If the table name contains schema prefix, the prefix will also be properly quoted.
         * If the table name is already quoted or contains special characters including '(', '[[' and '{{',
    
  • 6. in /raid/1/www/2yachts/vendor/yiisoft/yii2/db/Command.php at line 211 yii\db\Connection::quoteValue('40ae061bb9704db1e873a93cbba1ee6d')
    205206207208209210211212213214215216217
            $params = [];
            foreach ($this->params as $name => $value) {
                if (is_string($name) && strncmp(':', $name, 1)) {
                    $name = ':' . $name;
                }
                if (is_string($value) || $value instanceof Expression) {
                    $params[$name] = $this->db->quoteValue((string)$value);
                } elseif (is_bool($value)) {
                    $params[$name] = ($value ? 'TRUE' : 'FALSE');
                } elseif ($value === null) {
                    $params[$name] = 'NULL';
                } elseif (!is_object($value) && !is_resource($value)) {
                    $params[$name] = $value;
    
  • 7. in /raid/1/www/2yachts/vendor/yiisoft/yii2/db/Command.php at line 1126 yii\db\Command::getRawSql()
    1120112111221123112411251126112711281129113011311132
         * @return array array of two elements, the first is boolean of whether profiling is enabled or not.
         * The second is the rawSql if it has been created.
         */
        protected function logQuery($category)
        {
            if ($this->db->enableLogging) {
                $rawSql = $this->getRawSql();
                Yii::info($rawSql, $category);
            }
            if (!$this->db->enableProfiling) {
                return [false, isset($rawSql) ? $rawSql : null];
            }
     
    
  • 8. in /raid/1/www/2yachts/vendor/yiisoft/yii2/db/Command.php at line 1147 yii\db\Command::logQuery('yii\db\Command::query')
    1141114211431144114511461147114811491150115111521153
         * @return mixed the method execution result
         * @throws Exception if the query causes any problem
         * @since 2.0.1 this method is protected (was private before).
         */
        protected function queryInternal($method, $fetchMode = null)
        {
            list($profile, $rawSql) = $this->logQuery('yii\db\Command::query');
     
            if ($method !== '') {
                $info = $this->db->getQueryCacheInfo($this->queryCacheDuration, $this->queryCacheDependency);
                if (is_array($info)) {
                    /* @var $cache \yii\caching\CacheInterface */
                    $cache = $info[0];
    
  • 9. in /raid/1/www/2yachts/vendor/yiisoft/yii2/db/Command.php at line 424 yii\db\Command::queryInternal('fetch', null)
    418419420421422423424425426427428429430
         * @return array|false the first row (in terms of an array) of the query result. False is returned if the query
         * results in nothing.
         * @throws Exception execution failed
         */
        public function queryOne($fetchMode = null)
        {
            return $this->queryInternal('fetch', $fetchMode);
        }
     
        /**
         * Executes the SQL statement and returns the value of the first column in the first row of data.
         * This method is best used when only a single value is needed for a query.
         * @return string|int|null|false the value of the first column in the first row of the query result.
    
  • 10. in /raid/1/www/2yachts/api/modules/widget/components/WidgetController.php at line 61 yii\db\Command::queryOne()
    55565758596061626364656667
                'SELECT `offset`
                FROM api_widget_page
                WHERE `hash`=:hash AND type=:type', [
                    ':hash' => $hash,
                    ':type' => $type,
                ]
            )->queryOne();
     
            if (is_array($offset)) return $offset['offset'];
     
            return null;
        }
     
    
  • 11. in /raid/1/www/2yachts/api/modules/widget/controllers/EntityController.php at line 37 – api\modules\widget\components\WidgetController::findOffset('region_rent')
    31323334353637383940414243
     
            $cache = YII_ENV != 'dev' ? Yii::$app->cache->get($cache_name) : null;
            if (!$cache) {
                $list = [];
     
                // Регионы чартера
                $offset = $this->findOffset('region_rent');
                if (!$offset) {
                    $offset = SeoRegion::calcOffsetRegionType('rent', $this->page);
                    $this->setOffset('region_rent', $offset);
                }
                $region_charter = SeoRegion::getRegionTypeByPage('rent', $offset);
                $region_charter = $this->getRegionData($region_charter);
    
  • 12. api\modules\widget\controllers\EntityController::actionIndex()
  • 13. in /raid/1/www/2yachts/vendor/yiisoft/yii2/base/InlineAction.php at line 57 – call_user_func_array([api\modules\widget\controllers\EntityController, 'actionIndex'], [])
    515253545556575859
            $args = $this->controller->bindActionParams($this, $params);
            Yii::debug('Running action: ' . get_class($this->controller) . '::' . $this->actionMethod . '()', __METHOD__);
            if (Yii::$app->requestedParams === null) {
                Yii::$app->requestedParams = $args;
            }
     
            return call_user_func_array([$this->controller, $this->actionMethod], $args);
        }
    }
    
  • 14. in /raid/1/www/2yachts/vendor/yiisoft/yii2/base/Controller.php at line 181 yii\base\InlineAction::runWithParams(['/api/widget/entity' => '', 'direction' => 'horizontal', 'lang' => 'en', 'page' => '40ae061bb9704db1e873a93cbba1ee6d'])
    175176177178179180181182183184185186187
            }
     
            $result = null;
     
            if ($runAction && $this->beforeAction($action)) {
                // run the action
                $result = $action->runWithParams($params);
     
                $result = $this->afterAction($action, $result);
     
                // call afterAction on modules
                foreach ($modules as $module) {
                    /* @var $module Module */
    
  • 15. in /raid/1/www/2yachts/vendor/yiisoft/yii2/base/Module.php at line 534 yii\base\Controller::runAction('', ['/api/widget/entity' => '', 'direction' => 'horizontal', 'lang' => 'en', 'page' => '40ae061bb9704db1e873a93cbba1ee6d'])
    528529530531532533534535536537538539540
            $parts = $this->createController($route);
            if (is_array($parts)) {
                /* @var $controller Controller */
                list($controller, $actionID) = $parts;
                $oldController = Yii::$app->controller;
                Yii::$app->controller = $controller;
                $result = $controller->runAction($actionID, $params);
                if ($oldController !== null) {
                    Yii::$app->controller = $oldController;
                }
     
                return $result;
            }
    
  • 16. in /raid/1/www/2yachts/vendor/yiisoft/yii2/web/Application.php at line 104 yii\base\Module::runAction('widget/entity', ['/api/widget/entity' => '', 'direction' => 'horizontal', 'lang' => 'en', 'page' => '40ae061bb9704db1e873a93cbba1ee6d'])
    9899100101102103104105106107108109110
                $params = $this->catchAll;
                unset($params[0]);
            }
            try {
                Yii::debug("Route requested: '$route'", __METHOD__);
                $this->requestedRoute = $route;
                $result = $this->runAction($route, $params);
                if ($result instanceof Response) {
                    return $result;
                }
     
                $response = $this->getResponse();
                if ($result !== null) {
    
  • 17. in /raid/1/www/2yachts/vendor/yiisoft/yii2/base/Application.php at line 392 yii\web\Application::handleRequest(yii\web\Request)
    386387388389390391392393394395396397398
        {
            try {
                $this->state = self::STATE_BEFORE_REQUEST;
                $this->trigger(self::EVENT_BEFORE_REQUEST);
     
                $this->state = self::STATE_HANDLING_REQUEST;
                $response = $this->handleRequest($this->getRequest());
     
                $this->state = self::STATE_AFTER_REQUEST;
                $this->trigger(self::EVENT_AFTER_REQUEST);
     
                $this->state = self::STATE_SENDING_RESPONSE;
                $response->send();
    
  • 18. in /raid/1/www/2yachts/public_html/api/index.php at line 20 yii\base\Application::run()
    14151617181920
        require __DIR__ . '/../../common/config/main.php',
        require __DIR__ . '/../../common/config/main-local.php',
        require __DIR__ . '/../../api/config/main.php',
        require __DIR__ . '/../../api/config/main-local.php'
    );
     
    (new yii\web\Application($config))->run();
    
$_GET = [
    '/api/widget/entity' => '',
    'direction' => 'horizontal',
    'lang' => 'en',
    'page' => '40ae061bb9704db1e873a93cbba1ee6d',
];