I apologize for the posting my queries twice. I posted it in the wrong topic. Again im so sorry.
I tried to switch it back to the default template and it logs me in. But if I use my template it wont log me in.. what do I need to change?
Printable View
I apologize for the posting my queries twice. I posted it in the wrong topic. Again im so sorry.
I tried to switch it back to the default template and it logs me in. But if I use my template it wont log me in.. what do I need to change?
No problem. Your post count shows that you're new and still finding your way around.
The news here is not so good. I suspect that you're using a Template Monster template that is not compatible with the security features built into Zen Cart 1.3.8. That's why when you switch back to the default template it works. Your Zen Cart is fine, the template is the problem.
There's a limit to what we can advise here as TM really hack the Zen Cart code badly, so we don't know precisely how their login over-ride is constructed (and don't really want to!). But basically you have three options:
1) Go back to TM and insist on a version of the template that is compatible with the current version of Zen Cart.
2) Try temporarily deleting your template's includes/templates/theme020/templates/tpl_login_default.php file so that you are using the Zen Cart default instead (keep a copy so that you can put it back
3) apply the changes explained earlier in this thread to the above file (don't know how easy this would be to do, as it would depend on what else they've done to the file)
hi.. what do i need to change in the customized template? It says here
If you have customized template "login" files, the new security features need to be merged into your customized template files.
The following files are affected:
- /includes/templates/YOUR_TEMPLATE/templates/tpl_login_default.php
- /includes/templates/YOUR_TEMPLATE/templates/tpl_timeout_default.php
Dont know what to add on those files tpl_login_default.php and tpl_timeout_default.php
Any response will be appreciated.
Thanks.
It works man.. Thanks for your help.. :D May the Lord bless you.. :D
thanks - this did the job for me...
Hi, please help as I am very lost and have been trying to fix this for days.
I am unable to login as me test customer, the above message keeps coming up.
I am new to this so have the current version and the only difference is the Cherry Zen upgrade.
This is an extract from my tpl_login_default.php which I thought looked O.K. when compared to what you have suggested here.
<label class="inputLabel" for="login-password"><?php echo ENTRY_PASSWORD; ?></label>
<?php echo zen_draw_password_field('password', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password') . ' id="login-password"'); ?>
<br class="clearBoth" />
<?php echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); ?>
</fieldset>
With thanks
Hi DrByte,
How do I compare the remote files using Winmerge? I am experiencing the same login error problem for returning customers. I get the message"there was a security error when trying to login" when I login as a returning customer. Ever since I uploaded my customised header on the newly installed zencart template "Slovak_Classic" I am facing this login error problem. I would really appreciate if you could help me find a solution to this problem. I am stuck because of this.
I downloaded the software Winmerge after reading the forums, but can't figure out how to view the remote files using winmerge as the browse button opens the folders on my PC only.
Indicana
Hi,
Just to clarify, my customer login was fine one day and not the next.
I have done no upgrades because am runnung the latest version, the only thing I did do was the 'Steps in securing your Zen Cart store' , and then customer login stopped working giving me the security error.
I have compared the tpl_time_out & tpl_login_default with an older backup and they look fine, can you suggest somewhere else to look?
PLEASE help!
[FONT=Verdana]If you do have a back up of these files (tpl_time_out_default.php & tpl_login_default.php) and at the time those back up files were the good working ones. Try uploading these backup files over the existing files, as sometimes when compared together all the wording can look the same but there may still be a problem with the php.file. I have done this before and it worked for me. It's worth a try. Make sure you always keep copies before you change any files as you may need to put the file back if it doesn’t work. [/FONT]