Jump to content

Errores al actualizar de 1.6.1.18 a 1.7.6.2


Recommended Posts

Buenas noches.

Al actualizar una web de 1.6.1.18 a 1.7.6.2 me encuentro con infinidad de errores. ¿Hay alguna solución para esto o lo mejor es hacerla de cero? Gracias por su tiempo.

(1/1) SmartyCompilerException

Syntax error in template "file:/var/www/vhosts/xxxxxxxxxxx/tienda/modules/blockuserinfo/blockuserinfo.tpl" on line 39 "{convertPrice price=$cart->getOrderTotal(false, $blockuser_cart_flag)}" unknown tag 'convertPrice'

in smarty_internal_templatecompilerbase.php line 39

at Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag \'convertPrice\'', 39, true)in smarty_internal_templatecompilerbase.php line 1753

at Smarty_Internal_TemplateCompilerBase->compileTag2('convertPrice', array(array('price' => '$_smarty_tpl->tpl_vars[\'cart\']->value->getOrderTotal(false,$_smarty_tpl->tpl_vars[\'blockuser_cart_flag\']->value)')), array())in smarty_internal_templatecompilerbase.php line 565

at Smarty_Internal_TemplateCompilerBase->compileTag('convertPrice', array(array('price' => '$_smarty_tpl->tpl_vars[\'cart\']->value->getOrderTotal(false,$_smarty_tpl->tpl_vars[\'blockuser_cart_flag\']->value)')))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-2016 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-2016 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*}<!-- Block user information module HEADER --><div id="header_user" {if $PS_CATALOG_MODE}class="header_user_catalog"{/if}> <ul id="header_nav"> {if !$PS_CATALOG_MODE} <li id="shopping_cart"> <a href="{$link->getPageLink($order_process, true)|escape:\'html\'}" title="{l s=\'View my shopping cart\' mod=\'blockuserinfo\'}" rel="nofollow">{l s=\'Cart\' mod=\'blockuserinfo\'} <span class="ajax_cart_quantity{if $cart_qties == 0} hidden{/if}">{$cart_qties}</span> <span class="ajax_cart_product_txt{if $cart_qties != 1} hidden{/if}">{l s=\'Product\' mod=\'blockuserinfo\'}</span> <span class="ajax_cart_product_txt_s{if $cart_qties < 2} hidden{/if}">{l s=\'Products\' mod=\'blockuserinfo\'}</span> <span class="ajax_cart_total{if $cart_qties == 0} hidden{/if}"> {if $cart_qties > 0} {if $priceDisplay == 1} {assign var=\'blockuser_cart_flag\' value=\'Cart::BOTH_WITHOUT_SHIPPING\'|constant} {convertPrice price=$cart->getOrderTotal(false, $blockuser_cart_flag)} {else} {assign var=\'blockuser_cart_flag\' value=\'Cart::BOTH_WITHOUT_SHIPPING\'|constant} {convertPrice price=$cart->getOrderTotal(true, $blockuser_cart_flag)} {/if} {/if} </span> <span class="ajax_cart_no_product{if $cart_qties > 0} hidden{/if}">{l s=\'(empty)\' mod=\'blockuserinfo\'}</span> </a> </li> {/if} <li id="your_account"><a href="{$link->getPageLink(\'my-account\', true)|escape:\'html\'}" title="{l s=\'View my customer account\' mod=\'blockuserinfo\'}" rel="nofollow">{l s=\'Your Account\' mod=\'blockuserinfo\'}</a></li> </ul> <p id="header_user_info"> {l s=\'Welcome\' mod=\'blockuserinfo\'} {if $logged} <a href="{$link->getPageLink(\'my-account\', true)|escape:\'html\'}" title="{l s=\'View my customer account\' mod=\'blockuserinfo\'}" class="account" rel="nofollow"><span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span></a> <a href="{$link->getPageLink(\'index\', true, NULL, "mylogout")|escape:\'html\'}" title="{l s=\'Log me out\' mod=\'blockuserinfo\'}" class="logout" rel="nofollow">{l s=\'Sign out\' mod=\'blockuserinfo\'}</a> {else} <a href="{$link->getPageLink(\'my-account\', true)|escape:\'html\'}" title="{l s=\'Log in to your customer account\' mod=\'blockuserinfo\'}" class="login" rel="nofollow">{l s=\'Sign in\' mod=\'blockuserinfo\'}</a> {/if} </p></div><!-- /Block user information module HEADER -->', 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 2409

at ModuleCore->display('/var/www/vhosts/bicicletasmdz.es/tienda/modules/blockuserinfo/blockuserinfo.php', 'blockuserinfo.tpl')in blockuserinfo.php line 72

at BlockUserInfo->hookDisplayTop(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2))in Hook.php line 970

at HookCore::coreCallHook(object(BlockUserInfo), 'hookdisplayTop', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2))in Hook.php line 355

at HookCore::callHookOn(object(BlockUserInfo), 'displayTop', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2))in Hook.php line 907

at HookCore::exec('displayTop', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2), null)in smarty.config.inc.php line 167

at smartyHook(array('h' => 'displayTop'), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83

at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayTop'), object(SmartyDevTemplate)))in 27207700cca46effd74f82d5371dfe381a12d58c_2.file.header.tpl.php line 136

at Block_9679693685dd7b990c6b494_59369253->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_9679693685dd7b990c6b494_59369253), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_9679693685dd7b990c6b494_59369253))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_9679693685dd7b990c6b494_59369253', 'header_top')in 27207700cca46effd74f82d5371dfe381a12d58c_2.file.header.tpl.php line 36

at content_5dd7b990c6fac9_79647844(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('file:_partials/header.tpl', null, 'layouts/layout-full-width.tpl', 0, 31536000, array(), 0, false)in 1b4c24c93ee679e4ed9be13cb24b69d32ba9665d_2.file.layout-both-columns.tpl.php line 188

at Block_9947280165dd7b990c27855_90707739->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_9947280165dd7b990c27855_90707739), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_9947280165dd7b990c27855_90707739))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_9947280165dd7b990c27855_90707739', 'header')in 1b4c24c93ee679e4ed9be13cb24b69d32ba9665d_2.file.layout-both-columns.tpl.php line 62

at content_5dd7b990c31a88_20062690(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, 31536000, 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 0e6a8bcdfc72a09872d3469e2234d1f84b70b628_2.file.layout-full-width.tpl.php line 42

at content_5dd7b990c1c756_40371230(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, 31536000, 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 f30dccba00eb337842126cd1830a82c0c55b303e_2.file.page.tpl.php line 33

at content_5dd7b990c12e16_83802699(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, 31536000, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')in a08b3c1c699459ca7ef30ec9d00fc79a8a0bb2f9_2.file.index.tpl.php line 33

at content_5dd7b990c084b9_09008310(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 683

at FrontControllerCore->smartyOutputContent('index.tpl')in FrontController.php line 667

at FrontControllerCore->display()in Controller.php line 312

at ControllerCore->run()in Dispatcher.php line 515

at DispatcherCore->dispatch()in index.php line 28

Link to comment
Share on other sites

1 hour ago, tuk66 said:

No use ningún módulo PS 1.6 antiguo, como blockuserinfo en este caso. Son incompatibles con PS 1.7.

Don't use any old PS 1.6 module, like blockuserinfo in this case. They are incompatible with PS 1.7.

Hola. Estoy desactivando todo los módulos que me van dando error, pero ahora estoy en este punto y no sé cómo seguir. Gracisa

(1/1) ContextErrorException

Notice: Undefined index: PS_CATALOG_MODE

in 5da9aadc5eca0a24e8b61dd59ade878f71fdbc6f_2.file.blockcms.tpl.cache.php line 102

at content_5dde3e1a44c8b8_91261477(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_runtime_updatecache.php line 38

at Smarty_Internal_Runtime_UpdateCache->updateCache(object(Smarty_Template_Cached), object(SmartyDevTemplate), false)in smarty_template_cached.php line 143

at Smarty_Template_Cached->render(object(SmartyDevTemplate), false)in smarty_internal_template.php line 211

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 2409

at ModuleCore->display('/var/www/vhosts/xxxxxxxxxxx/tienda/modules/blockcms/blockcms.php', 'blockcms.tpl', 'blockcms|2|1|1|6')in blockcms.php line 873

at BlockCms->hookFooter(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 4))in Hook.php line 970

at HookCore::coreCallHook(object(BlockCms), 'hookfooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 4))in Hook.php line 359

at HookCore::callHookOn(object(BlockCms), 'displayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 4))in Hook.php line 907

at HookCore::exec('displayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 4), null)in smarty.config.inc.php line 167

at smartyHook(array('h' => 'displayFooter'), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83

at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayFooter'), object(SmartyDevTemplate)))in 76cc210375baf117886cbd9d0f20c922300685b2_2.file.footer.tpl.php line 92

at Block_6663671475dde3e1a20b1b2_19565549->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_6663671475dde3e1a20b1b2_19565549), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_6663671475dde3e1a20b1b2_19565549))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_6663671475dde3e1a20b1b2_19565549', 'hook_footer')in 76cc210375baf117886cbd9d0f20c922300685b2_2.file.footer.tpl.php line 39

at content_5dde3e1a20e1c5_52166290(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('file:_partials/footer.tpl', null, 'layouts/layout-full-width.tpl', 0, 31536000, array(), 0, false)in 1b4c24c93ee679e4ed9be13cb24b69d32ba9665d_2.file.layout-both-columns.tpl.php line 333

at Block_10892419825dde3e19e80d01_92719695->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_10892419825dde3e19e80d01_92719695), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_10892419825dde3e19e80d01_92719695))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_10892419825dde3e19e80d01_92719695', 'footer')in 1b4c24c93ee679e4ed9be13cb24b69d32ba9665d_2.file.layout-both-columns.tpl.php line 102

at content_5dde3e19e82763_04804063(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, 31536000, 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 0e6a8bcdfc72a09872d3469e2234d1f84b70b628_2.file.layout-full-width.tpl.php line 42

at content_5dde3e19e72aa2_25057091(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, 31536000, 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 f30dccba00eb337842126cd1830a82c0c55b303e_2.file.page.tpl.php line 33

at content_5dde3e19e6b721_61371601(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, 31536000, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')in a08b3c1c699459ca7ef30ec9d00fc79a8a0bb2f9_2.file.index.tpl.php line 33

at content_5dde3e19e5fcb8_85000387(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 683

at FrontControllerCore->smartyOutputContent('index.tpl')in FrontController.php line 667

at FrontControllerCore->display()in Controller.php line 312

at ControllerCore->run()in Dispatcher.php line 515

at DispatcherCore->dispatch()in index.php line 28

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...