امیر Posted April 14, 2017 Share Posted April 14, 2017 i has error in install moudle Pos Staticblock plz help [PrestaShopDatabaseException] Duplicate entry '1' for key 'PRIMARY' INSERT INTO `ps_pos_staticblock` (`id_posstaticblock`, `identify`, `hook_position`, `name_module`, `hook_module`,`posorder`, `insert_module`, `active`, `showhook`) values('1','pt_ver_menu_idcat_3 ','top','','','0','0','0','0') 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. } DbCore->displayError - [line 425 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 601 - classes/db/Db.php] - [1 Arguments] DbCore->execute - [line 41 - modules/posstaticblocks/posstaticblocks.php] - [1 Arguments] posstaticblocks->install - [line 867 - controllers/admin/AdminModulesController.php] AdminModulesControllerCore->postProcessCallback - [line 1116 - controllers/admin/AdminModulesController.php] AdminModulesControllerCore->postProcess - [line 25 - override/controllers/admin/AdminModulesController.php] AdminModulesController->postProcess - [line 178 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 58 - admin/index.php] Link to comment Share on other sites More sharing options...
امیر Posted April 15, 2017 Author Share Posted April 15, 2017 plz help me Link to comment Share on other sites More sharing options...
امیر Posted April 16, 2017 Author Share Posted April 16, 2017 plz help me Link to comment Share on other sites More sharing options...
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