Jump to content

Recommended Posts

Chers experts, chères expertes,

J'en appelle à vos lumières pour la traduction d'un message d'erreur prestashop 1.7.2 (copié intégralement en bas de page). 

Le lien  "mon compte" renvoie une erreur dès lors qu'un client y est connecté. De base il fonctionne, me proposant d'entrer mon nom de compte et mot de passe. Toutes les autres pages associées (mes informations personnelles, mes avoirs, adresse, etc) fonctionnent quelle que soit la configuration.

Pourriez-vous m'indiquer une solution à ce bug, s'il vous plait?

D'avance merci ! Je ne compte que sur votre aide car les tickets Prestashop sont réservés aux versions 1.4 à 1.6 !!

 Maxime

en mode debug, voici ce qui s'affiche quand le client se connecte à son compte

 

 

ContextErrorException in smarty_internal_compile_block.php line 246:Notice: Undefined index: page_content

in smarty_internal_compile_block.php line 246

at ErrorHandler->handleError('8', 'Undefined index: page_content', '/srv/hosting/clients/h4801/vendor/prestashop/smarty/sysplugins/smarty_internal_compile_block.php', '246', array('compiler' => object(Smarty_Internal_SmartyTemplateCompiler), 'source' => ' </section> ')) in smarty_internal_compile_block.php line 246

at Smarty_Internal_Compile_Block::blockSource(object(Smarty_Internal_SmartyTemplateCompiler), ' </section> ') in smarty_internal_templateparser.php line 3467

at Smarty_Internal_Templateparser->yy_r16() in smarty_internal_templateparser.php line 4392

at Smarty_Internal_Templateparser->yy_reduce('16') in smarty_internal_templateparser.php line 4493

at Smarty_Internal_Templateparser->doParse('35', '{/') in smarty_internal_smartytemplatecompiler.php line 118

at Smarty_Internal_SmartyTemplateCompiler->doCompile('{** * 2007-2019 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License 3.0 (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: * https://opensource.org/licenses/AFL-3.0 * 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 license@prestashop.com 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 <contact@prestashop.com> * @copyright 2007-2019 PrestaShop SA * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA *} {extends file='customer/page.tpl'} {block name='page_title'} {l s='Your account' d='Shop.Theme.Customeraccount'} {/block} {block name='page_content'} <section id="content" class="page-content"> {block name='page_content_top'}{/block} {block name='page_content'} <div class="row"> <div class="links"> <a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="identity-link" href="{$urls.pages.identity}"> <span class="link-item"> {l s='Information' d='Shop.Theme.Customeraccount'} </span> </a> {if $customer.addresses|count} <a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="addresses-link" href="{$urls.pages.addresses}"> <span class="link-item"> {l s='Addresses' d='Shop.Theme.Customeraccount'} </span> </a> {else} <a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="address-link" href="{$urls.pages.address}"> <span class="link-item"> {l s='Add first address' d='Shop.Theme.Customeraccount'} </span> </a> {/if} {if !$configuration.is_catalog} <a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="history-link" href="{$urls.pages.history}"> <span class="link-item"> {l s='Order history and details' d='Shop.Theme.Customeraccount'} </span> </a> {/if} {if !$configuration.is_catalog} <a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="order-slips-link" href="{$urls.pages.order_slip}"> <span class="link-item"> {l s='Credit slips' d='Shop.Theme.Customeraccount'} </span> </a> {/if} {if $configuration.voucher_enabled && !$configuration.is_catalog} <a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="discounts-link" href="{$urls.pages.discount}"> <span class="link-item"> {l s='Vouchers' d='Shop.Theme.Customeraccount'} </span> </a> {/if} {if $configuration.return_enabled && !$configuration.is_catalog} <a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="returns-link" href="{$urls.pages.order_follow}"> <span class="link-item"> {l s='Merchandise returns' d='Shop.Theme.Customeraccount'} </span> </a> {/if} {block name='display_customer_account'} {hook h='displayCustomerAccount'} {/block} <a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="log-out-link" href="{$logout_url}"> <span class="link-item"> {l s='Sign out' d='Shop.Theme.Actions'} </span> </a> </div> </div> {/block} </section> {/block}') in smarty_internal_templatecompilerbase.php line 283

at Smarty_Internal_TemplateCompilerBase->compileTemplate(object(Smarty_Dev_Template)) in smarty_internal_template.php line 197

at Smarty_Internal_Template->compileTemplateSource() in smarty_internal_templatebase.php line 155

at Smarty_Internal_TemplateBase->fetch('customer/my-account.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false) in SmartyDev.php line 41

at SmartyDev->fetch('customer/my-account.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 660

at FrontControllerCore->smartyOutputContent('customer/my-account.tpl') in FrontController.php line 644

at FrontControllerCore->display() in Controller.php line 225

at ControllerCore->run() in Dispatcher.php line 379

at DispatcherCore->dispatch() in index.php line 28

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More