Table 'ekihexbk_u828625547_ed.ps_category' doesn't existSELECT c.`id_category`
FROM `ps_category` c
LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.id_shop = 1 )
INNER JOIN ps_category_shop category_shop ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
LEFT JOIN `ps_category_lang` clp ON (c.`id_parent` = clp.`id_category`)
WHERE cl.`link_rewrite` = 'secure-windows'
AND clp.`link_rewrite` = 'spaces/safe-space'
AND cl.`id_lang` = 4 LIMIT 1
at line 613 in file classes/db/Db.php
607. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
608. }
609. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
610. {
611. if ($sql)
612. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
613. throw new PrestaShopDatabaseException($this->getMsgError());
614. }
615. }
616.
617. /**
307. if ($sql instanceof DbQuery)
308. $sql = $sql->build();
309.
310. $this->result = $this->_query($sql);
311. if (_PS_DEBUG_SQL_)
312. $this->displayError($sql);
313. return $this->result;
314. }
315.
316. /**
317. * Execute an INSERT query
Argument [0] SELECT c.`id_category` FROM `ps_category` c LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.id_shop = 1 ) INNER JOIN ps_category_shop category_shop ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1) LEFT JOIN `ps_category_lang` clp ON (c.`id_parent` = clp.`id_category`) WHERE cl.`link_rewrite` = 'secure-windows' AND clp.`link_rewrite` = 'spaces/safe-space' AND cl.`id_lang` = 4 LIMIT 1
520. if ($use_cache && $this->is_cache_enabled && ($result = Cache::getInstance()->get(md5($sql))))
521. {
522. $this->last_cached = true;
523. return $result;
524. }
525. $this->result = $this->query($sql);
526. if (!$this->result)
527. return false;
528. $this->last_cached = false;
529. $result = $this->nextRow($this->result);
530. if (is_null($result))
Argument [0] SELECT c.`id_category` FROM `ps_category` c LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.id_shop = 1 ) INNER JOIN ps_category_shop category_shop ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1) LEFT JOIN `ps_category_lang` clp ON (c.`id_parent` = clp.`id_category`) WHERE cl.`link_rewrite` = 'secure-windows' AND clp.`link_rewrite` = 'spaces/safe-space' AND cl.`id_lang` = 4 LIMIT 1
544. public function getValue($sql, $use_cache = true)
545. {
546. if ($sql instanceof DbQuery)
547. $sql = $sql->build();
548.
549. if (!$result = $this->getRow($sql, $use_cache))
550. return false;
551. return array_shift($result);
552. }
553.
554. /**
Argument [0] SELECT c.`id_category` FROM `ps_category` c LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.id_shop = 1 ) INNER JOIN ps_category_shop category_shop ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1) LEFT JOIN `ps_category_lang` clp ON (c.`id_parent` = clp.`id_category`) WHERE cl.`link_rewrite` = 'secure-windows' AND clp.`link_rewrite` = 'spaces/safe-space' AND cl.`id_lang` = 4 Argument [1] 1
57. LEFT JOIN `ps_category_lang` clp ON (c.`id_parent` = clp.`id_category`)
58. WHERE cl.`link_rewrite` = \''.$category_rewrite.'\'
59. AND clp.`link_rewrite` = \''.$parent_rewrite.'\'
60. AND cl.`id_lang` = '. Context::getContext()->language->id;
61.
62. $id_category = (int)Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($sql);
63. $_GET['noredirect'] = TRUE;
64. }
65. else
66. {
67. // none found
Argument [0] SELECT c.`id_category` FROM `ps_category` c LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.id_shop = 1 ) INNER JOIN ps_category_shop category_shop ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1) LEFT JOIN `ps_category_lang` clp ON (c.`id_parent` = clp.`id_category`) WHERE cl.`link_rewrite` = 'secure-windows' AND clp.`link_rewrite` = 'spaces/safe-space' AND cl.`id_lang` = 4
144. /**
145. * Start controller process (this method shouldn't be overriden !)
146. */
147. public function run()
148. {
149. $this->init();
150. if ($this->checkAccess())
151. {
152. // setMedia MUST be called before postProcess
153. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
154. $this->setMedia();
342. // Execute hook dispatcher
343. if (isset($params_hook_action_dispatcher))
344. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
345.
346. // Running controller
347. $controller->run();
348. }
349. catch (PrestaShopException $e)
350. {
351. $e->displayMessage();
352. }
22. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
23. * International Registered Trademark & Property of PrestaShop SA
24. */
25.
26. require(dirname(__FILE__).'/config/config.inc.php');
27. Dispatcher::getInstance()->dispatch();
28.