Massimo333 Posted March 25, 2017 Share Posted March 25, 2017 (edited) I have a problem on my prestashop when I save a old or new cms page, clicking "save" button the page is not save and it appear this error: ----------------------------- [PrestaShopDatabaseException] Unknown column 'display_header' in 'field list' INSERT INTO `f543_cms` (`id_cms_category`, `position`, `indexation`, `active`, `display_header`, `display_footer`, `content_only`) VALUES ('1', '9', '0', '0', '1', '1', '0')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] DbCore->query - [line 763 - classes/db/Db.php] - [1 Arguments] DbCore->q - [line 514 - classes/db/Db.php] - [2 Arguments] DbCore->insert - [line 487 - classes/ObjectModel.php] - [3 Arguments] ObjectModelCore->add - [line 71 - classes/CMS.php] - [2 Arguments] CMSCore->add - [line 327 - controllers/admin/AdminCmsController.php] AdminCmsControllerCore->postProcess - [line 198 - controllers/admin/AdminCmsContentController.php] AdminCmsContentControllerCore->postProcess - [line 178 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 58 - admin/index.php] -------------------- Please help me to solve this issue.Thanks Edited March 25, 2017 by Massimo333 (see edit history) 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