Jump to content

Fatal error: Class 'Smarty_Internal_SmartyTemplateCompiler' not found in public_html/


Recommended Posts

When i updadet my presta version 1.6.0.9 to 1.6.0.14 İ get this error.

 

Fatal error: Class 'Smarty_Internal_SmartyTemplateCompiler' not found in /public_html/tools/smarty/sysplugins/smarty_internal_template.php on line 713

 

İ was try chagne file permision 777 etc.. But i cant solve.

 

Then, i want back old verison again ( 1.6.0.9) i upload my all backup files, but i got same error

public_html/tools/smarty/sysplugins/smarty_internal_template.php on line 713)

 

Please support... Thanks..

 

Share this post


Link to post
Share on other sites

That's a question. If you have unbroken /tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php file, containing Smarty_Internal_SmartyTemplateCompiler class, why this class is not found. No idea.

Share this post


Link to post
Share on other sites

That's a question. If you have unbroken /tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php file, containing Smarty_Internal_SmartyTemplateCompiler class, why this class is not found. No idea.

İ confirm all files, havent file problem. And i  clear all chaches but cant solve... Same time, getting this error at BACK and FRONT offices...

Fatal error: Class 'Smarty_Internal_SmartyTemplateCompiler' not found in /public_html/tools/smarty/sysplugins/smarty_internal_template.php on line 713

Share this post


Link to post
Share on other sites

I think missing class has nothing to do with theme. It's a PHP issue. Anyway, don't forget to note all your modules and their positions. Switching the theme will ruin it.

Share this post


Link to post
Share on other sites

I`ve seen several overriding core and bad coded supposedly PS 1.6. compatible themes and modules these last months. All possible...

 

@triversal - which php version is in use on your server ?

 

My php v5.5 but, i cant entering admin login panel because im getting thats error for all pages. Yes its can be a bad codding. But we cant found.

 

What i do; İ was delete my database, and i was delete all presta files. And finally its work... İ think, if i want a new verison of PS, I will get the same error (absolutely!!)

Share this post


Link to post
Share on other sites

Php 5.5 should be run without any problems. It is 5.5. or 5.5.???

 

By disabling debug modus, you can't connect to your admin-site ? Set to false the debug activation on file /config:defines.inc.php

/* Debug only */
if (!defined('_PS_MODE_DEV_'))
define('_PS_MODE_DEV_', false);

If your site was working before it is not probable that it will not work, if you make a new install. The error you are having is a smarty template internal error. This why I asked you to switch to default theme. It can come from a foreign bad coded theme or a bad coded module.

 

Your shop was still live/in production, or only in configuration phase ?

Share this post


Link to post
Share on other sites

  • 2 months later...
  • 1 month later...

this problem is locale setting. 
my locale : turkish_utf8. 

"i" upper not "I" 
"i" upper = İ
"ı" upper = I

Smarty_Internal_SmartyTemplateCompiler not upper smarty_internal_* is upper Smarty_İnternal. 

solition : 
find this line in config/config.inc.php : 
setlocale(LC_CTYPE, $locale.'.UTF-8', $locale.'.utf8'); and add // line start (//setlocale(LC_CTYPE, $locale.'.UTF-8', $locale.'.utf8');

  • Like 1

Share this post


Link to post
Share on other sites

 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More