Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Posts
    26
    Plugin Contributions
    0

    Default Security Error On Login - Using Updated Template!! Help!!

    OK, so I have zencart on the server and everything is going along, I test a few basic features before I start customizing a lot, and the login feature doesn't work. You sign up for a new account and everything comes up correctly, but when you logout and log back in, it says that there has been a security error. What could be the problem. I am coding challenged, so any explanation or fixes have to be spelled out for me, and please know that I REALLY appreciate your help.

    Additionally, I had read on another forum that it was a problem with using old templates with an updated version of Zen Cart, but I downloaded a template that was for the current version from the Zen Cart download page, and it did the same thing as the old one. Any ideas?

    You can try it out for yourself if you like.. keep in mind the site is hardly customized at all at this point, save for a few basic settings.

    http://www.queencandles.com/Sales/ZC...2125/index.php
    Last edited by mccalld; 5 Mar 2008 at 12:16 AM. Reason: Added web address

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Security Error On Login - Using Updated Template!! Help!!

    1. A search in the FAQs area for "security error" brings up this article, which explains the technical problem:
    https://www.zen-cart.com/tutorials/i...hp?article=312

    2. It could be your google checkout changes that have busted it ... maybe the GC code you added wasn't built for this version of Zen Cart?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Mar 2008
    Posts
    26
    Plugin Contributions
    0

    Default Re: Security Error On Login - Using Updated Template!! Help!!

    Quote Originally Posted by DrByte View Post
    1. A search in the FAQs area for "security error" brings up this article, which explains the technical problem:
    https://www.zen-cart.com/tutorials/i...hp?article=312

    2. It could be your google checkout changes that have busted it ... maybe the GC code you added wasn't built for this version of Zen Cart?
    Yeah I saw that thread as well, and tried those changes but they didn't help, so that's why I scrapped the other template that I was using and downloaded cherry zen for version x.x.8. I suppose google checkout could be the problem, but frankly all this seems to difficult. I'm thinking about changing from zen cart altogether because it's just not working, and I am tired of trying to figure it out. That said, if you have any thoughts or can help me in any way, please let me know because I've gotten this far with it and hate to scrap it..

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Security Error On Login - Using Updated Template!! Help!!

    Why not try Zen Cart without the Google Checkout addon first, before passing judgment that "Zen Cart doesn't work".
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Security Error On Login - Using Updated Template!! Help!!

    Google Checkout LIVE requires SSL cert. Do you have Certificate
    for your site or are you just testing in Sandbox mode?

  6. #6
    Join Date
    Mar 2008
    Posts
    26
    Plugin Contributions
    0

    Default Re: Security Error On Login - Using Updated Template!! Help!!

    Quote Originally Posted by misty View Post
    Google Checkout LIVE requires SSL cert. Do you have Certificate
    for your site or are you just testing in Sandbox mode?
    Just testing in sandbox mode right now. None of this site is ready for commercial traffic at this time. BTW, I am going through and trying the advice I've been given, and I can't thank all of you enough for your help. I should clarify, I think Zen Cart is a great application, but for someone who's not a programmer (though I learned C++ in college years ago), it seems rather daunting. I was frustrated earlier with the whole thing, but I'll take a deep breath and try again... I want to thank everyone again for all of your help today!!!!

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Security Error On Login - Using Updated Template!! Help!!

    Quote Originally Posted by mccalld View Post
    Quote Originally Posted by DrByte View Post
    1. A search in the FAQs area for "security error" brings up this article, which explains the technical problem:
    https://www.zen-cart.com/tutorials/i...hp?article=312

    2. It could be your google checkout changes that have busted it ... maybe the GC code you added wasn't built for this version of Zen Cart?
    Yeah I saw that thread as well, and tried those changes but they didn't help ...
    Here's some clarification on the process:

    You have a template ... you said cherry zen, so it's likely named cherry_zen in your folder structure, or something similar to that.
    ie: /includes/templates/cherry_zen/

    Is there a template file for tpl_login_default.php for that template?
    ie: /includes/templates/cherry_zen/templates/tpl_login_default.php

    As per the FAQ I mentioned, you'll need to compare that file against the original version of that file, located at:
    /includes/templates/template_default/templates/tpl_login_default.php

    There will be code related to a securityToken ... you'll need to make sure your cherry_zen (your custom template) contains the same code.

    A great tool for comparing files is WinMerge, which is discussed briefly here:
    http://www.zen-cart.com/forum/showthread.php?t=7330
    This lets you look at both files in one window, and copy pieces from one to the other.
    Some things (ie: unique things to your custom file) shouldn't be changed.
    But things that are missing due to version differences usually need to be merged.

    There are primers and guides for understanding templates etc in the Tutorials area: https://www.zen-cart.com/tutorials/
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Mar 2008
    Posts
    26
    Plugin Contributions
    0

    Default Re: Security Error On Login - Using Updated Template!! Help!!

    Quote Originally Posted by misty View Post
    Don't even have those qualifications, just sheer hard word and determination..
    so easy to give up, cut and run.
    TIP..when installing mods, always use default Classic template first,
    get mod to work, THEN change templates.
    You are so right. I am going to try that first from now on.. I am having trouble with my google checkout now, though I have fixed the Security Error on login. I can't get my google icons to appear even though everything appears to be right in the console, and I've been through and verified that all of the files are in the right places. Has anyone had this problem where they just don't show up? I searched in the forums and saw lots of issues but none that matched mine. Any thoughts?

  9. #9
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Security Error On Login - Using Updated Template!! Help!!

    Moderator note:
    Google Checkout issues moved to new thread:
    http://www.zen-cart.com/forum/showthread.php?t=90816
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. security error when logging in as customer, using custom template
    By blakdeth77 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Aug 2010, 11:24 PM
  2. Security Error Login Help!
    By snuggle5 in forum General Questions
    Replies: 1
    Last Post: 5 Jun 2010, 11:21 AM
  3. Replies: 0
    Last Post: 3 Jan 2010, 12:44 AM
  4. Replies: 4
    Last Post: 24 May 2009, 06:11 PM
  5. There was a security error when trying to login. - 1.36 Template, 1.38 Zen Cart
    By emptywalls in forum Upgrading from 1.3.x to 1.3.9
    Replies: 7
    Last Post: 14 Feb 2008, 11:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg