tranby1234 Posted July 30, 2014 Share Posted July 30, 2014 (edited) [PrestaShop] Fatal error in module smarty_internal_templatebase:Uncaught --> Smarty: Unable to load template file 'controllers/modules/modal_not_trusted_country.tpl' <-- thrown Edited July 30, 2014 by tranby1234 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 30, 2014 Share Posted July 30, 2014 this error means that in directory: BACK_OFFICE/themes/default/controllers/modules/ there is no modal_not_trusted_country.tpl file Link to comment Share on other sites More sharing options...
vbksamy Posted August 21, 2014 Share Posted August 21, 2014 this error means that in directory: BACK_OFFICE/themes/default/controllers/modules/ there is no modal_not_trusted_country.tpl file Hi, How can I resolve this error Link to comment Share on other sites More sharing options...
jonah2494 Posted April 2, 2015 Share Posted April 2, 2015 any fix for this Fatal error: Uncaught --> Smarty: Unable to load template file '/home/linweb25/a/XXXXXX/user/htdocs/modules/customformsiw/views/templates/front/form.tpl' <-- thrown in/home/linweb25/a/XXXXXXX/user/htdocs/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 129 I do not have a module customformsiw installed?? tried to comment out template exist in templatebase.php brings up parse error. kind of stuck now only cms pages not working on site everything else is OK. any assistance in this matter would be most appreciated. www.airporttransfer.dealerssussex.co.uk PrestaShop version 1.6.0.13 Shop URL http://www.airporttr...rssussex.co.uk/ Current theme in use TitanShop Server information Linux #1 SMP Thu Dec 18 08:14:55 EST 2014 x86_64 Server software version Apache PHP version 5.4.39 Memory limit 64M Max execution time 60 many thanks Dean Link to comment Share on other sites More sharing options...
Victor Castro Contreras Posted April 17, 2016 Share Posted April 17, 2016 (edited) Error is for: $iso_code = Country::getIsoById(Configuration::get('PS_COUNTRY_DEFAULT')); Configuration::updateValue('ET2CO_DEBUG', false); Configuration::updateValue It is outside the return in function install() from your module! (check!) :-) public function install() { if (extension_loaded('curl') == false) { $this->_errors[] = $this->l('You have to enable the cURL extension on your server to install this module'); return false; } $iso_code = Country::getIsoById(Configuration::get('PS_COUNTRY_DEFAULT')); Configuration::updateValue('ET2CO_DEBUG', false); include(dirname(__FILE__).'/sql/install.php'); return parent::install() && $this->initial() && $this->registerHook('header') && $this->registerHook('backOfficeHeader') && $this->registerHook('payment') && $this->registerHook('paymentReturn'); } Edited April 17, 2016 by Victor Castro Contreras (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts