165. /** 166. * Starts the controller process (this method should not be overridden!) 167. */ 168. public function run() 169. { 170. $this->init(); 171. if ($this->checkAccess()) { 172. // setMedia MUST be called before postProcess 173. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) { 174. $this->setMedia(); 175. }
Question
plichma
Takie cos mi sie pojawia kiedy chce otworzyc swoja strone od przodu i od tylu
jakies pomysly?? co ja mam z tym zrobic??
UPDATE command denied to user 'plichma_1'@'10.254.34.67' for table 'ps_employee'
UPDATE `ps_employee`
SET `last_connection_date` = CURRENT_DATE()
WHERE `id_employee` = 0 AND `last_connection_date`< CURRENT_DATE()
at line 791 in file classes/db/Db.php
787. $dbg = debug_backtrace();
788. WebserviceRequest::getInstance()->setError(500, '
421. }
422. }
423.
424. if (_PS_DEBUG_SQL_) {
425. $this->displayError($sql);
426. }
427.
428. return $this->result;
429. }
430.
597. if ($sql instanceof DbQuery) {
598. $sql = $sql->build();
599. }
600.
601. $this->result = $this->query($sql);
602. if ($use_cache && $this->is_cache_enabled) {
603. Cache::getInstance()->deleteQuery($sql);
604. }
605.
606. return (bool)$this->result;
490. return Db::getInstance()->execute('
491. UPDATE `'._DB_PREFIX_.'employee`
492. SET `last_connection_date` = CURRENT_DATE()
493. WHERE `id_employee` = '.(int)$id_employee.' AND `last_connection_date`< CURRENT_DATE()
494. ');
495. }
496. }
2733. 'displayBackOfficeTop' => Hook::exec('displayBackOfficeTop', array()),
2734. 'submit_form_ajax' => (int)Tools::getValue('submitFormAjax')
2735. ));
2736.
2737. Employee::setLastConnectionDate($this->context->employee->id);
2738.
2739. $this->initProcess();
2740. $this->initBreadcrumbs();
2741. $this->initModal();
2742. }
166. * Starts the controller process (this method should not be overridden!)
167. */
168. public function run()
169. {
170. $this->init();
171. if ($this->checkAccess()) {
172. // setMedia MUST be called before postProcess
173. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
174. $this->setMedia();
175. }
363. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
364. }
365.
366. // Running controller
367. $controller->run();
368. } catch (PrestaShopException $e) {
369. $e->displayMessage();
370. }
371. }
372.
54. $_REQUEST['controller'] = strtolower($_REQUEST['tab']);
55. }
56.
57. // Prepare and trigger admin dispatcher
58. Dispatcher::getInstance()->dispatch();
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now