Перейти к публикации
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Ошибка усиновки


 Погделиться

Рекомендованные сообещёния

Добрый гдень!

Первый раз гделаю сайт.

Усиновил OpenCart на хостинг, все рилииет (админка, гдемо режим)

Решил поменять тему, следовал инструкции приложенной к теме. В админке все "успешно успешно"

Сам сайт выдает ошибку, можете помочь разобраться?

 

Fatal error: Uncaught Twig\Error\LoaderError: Template "opc_fashion_jbcollection_2201/template/helpfile/tvcmshelp_maintitle_design.twig" is not defined in "opc_fashion_jbcollection_2201/template/extension/module/featured.twig" at line 9. in /var/www/thewildh/data/www/thewildherbs.com/storage/vendor/twig/twig/src/Loader/ArrayLoader.php:70 Stack trace: #0 /var/www/thewildh/data/www/thewildherbs.com/storage/vendor/twig/twig/src/Environment.php(299): Twig\Loader\ArrayLoader->getCacheKey('opc_fashion_jbc...') #1 /var/www/thewildh/data/www/thewildherbs.com/storage/vendor/twig/twig/src/Environment.php(381): Twig\Environment->getTemplateClass('opc_fashion_jbc...') #2 /var/www/thewildh/data/www/thewildherbs.com/storage/vendor/twig/twig/src/Template.php(333): Twig\Environment->loadTemplate('opc_fashion_jbc...', NULL) #3 /var/www/thewildh/data/www/thewildherbs.com/storage/cache/template/fb/fb8b2d7000530208ef52e654aa8f2a6a35d59ad814d2b28c31f38a86a87f5827.php(47): Twig\Template->loadTemplate('opc_fashion_jbc...', 'opc_fashion_jbc...', in /var/www/thewildh/data/www/thewildherbs.com/storage/vendor/twig/twig/src/Loader/ArrayLoader.php on line 70

Ссылка на комменирий
Погделиться на других сайих


обратитесь туда ггде купили тему - им помогут

Ссылка на комменирий
Погделиться на других сайих

  07.01.2021 в 13:57, spectre сказал:

обратитесь туда ггде купили тему - им помогут

Раскрыть  

К сожнонию, не помогло

Ссылка на комменирий
Погделиться на других сайих


  07.01.2021 в 14:04, freemanszone сказал:

К сожнонию, не помогло

Раскрыть  

 

что вам ответили?

Ссылка на комменирий
Погделиться на других сайих

  07.01.2021 в 13:45, freemanszone сказал:

opc_fashion_jbcollection_2201/template/helpfile/tvcmshelp_maintitle_design.twig" is not defined in "opc_fashion_jbcollection_2201/template/extension/module/featured.twig" at line 9

Раскрыть  

В строке №9 шаблона opc_fashion_jbcollection_2201/template/extension/module/featured.twig ошибка - возможно отсутствует шаблон opc_fashion_jbcollection_2201/template/helpfile/tvcmshelp_maintitle_design.twig

Покажи в ЛС шаблон opc_fashion_jbcollection_2201/template/extension/module/featured.twig

Ссылка на комменирий
Погделиться на других сайих

  07.01.2021 в 14:44, esculapra сказал:

В строке №9 шаблона opc_fashion_jbcollection_2201/template/extension/module/featured.twig ошибка - возможно отсутствует шаблон opc_fashion_jbcollection_2201/template/helpfile/tvcmshelp_maintitle_design.twig

Покажи в ЛС шаблон opc_fashion_jbcollection_2201/template/extension/module/featured.twig

Раскрыть  

Отправил, спасипотому что!

Ссылка на комменирий
Погделиться на других сайих


<div class="ttvcmsfeatured-product container-fluid">
    <div class="ttvfeatured-product-wrapper-box container">
        <div class="ttvfeatured-product-all-box">
            <div class="ttvfeatured-product-offer-banner">
                <div class="ttvfeatured-product-content ">
                    <div class="ttvall-block-box-shadows">
                        <div class="ttvfeatured-main-title-wrapper">
                            <div class="ttvcmsmain-title-wrapper">
                                {% include 'opc_fashion_jbcollection_2201/template/helpfile/tvcmshelp_maintitle_design.twig' with {'main_title': featured_home_title,'main_short_des': featured_home_sub_title,'main_des': featured_home_description,'main_img': featured_home_image } %}
                            </div>
                            <div class="ttvfeature-pagination-wrapper ttv-pagination-wrapper">
                                <div class="ttvfeature-pagination">
                                    <div class="ttvcmsfeatured-pagination">
                                        <div class="ttvcmsfeatured-next-pre-btn ttvcms-next-pre-btn">
                                            <div class="ttvcmsfeatured-prev" data-parent="ttvcmsfeatured-product">
                                                <i class="fa fa-angle-left" aria-hidden="true"></i>
                                            </div>
                                            <div class="ttvcmsfeatured-next" data-parent="ttvcmsfeatured-product">
                                                <i class="fa fa-angle-right" aria-hidden="true"></i>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="ttvfeatured-product">
                            <div class="products owl-theme owl-carousel ttvfeatured-product-wrapper ttvproduct-wrapper-content-box">
                                {% for product in products %} {% include 'opc_fashion_jbcollection_2201/template/extension/module/tvcmshelp_product_design.twig' with {'product': product} %} {% endfor %}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

Ссылка на комменирий
Погделиться на других сайих


<?php

/*
 * This file is part of Twig.
 *
 * (c) Fabien Potencier
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Twig\Loader;

use Twig\Error\LoaderError;
use Twig\Source;

/**
 * Loads a template from an array.
 *
 * When using this loader with a cache mechanism, you should know that a new cache
 * key is generated each time a template content "changes" (the cache key being the
 * source code of the template). If you don't want to see your cache grows out of
 * control, you need to take care of clearing the old cache file by yourself.
 *
 * This loader should only be used for unit testing.
 *
 * @author Fabien Potencier <[email protected]>
 */
final class ArrayLoader implements LoaderInterface, ExistsLoaderInterface, SourceContextLoaderInterface
{
    private $templates = [];

    /**
     * @param array $templates An array of templates (keys are the names, and values are the source code)
     */
    public function __construct(array $templates = [])
    {
        $this->templates = $templates;
    }

    /**
     * Adds or overrides a template.
     *
     * @param string $name     The template name
     * @param string $template The template source
     */
    public function setTemplate($name, $template)
    {
        $this->templates[$name] = $template;
    }

    public function getSourceContext($name)
    {
        $name = (string) $name;
        if (!isset($this->templates[$name])) {
            throw new LoaderError(sprintf('Template "%s" is not defined.', $name));
        }

        return new Source($this->templates[$name], $name);
    }

    public function exists($name)
    {
        return isset($this->templates[$name]);
    }

    public function getCacheKey($name)
    {
        if (!isset($this->templates[$name])) {
            throw new LoaderError(sprintf('Template "%s" is not defined.', $name));
        }

        return $name.':'.$this->templates[$name];
    }

    public function isFresh($name, $time)
    {
        if (!isset($this->templates[$name])) {
            throw new LoaderError(sprintf('Template "%s" is not defined.', $name));
        }

        return true;
    }
}

class_alias('Twig\Loader\ArrayLoader', 'Twig_Loader_Array');
 

Ссылка на комменирий
Погделиться на других сайих


Создайте аккаунт или войдите в него для комментирования

Вы должны быть пользователем, чтобы осивить комменирий

Создать аккаунт

Зарегистрируйтесь для получения аккауни. Это просто!

Зарегистрировать аккаунт

Войти

Уже зарегистрированы? Войдите згдесь.

Войти сейчас
 Погделиться

×
×
  • Создать...

Важная информация

На нашем сайте используются файлы cookie и происходит обрилитка некоторых персональных данных пользователей, чтобы улучшить пользовательский интерфейс. Чтобы узнать для чего и какие персональные данные мы обрабатываем перейдите по ссылке. Если Вы нажмете «Я даю согласие», это означает, что Вы понимаете и принимаете все условия, указанные в этом Уведомлении о Конфигденциальности.