Forums / Templates, Stylesheets, Page Layout / There was a security error when trying to login.

There was a security error when trying to login.

Locked

Started by letum on 28 May 2008, 7:24 AM · Views: 1,394

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
28 May 2008, 7:24 AM
#1
letum avatar

letum

New Zenner

Join Date:
Jan 2008
Location:
Australia
Posts:
30
Plugin Contributions:
0

There was a security error when trying to login.

Hi everyone

I got this message "There was a security error when trying to login." when I tried to login.

I checked the Tutorials/Help/KB section of the site and the it mentioned that this happens when you upgrade to the latest version. However I have not used a previous version of Zencart on this site. Is there anyone who can help?

28 May 2008, 7:42 AM
#2
fatguyinaz avatar

fatguyinaz

Zen Follower

Join Date:
Oct 2007
Location:
Safford, AZ
Posts:
313
Plugin Contributions:
0

Re: There was a security error when trying to login.

See this -> https://www.zen-cart.com/tutorials/index.php?article=312

I don't believe this only happens after an upgrade. It mentions it could happen if you have customized template "login" files. Check those mentioned in the tutorial above.

Steve
Zen cart version: 1.3.9h

28 May 2008, 8:19 AM
#3
letum avatar

letum

New Zenner

Join Date:
Jan 2008
Location:
Australia
Posts:
30
Plugin Contributions:
0

Re: There was a security error when trying to login.

FatGuyinAZ:

See this -> https://www.zen-cart.com/tutorials/index.php?article=312

I don't believe this only happens after an upgrade. It mentions it could happen if you have customized template "login" files. Check those mentioned in the tutorial above.

I have those files in my custom template, But what am I suppose to merge them with? those files dont exist in the default template

28 May 2008, 8:25 AM
#4
fatguyinaz avatar

fatguyinaz

Zen Follower

Join Date:
Oct 2007
Location:
Safford, AZ
Posts:
313
Plugin Contributions:
0

Re: There was a security error when trying to login.

I can't help you much there. However, the 1st thing I would do is compare the:

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

with fresh files from version 1.3.8a, which can be found in:

/includes/templates/template_default/templates/

Steve
Zen cart version: 1.3.9h

28 May 2008, 8:42 AM
#5
letum avatar

letum

New Zenner

Join Date:
Jan 2008
Location:
Australia
Posts:
30
Plugin Contributions:
0

Re: There was a security error when trying to login.

FatGuyinAZ:

I can't help you much there. However, the 1st thing I would do is compare the:

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

with fresh files from version 1.3.8a, which can be found in:

/includes/templates/template_default/templates/

Okay. I compared both lots of the files, and there were some differences. So I added the missing bits into the custom template files but it is still happening. The only other differences between the two were the custom files had extra lines. But they looks like they are for design.

28 May 2008, 9:00 AM
#6
fatguyinaz avatar

fatguyinaz

Zen Follower

Join Date:
Oct 2007
Location:
Safford, AZ
Posts:
313
Plugin Contributions:
0

Re: There was a security error when trying to login.

Sorry I have to step out now. I will keep an eye on this thread so I can learn for future reference. Some of the really smart forum people will have to help now.
:smile:

Steve
Zen cart version: 1.3.9h

29 May 2008, 12:24 AM
#7
letum avatar

letum

New Zenner

Join Date:
Jan 2008
Location:
Australia
Posts:
30
Plugin Contributions:
0

Re: There was a security error when trying to login.

FatGuyinAZ:

Sorry I have to step out now. I will keep an eye on this thread so I can learn for future reference. Some of the really smart forum people will have to help now. :smile:

Thanks for the help.

Now I just need to get more people to this thread.....

29 May 2008, 12:47 AM
#8
letum avatar

letum

New Zenner

Join Date:
Jan 2008
Location:
Australia
Posts:
30
Plugin Contributions:
0

Re: There was a security error when trying to login.

Letum:

Thanks for the help.

Now I just need to get more people to this thread.....

All is working now. Turns out the sessions.php hadnt uploaded properly.