Henri Posted August 23, 2018 Share Posted August 23, 2018 Full error: [PrestaShopException] No template found for /home/sitename/httpdocs/themes/themename/contact-form.tplat 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 1401 - classes/controller/FrontController.php] - [4 Arguments] FrontControllerCore->getTemplateFile - [line 1292 - classes/controller/FrontController.php] - [3 Arguments] FrontControllerCore->setTemplate - [line 261 - override/controllers/front/ContactController.php] - [1 Arguments] ContactControllerCore->initContent - [line 255 - classes/controller/Controller.php] ControllerCore->run - [line 428 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] I have a sneaky suspicion that it may have something to do with the server setting since the search at least worked at some point. Does anyone have an idea what could be going on here? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted August 24, 2018 Share Posted August 24, 2018 Have checked whether file exist on this location OR not? (i.e. /home/sitename/httpdocs/themes/themename/contact-form.tpl) It's possible that file has been deleted (by hacker OR by mistake) Link to comment Share on other sites More sharing options...
Victoriavz Posted March 6, 2019 Share Posted March 6, 2019 On 23/8/2018 at 15:11, Henri said: Error completo: [PrestaShopException] No se encontró ninguna plantilla para /home/sitename/httpdocs/themes/themename/contact-form.tpl en la línea 68 en clases de archivo / Smarty / TemplateFinder.php TemplateFinderCore-> getTemplate - [línea 1401 - classes / controller / FrontController.php] - [4 Argumentos] FrontControllerCore-> getTemplateFile - [línea 1292 - classes / controller / FrontController.php] - [3 Arguments] FrontControllerCore-> setTemplate - [línea 261 - anular / controllers / front / ContactController.php] - [1 Arguments] ContactControllerCore-> initContent - [línea 255 - classes / controller / Controller.php] ControllerCore-> run - [línea 428 - classes / Dispatcher.php] DispatcherCore-> dispatch - [line 28 - index.php] Tengo la sospecha de que puede tener algo que ver con la configuración del servidor, ya que la búsqueda al menos funcionó en algún momento. ¿Alguien tiene una idea de lo que podría estar pasando aquí? tengo el mismo problema.... ayuden please Link to comment Share on other sites More sharing options...
JBW Posted March 6, 2019 Share Posted March 6, 2019 Guess in the initial question it was caused by an override ( override/controllers/front/ContactController.php ). So check if there is any override active (e.g. installed by some module) and if the file from the error message exists on your server. Link to comment Share on other sites More sharing options...
tztudio Posted October 24, 2022 Share Posted October 24, 2022 For those having this same issue, I found a solution to this problem here, thanks to the member kbarsotti. I deleted the file "CategoryController.php" from the location ROOTDIR/controllers/front (after backing up the file of course). No more 500 Server Error. : D 2 Link to comment Share on other sites More sharing options...
aytekinazmi12 Posted June 5, 2023 Share Posted June 5, 2023 On 10/25/2022 at 2:30 AM, tztudio said: For those having this same issue, I found a solution to this problem here, thanks to the member kbarsotti. I deleted the file "CategoryController.php" from the location ROOTDIR/controllers/front (after backing up the file of course). No more 500 Server Error. : D thank you for reply. my problem solved. Thank you again 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