Jump to content

Wachtwoord vergeten werkt niet


NvR84

Recommended Posts

Hallo allemaal,

 

Al vanaf het begin ervaar ik problemen met de link wachtwoord vergeten.

In het begin dacht ik dat het lag aan de beveiligingstijd. Nu blijkt dit niet het geval te zijn.

De beveiligingstijd staat op 1 minuut.

 

Maar hij geeft een server fout als je klikt op 'wachtwoord vergeten'.

Het lijkt te liggen aan de links die niet kloppen maar ik heb mijn hele URL's doorgelopen.

Ook heb ik geprobeerd om ze op 'niet vriendelijke url's' te zetten maar hij blijft dezelfde fout aangeven.

 

Hopelijk kan en wil iemand mij helpen.

 

Groetjes

Link to comment
Share on other sites

Hallo allemaal,

 

Al vanaf het begin ervaar ik problemen met de link wachtwoord vergeten.

In het begin dacht ik dat het lag aan de beveiligingstijd. Nu blijkt dit niet het geval te zijn.

De beveiligingstijd staat op 1 minuut.

 

Maar hij geeft een server fout als je klikt op 'wachtwoord vergeten'.

Het lijkt te liggen aan de links die niet kloppen maar ik heb mijn hele URL's doorgelopen.

Ook heb ik geprobeerd om ze op 'niet vriendelijke url's' te zetten maar hij blijft dezelfde fout aangeven.

 

Hopelijk kan en wil iemand mij helpen.

 

Groetjes

Wat voor server fout? error 500?

Link to comment
Share on other sites

NvR,

 

een 500 fout kan van alles zijn. Om meer over de fout te vinden, zet de "Debug mode" aan:

open je file: config/defines.inc.php

daarin zie je vrijwel bovenaan de volgende regels:

/* Debug only */
define('_PS_MODE_DEV_', true);  <-- verander false naar true
 
Doe dan nogmaals wat je hiervoor deed en je krijgt een uitgebreidere foutmelding.
Kopieer deze en plak deze in de volgende post, zodat we kunnen kijken wat er precies aan de hand is.
 
pascal
 
 
P.S. vergeet niet deze variabele weer terug naar false te zetten als je klaar bent, anders krijgen je klanten ook alle foutmeldingen te zien. :-)
Link to comment
Share on other sites

Pascal,

 

Bedankt voor je heldere uitleg! Zelfs ik snapte het ;)

 

Dit kwam er uit:

 

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/zoietsnl/public_html/themes/fashionbird/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 /home/zoietsnl/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:667 Stack trace: #0 /home/zoietsnl/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(3144): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/zoietsnl/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser->yy_syntax_error(78, '"') #2 /home/zoietsnl/public_html/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templatepar in /home/zoietsnl/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667

Link to comment
Share on other sites

Hoi NvR (Nico?? lucky guess :-)  )

 

Kun je de inhoud van file /themes/fashionbird/password.tpl

in zin geheel kopieren en hier plakken?

(N.B. gebruik de "code" icon"<>" (links naast het "Quote" tekstballonnetje) om de code wat gestructureerd te plakken. Klik daar eerst op en plak je code in het pop up scherm. Het is dan wat leesbaarder dan gewoon plakken)

 

dank,

pascal

 

P.S. welke PrestaShop versie gebruik je?

P.S.2: Is fashionbird een gekocht Theme, of een eigen, gemodificeerd "Default" Theme?

Link to comment
Share on other sites

Hoi Pascal,

 

bedankt voor je heldere antwoorden.

Het is Nancy, maar de gok was leuk ;)

Het gaat om de site: www.zo-iets.nl

Het thema is een gedownload (gratis) thema.

Deze pastte het beste bij mijn producten.

 

Ik vind het wel ontzettend knap dat jij al die bestanden kent..

Want ze staan precies daar waar jij zegt.

Zal mijn onkunde wel zijn :(

{*

* 2007-2013 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-2013 PrestaShop SA

*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)

*  International Registered Trademark & Property of PrestaShop SA

*}



{capture name=path}<a href="{$link->getPageLink('authentication', true)}" 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><span>{l s='Forgot your password?'}</span></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($email)}{$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($email)}{$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="email" 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 class="button fr" href="{$link->getPageLink('authentication', true)}" title="[spam-filter]l s='Return to Login'}" rel="nofollow">{l s='Back to Login'}</a> 

</p>

Bedankt voor al je hulp!!

Link to comment
Share on other sites

Hoi Nancy, (Veeeel beter than Nico ;-)  )

Sorry voor late antwoord. Was even een weekend vol met deadlines...

 

Lijkt er op dat op bijna de laatste regel een kleine fout staat:

 

<a class="button fr" href="{$link->getPageLink('authentication', true)}" title="{{l s='Return to Login'}" rel="nofollow">{l s='Back to Login'}</a>

 
er staat een { -je te veel. Haal deze weg, en het zal waarschijnlijk veel beter gaan.
Probeer het maar eens en laat het me weten!
 
groetjes,
pascal
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...