Witam. Pr贸bowa艂em zainstalowa膰 modu艂 PriceWars 2 dla PrestaShop 1.6, jednak po wej艣ciu na stron臋 wygenerowanego xml-a www.nazwasklepu.pl/modules/pricewars2/service.php?id_xml=1 otrzymuj臋 b艂膮d 404 - strona nie istnieje. I tak w zasadzie dzieje si臋 z ka偶dym plikiem php z tego folderu.
聽
Sprawdzi艂em plik error_log i wy艣wietla nast臋puj膮cy komunikat:
聽
[02-Jun-2014 16:32:09 Europe/Warsaw] PHP Warning:聽 Division by zero in /home/digiteso/public_html/ps/cache/smarty/compile/d3/82/02/d382026cab017142d82a5c6220e169f210406f00.file.posfeatureproduct.tpl.cache.php on line 58 聽
58 linia z tego pliku wygl膮da tak:
聽
<li class=" feature-productslider-item ajax_block_product <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['posFeatureProducts']['first']){?>first_item<?php }elseif($_smarty_tpl->getVariable('smarty')->value['foreach']['posFeatureProducts']['last']){?>last_item<?php }else{ ?>item<?php }?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['posFeatureProducts']['iteration']%$_smarty_tpl->tpl_vars['nbItemsPerLine']->value==0){?>last_item_of_line<?php }elseif($_smarty_tpl->getVariable('smarty')->value['foreach']['posFeatureProducts']['iteration']%$_smarty_tpl->tpl_vars['nbItemsPerLine']->value==1){?> <?php }?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['posFeatureProducts']['iteration']>($_smarty_tpl->getVariable('smarty')->value['foreach']['posFeatureProducts']['total']-$_smarty_tpl->tpl_vars['totModulo']->value)){?>last_line<?php }?>">
Question
digites
Witam. Pr贸bowa艂em zainstalowa膰 modu艂 PriceWars 2 dla PrestaShop 1.6, jednak po wej艣ciu na stron臋 wygenerowanego xml-a www.nazwasklepu.pl/modules/pricewars2/service.php?id_xml=1 otrzymuj臋 b艂膮d 404 - strona nie istnieje. I tak w zasadzie dzieje si臋 z ka偶dym plikiem php z tego folderu.
聽
Sprawdzi艂em plik error_log i wy艣wietla nast臋puj膮cy komunikat:
聽
[02-Jun-2014 16:32:09 Europe/Warsaw] PHP Warning:聽 Division by zero in /home/digiteso/public_html/ps/cache/smarty/compile/d3/82/02/d382026cab017142d82a5c6220e169f210406f00.file.posfeatureproduct.tpl.cache.php on line 58
聽
58 linia z tego pliku wygl膮da tak:
聽
<li class=" feature-productslider-item ajax_block_product <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['posFeatureProducts']['first']){?>first_item<?php }elseif($_smarty_tpl->getVariable('smarty')->value['foreach']['posFeatureProducts']['last']){?>last_item<?php }else{ ?>item<?php }?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['posFeatureProducts']['iteration']%$_smarty_tpl->tpl_vars['nbItemsPerLine']->value==0){?>last_item_of_line<?php }elseif($_smarty_tpl->getVariable('smarty')->value['foreach']['posFeatureProducts']['iteration']%$_smarty_tpl->tpl_vars['nbItemsPerLine']->value==1){?> <?php }?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['posFeatureProducts']['iteration']>($_smarty_tpl->getVariable('smarty')->value['foreach']['posFeatureProducts']['total']-$_smarty_tpl->tpl_vars['totModulo']->value)){?>last_line<?php }?>">
聽
Przyznam, 偶e jest to dla mnie czarna magia ;-)
Link to comment
Share on other sites
15 answers to this question
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