Jump to content

Problème thème module prestashop 1.6.1.1.2


Recommended Posts

Bonjour,

je rencontre un problème après avoir vidé le cache de prestashop 1.6.1.1.2

 

Notice: Undefined offset: 1 in /home/phenomenyx/www/modules/ddlx_evolution/ddlx_evolution.php on line 62

Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/phenomenyx/www/themes/evolutionX/breadcrumb.tpl“ on line 40 ”{/if}" unexpected closing tag <-- thrown in /home/phenomenyx/www/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 40

J'ai demandé de l'aide au développeur et voici sa réponse  

Bonjour,

Le module DDLX évolution X  n'est plus supporté depuis maintenant presque 10 ans et nous ne travaillons plus avec la solution Prestashop. 

Comme je ne suis pas experte en code, je ne sais comment m'y prendre, c'est pour cela que je fais appel à votre aide.

En réfléchissant, je devrais changer de thème. Est-ce si je change de thème, est-ce que je vais perdre toutes les modifications que j'ai apportées hier sur mes images de produits?

J'ai fait une sauvegarde de ma base de données comment faut-il faire pour les transférer au nouveau thème. 

Cela fait un moment que je cherche et je suis perdu dans tout ce que je lis. Je tourne en rond, je tourne en rond.

Avez-vous un thème à me conseiller ?

J'ai supprimé par erreur le thème natif de prestashop 1.6, y-a-t-il un moyen de le retrouver ? Auquel cas, je garderais ce thème. Mais comment dois-je m'y prendre pour transférer mes données et sauver le travail de plusieurs années ?

Je suis chez ovh en version 5.6 PHP

Merci de votre aide

www themes evolutionX breadcrumb tpl.odt www modules ddlx evolution ddlx evolution php.odt

Link to comment
Share on other sites

{*
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <[email protected]>
*  @copyright  2007-2016 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}

<!-- Breadcrumb -->
{if isset($smarty.capture.path)}{assign var='path' value=$smarty.capture.path}{/if}
<div class="breadcrumb clearfix">
    itemscope itemtype="http://shema.org/BreadcrumList">
    <a class="home" href="{if isset($force_ssl) && $force_ssl}{$base_dir_ssl}{else}{$base_dir}{/if}" title="{l s='Return to Home'}"><i class="icon-home"></i></a>
    {if isset($path) AND $path}
        <span class="navigation-pipe"{if isset($category) && isset($category->id_category) && $category->id_category == (int)Configuration::get('PS_ROOT_CATEGORY')} style="display:none;"{/if}>{$navigationPipe|escape:'html':'UTF-8'}</span>
        {if $path|strpos:'span' !== false}
            <span class="navigation_page">{$path|@replace:'<a ': '<span itemprop="itemListElement" itemscope itemtype="http://shema.org/ListItem"><a itemprop="item" '|@replace:'data-gg="">': '><span itemprop="name">'|@replace:'</a>': '</span></a></span>'}</span>
        {else}
            {$path}
        {/if}
    {/if}
</div>
    {/if}
<!-- /Breadcrumb --> 

Link to comment
Share on other sites

Pour l'autre fichier, remplacez

if ( $serverTabSplit [1] != null )
		{
			$this->connectionString .= ";port=" . $serverTabSplit [1];
		}

par

if (!empty($serverTabSplit[1]))
		{
			$this->connectionString .= ";port=" . $serverTabSplit[1];
		}

 

Link to comment
Share on other sites

La première fois. J'ai cliqué sur votre fichier. Le fichier s'est ouvert avec bloc note et j'ai fait du copier-coller. Et la deuxième fois j'ai enregistré votre fichier, il s'est ouvert également avec bloc note et je l'ai ouvert Notepad et cliqué sur le fichier ouvrir et j'ai recherché votre fichier. C'est n'est peut-être pas la bonne manière de faire ?

Le fichier avec Notepad

 

{*
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <[email protected]>
*  @copyright  2007-2016 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}

<!-- Breadcrumb -->
{if isset($smarty.capture.path)}{assign var='path' value=$smarty.capture.path}{/if}
<div class="breadcrumb clearfix">
    itemscope itemtype="http://shema.org/BreadcrumList">
    <a class="home" href="{if isset($force_ssl) && $force_ssl}{$base_dir_ssl}{else}{$base_dir}{/if}" title="{l s='Return to Home'}"><i class="icon-home"></i></a>
    {if isset($path) AND $path}
        <span class="navigation-pipe"{if isset($category) && isset($category->id_category) && $category->id_category == (int)Configuration::get('PS_ROOT_CATEGORY')} style="display:none;"{/if}>{$navigationPipe|escape:'html':'UTF-8'}</span>
        {if $path|strpos:'span' !== false}
            <span class="navigation_page">{$path|@replace:'<a ': '<span itemprop="itemListElement" itemscope itemtype="http://shema.org/ListItem"><a itemprop="item" '|@replace:'data-gg="">': '><span itemprop="name">'|@replace:'</a>': '</span></a></span>'}</span>
        {else}
            {$path}
        {/if}
    {/if}
</div>
<!-- /Breadcrumb --> 

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