If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Customer login problem

Customer login problem

Started by micmed on 8 May 2013, 1:46 PM · Views: 1,111

Results 1 to 6 of 6
8 May 2013, 1:46 PM
#1
micmed avatar

micmed

Zen Follower

Join Date:
Mar 2008
Location:
The Free South
Posts:
165
Plugin Contributions:
0

Post #1 by micmed

Searched this but did not find what I need.

My sales have dropped off over the past few months especially from current customers. I was having a problem with Google Merchant Center feeder so I thought my lack of business was due in part to Google not indexing my products correctly. I fixed that and found another problem.

If a current customer tried to login from the "Current Customers" page they will get " There was a security error when trying to login". However, with an empty cart, if they click on "Checkout" on the top menu it goes to the "Whoops! Your session has expired" screen and allows them to login.

Mods:
Apple Zen
Easy Populate
Google Merchant Center Feeder
Sitemap XML

Thanks for the help in advance.

www.theCableStation.com
"If we restrict liberty to attain security we will lose them both."

8 May 2013, 3:42 PM
#3
micmed avatar

micmed

Zen Follower

Join Date:
Mar 2008
Location:
The Free South
Posts:
165
Plugin Contributions:
0

Post #3 by micmed

lat9:

Your login page has (apparently) been modified from the default because it doesn't have the hidden input variable for your customers' session securityToken. See the following post: http://www.zen-cart.com/showthread.php?206777-Custom-Form-in-About-Us-Clone-Not-Allowed&p=1192100#post1192100.

Thanks for the reply. Are you saying that my login.php has been modified? It is the original unmodified file. Is there another file I should be looking at?

Thanks

www.theCableStation.com
"If we restrict liberty to attain security we will lose them both."

8 May 2013, 9:52 PM
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #4 by lat9

micmed:

Thanks for the reply. Are you saying that my login.php has been modified? It is the original unmodified file. Is there another file I should be looking at?

Thanks
Do you have a file named /includes/templates/avonlee_contempo/templates/tpl_login_default.php? If so, that's the one that has the issue. If that file's present, please post the first comment section to identify the 'progeny' of the file. For example, the unmodified version of the file (/includes/templates/template_default/templates/tpl_login_default.php includes:

/**
 * Page Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2011 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_login_default.php 18695 2011-05-04 05:24:19Z drbyte $
 */

You can also use your text-editor to search the file for <form, which will identify where your problem is.

8 May 2013, 10:32 PM
#5
micmed avatar

micmed

Zen Follower

Join Date:
Mar 2008
Location:
The Free South
Posts:
165
Plugin Contributions:
0

Post #5 by micmed

lat9, I found the problem. /includes/modules/pages/login/header_php.php somehow got modified. I uploaded the stock 1.5.1 file and it now works. Thanks for the help.

www.theCableStation.com
"If we restrict liberty to attain security we will lose them both."

8 May 2013, 11:52 PM
#6
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,915
Plugin Contributions:
24

Post #6 by dbltoe

Thanx for posting the fix. Those "somehow got modified" problems are often the worst. Might be time to find out how many cooks are involved here.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com