Gavlar94 Posted January 21, 2015 Share Posted January 21, 2015 Hello, Wondering if anyone can help me in the right direction.. Been testing a new them - Worked great. Gone to update my real website to this theme and the latest prestashop software - no problems doing that.. However now my home page is just blank white? So i did this debug thing which other poeple were talking about on the forum and i got this: Fatal error: Uncaught --> Smarty: Missing template name <-- thrown in /home/*****/public_html/tools/smarty/sysplugins/smarty_internal_template.php on line 678 ***** - is my host name blured out. What appears to be the problem? Does anyone know? Many thanks, Gav P.S: If i click view shop via the back office i get a odd url but the website works. Link to comment Share on other sites More sharing options...
Denim Posted January 22, 2015 Share Posted January 22, 2015 Bump. Have the same issue! Link to comment Share on other sites More sharing options...
selcuktasgin Posted January 22, 2015 Share Posted January 22, 2015 have the same issue and very confusing Link to comment Share on other sites More sharing options...
Gavlar94 Posted January 22, 2015 Author Share Posted January 22, 2015 @Denim & @Selcuktasgin As a last try i contacted the person who made our theme who then gave me the more updated version of the theme and its now fixed. Because the error message was coming from a file which i thought had no real association with the theme i didnt think the theme was the problem. But turns out it was.. Hope this works for you guys! 1 Link to comment Share on other sites More sharing options...
Denim Posted January 22, 2015 Share Posted January 22, 2015 Hi Gavlarr! Thanks for the response, I appreciate it. I've already tried to contact my theme developer, twice, as well as through Addons and after submitting a ticket. They provided two links, the first of which was from a different developer who did exactly what you just said: Sent the user an updated theme. The second was entirely unrelated to my issue. The problem is, their support barely speak English and I don't think they understand that I was asking for an updated theme to begin with... Not sure what to do but wait now :< Link to comment Share on other sites More sharing options...
TiaNex Shopping Posted July 14, 2016 Share Posted July 14, 2016 (edited) it's weird ,it happened when get access to someone product,others are OK, why? http://www.uniformsell.com/en/waiter-shirts/99-europe-design-restaurants-coffee-shop-hotel-waiter-waitress-uniform.html it happened only for some product with reviews ,so i checked i have changed the productscomment module,after i copy the template file it turned OK Edited July 14, 2016 by TiaNex. (see edit history) Link to comment Share on other sites More sharing options...
Kazeno Posted October 25, 2016 Share Posted October 25, 2016 One of my clients had this exact problem when trying to generate PDF invoices, and it turned out that one of the template tpl files was missing from his /pdf folder. In this case it was "pagination.tpl", but there are multiple auxiliary tpls that are used by different controllers, and can thus generate that same error. If the problem was on the homepage instead, then I would suspect that the same thing happened to some of the template tpls in the themes/{your_theme_name} folder. 1 Link to comment Share on other sites More sharing options...
Abdillokra Posted July 22, 2017 Share Posted July 22, 2017 (edited) Hello everyone, Responding to the last post by Kazeno, Could anyone advise the way to find the required missing template to solve the error? I got into the code and found the following around line 678: /*** get Smarty property in template context** @param string $property_name property name** @throws SmartyException*/public function __get($property_name){switch ($property_name) {case 'source':if (strlen($this->template_resource) == 0) {**** 678 ** **throw new SmartyException('Missing template name');}****$this->source = Smarty_Resource::source($this);// cache template object under a unique ID// do not cache eval resourcesif ($this->source->type != 'eval') {if ($this->smarty->allow_ambiguous_resources) {$_templateId = $this->source->unique_resource . $this->cache_id . $this->compile_id;} else {$_templateId = $this->smarty->joined_template_dir . '#' . $this->template_resource . $this->cache_id . $this->compile_id;} How can we find the responsible missing template name ? I've attached the theme (with over 260 .tpl. files). What is the way to find the necessary missing template name? Thank you for your directions and help. Edited July 22, 2017 by Abdillokra (see edit history) Link to comment Share on other sites More sharing options...
Abdillokra Posted July 22, 2017 Share Posted July 22, 2017 For some reason the theme file is too big despite only 4.68M. I can send the theme file if needed. Here's the email: [email protected] Link to comment Share on other sites More sharing options...
Pasilda Posted May 28, 2018 Share Posted May 28, 2018 Did anyone find an answer to this? I'm seeing the same thing on every public page load. I've disabled every module and still get the error. Any help greatly appreciated! Link to comment Share on other sites More sharing options...
luca1711 Posted December 27, 2018 Share Posted December 27, 2018 im have a same problem 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