Massimo333 Posted March 10, 2019 Share Posted March 10, 2019 (edited) When i try to create or modify a cms page the page is not save: the cms are save only if I disable all override (from "advanced parameters > performance" menu). So, how can I discover watu plug-in or override file cause this problem? P.s. Also when I disable all override, I have to reinstall the .htaccess file because it lose some custom parametres inserted. Edited March 10, 2019 by Massimo333 (see edit history) Link to comment Share on other sites More sharing options...
Massimo333 Posted March 13, 2019 Author Share Posted March 13, 2019 This is the error I get if I try to save a cms page: [PrestaShopDatabaseException] Unknown column 'display_header' in 'field list' UPDATE `f7_cms` SET `id_cms` = '4',`id_cms_category` = '1',`position` = '1',`indexation` = '1',`active` = '1',`display_header` = '1',`display_footer` = '1',`content_only` = '0' WHERE `id_cms` = 4 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 763 - classes/db/Db.php] - [1 Arguments] DbCore->q - [line 559 - classes/db/Db.php] - [2 Arguments] DbCore->update - [line 652 - classes/ObjectModel.php] - [5 Arguments] ObjectModelCore->update - [line 76 - classes/CMS.php] - [1 Arguments] CMSCore->update - [line 335 - 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] 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