fyonline Posted January 28, 2014 Share Posted January 28, 2014 Hello, I am having some trouble understanding this error message, can anyone please tell me how to fix this error. Thank You. Error Message NOTICE: UNDEFINED INDEX: S IN /HOME/SITES/DOMAIN/PUBLIC_HTML/CONFIG/SMARTYFRONT.CONFIG.INC.PHP ON LINE 44 NOTICE: UNDEFINED INDEX: S IN /HOME/SITES/domain/PUBLIC_HTML/CONFIG/SMARTYFRONT.CONFIG.INC.PHP ON LINE 54 File: line44 - $string = str_replace('\'', '\\\'', $params['s']); $filename = ((!isset($smarty->compiler_object) || !is_object($smarty->compiler_object->template)) ? $smarty->template_resource : $smarty->compiler_object->template->getTemplateFilepath()); $basename = basename($filename, '.tpl'); $key = $basename.'_'.md5($string); if (isset($smarty->source) && (strpos($smarty->source->filepath, DIRECTORY_SEPARATOR.'override'.DIRECTORY_SEPARATOR) !== false)) $key = 'override_'.$key; if ($params['mod']) lin54 - return Translate::getModuleTranslation($params['mod'], $params['s'], $basename, $params['sprintf'], $params['js']); else if ($params['pdf']) return Translate::getPdfTranslation($params['s']); Link to comment Share on other sites More sharing options...
123YourWeb Posted June 25, 2015 Share Posted June 25, 2015 Hello, I am experiencing this same issue. Were you able to discover a solution? If so, can you share? Thank you. Link to comment Share on other sites More sharing options...
123YourWeb Posted June 25, 2015 Share Posted June 25, 2015 SOLVED: Added the following code on line 43 of smartyfront.config.inc.php if (!isset($params['s'])) $params['s'] = ''; 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