[PrestaShopException]
Link to database cannot be established: SQLSTATE[HY000] [1226] User 'vapearsh_db810532087' has exceeded the 'max_user_connections' resource (current value: 16)
at line 137 in file classes/db/DbPDO.php
132. public function connect()
133. {
134. try {
135. $this->link = $this->getPDO($this->server, $this->user, $this->password, $this->database, 5);
136. } catch (PDOException $e) {
137. throw new PrestaShopException('Link to database cannot be established: ' . $e->getMessage());
138. }
139.
140. $this->link->exec('SET SESSION sql_mode = \'\'');
141.
142. return $this->link;
- DbPDOCore->connect - [line 330 - classes/db/Db.php]
325. if (!defined('_PS_DEBUG_SQL_')) { 326. define('_PS_DEBUG_SQL_', false); 327. } 328. 329. if ($connect) { 330. $this->connect(); 331. } 332. } 333. 334. /** 335. * Disable the use of the cache. - DbCore->__construct - [line 241 - classes/db/Db.php] - [4 Arguments]
236. $class = Db::getClass(); 237. self::$instance[$id_server] = new $class( 238. self::$_servers[$id_server]['server'], 239. self::$_servers[$id_server]['user'], 240. self::$_servers[$id_server]['password'], 241. self::$_servers[$id_server]['database'] 242. ); 243. } 244. 245. return self::$instance[$id_server]; 246. }Argument [0] **hidden_server** Argument [1] vapearsh_db810532087 Argument [2] **hidden_password** Argument [3] **hidden_database**
- DbCore::getInstance - [line 47 - config/alias.php]
42. * @param bool $htmlOK Does data contain HTML code ? (optional) 43. * @return string Sanitized data 44. */ 45. function pSQL($string, $htmlOK = false) 46. { 47. return Db::getInstance()->escape($string, $htmlOK); 48. } 49. 50. function bqSQL($string) 51. { 52. return str_replace('`', '\`', pSQL($string));- pSQL - [line 1345 - classes/shop/Shop.php] - [1 Arguments]
1340. private static function findShopByHost($host) 1341. { 1342. $sql = 'SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main 1343. FROM ' . _DB_PREFIX_ . 'shop_url su 1344. LEFT JOIN ' . _DB_PREFIX_ . 'shop s ON (s.id_shop = su.id_shop) 1345. WHERE (su.domain = \'' . pSQL($host) . '\' OR su.domain_ssl = \'' . pSQL($host) . '\') 1346. AND s.active = 1 1347. AND s.deleted = 0 1348. ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC'; 1349. 1350. $result = Db::getInstance()->executeS($sql);Argument [0] vapear.shop
- ShopCore::findShopByHost - [line 341 - classes/shop/Shop.php] - [1 Arguments]
336. $found_uri = ''; 337. $is_main_uri = false; 338. $host = Tools::getHttpHost(false, false, true); 339. $request_uri = rawurldecode($_SERVER['REQUEST_URI']); 340. 341. $result = self::findShopByHost($host); 342. 343. // If could not find a matching, try with port 344. if (empty($result)) { 345. $host = Tools::getHttpHost(false, false, false); 346. $result = self::findShopByHost($host);Argument [0] vapear.shop
- ShopCore::initialize - [line 128 - config/config.inc.php]
123. 124. $context = Context::getContext(); 125. 126. /* Initialize the current Shop */ 127. try { 128. $context->shop = Shop::initialize(); 129. } catch (PrestaShopException $e) { 130. $e->displayMessage(); 131. } 132. define('_THEME_NAME_', $context->shop->theme->getName()); 133. define('_PARENT_THEME_NAME_', $context->shop->theme->get('parent') ?: '');- require - [line 27 - index.php] - [1 Arguments]
22. * @author PrestaShop SA and Contributors <contact@prestashop.com> 23. * @copyright Since 2007 PrestaShop SA and Contributors 24. * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) 25. */ 26. 27. require dirname(__FILE__).'/config/config.inc.php'; 28. Dispatcher::getInstance()->dispatch();Argument [0] /home/vapearsh/public_html/config/config.inc.php
[PrestaShopException]
Link to database cannot be established: SQLSTATE[HY000] [1226] User 'vapearsh_db810532087' has exceeded the 'max_user_connections' resource (current value: 16)
at line 137 in file classes/db/DbPDO.php132. public function connect() 133. { 134. try { 135. $this->link = $this->getPDO($this->server, $this->user, $this->password, $this->database, 5); 136. } catch (PDOException $e) { 137. throw new PrestaShopException('Link to database cannot be established: ' . $e->getMessage()); 138. } 139. 140. $this->link->exec('SET SESSION sql_mode = \'\''); 141. 142. return $this->link;- DbPDOCore->connect - [line 330 - classes/db/Db.php]
325. if (!defined('_PS_DEBUG_SQL_')) { 326. define('_PS_DEBUG_SQL_', false); 327. } 328. 329. if ($connect) { 330. $this->connect(); 331. } 332. } 333. 334. /** 335. * Disable the use of the cache. - DbCore->__construct - [line 241 - classes/db/Db.php] - [4 Arguments]
236. $class = Db::getClass(); 237. self::$instance[$id_server] = new $class( 238. self::$_servers[$id_server]['server'], 239. self::$_servers[$id_server]['user'], 240. self::$_servers[$id_server]['password'], 241. self::$_servers[$id_server]['database'] 242. ); 243. } 244. 245. return self::$instance[$id_server]; 246. }Argument [0] **hidden_server** Argument [1] vapearsh_db810532087 Argument [2] **hidden_password** Argument [3] **hidden_database**
- DbCore::getInstance - [line 47 - config/alias.php]
42. * @param bool $htmlOK Does data contain HTML code ? (optional) 43. * @return string Sanitized data 44. */ 45. function pSQL($string, $htmlOK = false) 46. { 47. return Db::getInstance()->escape($string, $htmlOK); 48. } 49. 50. function bqSQL($string) 51. { 52. return str_replace('`', '\`', pSQL($string));- pSQL - [line 1345 - classes/shop/Shop.php] - [1 Arguments]
1340. private static function findShopByHost($host) 1341. { 1342. $sql = 'SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main 1343. FROM ' . _DB_PREFIX_ . 'shop_url su 1344. LEFT JOIN ' . _DB_PREFIX_ . 'shop s ON (s.id_shop = su.id_shop) 1345. WHERE (su.domain = \'' . pSQL($host) . '\' OR su.domain_ssl = \'' . pSQL($host) . '\') 1346. AND s.active = 1 1347. AND s.deleted = 0 1348. ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC'; 1349. 1350. $result = Db::getInstance()->executeS($sql);Argument [0] vapear.shop
- ShopCore::findShopByHost - [line 341 - classes/shop/Shop.php] - [1 Arguments]
336. $found_uri = ''; 337. $is_main_uri = false; 338. $host = Tools::getHttpHost(false, false, true); 339. $request_uri = rawurldecode($_SERVER['REQUEST_URI']); 340. 341. $result = self::findShopByHost($host); 342. 343. // If could not find a matching, try with port 344. if (empty($result)) { 345. $host = Tools::getHttpHost(false, false, false); 346. $result = self::findShopByHost($host);Argument [0] vapear.shop
- ShopCore::initialize - [line 128 - config/config.inc.php]
123. 124. $context = Context::getContext(); 125. 126. /* Initialize the current Shop */ 127. try { 128. $context->shop = Shop::initialize(); 129. } catch (PrestaShopException $e) { 130. $e->displayMessage(); 131. } 132. define('_THEME_NAME_', $context->shop->theme->getName()); 133. define('_PARENT_THEME_NAME_', $context->shop->theme->get('parent') ?: '');- require - [line 27 - index.php] - [1 Arguments]
22. * @author PrestaShop SA and Contributors <contact@prestashop.com> 23. * @copyright Since 2007 PrestaShop SA and Contributors 24. * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) 25. */ 26. 27. require dirname(__FILE__).'/config/config.inc.php'; 28. Dispatcher::getInstance()->dispatch();Argument [0] /home/vapearsh/public_html/config/config.inc.php
- DbCore::getInstance - [line 47 - config/alias.php]
E-liquidOil4Vap Tabaco Rubio Granada 10ml
4,20 €Tabaco matiz dulce, avainillado y al mismo tiempo con un gusto leñoso">Argument [0] /home/vapearsh/public_html/config/config.inc.php
17,50 €Eliquid tabaquil, que aunque tiene un toque dulce al final, resulta el tabaquil mas "duro" al vapear. En palabras de un revisor, un tabacazo Añade 2 Nikovap de 20mg/ml para obtener 60ml a 6 de nicotina, de 10mg/ml para obtener 60ml a 3 de nicotiona. Sin nicotina para 60ml a 0 de nicotina.">Argument [0] /home/vapearsh/public_html/config/config.inc.php
17,50 €Eliquid tabaquil, que aunque tiene un toque dulce al final, resulta el tabaquil mas "duro" al vapear. En palabras de un revisor, un tabacazo Añade 2 Nikovap de 20mg/ml para obtener 60ml a 6 de nicotina, de 10mg/ml para obtener 60ml a 3 de nicotiona. Sin nicotina para 60ml a 0 de nicotina.">Argument [0] /home/vapearsh/public_html/config/config.inc.php
- DbCore::getInstance - [line 47 - config/alias.php]
Oil4Vap Tabaco Rubio Virginia 10ml
Argument [0] /home/vapearsh/public_html/config/config.inc.php
Argument [0] /home/vapearsh/public_html/config/config.inc.php
Oil4Vap Ultra Iced Menthol 10ml
Argument [0] /home/vapearsh/public_html/config/config.inc.php
Oil4Vap USA Mix10ml
Argument [0] /home/vapearsh/public_html/config/config.inc.php
Oil4Vap Vladiblood10ml
Argument [0] /home/vapearsh/public_html/config/config.inc.php
Oil4Vap Watermelon Jelly10ml
Argument [0] /home/vapearsh/public_html/config/config.inc.php