yayou Posted December 20, 2016 Share Posted December 20, 2016 please help , the accueil work fine but whene i click on categorie or product , this error show on, [PrestaShopDatabaseException] Table '........_prestashop.ps_cms_block' doesn't existSELECT bc.`id_cms_block`, bc.`id_cms_category`, bc.`display_store`, ccl.`link_rewrite`, ccl.`name` category_name, bcl.`name` block_name FROM `ps_cms_block` bc LEFT JOIN `ps_cms_block_shop` bcs ON (bcs.id_cms_block = bc.id_cms_block) INNER JOIN `ps_cms_category_lang` ccl ON (bc.`id_cms_category` = ccl.`id_cms_category`) INNER JOIN `ps_cms_block_lang` bcl ON (bc.`id_cms_block` = bcl.`id_cms_block`) WHERE bc.`location` = 0 AND ccl.`id_lang` = 1 AND bcl.`id_lang` = 1 AND bcs.id_shop = 1 AND ccl.`id_shop` = 1 ORDER BY `position`at line 791 in file classes/db/Db.php if ($sql) {791. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');792. }DbCore->displayError - [line 425 - classes/db/Db.php] - [1 Arguments]DbCore->query - [line 643 - classes/db/Db.php] - [1 Arguments]DbCore->executeS - [line 360 - modules/blockcms/BlockCMSModel.php] - [1 Arguments]BlockCMSModel::getCMSCategoriesByLocation - [line 581 - modules/blockcms/BlockCMSModel.php] - [2 Arguments]BlockCMSModel::getCMSTitles - [line 802 - modules/blockcms/blockcms.php] - [1 Arguments]BlockCms->displayBlockCMS - [line 841 - modules/blockcms/blockcms.php] - [1 Arguments]BlockCms->hookLeftColumn - [line 587 - classes/Hook.php] - [1 Arguments]HookCore::coreCallHook - [line 544 - classes/Hook.php] - [3 Arguments]HookCore::exec - [line 581 - classes/controller/FrontController.php] - [1 Arguments]FrontControllerCore->initContent - [line 129 - controllers/front/CategoryController.php]CategoryControllerCore->initContent - [line 189 - classes/controller/Controller.php]ControllerCore->run - [line 367 - classes/Dispatcher.php]DispatcherCore->dispatch - [line 28 - index.php] Link to comment Share on other sites More sharing options...
JayLab Posted December 25, 2016 Share Posted December 25, 2016 Does this table exist in your database ? If not create it, install a fresh one to see the structure. Link to comment Share on other sites More sharing options...
yayou Posted December 25, 2016 Author Share Posted December 25, 2016 hello , i did create this table , a another error show , Table 'cecidxeu_prestashop.ps_cms_block_shop' doesn't exist but this table exist , the web site work well in the local , when i imigrate to web , the error shows up , thank you for help Link to comment Share on other sites More sharing options...
JayLab Posted December 28, 2016 Share Posted December 28, 2016 What is the full message ? 1 Link to comment Share on other sites More sharing options...
yayou Posted January 2, 2017 Author Share Posted January 2, 2017 hello , thank you Enthusiast , i solve the probléme by desinstall the CMS block module , it work fine now , thank you again Link to comment Share on other sites More sharing options...
JayLab Posted January 2, 2017 Share Posted January 2, 2017 As i am reading your answer, i remember that it happens to me too, i reinstalled the modules concerned after and table were created and modules were working fine. 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