Zen Cart Logo
Forums / General Questions / Security error when trying to login

Security error when trying to login

Locked

Views: 3,125

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
7 Jan 2008, 4:14 PM
#1
gnp avatar

gnp

New Zenner

Join Date:
Nov 2007
Posts:
9
Plugin Contributions:
0

Security error when trying to login

I am attempting to set up Zen Cart but getting this error when trying to log in as a customer.
"There was a security error when trying to login"

  1. I am not using SSL
  2. I have tried reseting password, clearing cache & history
  3. I have tried from a second browser that has never visited the site
  4. I tried the fix reported in another post {changing my tpl_header file to} <?php echo zen_href_link(FILENAME_LOGIN, '', 'NONSSL'); ?>
  5. I am using paypal ipn and check/money order as payment options

Server info is...
PHP Version: 5.2.5 (Zend: 2.2.0)
HTTP Server: Apache/1.3.39 (Unix) mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 mod_ssl/2.8.30 OpenSSL/0.9.8b

Web URL is... http://www.gnpgear.org

Thanks in advance for any help/info

7 Jan 2008, 4:49 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,659
Plugin Contributions:
0

Re: Security error when trying to login

What version of Zen Cart? Clean install or upgrade?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

7 Jan 2008, 4:53 PM
#3
gnp avatar

gnp

New Zenner

Join Date:
Nov 2007
Posts:
9
Plugin Contributions:
0

Re: Security error when trying to login

Sorry, I knew Id leave out some important info :)

Clean install of version Zen Cart 1.3.8a

And... Just so happens Kim I have 2 of those birds in your avatar along with 4 other parrots

7 Jan 2008, 5:47 PM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,659
Plugin Contributions:
0

Re: Security error when trying to login

If you switch back (temporarily) to the classic template do you still get the error?

The Amazon in my avatar is our 25 year old Blue Front. He is one of several parrots in my house, includes 2 African Greys and a Cockatoo.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

7 Jan 2008, 6:01 PM
#5
gnp avatar

gnp

New Zenner

Join Date:
Nov 2007
Posts:
9
Plugin Contributions:
0

Re: Security error when trying to login

If I use the theme "Classic Contemporary Green" I still have the same issue :(

I have 2 blue front amazons, 1 double yellow head amazon, 1 military macaw, 1 umbrella cockatoo and 1 white capped pionus

7 Jan 2008, 6:19 PM
#6
gnp avatar

gnp

New Zenner

Join Date:
Nov 2007
Posts:
9
Plugin Contributions:
0

Re: Security error when trying to login

Hmmm? were did the edit button go? It says I can edit my posts but I dont see a link or button to do it with... Anyway.
Im trying to find someone to create an account to see if they have the same issue but no luck yet.
I have to run out for a bit and may have pc access at the hospital so will try making a second account from there to see if I can reproduce the issue.

7 Jan 2008, 6:39 PM
#7
jammin320 avatar

jammin320

Zen Follower

Join Date:
Mar 2007
Location:
Seattle, WA
Posts:
158
Plugin Contributions:
0

Re: Security error when trying to login

I Am afraid that I don't have an answer for you, however I was able to reproduce the behavior that you are describing. When I created a new account, it proceeded normally and then logged me in when I was finished. I logged out, and then attempted to log back in. I got the security error that you saw after entering my username and password.

I am sorry - that one is weird and outside my area of expertise, however, it does appear to be global and not related to issues on specific boxes.

8 Jan 2008, 12:09 AM
#8
gnp avatar

gnp

New Zenner

Join Date:
Nov 2007
Posts:
9
Plugin Contributions:
0

Re: Security error when trying to login

Sad to say but I have verified the same. I was in hopes it would work from another computer connection and figure it was just my pc or network but I too have tried from elsewhere and get the exact same results :(
I have searched the forums but no luck finding someone with the same problems so am totally stuck at this point.

8 Jan 2008, 12:48 AM
#9
gabenn2 avatar

gabenn2

Zen Follower

Join Date:
Feb 2007
Posts:
109
Plugin Contributions:
0

Re: Security error when trying to login

Are you using the login box mod?

8 Jan 2008, 1:21 AM
#10
gnp avatar

gnp

New Zenner

Join Date:
Nov 2007
Posts:
9
Plugin Contributions:
0

Re: Security error when trying to login

No, just trrying to log in from either msg on main paig or link at top of page, both of which redirect you to https://www.mysite.com/index.php?main_page=login

8 Jan 2008, 2:15 AM
#11
gnp avatar

gnp

New Zenner

Join Date:
Nov 2007
Posts:
9
Plugin Contributions:
0

Re: Security error when trying to login

Well first off...
THANKS!
To everyone for the quick replies and trying to help out.
Ive fixed the problem.

Seems when I first installed ZC on my test server to play around with themeing and to see if it would suit my needs I started out with 1.3.7 or 1.3.8 and when I did a clean install of 1.3.8a I didnt update the template files in my theme.
Once I updated all of those files the problem was fixed. I assume it was the 2 files...

  • /includes/templates/YOUR_TEMPLATE/templates/tpl_login_default.php
  • /includes/templates/YOUR_TEMPLATE/templates/tpl_timeout_default.php

Again I want to thank all that took the time to try and help, ZC seems to have a great community behind it which is always a big plus when dealing with a project like this.

Thanks and I hope you all have a great New Year.
Im sure Ill be back for more help and suggestions in the future :)

8 Jan 2008, 2:25 AM
#12
jammin320 avatar

jammin320

Zen Follower

Join Date:
Mar 2007
Location:
Seattle, WA
Posts:
158
Plugin Contributions:
0

Re: Security error when trying to login

Amazing - Good work. Thanks for posting your resolution.

8 Jan 2008, 6:04 AM
#13
gnp avatar

gnp

New Zenner

Join Date:
Nov 2007
Posts:
9
Plugin Contributions:
0

Re: Security error when trying to login

Again I just want to say thanks to everyone for the quick replies.
Only thing Zen Cart is missing IMHO is a good old IRC chat room :)
(there may be one Ive just not found it yet

8 Jan 2008, 7:16 AM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Security error when trying to login

There's also the FAQs:
https://www.zen-cart.com/tutorials/index.php?article=312

and the "Similar Threads" info at the bottom of this page ...

.
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 Jan 2008, 7:22 AM
#15
gnp avatar

gnp

New Zenner

Join Date:
Nov 2007
Posts:
9
Plugin Contributions:
0

Re: Security error when trying to login

DrByte:

There's also the FAQs:
https://www.zen-cart.com/tutorials/index.php?article=312

and the "Similar Threads" info at the bottom of this page ...

Yeah... Thats what helped me figure it out on my own, might have figured it out a bit sooner if I would have paid a little more attention.
I did use the search feature but it didnt return the same info as what was located at the bottom of the thread. (Probably just me not searching for the right theings) :blush:

8 Jan 2008, 7:35 AM
#16
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Security error when trying to login

No worries.
The information is "around".
Sometimes a little searching reveals it.
Sometimes asking helps expose it.
Sometimes I post these FAQ links and search tips after the resolution just so whoever finds this thread via a future search will also follow the link to the solution and thus get their answer faster :smile:

.
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.