Table 'profmc_temp.psprof_shop_url' doesn't exist<br /><br /><pre>SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main
FROM psprof_shop_url su
LEFT JOIN psprof_shop s ON (s.id_shop = su.id_shop)
WHERE (su.domain = 'www.profmedcentr.eu' OR su.domain_ssl = 'www.profmedcentr.eu')
AND s.active = 1
AND s.deleted = 0
ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC</pre>
at line 773 in file classes/db/Db.php
768. if ($webservice_call && $errno) {
769. $dbg = debug_backtrace();
770. WebserviceRequest::getInstance()->setError(500, '[SQL Error] ' . $this->getMsgError() . '. From ' . (isset($dbg[3]['class']) ? $dbg[3]['class'] : '') . '->' . $dbg[3]['function'] . '() Query was : ' . $sql, 97);
771. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
772. if ($sql) {
773. throw new PrestaShopDatabaseException($this->getMsgError() . '<br /><br /><pre>' . $sql . '</pre>');
774. }
775.
776. throw new PrestaShopDatabaseException($this->getMsgError());
777. }
778. }
380. $this->connect();
381. $this->result = $this->_query($sql);
382. }
383.
384. if (_PS_DEBUG_SQL_) {
385. $this->displayError($sql);
386. }
387.
388. return $this->result;
389. }
390.
Argument [0] SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main FROM psprof_shop_url su LEFT JOIN psprof_shop s ON (s.id_shop = su.id_shop) WHERE (su.domain = 'www.profmedcentr.eu' OR su.domain_ssl = 'www.profmedcentr.eu') 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 psprof_shop_url su LEFT JOIN psprof_shop s ON (s.id_shop = su.id_shop) WHERE (su.domain = 'www.profmedcentr.eu' OR su.domain_ssl = 'www.profmedcentr.eu') AND s.active = 1 AND s.deleted = 0 ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC
1351. WHERE (su.domain = \'' . pSQL($host) . '\' OR su.domain_ssl = \'' . pSQL($host) . '\')
1352. AND s.active = 1
1353. AND s.deleted = 0
1354. ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC';
1355.
1356. $result = Db::getInstance()->executeS($sql);
1357.
1358. return $result;
1359. }
1360. }
Argument [0] SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main FROM psprof_shop_url su LEFT JOIN psprof_shop s ON (s.id_shop = su.id_shop) WHERE (su.domain = 'www.profmedcentr.eu' OR su.domain_ssl = 'www.profmedcentr.eu') AND s.active = 1 AND s.deleted = 0 ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC
346. $found_uri = '';
347. $is_main_uri = false;
348. $host = Tools::getHttpHost(false, false, true);
349. $request_uri = rawurldecode($_SERVER['REQUEST_URI']);
350.
351. $result = self::findShopByHost($host);
352.
353. // If could not find a matching, try with port
354. if (empty($result)) {
355. $host = Tools::getHttpHost(false, false, false);
356. $result = self::findShopByHost($host);
Argument [0] www.profmedcentr.eu
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/www/users/peclav/profmedcentr_temp/config/config.inc.php