Jump to content

Problème cache


Recommended Posts

Bonjour,

 

Je développe ma boutique en ligne  sur un prestashop 1.6.0.8.

J'ai eu un bug avec le module bpost provoqué par le cache.

J'ai récupéré le fichier de cache généré et on y voit que c'est un problème de cache.

Je n'arrive pas à détecter la source de cette erreur.

une partie du fichier de cache 

<?php if ($_valid && !is_callable('content_57485dc502a0b0_88605313')) {function content_57485dc502a0b0_88605313($_smarty_tpl) {?><script type="text/javascript">
    var fancyboxParams,
        id_carrier            = <?php echo '/*%%SmartyNocache:141138232657485dc4f109d8-31940137%%*/<?php echo (($tmp = @intval($_smarty_tpl->tpl_vars[\'id_carrier\']->value))===null||$tmp===\'\' ? 0 : $tmp);?>
/*/%%SmartyNocache:141138232657485dc4f109d8-31940137%%*/';?>
,
        opc                 = <?php if ($_smarty_tpl->tpl_vars['opc']->value){?>true<?php }else{ ?>false<?php }?>,
        service_point_id    = <?php echo (($tmp = @intval($_smarty_tpl->tpl_vars['service_point_id']->value))===null||$tmp==='' ? 0 : $tmp);?>
,
        shipping_methods     = <?php echo '/*%%SmartyNocache:141138232657485dc4f109d8-31940137%%*/<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER][\'json_encode\'][0][0]->jsonEncode($_smarty_tpl->tpl_vars[\'shipping_methods\']->value);?>
/*/%%SmartyNocache:141138232657485dc4f109d8-31940137%%*/';?>
,
        version             = <?php echo '/*%%SmartyNocache:141138232657485dc4f109d8-31940137%%*/<?php echo floatval($_smarty_tpl->tpl_vars[\'version\']->value);?>
/*/%%SmartyNocache:141138232657485dc4f109d8-31940137%%*/';?>

Bien à vous!

j’espère que vous pourriez me mettre sur la bonne voie ...

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