Forums / General Questions / There was a security error when trying to login

There was a security error when trying to login

Started by matbourne on 1 Nov 2011, 9:57 AM · Views: 2,308

Results 1 to 16 of 16
1 Nov 2011, 9:57 AM
#1
matbourne avatar

matbourne

New Zenner

Join Date:
Jun 2008
Posts:
25
Plugin Contributions:
0

There was a security error when trying to login

Hi all,

Hope you can help.

I am getting the above error when trying to login as a customer and also, the create an account page is not working and redirects to itself.

This is a fresh installation of Zen Cart 1.3.9h. It has been running for 1 year without problems with the same host (Just Host). We have had an SEO company working on the site and have changed from PayPal standard to PayPal Express recently but not 100% sure when the problem first started although this must be within the last month.

Server details below:

OS: Linux 2.6.35.7-grsec
Apache: 2.2.17
PHP: 5.2.16 (Zend: 2.2.0)
MySQL: MySQL 5.0.92-community

Website: www.luxurylingerieboutique.co.uk

I have checked the template files to ensure the security token is added after password fields in the login/timeout files..

Cache folders are set correctly and has been checked with Fix Cache Key also...

I did manage to create an account last night while messing around with some of the files/settings, but now this seems to have stopped working again.

Any suggestions please? I'm a little stuck now...

1 Nov 2011, 2:30 PM
#2
matbourne avatar

matbourne

New Zenner

Join Date:
Jun 2008
Posts:
25
Plugin Contributions:
0

Re: There was a security error when trying to login

Anyone?

I'm happy to provide further information if required...

1 Nov 2011, 2:37 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: There was a security error when trying to login

If you were to use FireFox go to the Login Page and click on the icon next to your URL in the browser and click More Information then click on Media ... you would see all of the non-secure images that are causing this issue ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Nov 2011, 2:46 PM
#4
matbourne avatar

matbourne

New Zenner

Join Date:
Jun 2008
Posts:
25
Plugin Contributions:
0

Re: There was a security error when trying to login

Hi,

Thank you for your response.

So you think that the insecure items are causing the login failure?

I will look in to this now...

1 Nov 2011, 2:53 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: There was a security error when trying to login

I do not know if this is the source of the login failure but will throw errors on secure pages ...

If you switch to the Classic Template can you login?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Nov 2011, 2:58 PM
#6
matbourne avatar

matbourne

New Zenner

Join Date:
Jun 2008
Posts:
25
Plugin Contributions:
0

Re: There was a security error when trying to login

Hi,

No, the problem still occurs when using the 'classic' template...

Also to note, the insecure items have never caused problems with login before and no more media/images have been added.

Thanks in advance.

1 Nov 2011, 5:59 PM
#7
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: There was a security error when trying to login

The only error I'm getting is the non-secure content warning.

The best way to learn is to try stuff. But, back it up first.

1 Nov 2011, 7:26 PM
#8
matbourne avatar

matbourne

New Zenner

Join Date:
Jun 2008
Posts:
25
Plugin Contributions:
0

Re: There was a security error when trying to login

Sorry, all fixed now... Will post details of problem and solution later/tomorrow...

Thanks for all help

12 Nov 2011, 11:07 PM
#9
articleck avatar

articleck

New Zenner

Join Date:
Nov 2011
Posts:
33
Plugin Contributions:
0

Re: There was a security error when trying to login

How did you fix it?

I am having the same problem

13 Nov 2011, 2:15 PM
#10
matbourne avatar

matbourne

New Zenner

Join Date:
Jun 2008
Posts:
25
Plugin Contributions:
0

Re: There was a security error when trying to login

Hi,

Sorry for delay in posting how I fixed my problem.

I was basically making the correct changes to the /includes/configure.php and /admin/includes/configure.php but due to their file permissions, the changes I was making were not being saved when saving changes via FTP.

I therefore had to ensure that the file permissions were set to allow me to save the changes and then set the file permissions back.

Articleck: If the above doesn't help you out let us know some more details about your problem and we'll try to assist you further...

Thanks again everyone...

13 Nov 2011, 8:24 PM
#11
articleck avatar

articleck

New Zenner

Join Date:
Nov 2011
Posts:
33
Plugin Contributions:
0

Re: There was a security error when trying to login

Hi

This does not fix my problem...

Here it is.

I have SSL turned off, hoping to use PayPal on the store, so SSL should not be a problem here.

The problem(s) are...

  1. Customers cannot login with the password they chose at sign up, or any password sent by the system via the lost password tool. (This error is apparent in every browser tested.. IE, safari and google chrome.

  2. If using Google Chrome instead of redirecting customers to the signup page at checkout, it redirects to a login box with a confusing message about their session expiring and they have to log in again (this is everyone, including first visitors who have never created an account).

This is a fresh install of zen cart 1.3.9 with no mods activated.

server info

Server OS: Linux 2.6.18-274.7.1.el5 Database: MySQL 5.0.92-community-log
Server Date: 11/13/2011 15:22:51 Database Date: 11/13/2011 15:22:51
Server Up Time: 15:22:51 up 10 days, 5:27, 0 users, load average: 0.27, 0.29, 0.38 HTTP Server: Apache
PHP Version: 5.3.8 (Zend: 2.3.0) PHP Memory Limit: 64M PHP Safe Mode: Off
PHP File Uploads: On Max Size: 8M POST Max Size: 8M
Database Data Size: 336 kB Database Index Size: 368 kB

site http://www.magicwoodshed.com/cart/

Any help would be greatly appreciated.

Thanks
Dan

13 Nov 2011, 8:36 PM
#12
articleck avatar

articleck

New Zenner

Join Date:
Nov 2011
Posts:
33
Plugin Contributions:
0

Re: There was a security error when trying to login

I have fixed the google chrome problem by changing http:// to http://www. in the configure files... but the passwords are still not working.

13 Nov 2011, 8:44 PM
#13
articleck avatar

articleck

New Zenner

Join Date:
Nov 2011
Posts:
33
Plugin Contributions:
0

Re: There was a security error when trying to login

Correction...

I have changed this and "fixed it"

Customer can login with other browsers now.

However, Google chrome is not working. Signup page and login page just refresh when details are entered.

Obviously, this is a show stopper. 24.76% of our visitors use Google Chrome. One cannot have a store that does not work with one of the most popular browsers on the Internet.

I've read in the forum about zen cart not working right in Google chrome. Are there any fixes for this?

14 Nov 2011, 2:53 PM
#15
cygnus avatar

cygnus

New Zenner

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

Re: There was a security error when trying to login

Hi
Please can you expalin how you fixed this, I am having the exact same problem. What changes are you making in includes/configure.php?

14 Nov 2011, 3:08 PM
#16
matbourne avatar

matbourne

New Zenner

Join Date:
Jun 2008
Posts:
25
Plugin Contributions:
0

Re: There was a security error when trying to login

cygnus:

Hi
Please can you expalin how you fixed this, I am having the exact same problem. What changes are you making in includes/configure.php?

There were differences with the http/https store paths between the two configure.php files. I was setting these the same but the changes were not uploading due to file permissions.

In other words, make sure your paths are set correctly in your configure files...