Jump to content
Sign in to follow this  

Ошибка common/header.tpl on line 49

Recommended Posts

Помогите пожалуйста чайнику при установке шаблона вылезли ошибки

Notice: Undefined variable: stores in /home//www/catalog/view/theme/default/template/common/header.tpl on line 49

<b>Notice</b>: Undefined variable: search in <b>/home//www/catalog/view/theme/default/template/common/header.tpl</b> on line <b>73</b> (в строке поиска)

Знаю что проблемы из-за совместимости но как их убрать не могу нигде найти движок ocStore Сайт


<!DOCTYPE html>
<html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>">
<meta charset="UTF-8" />
<title><?php echo $title; ?></title>
<base href="<?php echo $base; ?>" />
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
<?php if ($keywords) { ?>
<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php } ?>
<meta property="og:title" content="<?php echo $title; ?>" />
<meta property="og:type" content="website" />
<meta property="og:url" content="<?php echo $og_url; ?>" />
<?php if (isset($og_image)) { ?>
<meta property="og:image" content="<?php echo $og_image; ?>" />
<?php } else { ?>
<meta property="og:image" content="<?php echo $logo; ?>" />
<?php } ?>
<meta property="og:site_name" content="<?php echo $name; ?>" />
<?php if ($icon) { ?>
<link href="<?php echo $icon; ?>" rel="icon" />
<?php } ?>
<?php foreach ($links as $link) { ?>
<link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" />
<?php } ?>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/stylesheet.css" />
<?php foreach ($styles as $style) { ?>
<link rel="<?php echo $style['rel']; ?>" type="text/css" href="<?php echo $style['href']; ?>" media="<?php echo $style['media']; ?>" />
<?php } ?>
<script type="text/javascript" src="catalog/view/javascript/jquery/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="catalog/view/javascript/jquery/ui/jquery-ui-1.8.16.custom.min.js"></script>
<link rel="stylesheet" type="text/css" href="catalog/view/javascript/jquery/ui/themes/ui-lightness/jquery-ui-1.8.16.custom.css" />
<script type="text/javascript" src="catalog/view/javascript/common.js"></script>
<?php foreach ($scripts as $script) { ?>
<script type="text/javascript" src="<?php echo $script; ?>"></script>
<?php } ?>
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie7.css" />
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie6.css" />
<script type="text/javascript" src="catalog/view/javascript/DD_belatedPNG_0.0.8a-min.js"></script>
<script type="text/javascript">
DD_belatedPNG.fix('#logo img');
<?php if ($stores) { ?>
<script type="text/javascript"><!--
$(document).ready(function() {
<?php foreach ($stores as $store) { ?>
$('body').prepend('<iframe src="<?php echo $store; ?>" style="display: none;"></iframe>');
<?php } ?>
<?php } ?>
<?php echo $google_analytics; ?>
<div id="container">
<div id="header">
<div id="top">
 <?php if ($logo) { ?>
  <div id="logo"><a href="<?php echo $home; ?>"><img src="<?php echo $logo; ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" /></a></div>
  <?php } ?>

  <?php echo $cart; ?>
<div id="search_wrapper">
  <div id="search">
    <div class="button-search"></div>
    <input type="text" id="search-top" name="search" placeholder="<?php echo $text_search; ?>" value="<?php echo $search; ?>" />
  <div id="welcome">

+38 <span class="pink">(099)</span> 384-XX-XX</br>
<span class="telefon"><a href="#" onclick="document.getElementById('wind').style.display='block'; return false;" title="Всплывающее окно">все телефоны</a></span>
<div id="wind">
+38 <span class="pink">(063)</span> 449-XX-XX</br>
+38 <span class="pink">(099)</span> 384-XX-XX</br>
+38 <span class="pink">(097)</span> 323-XX-XX</br>
<button type="button" id="Button1" value="закрыть" onclick="document.getElementById('wind').style.display='none'; return false;">


<div id="menu">
    <li><a href="http://asfalt.od.ua/">Главная</a></li><li><a href="http://asfalt.od.ua/dostavka-i-oplata">Доставка и оплата</a></li><li><a href="http://asfalt.od.ua/opt">Опт</a></li><li></li><li><a href="http://asfalt.od.ua/about_us">О нас</a></li><li><a href="http://asfalt.od.ua/index.php?route=information/contact">Контакты</a></li>


<div id="notification"></div>


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.