Table 'dbs12779582.dftRldsE_theme' doesn't exist
SELECT su.physical_uri, su.virtual_uri, su.domain, su.domain_ssl, t.id_theme, t.name, t.directory
FROM dftRldsE_shop s
LEFT JOIN dftRldsE_shop_url su ON (s.id_shop = su.id_shop)
LEFT JOIN dftRldsE_theme t ON (t.id_theme = s.id_theme)
WHERE s.id_shop = 1
AND s.active = 1 AND s.deleted = 0 AND su.main = 1 LIMIT 1
at line 791 in file classes/db/Db.php
786. if ($webservice_call && $errno) {
787. $dbg = debug_backtrace();
788. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
789. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
790. if ($sql) {
791. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
792. }
793.
794. throw new PrestaShopDatabaseException($this->getMsgError());
795. }
796. }
420. $this->result = $this->_query($sql);
421. }
422. }
423.
424. if (_PS_DEBUG_SQL_) {
425. $this->displayError($sql);
426. }
427.
428. return $this->result;
429. }
430.
Argument [0] SELECT su.physical_uri, su.virtual_uri, su.domain, su.domain_ssl, t.id_theme, t.name, t.directory FROM dftRldsE_shop s LEFT JOIN dftRldsE_shop_url su ON (s.id_shop = su.id_shop) LEFT JOIN dftRldsE_theme t ON (t.id_theme = s.id_theme) WHERE s.id_shop = 1 AND s.active = 1 AND s.deleted = 0 AND su.main = 1 LIMIT 1
685. $this->last_cached = true;
686. return $result;
687. }
688. }
689.
690. $this->result = $this->query($sql);
691. if (!$this->result) {
692. $result = false;
693. } else {
694. $result = $this->nextRow($this->result);
695. }
Argument [0] SELECT su.physical_uri, su.virtual_uri, su.domain, su.domain_ssl, t.id_theme, t.name, t.directory FROM dftRldsE_shop s LEFT JOIN dftRldsE_shop_url su ON (s.id_shop = su.id_shop) LEFT JOIN dftRldsE_theme t ON (t.id_theme = s.id_theme) WHERE s.id_shop = 1 AND s.active = 1 AND s.deleted = 0 AND su.main = 1 LIMIT 1
197. $row = Db::getInstance()->getRow('
198. SELECT su.physical_uri, su.virtual_uri, su.domain, su.domain_ssl, t.id_theme, t.name, t.directory
199. FROM '._DB_PREFIX_.'shop s
200. LEFT JOIN '._DB_PREFIX_.'shop_url su ON (s.id_shop = su.id_shop)
201. LEFT JOIN '._DB_PREFIX_.'theme t ON (t.id_theme = s.id_theme)
202. WHERE s.id_shop = '.(int)$this->id.'
203. AND s.active = 1 AND s.deleted = 0 AND su.main = 1');
204. Cache::store($cache_id, $row);
205. } else {
206. $row = Cache::retrieve($cache_id);
207. }
Argument [0] SELECT su.physical_uri, su.virtual_uri, su.domain, su.domain_ssl, t.id_theme, t.name, t.directory FROM dftRldsE_shop s LEFT JOIN dftRldsE_shop_url su ON (s.id_shop = su.id_shop) LEFT JOIN dftRldsE_theme t ON (t.id_theme = s.id_theme) WHERE s.id_shop = 1 AND s.active = 1 AND s.deleted = 0 AND su.main = 1 LIMIT 1
128. */
129. public function __construct($id = null, $id_lang = null, $id_shop = null)
130. {
131. parent::__construct($id, $id_lang, $id_shop);
132. if ($this->id) {
133. $this->setUrl();
134. }
135. }
136.
137. /**
138. * Initialize an array with all the multistore associations in the database
392. if (!isset($_SERVER['REMOTE_ADDR']) || empty($_SERVER['REMOTE_ADDR'])) {
393. $_SERVER['REMOTE_ADDR'] = '127.0.0.1';
394. }
395. }
396. } else {
397. $shop = new Shop($id_shop);
398. if (!Validate::isLoadedObject($shop) || !$shop->active) {
399. // No shop found ... too bad, let's redirect to default shop
400. $default_shop = new Shop(Configuration::get('PS_SHOP_DEFAULT'));
401.
402. // Hmm there is something really bad in your Prestashop !
Argument [0] 1
109.
110. $context = Context::getContext();
111.
112. /* Initialize the current Shop */
113. try {
114. $context->shop = Shop::initialize();
115. $context->theme = new Theme((int)$context->shop->id_theme);
116. if ((Tools::isEmpty($theme_name = $context->shop->getTheme()) || !Validate::isLoadedObject($context->theme)) && !defined('_PS_ADMIN_DIR_')) {
117. throw new PrestaShopException(Tools::displayError('Current theme unselected. Please check your theme configuration.'));
118. }
119. } catch (PrestaShopException $e) {
22. * @copyright 2007-2017 PrestaShop SA
23. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
24. * International Registered Trademark & Property of PrestaShop SA
25. */
26.
27. require(dirname(__FILE__).'/config/config.inc.php');
28. Dispatcher::getInstance()->dispatch();
Argument [0] /homepages/31/d1003513011/htdocs/casaparafarmacia/httpdocs/config/config.inc.php