Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Sign Up

Две ошибки в fast_start_kitchen_ocshop_1_5_6_4

Recommended Posts



2017-10-09 15:48:17 - PHP Notice:  Undefined variable: maps in /home/h96698/data/www/mebel-gladiator.ru/catalog/view/theme/kitchen/template/information/contact.tpl on line 32

32 строка contact.tpl : <div class="map-content span6"><figure><?php echo $maps; ?></figure>
33                                 </div>


и в журнале ошибок, на каждый переход между страницами возникает

2017-10-09 15:48:17 - PHP Notice:  Array to string conversion in /home/h96698/data/www/mebel-gladiator.ru/catalog/view/theme/kitchen/template/common/header.tpl on line 167


167строка header.tpl:     <li><a href="<?php echo $manufacturer; ?>"><?php echo $text_manufacturer; ?></a></li>


 как-то преодолел и более трудное, а в это уткнулся и ни шагу не могу сделать дальше.

Кто-то может уже решал, но по поиску - нет.

Ткните носом. Что делать?

Edited by xruk
Link to post
Share on other sites

По первой ошибке в catalog/controller/information/contact.php 


$this->data['entry_captcha'] = $this->language->get('entry_captcha');



$this->data['maps'] = html_entity_decode($this->config->get('config_maps'));


Link to post
Share on other sites

Вторая ошибка


Попробуйте в  header.tpl



<li><a href="<?php echo $manufacturer; ?>"><?php echo $text_manufacturer; ?></a></li>




<li><a href="<?php echo $brands; ?>"><?php echo $text_brands; ?></a></li>

Если не поможет, стукните в личку, сделаю. Лень китчен разворачивать у себя ) 

Link to post
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

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.