Table 'u894358572_pres.ps_velsof_supercheckout_custom_fields' doesn't existSELECT * FROM ps_velsof_supercheckout_custom_fields cf JOIN ps_velsof_supercheckout_custom_fields_lang cfl ON cf.id_velsof_supercheckout_custom_fields = cfl.id_velsof_supercheckout_custom_fields WHERE active = 1 AND cfl.id_lang =1
at line 793 in file classes/db/Db.php
788. if ($webservice_call && $errno) {
789. $dbg = debug_backtrace();
790. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
791. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
792. if ($sql) {
793. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
794. }
795.
796. throw new PrestaShopDatabaseException($this->getMsgError());
797. }
798. }
422. $this->result = $this->_query($sql);
423. }
424. }
425.
426. if (_PS_DEBUG_SQL_) {
427. $this->displayError($sql);
428. }
429.
430. return $this->result;
431. }
432.
Argument [0] SELECT * FROM ps_velsof_supercheckout_custom_fields cf JOIN ps_velsof_supercheckout_custom_fields_lang cfl ON cf.id_velsof_supercheckout_custom_fields = cfl.id_velsof_supercheckout_custom_fields WHERE active = 1 AND cfl.id_lang =1
640. throw new PrestaShopDatabaseException('Db->executeS() must be used only with select, show, explain or describe queries');
641. }
642. return $this->execute($sql, $use_cache);
643. }
644.
645. $this->result = $this->query($sql);
646.
647. if (!$this->result) {
648. $result = false;
649. } else {
650. if (!$array) {
Argument [0] SELECT * FROM ps_velsof_supercheckout_custom_fields cf JOIN ps_velsof_supercheckout_custom_fields_lang cfl ON cf.id_velsof_supercheckout_custom_fields = cfl.id_velsof_supercheckout_custom_fields WHERE active = 1 AND cfl.id_lang =1
634. $query = 'SELECT * FROM ' . _DB_PREFIX_ . 'velsof_supercheckout_custom_fields cf ';
635. $query = $query . 'JOIN ' . _DB_PREFIX_ . 'velsof_supercheckout_custom_fields_lang cfl ';
636. $query = $query . 'ON cf.id_velsof_supercheckout_custom_fields = cfl.id_velsof_supercheckout_custom_fields ';
637. $query = $query . "WHERE active = 1 AND cfl.id_lang =".(int) $id_lang;
638.
639. $result_fields = Db::getInstance()->executeS($query);
640. $array_fields = array();
641. foreach ($result_fields as $field) {
642. $id_velsof_supercheckout_custom_fields = $field['id_velsof_supercheckout_custom_fields'];
643. if ($field['type'] == 'textbox' || $field['type'] == 'textarea') {
644. $query = 'SELECT * FROM ' . _DB_PREFIX_ . 'velsof_supercheckout_custom_fields cf ';
Argument [0] SELECT * FROM ps_velsof_supercheckout_custom_fields cf JOIN ps_velsof_supercheckout_custom_fields_lang cfl ON cf.id_velsof_supercheckout_custom_fields = cfl.id_velsof_supercheckout_custom_fields WHERE active = 1 AND cfl.id_lang =1
617. unset($social_login_data);
618. }
619.
620. // Assigning Custon Fields Variables into the tpl
621. $id_lang_current = $this->context->language->id;
622. $array_fields = $this->getCustomFieldsDetails($id_lang_current);
623. $this->context->smarty->assign('array_fields', $array_fields);
624. $this->setTemplate('supercheckout.tpl');
625. }
626.
627. private function getCustomFieldsDetails($id_lang_current)
Argument [0] 1
186. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
187. $this->initHeader();
188. }
189.
190. if ($this->viewAccess()) {
191. $this->initContent();
192. } else {
193. $this->errors[] = Tools::displayError('Access denied.');
194. }
195.
196. if (!$this->content_only && ($this->display_footer || (isset($this->className) && $this->className))) {
366. if (isset($params_hook_action_dispatcher)) {
367. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
368. }
369.
370. // Running controller
371. $controller->run();
372. } catch (PrestaShopException $e) {
373. $e->displayMessage();
374. }
375. }
376.
456. if($cache = Ets_superspeed::displayContentCache(true))
457. {
458. echo $cache;
459. return true;
460. }
461. parent::dispatch();
462. }
463. }
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();