traktap Posted October 6, 2018 Posted October 6, 2018 We are migrating to Thirty bees from Prestashop, Since the site is live and we are testing on Staging Environment. We are facing challenge to Use Prestashop theme by Water Themes . Theme does not instal as it is can some one guide please ?
dosbiner Posted October 6, 2018 Posted October 6, 2018 I suggest open ticket to the water themes developer to make theme more compatible to thirty bees, there will be more benefits for them
lesley Posted October 6, 2018 Posted October 6, 2018 What error are you getting and what version of thirty bees are you using?
traktap Posted October 9, 2018 Author Posted October 9, 2018 @lesley 1.0.7 and Presta 1.16.1.19 500 Error Table 'swast6qjthbe976.tbopproduct_comment' doesn't exist SELECT pc.`id_product_comment`, pcg.`grade`, pccl.`name`, pcc.`id_product_comment_criterion` FROM `tbop_product_comment` pc LEFT JOIN `tbop_product_comment_grade` pcg ON (pcg.`id_product_comment` = pc.`id_product_comment`) LEFT JOIN `tbop_product_comment_criterion` pcc ON (pcc.`id_product_comment_criterion` = pcg.`id_product_comment_criterion`) LEFT JOIN `tbop_product_comment_criterion_lang` pccl ON (pccl.`id_product_comment_criterion` = pcg.`id_product_comment_criterion`) WHERE pc.`id_product` = 3 AND pccl.`id_lang` = 1 at line 849 in file classes/db/Db.php 844. if ($webserviceCall && $errno) { 845. $dbg = debugbacktrace(); 846. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97); 847. } elseif (PSDEBUGSQL_ && $errno && !defined('TBINSTALLATIONIN_PROGRESS')) { 848. if ($sql) { 849. throw new PrestaShopDatabaseException($this->getMsgError().''.$sql.''); 850. } 851. 852. throw new PrestaShopDatabaseException($this->getMsgError()); 853. } 854. }
lesley Posted October 9, 2018 Posted October 9, 2018 Install the product comment module and that should fix that.
traktap Posted October 11, 2018 Author Posted October 11, 2018 Thank you very much Lesley, Your answer solved the issue and gave me a confidence in thirtybees. Thank you again. I installed few other modules and the other errors were solved too. However I am facing below issue, can you guide? [ThirtyBeesException] Too few arguments to function ModuleCore::clearCache(), 0 passed in /home/swast6qj/publichtml/thbees/modules/wtcategoryfeature/wtcategoryfeature.php on line 68 and at least 1 expected at line 3458 in file classes/module/Module.php * @since 1.0.0 @version 1.0.0 Initial version @throws PrestaShopException */ protected function _clearCache($template, $cacheId = null, $compileId = null) { static $pssmartyclear_cache = null; if ($pssmartyclear_cache === null) { $pssmartyclearcache = Configuration::get('PSSMARTYCLEARCACHE'); } ModuleCore->_clearCache - [line 68 - modules/wtcategoryfeature/wtcategoryfeature.php] WtCategoryFeature->install - [line 1642 - controllers/admin/AdminModulesController.php] AdminModulesControllerCore->postProcessCallback - [line 1505 - controllers/admin/AdminModulesController.php] AdminModulesControllerCore->postProcess - [line 251 - classes/controller/Controller.php] ControllerCore->run - [line 837 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 63 - admin/index.php]
Traumflug Posted October 11, 2018 Posted October 11, 2018 One step towards the answer is in file modules/wtcategoryfeature/wtcategoryfeature.php, line 68. Without having the module it's hard to find out what's going on. Did you contact the developer?
traktap Posted October 12, 2018 Author Posted October 12, 2018 I found that at line 68 , line 78 and line 114 $this->_clearCache() : No Parameters passed. While at line 207 public function hookCategoryUpdate() { $this->_clearCache('wtcategoryfeature.tpl'); /* Parameter was passed. */ } changed Line 68 78 114 to $this->_clearCache('wtcategoryfeature.tpl'); So far So good , Its working Thank you Traumflug and Lesley . every support and guidance is making me confident to implement Thirty bees.
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