Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / Unable to login to admin with 1.3.8

Unable to login to admin with 1.3.8

Locked

Views: 2,036

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
12 Dec 2007, 3:43 PM
#1
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Unable to login to admin with 1.3.8

I'm still unable to login to the admin,

Not using either of these files:

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

I am using the /admin/login.php from 1.3.8 with not changes.

I'm using /includes/functions/sessions.php file from 1.3.8.

I've deleted my cookies, completed a hard refresh, closed browser, reopened browser, attempted login, and still get, There was a security error when trying to login.

12 Dec 2007, 4:43 PM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Unable to login to admin with 1.3.8

Same for me, fresh installs, on localhost, using either 1.3.8 or latest version i.e.
1.3.8a..also deleted cookies, closed browser, reopened browser..
using MIE7.. failed again..redid procedures..tried with Firefox..
same result..cannot login to admin..
:(

12 Dec 2007, 5:28 PM
#3
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Unable to login to admin with 1.3.8

try using the sessions file from 1.3.7

12 Dec 2007, 5:47 PM
#4
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Unable to login to admin with 1.3.8

Merlinpa1969:

try using the sessions file from 1.3.7
Good suggestion.. thanks..tried..no joy..
However
login as admin via

http://localhost/zen138/admin

FAILS
login with domain name associated with localhost
install via noip i.e.

http://mydomain.co.uk/zen138/admin

SUCCESS
:clap:
but
:dontgetit

12 Dec 2007, 6:10 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: Unable to login to admin with 1.3.8

Does your configure.php file contain the "localhost" for your URL, or your domain name?

It's not wise to mix them up ... the PHP login session uses the domain name to start the session. If that name changes, the session becomes invalid.

This is not new to 1.3.8.

12 Dec 2007, 6:24 PM
#6
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Unable to login to admin with 1.3.8

DrByte:

Does your configure.php file contain the "localhost" for your URL, or your domain name?
It's not wise to mix them up ... the PHP login session uses the domain name to start the session. If that name changes, the session becomes invalid.
This is not new to 1.3.8.
Both configure files set as localhost..never had problem before using this
setup..i.e. from zencart 1.25 thru to 1.3.7.1..actual store works fine using

http://localhost/zen138/
12 Dec 2007, 6:45 PM
#7
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: Unable to login to admin with 1.3.8

I just completed a fresh install, or new install of 1.3.8. and it works fine. I'm starting to think it may be easier just import my products and upload the template files to this install.

What's the logic of using the sessions file from 1.3.7? I will need to add the new security code to it first wouldn't I?