SQLSTATE[42S02]: Base table or view not found: 1146 Table 'calzadosbienve2023.ps_shop' doesn't exist
at line 151 in file classes/db/DbPDO.php
146. protected function _query($sql)
147. {
148. try {
149. return $this->link->query($sql);
150. } catch (\PDOException $exception) {
151. throw new PrestaShopException($exception->getMessage(), (int) $exception->getCode(), $exception);
152. }
153. }
154.
155. /**
156. * Returns the next row from the result set.
372. {
373. if ($sql instanceof DbQuery) {
374. $sql = $sql->build();
375. }
376.
377. $this->result = $this->_query($sql);
378.
379. if (!$this->result && $this->getNumberError() == 2006) {
380. $this->connect();
381. $this->result = $this->_query($sql);
382. }
605. // This method must be used only with queries which display results
606. if (!preg_match('#^\s*\(?\s*(select|show|explain|describe|desc|checksum)\s#i', $sql)) {
607. throw new PrestaShopDatabaseException('Db->executeS() must be used only with select, show, explain or describe queries');
608. }
609.
610. $this->result = $this->query($sql);
611.
612. if (!$this->result) {
613. $result = false;
614. } else {
615. if (!$array) {
1358. WHERE (su.domain = \'' . pSQL($host) . '\' OR su.domain_ssl = \'' . pSQL($host) . '\')
1359. AND s.active = 1
1360. AND s.deleted = 0
1361. ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC';
1362.
1363. $result = Db::getInstance()->executeS($sql);
1364.
1365. return $result;
1366. }
1367. }
350. $found_uri = '';
351. $is_main_uri = false;
352. $host = Tools::getHttpHost(false, false, true);
353. $request_uri = rawurldecode($_SERVER['REQUEST_URI']);
354.
355. $result = self::findShopByHost($host);
356.
357. // If could not find a matching, try with port
358. if (empty($result)) {
359. $host = Tools::getHttpHost(false, false, false);
360. $result = self::findShopByHost($host);
112.
113. $context = Context::getContext();
114.
115. /* Initialize the current Shop */
116. try {
117. $context->shop = Shop::initialize();
118. } catch (PrestaShopException $e) {
119. $e->displayMessage();
120. }
121. define('_THEME_NAME_', $context->shop->theme->getName());
122. define('_PARENT_THEME_NAME_', $context->shop->theme->get('parent') ?: '');
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] /var/www/vhosts/calzadosbienve.com/httpdocs/config/config.inc.php