Forums / Basic Configuration / change url .. can't login

change url .. can't login

Locked

Started by traceywashere on 16 Dec 2008, 7:07 PM · Views: 2,764

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
16 Dec 2008, 7:07 PM
#1
traceywashere avatar

traceywashere

New Zenner

Join Date:
Dec 2008
Posts:
19
Plugin Contributions:
0

change url .. can't login

eeek! so .. I installed zencart on my domain at domain.com/zencart .. i then figured out that it would be prettier to have shop.mydomain.com instead ... so i created a subdomain which is aimed at the /zencart directory

so . i changed the configuration.php file and the admin/includes/configuration.php file ..

everything seems to work .. but .. now users can't log in

did i miss a file?:oops:

16 Dec 2008, 7:11 PM
#2
traceywashere avatar

traceywashere

New Zenner

Join Date:
Dec 2008
Posts:
19
Plugin Contributions:
0

Re: change url .. can't login

oh .. i get no error .. it just kicks me back to the front page and sees me as guest.

16 Dec 2008, 7:23 PM
#3
traceywashere avatar

traceywashere

New Zenner

Join Date:
Dec 2008
Posts:
19
Plugin Contributions:
0

Re: change url .. can't login

btw ... from /includes/configure.php i changed the following:
i did the same basic thing in the admin/includes/configure.php file

  define('HTTP_SERVER', 'http://shop.domain.com');
  define('HTTPS_SERVER', 'https://shop.domain.com');

  // Use secure webserver for checkout procedure?
  define('ENABLE_SSL', 'false');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
  // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
  define('DIR_WS_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/');
16 Dec 2008, 8:05 PM
#4
gsicard avatar

gsicard

New Zenner

Join Date:
Dec 2004
Location:
Suffolk, VA, USA
Posts:
24
Plugin Contributions:
0

Re: change url .. can't login

Did you change the same in the /admin directory.

Gary
My store is at http://molosserdesign.com

16 Dec 2008, 8:10 PM
#5
traceywashere avatar

traceywashere

New Zenner

Join Date:
Dec 2008
Posts:
19
Plugin Contributions:
0

Re: change url .. can't login

well ... there's a configuration.php in /admin .. but it's generic .. has no domain name or path info

i changed /includes/configuration.php and
i changed /admin/includes/configuration.php

currently i put the includes/configuration.php back to it's original state .. and it works again (but not with new url) ...

help would be appreciated! :bigups:

21 Dec 2008, 3:39 PM
#6
traceywashere avatar

traceywashere

New Zenner

Join Date:
Dec 2008
Posts:
19
Plugin Contributions:
0

Re: change url .. can't login

anyone? anyone?:blink:

21 Dec 2008, 4:26 PM
#7
steve_1 avatar

steve_1

Zen Follower

Join Date:
Sep 2008
Location:
London UK
Posts:
100
Plugin Contributions:
0

Re: change url .. can't login

if you have setup sub domain in your host cPanel and set it to point to 'shop' folder on server

then believe requires moving all files to 'shop' folder that needs to be created

if setup shop subdomain to point to zencart folder then it will go there everytime you want shop.domain as you have told it to go to zencart folder

I could be wrong though and perhaps someone else will advise more accurately if I am wrong

21 Dec 2008, 4:30 PM
#8
traceywashere avatar

traceywashere

New Zenner

Join Date:
Dec 2008
Posts:
19
Plugin Contributions:
0

Re: change url .. can't login

yes, it was in cpanel that i created the subdomain, and gave it the directory zecart is in. (no need to create a new directory to move it to .. you can simply tell it where to go..)

it's really strange because as admin, it works ... it's just as a user that it doesn't.

22 Dec 2008, 10:16 AM
#9
steve_1 avatar

steve_1

Zen Follower

Join Date:
Sep 2008
Location:
London UK
Posts:
100
Plugin Contributions:
0

Re: change url .. can't login

yes .. but you need a folder you want it to go to ... if setting it to go to zencart directory then it will not show shop before the domain name

try it ... create a shop folder and add a simple index.html page

then set your shop subdomain to point to the shop folder you created and see what happens

22 Dec 2008, 4:38 PM
#10
traceywashere avatar

traceywashere

New Zenner

Join Date:
Dec 2008
Posts:
19
Plugin Contributions:
0

Re: change url .. can't login

-Steve-:

yes .. but you need a folder you want it to go to ... if setting it to go to zencart directory then it will not show shop before the domain name

try it ... create a shop folder and add a simple index.html page

then set your shop subdomain to point to the shop folder you created and see what happens

sorry steve .. afraid you're wrong ... or not understanding me ..

i created the subdomain, gave it the path to zencart ...
then .. i changed the 2 different config files with the updated site name (http://shop.domain.com versus http://domain.com/zencart) .. the rest of the paths remain the same

both work .. admin and catalog ... i can log in as admin .. but if i try to log in the catalog as anyone .. it just kicks me back to the front page of the shop ... no message no nothing. ..

22 Dec 2008, 5:07 PM
#11
traceywashere avatar

traceywashere

New Zenner

Join Date:
Dec 2008
Posts:
19
Plugin Contributions:
0

Re: change url .. can't login

here's a screen shot from cpanel

it's all good there.

22 Dec 2008, 5:35 PM
#12
dbltoe avatar

dbltoe

Totally Zenned

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

Re: change url .. can't login

ether you have left a "/zencart" in the catalog config or you have a hard-coded link somewhere with /zencart in it.

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

22 Dec 2008, 5:39 PM
#13
traceywashere avatar

traceywashere

New Zenner

Join Date:
Dec 2008
Posts:
19
Plugin Contributions:
0

Re: change url .. can't login

well ... you'd think ... that's been my whole big question that started this thread ... other than in the catalog's config file:

define('HTTP_SERVER', 'http://shop.domain.com');
  define('HTTPS_SERVER', 'https://shop.domain.com');

  // Use secure webserver for checkout procedure?
  define('ENABLE_SSL', 'false');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
  // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
  define('DIR_WS_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/');

where else could it be?

i'm a little frustrated.... :'(

22 Dec 2008, 5:48 PM
#14
traceywashere avatar

traceywashere

New Zenner

Join Date:
Dec 2008
Posts:
19
Plugin Contributions:
0

Re: change url .. can't login

i wonder if it's some session setting? i just tried my changed config .. cleared out cookies and stuff on firefox and chrome ... and it worked .. ie, regardless of what i seem to do, still won't work ... hrmmmm

22 Dec 2008, 6:06 PM
#15
dbltoe avatar

dbltoe

Totally Zenned

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

Re: change url .. can't login

So....
now Template Monster is disguising itself as Delta?

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

28 Dec 2008, 8:43 AM
#16
dachilla avatar

dachilla

New Zenner

Join Date:
Feb 2006
Posts:
66
Plugin Contributions:
1

Re: change url .. can't login

tracey, this looks like a security error to me. I had a similar problem and did the following:

  1. I checked my configure.php and admin/configure.php again and found nothing wrong
  2. I (did not, but should have) backed up my database
  3. I went to my install folder using my webbrowser
  4. I updated the database even though there was nothing to update but just ran it
  5. I went to my webpage and login was working

D.C.