Zen Cart Logo
Forums / Basic Configuration / Accessing Admin remotely

Accessing Admin remotely

Locked

Views: 648

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
24 Jun 2010, 12:06 AM
#1
taylorh avatar

taylorh

New Zenner

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

Accessing Admin remotely

Hi;

I am setting up a Zen Cart store for a client.  As a test, since I have never used Zen Cart before, I installed it on my home server (1.3.9b).  Now I am having an issue, and I think I know what it is related to.

First off, when I installed it, everything looked good when viewed from the server itself ('localhost'), but when I viewed it from another computer on the network via IP or via my dyndns account

http://taylorhuston.dyndns.org/responsible-living/catalog/

none of the images or css styling showed up. I did some research and found out that it was because I must have specified 'localhost' somewhere during the installation procedure. I fixed that by editing the configure.php file to list the server as:

http://taylorhuston.dyndns.org/responsible-living/catalog/

So now it looks fine when I access it from that link, but, when I try and go to

http://taylorhuston.dyndns.org/responsible-living/catalog/admin

my browser redirects me to

http://localhost/responsible-living/catalog/admin/login.php

So the 'localhost' issue is still getting in my way. How do I change that?

Thanks!

24 Jun 2010, 12:09 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Accessing Admin remotely

There are TWO configure.php files: one for the admin, and one for the storefront.
You'll need to update the URLs in both files.

24 Jun 2010, 12:11 AM
#3
taylorh avatar

taylorh

New Zenner

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

Re: Accessing Admin remotely

I found and looked at

/admin/configuration.php

but I couldn't find where in the file to specify that. Am I just missing it?

24 Jun 2010, 12:29 AM
#4
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Accessing Admin remotely

The admin is in the admin folder (or whatever you've named it) in the includes folder. And, it is named configure.php

24 Jun 2010, 12:49 AM
#5
taylorh avatar

taylorh

New Zenner

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

Re: Accessing Admin remotely

I don't have an admin folder in my includes.

I have an admin folder in the store root, /catalog/, and it has a file in it called configuration.php, but I couldn't find anything in it dealing with a url or server address.

But no admin folder in /catalog/includes/

24 Jun 2010, 1:15 AM
#6
taylorh avatar

taylorh

New Zenner

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

Re: Accessing Admin remotely

Oh

/catalog/admin/includes/configure.php

Found it

Yeah, im an idiot.

Except now, the admin login page just loops. Still works from the server. Infact, if I use the full web address

http://taylorhuston.dyndns.org/responsible-living/catalog/admin/login.php

from the server it works, but the same address from my desktop just loops.