Jump to content

Prestashop 1.7 SmartyCompilerException Error


Recommended Posts

Hi everyone, 

I have receive 500 Error after install Prestashop 1.7.7.1 install and can't access frontend and backend.

I chenged Php version 7.1 to Php 7.3, Php 7.4 but no luck.

I have linux plesk vps. Memory limit and : 512M now. Please help me !

Here server details : https://bit.ly/3oslQvv


Error Details : 

Syntax error in template "module:module:psimagesliderviewstemplat" on line 26 "{if $homeslider.slides}" unknown tag 'if'.

Full dump is here  https://pastebin.pl/view/2182c7b1

Link to comment
Share on other sites

Solved. Main Problem: Locale Setting (Turkish)


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');

Çözüm

config/config.inc.php dosyasındaki bu satırı bulup silin veya tırnak içine alın  setlocale(LC_CTYPE, $locale.'.UTF-8', $locale.'.utf8');

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...