i have a problem in my shop that link in forgotten password email won't work and error said this link in not valid!
how can i fix this issue?
my oc version is 3.0.2
my website url : sport3nter.com
thanks for your support.
Code: Select all
<input type="submit" value="{{ button_continue }}" class="btn btn-primary" />
Code: Select all
<a href="https://sport3nter.com/index.php?route=account/login" class="btn btn-default">بازگشت</a>
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Code: Select all
A new password was requested for MyShop customer account.To reset your password click on the link below:https://www.MyShop.com/index.php?route=account/reset&code=hyJQZaoyKb2NRWEUTE9UhHiEeAQqj8wYRTfnYTAoThe IP used to make this request was:1**.1**.2**.2**
hello again and very sorry for my late answer!JNeuhoff wrote: ↑Sun Mar 14, 2021 11:18 pmIn your account/forgotten.twig you should use something like this for your button:
instead of your currentCode: Select all
<input type="submit" value="{{ button_continue }}" class="btn btn-primary" />
You can ask the author of so-supermarket theme to fix it for you.Code: Select all
<a href="https://sport3nter.com/index.php?route=account/login" class="btn btn-default">بازگشت</a>
i cand find this code in my forgotten file.
can you please tell me where is this file location?
because i found 2 forgotten .twig file in my store and no one had this code!
hello and thanks for yor answer.mikeinterserv wrote: ↑Sun Mar 14, 2021 11:37 pmI think he is probably referring to this no spacing issue that makes the text joined to the link.
Code: Select all
A new password was requested for MyShop customer account.To reset your password click on the link below:https://www.MyShop.com/index.php?route=account/reset&code=hyJQZaoyKb2NRWEUTE9UhHiEeAQqj8wYRTfnYTAoThe IP used to make this request was:1**.1**.2**.2**
no i checked this before , the link have space and its not the problem
Can you post the code for the account/forgotten.twig file?
sorry I did not get it !ForgedGround wrote: ↑Thu Apr 01, 2021 5:07 amI cant read anything man
Can you post the code for the account/forgotten.twig file? I run 3.0.2 and my file looks like this :
Code: Select all
{{ header }} <ul class="breadcrumb"> {% for breadcrumb in breadcrumbs %} <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li> {% endfor %} </ul> {% if j3.settings.get('pageTitlePosition') == 'top' %} <h1 class="title page-title"><span>{{ heading_title }}</span></h1> {% endif %} {{ j3.loadController('journal3/layout', 'top') }} <div id="account-forgotten" class="container"> {% if error_warning %} <div class="alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}</div> {% endif %} <div class="row">{{ column_left }} {% if column_left and column_right %} {% set class = 'col-sm-6' %} {% elseif column_left or column_right %} {% set class = 'col-sm-9' %} {% else %} {% set class = 'col-sm-12' %} {% endif %} <div id="content" class="{{ class }}"> {% if j3.settings.get('pageTitlePosition') == 'default' %} <h1 class="title page-title">{{ heading_title }}</h1> {% endif %} {{ content_top }} <p>{{ text_email }}</p> <form action="{{ action }}" method="post" enctype="multipart/form-data" class="form-horizontal"> <fieldset> <legend>{{ text_your_email }}</legend> <div class="form-group required"> <label class="col-sm-2 control-label" for="input-email">{{ entry_email }}</label> <div class="col-sm-10"> <input type="text" name="email" value="{{ email }}" placeholder="{{ entry_email }}" id="input-email" class="form-control" /> </div> </div> </fieldset> <div class="buttons clearfix"> <div class="pull-left"><a href="{{ back }}" class="btn btn-default">{{ button_back }}</a></div> <div class="pull-right"> <button type="submit" class="btn btn-primary"><span>{{ button_continue }}</span></button> </div> </div> </form> {{ content_bottom }}</div> {{ column_right }}</div> </div> {{ footer }}
if you want my forgotten file content , please tell the full location of file , because there are two forgotten.twig in whole site contents
You have two because one is in default theme and one is in the folder of your theme so-supermarket.waylander1398 wrote: ↑Thu Apr 01, 2021 2:13 pmsorry I did not get it !
if you want my forgotten file content , please tell the full location of file , because there are two forgotten.twig in whole site contents
The one that is being used is in the folder of your theme.
The answer has already been provided.
waylander1398 wrote: ↑Thu Apr 01, 2021 4:16 amSince you can not find the code in the forgotten.twig fileJNeuhoff wrote: ↑Sun Mar 14, 2021 11:18 pmIn your account/forgotten.twig you should use something like this for your button:
instead of your currentCode: Select all
<input type="submit" value="{{ button_continue }}" class="btn btn-primary" />
You can ask the author of so-supermarket theme to fix it for you.Code: Select all
<a href="https://sport3nter.com/index.php?route=account/login" class="btn btn-default">بازگشت</a>
Not only can you it is their responsibility to fix it
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
by mona wrote: ↑Thu Apr 01, 2021 11:02 pmYou have two because one is in default theme and one is in the folder of your theme so-supermarket.waylander1398 wrote: ↑Thu Apr 01, 2021 2:13 pmsorry I did not get it !
if you want my forgotten file content , please tell the full location of file , because there are two forgotten.twig in whole site contents
The one that is being used is in the folder of your theme.
The answer has already been provided.hello againwaylander1398 wrote: ↑Thu Apr 01, 2021 4:16 amSince you can not find the code in the forgotten.twig fileJNeuhoff wrote: ↑Sun Mar 14, 2021 11:18 pmIn your account/forgotten.twig you should use something like this for your button:
instead of your currentCode: Select all
<input type="submit" value="{{ button_continue }}" class="btn btn-primary" />
You can ask the author of so-supermarket theme to fix it for you.Code: Select all
<a href="https://sport3nter.com/index.php?route=account/login" class="btn btn-default">بازگشت</a>
Not only can you it is their responsibility to fix it
i checked this twice
in the catalog/view/theme/supermarket/template/account
there is only one file with name login.twig !
there in nothing else in this folder and I also checked the intact and uninstalled source of the template; From the beginning, there was no other file in this folder!
And it worked well with the same system
this problem appeared recntly that i moved to another hosting.(no file have been changed)
i also checked catalog/controller/mail/forgotten.php file and i added ” . ‘ ‘” after $args[1] .
and also checked the forgotten.twig file in catalog/view/theme/default/template/account and every thing looks fine!
also checked and added space in {text-ip} section in catalog/language/my-language/account/forgotten.twig .
but after all nothing changed and the problem is not solved!
I also asked for template support from and they said its not a template issue!
I doubt anyone here is going to be able to assist you blind.
You can post in the commercial forum and ask for someone to go into your system and see what is going on.
viewforum.php?f=88
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Users browsing this forum: No registered users and 91 guests