Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

traktap

Using Old Prestashop 1.6.1.19 Theme for Thirty bees

Recommended Posts

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 ?

Share this post


Link to post
Share on other sites

I suggest open ticket to the water themes developer to make theme more compatible to thirty bees, there will be more benefits for them

Share this post


Link to post
Share on other sites

@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. }

Share this post


Link to post
Share on other sites

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

  1. *
    • @since 1.0.0
    • @version 1.0.0 Initial version
    • @throws PrestaShopException
  2. */
  3. protected function _clearCache($template, $cacheId = null, $compileId = null)
  4. {
  5. static $pssmartyclear_cache = null;
  6. if ($pssmartyclear_cache === null) {
  7. $pssmartyclearcache = Configuration::get('PSSMARTYCLEARCACHE');
  8. } 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]

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×