sergio1440069 Posted January 6, 2014 Share Posted January 6, 2014 Prestashop 1.5.6.1 al hacer clic en has olvidado contraseña, se va a una pantalla en blanco. ¿alguna solución? Link to comment Share on other sites More sharing options...
Feliz Garcia Posted January 6, 2014 Share Posted January 6, 2014 Hola, En referencia a la pantalla blanca. ¿Has habiltiado el debug: http://www.prestashop.com/forums/topic/232477-%C2%BFqu%C3%A9-hacer-cuando-se-queda-la-pantalla-en-blanco-en-prestashop/?do=findComment&comment=1143439 para tener mas detalles? Link to comment Share on other sites More sharing options...
sergio1440069 Posted January 6, 2014 Author Share Posted January 6, 2014 Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/vhosts/***/httpdocs/themes/theme593/password.tpl" on line 52 "<a class="button fr" href="{$link->getPageLink('authentication', true)}" title="[spam-filter]l s='Return to Login'}" rel="nofollow">{l s='Back to Login'}</a>" - Unexpected """, expected one of: "}" , " " , ATTR' in /var/www/vhosts/***/httpdocs/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:667 Stack trace: #0 /var/www/vhosts/***/httpdocs/tools/smarty/sysplugins/smarty_internal_templateparser.php(3144): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /var/www/vhosts/***/httpdocs/tools/smarty/sysplugins/smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser->yy_syntax_error(78, '"') #2 /var/www/vhosts/***httpdocs/tools/smarty/sysplugins/smarty_internal_smartytemplat in /var/www/vhosts/***/httpdocs/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667 PD: los *** los he puesto yo Link to comment Share on other sites More sharing options...
nadie Posted January 6, 2014 Share Posted January 6, 2014 Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/vhosts/***/httpdocs/themes/theme593/password.tpl" on line 52 "<a class="button fr" href="{$link->getPageLink('authentication', true)}" title="[spam-filter]l s='Return to Login'}" rel="nofollow">{l s='Back to Login'}</a>" - Unexpected """, expected one of: "}" , " " , ATTR' in /var/www/vhosts/***/httpdocs/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:667 Stack trace: #0 /var/www/vhosts/***/httpdocs/tools/smarty/sysplugins/smarty_internal_templateparser.php(3144): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /var/www/vhosts/***/httpdocs/tools/smarty/sysplugins/smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser->yy_syntax_error(78, '"') #2 /var/www/vhosts/***httpdocs/tools/smarty/sysplugins/smarty_internal_smartytemplat in /var/www/vhosts/***/httpdocs/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667 PD: los *** los he puesto yo Referente a ese error. Parece que el error viene porque en tu fichero: /themes/theme593/password.tpl Tienes esto: title="[spam-filter]l s='Return to Login'}" Cuando en todo caso es asi: title="{l s='Return to Login'}" --- Te dejo el contenido de mi fichero: password.tpl de la plantilla por defecto en Prestashop 1.5.6.1 {capture name=path}<a href="{$link->getPageLink('authentication', true)|escape:'html'}" title="{l s='Authentication'}" rel="nofollow">{l s='Authentication'}</a><span class="navigation-pipe">{$navigationPipe}</span>{l s='Forgot your password'}{/capture} {include file="$tpl_dir./breadcrumb.tpl"} <h1>{l s='Forgot your password?'}</h1> {include file="$tpl_dir./errors.tpl"} {if isset($confirmation) && $confirmation == 1} <p class="success">{l s='Your password has been successfully reset and a confirmation has been sent to your email address:'} {if isset($customer_email)}{$customer_email|escape:'htmlall':'UTF-8'|stripslashes}{/if}</p> {elseif isset($confirmation) && $confirmation == 2} <p class="success">{l s='A confirmation email has been sent to your address:'} {if isset($customer_email)}{$customer_email|escape:'htmlall':'UTF-8'|stripslashes}{/if}</p> {else} <p>{l s='Please enter the email address you used to register. We will then send you a new password. '}</p> <form action="{$request_uri|escape:'htmlall':'UTF-8'}" method="post" class="std" id="form_forgotpassword"> <fieldset> <p class="text"> <label for="email">{l s='Email'}</label> <input type="text" id="email" name="email" value="{if isset($smarty.post.email)}{$smarty.post.email|escape:'htmlall':'UTF-8'|stripslashes}{/if}" /> </p> <p class="submit"> <input type="submit" class="button" value="{l s='Retrieve Password'}" /> </p> </fieldset> </form> {/if} <p class="clear"> <a href="{$link->getPageLink('authentication', true)}" title="{l s='Return to Login'}" rel="nofollow"><img src="{$img_dir}icon/my-account.gif" alt="{l s='Return to Login'}" class="icon" /></a><a href="{$link->getPageLink('authentication')|escape:'html'}" title="{l s='Back to Login'}" rel="nofollow">{l s='Back to Login'}</a> </p> 1 Link to comment Share on other sites More sharing options...
sergio1440069 Posted January 7, 2014 Author Share Posted January 7, 2014 SOLUCIONADO Referente a ese error. Parece que el error viene porque en tu fichero: /themes/theme593/password.tpl Tienes esto: title="[spam-filter]l s='Return to Login'}" Cuando en todo caso es asi: title="{l s='Return to Login'}" --- pero al solicitar la contraseña no envia el correo para poder recuperarla! Link to comment Share on other sites More sharing options...
sergio1440069 Posted January 7, 2014 Author Share Posted January 7, 2014 solucion SOLUCIONADO Referente a ese error. Parece que el error viene porque en tu fichero: /themes/theme593/password.tpl Tienes esto: title="[spam-filter]l s='Return to Login'}" Cuando en todo caso es asi: title="{l s='Return to Login'}" solucionado, en parametros avanzados, configurado correo electronico en 'Establecer mis propios parámetros SMTP. Sólo para usuarios AVANZADOS' ya envia mails Link to comment Share on other sites More sharing options...
nadie Posted January 7, 2014 Share Posted January 7, 2014 solucion solucionado, en parametros avanzados, configurado correo electronico en 'Establecer mis propios parámetros SMTP. Sólo para usuarios AVANZADOS' ya envia mails Perfecto ! En ese caso te añado la palabra "Solucionado" al titulo del tema y procedo a cerrar el tema. Saludos, Link to comment Share on other sites More sharing options...
Recommended Posts