gkartaltr Posted September 11, 2018 Share Posted September 11, 2018 Hi everybody, I just tryed to install prestashop 1.7.4.2 I got this error : Fatal error: Class 'Smarty_Internal_Undefined' not found in /var/www/vhosts/kartal.in/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 164 Can you help me ? Link to comment Share on other sites More sharing options...
ksaan Posted September 11, 2018 Share Posted September 11, 2018 What is your version of php ? Was the install successfull ? Link to comment Share on other sites More sharing options...
gkartaltr Posted September 11, 2018 Author Share Posted September 11, 2018 3 minutes ago, ksaan said: What is your version of php ? Was the install successfull ? php 5.6.37 yes, installation is complated. Link to comment Share on other sites More sharing options...
ksaan Posted September 11, 2018 Share Posted September 11, 2018 The class missing is supposed to be in file vendor/smarty/smarty/libs/sysplugins/smarty_internal_undefined.php Do you have the file ? Link to comment Share on other sites More sharing options...
gkartaltr Posted September 11, 2018 Author Share Posted September 11, 2018 3 minutes ago, ksaan said: The class missing is supposed to be in file vendor/smarty/smarty/libs/sysplugins/smarty_internal_undefined.php Do you have the file ? yes, <?php /** * Smarty Internal Undefined * * Class to handle undefined method calls or calls to obsolete runtime extensions * * @package Smarty * @subpackage PluginsInternal * @author Uwe Tews */ class Smarty_Internal_Undefined { /** * Name of undefined extension class * * @var string|null */ public $class = null; /** * Smarty_Internal_Undefined constructor. * * @param null|string $class name of undefined extension class */ public function __construct($class = null) { $this->class = $class; } /** * Wrapper for obsolete class Smarty_Internal_Runtime_ValidateCompiled * * @param \Smarty_Internal_Template $tpl * @param array $properties special template properties * @param bool $cache flag if called from cache file * * @return bool false */ public function decodeProperties(Smarty_Internal_Template $tpl, $properties, $cache = false) { if ($cache) { $tpl->cached->valid = false; } else { $tpl->mustCompile = true; } return false; } /** * Call error handler for undefined method * * @param string $name unknown method-name * @param array $args argument array * * @return mixed * @throws SmartyException */ public function __call($name, $args) { if (isset($this->class)) { throw new SmartyException("undefined extension class '{$this->class}'"); } else { throw new SmartyException(get_class($args[ 0 ]) . "->{$name}() undefined method"); } } } Link to comment Share on other sites More sharing options...
ksaan Posted September 11, 2018 Share Posted September 11, 2018 I'm sorry if you have the file I dont understand why the class is not found You might need the help of a freelance developer to have a look at this and explore this issue Link to comment Share on other sites More sharing options...
Adem Deniz Posted October 26, 2018 Share Posted October 26, 2018 you were able to solve this problem ? I'm having the same problem. Link to comment Share on other sites More sharing options...
Kandur Posted January 11, 2019 Share Posted January 11, 2019 In Config.inc.php , Set the line setlocale(LC_TYPE) as comment ( with // ) It will be solved. Article source: https://www.prestashop.com/forums/topic/668009-%C3%A7%C3%B6z%C3%BCld%C3%BC-g%C3%BCncelleme-yap%C4%B1nca-site-ve-y%C3%B6netim-paneline-ula%C5%9Fam%C4%B1yorum/ 2 2 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