Здравствуйте!
В разделе shop выходит такая ошибка
Warning: Smarty error: unable to read resource: "com_inshop_items.tpl" in Z:\home\site\www\includes\smarty\libs\Smarty.class.php on line 1095
Помогите исправить эту ошибку
версия icms 1.10.3
Smarty.class.php on line 1095
ЕСТЬ РЕШЕНИЕ
ЗАКРЫТО
#2
8 ноября 2013 в 16:02
Здравствуйте!
В разделе shop выходит такая ошибка
Warning: Smarty error: unable to read resource: "com_inshop_items.tpl" in Z:\home\site\www\includes\smarty\libs\Smarty.class.php on line 1095
Помогите исправить эту ошибку
версия icms 1.10.3
А что у вас в строке 1095? это? — trigger_error("Smarty error: $msg", $error_type);
В шаблоне что то напортачили в com_inshop_items.tpl
#3
8 ноября 2013 в 16:24
решил проблему. спасибо.
убрал строчки из файла \templates\shop_green\components\com_inshop_view.tpl
{php}$inPage = cmsPage::getInstance();
if($inPage->countModules('inshop')){{/php}
<div id="component_mod"> {php}$inPage->printModules('inshop');{/php}</div> {php}}{/php}
убрал строчки из файла \templates\shop_green\components\com_inshop_view.tpl
{php}$inPage = cmsPage::getInstance();
if($inPage->countModules('inshop')){{/php}
<div id="component_mod"> {php}$inPage->printModules('inshop');{/php}</div> {php}}{/php}