SQLSTATE[42S02]: Base table or view not found: 1146 Table 'm1123_sim.ps_shop_url' 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. }
Argument [0] SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main FROM ps_shop_url su LEFT JOIN ps_shop s ON (s.id_shop = su.id_shop) WHERE (su.domain = 'sim.krakow.pl' OR su.domain_ssl = 'sim.krakow.pl') AND s.active = 1 AND s.deleted = 0 ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC
609. || stripos($sql, 'dumpfile') !== false
610. ) {
611. throw new PrestaShopDatabaseException('Db->executeS() must be used only with select, show, explain or describe queries');
612. }
613.
614. $this->result = $this->query($sql);
615.
616. if (!$this->result) {
617. $result = false;
618. } else {
619. if (!$array) {
Argument [0] SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main FROM ps_shop_url su LEFT JOIN ps_shop s ON (s.id_shop = su.id_shop) WHERE (su.domain = 'sim.krakow.pl' OR su.domain_ssl = 'sim.krakow.pl') AND s.active = 1 AND s.deleted = 0 ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC
1359. WHERE (su.domain = \'' . pSQL($host) . '\' OR su.domain_ssl = \'' . pSQL($host) . '\')
1360. AND s.active = 1
1361. AND s.deleted = 0
1362. ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC';
1363.
1364. $result = Db::getInstance()->executeS($sql);
1365.
1366. return $result;
1367. }
1368. }
Argument [0] SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main FROM ps_shop_url su LEFT JOIN ps_shop s ON (s.id_shop = su.id_shop) WHERE (su.domain = 'sim.krakow.pl' OR su.domain_ssl = 'sim.krakow.pl') AND s.active = 1 AND s.deleted = 0 ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC
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);
Argument [0] sim.krakow.pl
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] /usr/home/sim/domains/sim.krakow.pl/public_html/config/config.inc.php