Jump to content

Plus de fiche produits !


Recommended Posts

Bonjour,

 

Notre boutique n'affiche plus de fiche produits, nous avons deux erreurs :

Notice: Undefined index: checkversion in/home/mcv2a2pc/public_html/cache/smarty/compile/75/84/7a/75847a0447892ea4e3ca7dda4b98e0350c37512a.file.cform.tpl.phpon line 30

Notice: Trying to get property of non-object in/home/mcv2a2pc/public_html/cache/smarty/compile/75/84/7a/75847a0447892ea4e3ca7dda4b98e0350c37512a.file.cform.tpl.phpon line 30

 

et voici ce que contient le fichier en question et le ligne 30 est en gras :

 

<?php /* Smarty version Smarty-3.1.14, created on 2014-06-05 15:14:50
         compiled from "/home/mcv2a2pc/public_html/themes/chs-mc-culloch/cform.tpl" */ ?>
<?php /*%%SmartyHeaderCode:27923981053906d4a513078-55617506%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '75847a0447892ea4e3ca7dda4b98e0350c37512a' => 
    array (
      0 => '/home/mcv2a2pc/public_html/themes/chs-mc-culloch/cform.tpl',
      1 => 1401860568,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '27923981053906d4a513078-55617506',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'checkversion' => 0,
    'tplform' => 0,
    'nofile' => 0,
    'choosefile' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.14',
  'unifunc' => 'content_53906d4a6370f2_28486286',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_53906d4a6370f2_28486286')) {function content_53906d4a6370f2_28486286($_smarty_tpl) {?>
<?php if ($_smarty_tpl->tpl_vars['checkversion']->value==''){?><?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tpl_dir']->value)."./breadcrumb.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }?>
<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tpl_dir']->value)."./errors.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
 
<?php echo (($tmp = @$_smarty_tpl->tpl_vars['tplform']->value)===null||$tmp==='' ? 'Empty' : $tmp);?>
 
 
<script type="text/javascript">
$.uniform.defaults.fileDefaultHtml = "<?php echo $_smarty_tpl->tpl_vars['nofile']->value;?>
";
$.uniform.defaults.fileButtonHtml = "<?php echo $_smarty_tpl->tpl_vars['choosefile']->value;?>
";
</script>
<?php [spam-filter] ?>

 

Link to comment
Share on other sites

Bonjour,

 

version de Prestashop utilisée ?

 

sachez que le fichier cform.tpl de votre thème n'existe pas de base dans Prestashop donc il fut rajouté manuellement. Pourquoi ? Comment ? seul vous pouvez répondre à ce genre de question.

Link to comment
Share on other sites

  • 3 weeks later...

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