Jump to content

Errores Cache Smarty En Versión 1.6.1.4


Recommended Posts

Hola buenos días,

Desde que actualice a la versión 1.6.1.4 he comenzado a tener problemas y errores con el cache smarty señalándome este error. PHP Warning: Division by zero in /hosting/www/dhtextil.es/public/cache/smarty/compile/c4/b1/d8/c4b1d8fdaf6b05529fbcad010b4f9848f3ee2da4.file.product.tpl.php on line 830

 

Alguien me puede ayudar para dar solución a este problema?

 

Muchas gracias.

 

Esta es mi web: https://www.dhtextil.es/

Edited by Admin27 (see edit history)
Link to comment
Share on other sites

Me refería a la /hosting/www/dhtextil.es/public/cache/smarty/compile/c4/b1/d8/c4b1d8fdaf6b05529fbcad010b4f9848f3ee2da4.file.product.tpl.php (o real). Sólo para que podamos ver lo que está en la línea 830.

 

I meant the /hosting/www/dhtextil.es/public/cache/smarty/compile/c4/b1/d8/c4b1d8fdaf6b05529fbcad010b4f9848f3ee2da4.file.product.tpl.php (or actual). Only so we can see what is on line 830.

Link to comment
Share on other sites

Saludos tuk66

 

Aquí te mando el archivo solicitado.

 

En la línea 830 aparece esto:  <li class="ajax_block_product col-xs-12 col-sm-6 col-md-4 <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']%$_smarty_tpl->tpl_vars['nbItemsPerLine']->value==0) {?> last-in-line<?php } elseif ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']%$_smarty_tpl->tpl_vars['nbItemsPerLine']->value==1) {?> first-in-line<?php }?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']>($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['total']-$_smarty_tpl->tpl_vars['totModulo']->value)) {?> last-line<?php }?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']%$_smarty_tpl->tpl_vars['nbItemsPerLineTablet']->value==0) {?> last-item-of-tablet-line<?php } elseif ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']%$_smarty_tpl->tpl_vars['nbItemsPerLineTablet']->value==1) {?> first-item-of-tablet-line<?php }?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']%$_smarty_tpl->tpl_vars['nbItemsPerLineMobile']->value==0) {?> last-item-of-mobile-line<?php } elseif ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']%$_smarty_tpl->tpl_vars['nbItemsPerLineMobile']->value==1) {?> first-item-of-mobile-line<?php }?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['iteration']>($_smarty_tpl->getVariable('smarty')->value['foreach']['products']['total']-$_smarty_tpl->tpl_vars['totModuloMobile']->value)) {?> last-mobile-line<?php }?>">

 

Muchas gracias, espero su respuesta.

 

c4b1d8fdaf6b05529fbcad010b4f9848f3ee2da4.file.product.tpl.php

Link to comment
Share on other sites

  • nadie locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...