moy2010 Posted April 5, 2015 Share Posted April 5, 2015 Hi, prestashoppers. I've suddenly been receiving the following error message: Fatal error: Call to undefined function smarty_function_counter() in /home/cache/smarty/compile/dd/fd/ce/ddfdce5422c0e01aca9e4a0bd1f4a4dc826d9b3a.file.blockcart.tpl.php on line 324 Such line is the following: <?php echo smarty_function_counter(array('name'=>'active_overlay','assign'=>'active_overlay'),$_smarty_tpl);?> Does anybody know what does this "function counter" exactly do -Yeah, counting, but what?- and how to solve this issue? Thanks in advance. Link to comment Share on other sites More sharing options...
El Patron Posted April 5, 2015 Share Posted April 5, 2015 Hi moy, sorry you are having issue. does tools/smarty/plugins/function.counter.php exist? I'm sure it does as I suspect it's not being loaded in some cases, this just a guess. here is a post that may possibly help as well http://www.smarty.net/forums/viewtopic.php?p=87070&sid=60e81c5c6213c50997f8515ad1cfc432 1 Link to comment Share on other sites More sharing options...
moy2010 Posted April 6, 2015 Author Share Posted April 6, 2015 Cool, so that means it's a PHP compiler error from my hosting provider? Good to know. Hopefully I won't have this issue ever again . 1 Link to comment Share on other sites More sharing options...
El Patron Posted April 6, 2015 Share Posted April 6, 2015 are you running fastcgi or apache module? I prefer fastcgi myself... Link to comment Share on other sites More sharing options...
moy2010 Posted April 6, 2015 Author Share Posted April 6, 2015 In the tests server it's set on fastcgi. On the production one, I don't know what the settings are :S. 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