If this is your first visit, check our documentation. To post, register or login.
Forums / Basic Configuration / Accessing Admin remotely

Accessing Admin remotely

Locked

Started by taylorh on 24 Jun 2010, 12:06 AM · Views: 650

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,512
Plugin Contributions:
176

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.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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,904
Plugin Contributions:
23

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

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

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.