user5000 Posted February 4, 2018 Share Posted February 4, 2018 Hi All I have the following error with prestashop products page 1.7.2.4 Would have clue where to begin. PLEASE HELP my current theme "Destino" purchased from https://themeforest.net/ [PrestaShopException] No template found for catalog/productat line 68 in file classes/Smarty/TemplateFinder.php 63. return $tpl; 64. } 65. } 66. } 67. 68. throw new PrestaShopException('No template found for '.$template); 69. } 70. 71. private function getTemplateHierarchy($template, $entity, $id) 72. { 73. $entity = basename($entity); TemplateFinderCore->getTemplate - [line 1389 - classes/controller/FrontController.php] - [4 Arguments] 1384. return $this->getTemplateFinder()->getTemplate( 1385. $template, 1386. $params['entity'], 1387. $params['id'], 1388. $locale 1389. ); 1390. } 1391. 1392. /** 1393. * Renders and adds color list HTML for each product in a list. 1394. * FrontControllerCore->getTemplateFile - [line 1282 - classes/controller/FrontController.php] - [3 Arguments] 1277. * @param string $default_template 1278. */ 1279. public function setTemplate($template, $params = array(), $locale = null) 1280. { 1281. parent::setTemplate( 1282. $this->getTemplateFile($template, $params, $locale) 1283. ); 1284. } 1285. 1286. /** 1287. * Removed in PrestaShop 1.7. FrontControllerCore->setTemplate - [line 89 - controllers/front/ProductController.php] - [2 Arguments] 84. $id_product = (int) Tools::getValue('id_product'); 85. 86. $this->setTemplate('catalog/product', array( 87. 'entity' => 'product', 88. 'id' => $id_product, 89. )); 90. 91. if ($id_product) { 92. $this->product = new Product($id_product, true, $this->context->language->id, $this->context->shop->id); 93. } 94. ProductControllerCore->init - [line 186 - classes/controller/Controller.php] 181. /** 182. * Starts the controller process (this method should not be overridden!) 183. */ 184. public function run() 185. { 186. $this->init(); 187. if ($this->checkAccess()) { 188. // setMedia MUST be called before postProcess 189. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) { 190. $this->setMedia(); 191. } ControllerCore->run - [line 379 - classes/Dispatcher.php] 374. if (isset($params_hook_action_dispatcher)) { 375. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 376. } 377. 378. // Running controller 379. $controller->run(); 380. 381. // Execute hook dispatcher after 382. if (isset($params_hook_action_dispatcher)) { 383. Hook::exec('actionDispatcherAfter', $params_hook_action_dispatcher); 384. } DispatcherCore->dispatch - [line 28 - index.php] 23. * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) 24. * International Registered Trademark & Property of PrestaShop SA 25. */ 26. 27. require(dirname(__FILE__).'/config/config.inc.php'); 28. Dispatcher::getInstance()->dispatch(); Link to comment Share on other sites More sharing options...
musicmaster Posted February 4, 2018 Share Posted February 4, 2018 Did you ask the maker of your theme? Link to comment Share on other sites More sharing options...
user5000 Posted February 6, 2018 Author Share Posted February 6, 2018 All working fine now. Just reinstalled the theme and it appears to be working again fine. Thanks for your response 1 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