Jump to content

Upgraded to 17.5 and new template


pyrotech

Recommended Posts

here is the file i get on front page

Not sure what can be done to clear it

www.secretdesire.co.uk

It looks like 17.5 has a mass of bugs that make it uncompatible with previous versions even thou upgraded via 1 click

 

 

public_html/modules/blockredfoxcategories/views/templates/hook/blockredfoxcategories-side.tpl" on line 92 "<p class="price_container"><span class="price"> {if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if} </span> {if isset($product.specific_prices) && $product.specific_prices} <span class="old-price product-price"> {displayWtPrice p=$product.price_without_reduction} </span> {if isset($product.specific_prices.reduction) && $product.specific_prices.reduction && $product.specific_prices.reduction_type == 'percentage'} <span class="price-percent-reduction">-{$product.specific_prices.reduction * 100}%</span> {/if} </p>" unknown tag 'convertPrice'

in smarty_internal_templatecompilerbase.php line 92
at Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag \'convertPrice\'', 92, true)in smarty_internal_templatecompilerbase.php line 1753
at Smarty_Internal_TemplateCompilerBase->compileTag2('convertPrice', array(array('price' => '$_smarty_tpl->tpl_vars[\'product\']->value[\'price\']')), array())in smarty_internal_templatecompilerbase.php line 565
at Smarty_Internal_TemplateCompilerBase->compileTag('convertPrice', array(array('price' => '$_smarty_tpl->tpl_vars[\'product\']->value[\'price\']')))in smarty_internal_templateparser.php line 2270
at Smarty_Internal_Templateparser->yy_r25()in smarty_internal_templateparser.php line 3383
at Smarty_Internal_Templateparser->yy_reduce(25)in smarty_internal_templateparser.php line 3479
at Smarty_Internal_Templateparser->doParse(15, '}')in smarty_internal_smartytemplatecompiler.php line 128
at Smarty_Internal_SmartyTemplateCompiler->doCompile('{** 2007-2015 PrestaShop** NOTICE OF LICENSE** This source file is subject to the Academic Free License (AFL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/afl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to [email protected] so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA <[email protected]> * @copyright 2007-2015 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*}{if $page_name ==\'index\' && $page_name !=\'pagenotfound\'}{if $selCatNameArr|@count != 0}<div id="casual_tabs" class="container"> <section id="content"> <div class="category-selector"> <ul data-option-key="filter" class="casual_title casual-list-filter"> {if $dispAll == "on"} <li> <span><a href="" data-categories="*">{l s=\'All\' mod=\'blockredfoxcategories\'}</a></span></li> {foreach from=$sel_cat_arr item=cat key=catname} <li><span><a href="" data-categories="{$cat|escape:\'html\':\'UTF-8\'}">{$selCatNameArr.$catname|escape:\'html\':\'UTF-8\'}</a></span></li> {/foreach} {else} {foreach from=$sel_cat_arr item=cat key=catname} <li><span><a href="" data-categories="{$cat|escape:\'html\':\'UTF-8\'}">{$selCatNameArr.$catname|escape:\'html\':\'UTF-8\'}</a></span></li> {/foreach} {/if} </ul> </div> <div class="filter-container"> <section class="casual_products" id="portfolio-items" class="clearfix"> {foreach from=$products item=product name=redfoxCat} {assign var="prod_id" value=$product.id_product} <article class="ajax_block_product isotope-item {if $dispAll == "off"}isotope-hidden{/if}" id="product_{$product.id_product}"> <div class="product_isotope"> <div class="productlisting"> <div class="border_inside"> <div class="prod_img"> <div class="prothumb"> <ul class="thumbs_list"> {if isset($prodImages.$prod_id)} {foreach from=$prodImages.$prod_id item=image name=thumbnails} {assign var=imageIds value="`$prod_id`-`$image.id_image`"} <input type="hidden" value="{$link->getImageLink($product.link_rewrite, $imageIds, \'large_default\')|escape:\'html\':\'UTF-8\'}" id="hidden_{$image.id_image}" /> <li id="thumbnail_{$image.id_image|intval}" style="float:left;" class="thumbsimg"> <img id="thumb_{$image.id_image}_{$product.id_product}" src="{$link->getImageLink($product.link_rewrite, $imageIds, \'home_default\')|escape:\'html\':\'UTF-8\'}" alt="{$product.name|escape:html:\'UTF-8\'}" class="thumb_image"/> </li> {/foreach} {/if} </ul> </div> <input type="hidden" id="prodImage_{$product.id_product|intval}" value="{$link->getImageLink($product.link_rewrite, $product.id_image, \'large_default\')|escape:\'html\':\'UTF-8\'}" /> <a href="{$product.link|escape:\'html\':\'UTF-8\'}" title="{$product.name|escape:html:\'UTF-8\'}" class="prodtimage product_image hoverproimg"> <img src="{$link->getImageLink($product.link_rewrite, $product.id_image, \'large_default\')|escape:\'html\':\'UTF-8\'}" alt="{$product.name|escape:html:\'UTF-8\'}" id="productImage_{$product.id_product}"/> </a> <div class="add-to-links"> <div class="cartbottom_btn"> {if isset($quick_view) && $quick_view} <div class="quick-view-wrapper"> <a class="quick-view toolstip" href="{$product.link|escape:\'html\':\'UTF-8\'}" title="{l s=\'Quick view\' mod=\'blockredfoxcategories\'}" rel="{$product.link|escape:\'html\':\'UTF-8\'}"> <i class="icon-eye-open"></i> </a> </div> {/if} {hook h=\'displayProductListFunctionalButtons\' product=$product} {if isset($comparator_max_item) && $comparator_max_item} <div class="compare"> <a class="add_to_compare toolstip" title="{l s=\'Add to compare\' mod=\'blockredfoxcategories\'}" href="{$product.link|escape:\'html\':\'UTF-8\'}" data-id-product="{$product.id_product|intval}" ><i class="icon-exchange"></i></a> </div> {/if} </div> </div> <span class="new-box"> {if isset($product.new) && $product.new == 1}<span class="new-label">{l s=\'New\' mod=\'blockredfoxcategories\'}</span>{/if} </span> {if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE} <span class="sale-label"> {l s=\'Sale!\' mod=\'blockredfoxcategories\'} </span> {/if} </div> <h3><a href="{$product.link}" title="{$product.name|truncate:50:\'...\'|escape:\'htmlall\':\'UTF-8\'}">{$product.name|truncate:25:\'...\'|escape:\'htmlall\':\'UTF-8\'}</a></h3> {hook h=\'displayProductListReviews\' product=$product} {if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))} <div class="products_list_price"> {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)} <p class="price_container"><span class="price"> {if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if} </span> {if isset($product.specific_prices) && $product.specific_prices} <span class="old-price product-price"> {displayWtPrice p=$product.price_without_reduction} </span> {if isset($product.specific_prices.reduction) && $product.specific_prices.reduction && $product.specific_prices.reduction_type == \'percentage\'} <span class="price-percent-reduction">-{$product.specific_prices.reduction * 100}%</span> {/if} </p> {/if} {/if} </div> {/if} <div class="cart rx-cart">{if ($product.id_product_attribute == 0 || (isset($add_prod_display) && ($add_prod_display == 1))) && $product.available_for_order && !isset($restricted_country_mode) && $product.minimal_quantity <= 1 && $product.customizable != 2 && !$PS_CATALOG_MODE} {if ($product.allow_oosp || $product.quantity > 0)} {if isset($static_token)} <a class="ajax_add_to_cart_button ajax_add_to_cart toolstip" href="{$link->getPageLink(\'cart\')|escape:\'html\'}?qty=1&amp;id_product={$product.id_product}&amp;token={$static_token}&amp;add" rel="nofollow" title="{l s=\'Add to cart\' mod=\'blockredfoxcategories\'}" data-id-product="{$product.id_product|intval}"> <i class="icon-shopping-cart"></i>{l s=\'Add to cart\' mod=\'blockredfoxcategories\'}</a> {else} <a class="ajax_add_to_cart_button ajax_add_to_cart toolstip" href="{$link->getPageLink(\'cart\',false, NULL, \'add=1&amp;id_product={$product.id_product|intval}\', false)|escape:\'html\':\'UTF-8\'}" rel="nofollow" title="{l s=\'Add to cart\' mod=\'blockredfoxcategories\'}" data-id-product="{$product.id_product|intval}"> <i class="icon-shopping-cart"></i>{l s=\'Add to cart\' mod=\'blockredfoxcategories\'}</a> {/if} {else} <a itemprop="url" class="ajax_view_button ajax_add_to_cart toolstip" href="{$product.link|escape:\'html\':\'UTF-8\'}" title="{l s=\'View\' mod=\'blockredfoxcategories\'}"><i class="icon-search"></i>{l s=\'View\' mod=\'blockredfoxcategories\'}</a> {/if} {/if} </div> </div> </div> </div> </article> {/foreach} </section></div></section><input type="hidden" id="prodCategory" value="{$prodCategory|escape:\'html\':\'UTF-8\'}" /></div>{if $dispAll == "off"} <script type="text/javascript"> $(document).ready(function(){ var selIsotopeItem = $(".category-selector li.selected a"); var selCatItems = selIsotopeItem.attr("data-categories"); $("#portfolio-items").find("article."+selCatItems).removeClass("isotope-hidden"); }); </script> {/if}{/if}{/if}', true)in smarty_internal_templatecompilerbase.php line 481
at Smarty_Internal_TemplateCompilerBase->compileTemplateSource(object(SmartyDevTemplate), false, null)in smarty_internal_templatecompilerbase.php line 404
at Smarty_Internal_TemplateCompilerBase->compileTemplate(object(SmartyDevTemplate))in smarty_template_compiled.php line 184
at Smarty_Template_Compiled->compileTemplateSource(object(SmartyDevTemplate))in smarty_template_compiled.php line 141
at Smarty_Template_Compiled->process(object(SmartyDevTemplate))in smarty_template_compiled.php line 105
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, null, null, 0)in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)in SmartyDevTemplate.php line 40
at SmartyDevTemplateCore->fetch()in Module.php line 2375
at ModuleCore->display('/home/pdyzcgpn/public_html/modules/blockredfoxcategories/blockredfoxcategories.php', 'blockredfoxcategories-side.tpl', 'redfoxcategories||1|17')in blockredfoxcategories.php line 1028
at BlockRedfoxCategories->hookDisplayCasualtabs(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 966
at HookCore::coreCallHook(object(BlockRedfoxCategories), 'hookdisplayCasualtabs', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 351
at HookCore::callHookOn(object(BlockRedfoxCategories), 'displayCasualtabs', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 903
at HookCore::exec('displayCasualtabs', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1), null, false, true, false, null)in Hook.php line 79
at Hook::exec('displayCasualtabs', array('smarty' => object(SmartyDevTemplate)), null)in smarty.config.inc.php line 165
at smartyHook(array('h' => 'displayCasualtabs'), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83
at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayCasualtabs'), object(SmartyDevTemplate)))in a7d642a03fceef0436aad27c0820bd2ed735ea0e_2.file.index.tpl.php line 130
at Block_16909913605c633d46ce8a58_12678228->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_16909913605c633d46ce8a58_12678228), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_16909913605c633d46ce8a58_12678228), object(Block_17565165295c633d46d12746_67369721))in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_17565165295c633d46d12746_67369721))in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_17565165295c633d46d12746_67369721', 'page_content_container', 1)in 51a812fa72e1aab4b05031e79d7f057b0cd67ed1_2.file.page.tpl.php line 210
at Block_18894647875c633d46d0d723_33073068->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_18894647875c633d46d0d723_33073068), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_18894647875c633d46d0d723_33073068), object(Block_6766612335c633d46d33876_10387953))in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_6766612335c633d46d33876_10387953))in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_6766612335c633d46d33876_10387953', 'content', 2)in 5949c58aa67f78968615ba3057cb8d6ae614a8e4_2.file.layout-full-width.tpl.php line 101
at Block_11472376085c633d46d31d15_59842274->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_11472376085c633d46d31d15_59842274), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_11472376085c633d46d31d15_59842274), object(Block_8957480525c633d46d5c4b2_61623439))in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_8957480525c633d46d5c4b2_61623439))in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_8957480525c633d46d5c4b2_61623439', 'content_wrapper')in 544e9f5c91dad3927b4da51dcf46f9d2e2057f2f_2.file.layout-both-columns.tpl.php line 94
at content_5c633d46d6d664_57120840(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render()in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')in 5949c58aa67f78968615ba3057cb8d6ae614a8e4_2.file.layout-full-width.tpl.php line 42
at content_5c633d46d35711_53453432(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render()in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('layouts/layout-full-width.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')in 51a812fa72e1aab4b05031e79d7f057b0cd67ed1_2.file.page.tpl.php line 37
at content_5c633d46d17b01_24414266(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render()in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('page.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')in a7d642a03fceef0436aad27c0820bd2ed735ea0e_2.file.index.tpl.php line 37
at content_5c633d46cf1740_33508700(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, 'layouts/layout-full-width.tpl', null, 0)in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)in SmartyDev.php line 40
at SmartyDev->fetch('index.tpl', null, 'layouts/layout-full-width.tpl')in FrontController.php line 56
at FrontController->smartyOutputContent('index.tpl')in FrontController.php line 666
at FrontControllerCore->display()in Controller.php line 301
at ControllerCore->run()in Controller.php line 221
at Controller->run()in Dispatcher.php line 509
at DispatcherCore->dispatch()in index.php line 28
Link to comment
Share on other sites

The message says clearly that there's is a syntax error in the /modules/blockredfoxcategories/views/templates/hook/blockredfoxcategories-side.tpl file, so disable the blockredfoxcategories module first, and then contact the developer of it for help.

PrestaShop1.7.5 is already quite stable.

Link to comment
Share on other sites

Thank you

That did sort that issue, but still can not see where to make image smaller on front page

That was also supposed to be revolving images - but it just made all 3 images below each other

I also have a mess of products on front page and not sure how to remove some from bottom 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...