Jump to content
  • 0

Nie moge sie zalogowac do backoffice - nawet strona nie jest widoczna - tylko bledy


plichma

Question

Takie cos mi sie pojawia kiedy chce otworzyc swoja strone od przodu i od tylu :(

 

jakies pomysly?? co ja mam z tym zrobic??

 

 

 

[PrestaShopDatabaseException]

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

 

786. if ($webservice_call && $errno) {
787. $dbg = debug_backtrace();
788. WebserviceRequest::getInstance()->setError(500, '
 '.$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. }
  • DbCore->displayError - [line 425 - classes/db/Db.php] - [1 Arguments]
    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.
  • DbCore->query - [line 601 - classes/db/Db.php] - [1 Arguments]
    596. {
    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;
  • DbCore->execute - [line 494 - classes/Employee.php] - [1 Arguments]
    489. {
    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. }
  • EmployeeCore::setLastConnectionDate - [line 2737 - classes/controller/AdminController.php] - [1 Arguments]
    2732. $this->context->smarty->assign(array(
    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. }
  • AdminControllerCore->init - [line 170 - classes/controller/Controller.php]
    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. }
  • ControllerCore->run - [line 367 - classes/Dispatcher.php]
    362. if (isset($params_hook_action_dispatcher)) {
    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.
  • DispatcherCore->dispatch - [line 58 - admin/index.php]
    53. if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab'])) {
    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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...