If this is your first visit, check our documentation. To post, register or login.
Forums / Installing Zen Cart / Installing on a Linux/Unix Server / Admin doesn't work using sub folder

Admin doesn't work using sub folder

Started by phishyman2 on 10 Oct 2011, 5:27 PM · Views: 1,192

Results 1 to 7 of 7
10 Oct 2011, 5:27 PM
#1
phishyman2 avatar

phishyman2

New Zenner

Join Date:
Jan 2011
Posts:
4
Plugin Contributions:
0

Post #1 by phishyman2

I am wanting to test Zencart but I do not have possession of the domain I will use. My idea was to install Zencart in a subfolder of my Wordpress site (https://www.mysite.com/testsite). When I go to that address it seems to work fine, but when I go to https://www.mysite.com/testsite/admin it pulls up my wordpress site and displays a page that doesn't exist. Any ideas?

10 Oct 2011, 5:31 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #2 by stevesh

How did you install Zencart ? Did you change the name of the 'admin' folder after installation ?

10 Oct 2011, 5:34 PM
#3
phishyman2 avatar

phishyman2

New Zenner

Join Date:
Jan 2011
Posts:
4
Plugin Contributions:
0

Post #3 by phishyman2

I used cpanel (fantastico) to install it into a subfolder. I did not rename the admin folder. I also don't see an admin folder unless its in another folder.

10 Oct 2011, 6:30 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #4 by stevesh

That's one of the problems with using an auto-installer. Zencart won't allow you to access the admin unless you change the admin folder name, so Fantastico must have done it for you. The renamed admin folder will be in the root of your store (www .mysite.com/testsite), so you'll need to check the folders there to find out which is admin, and point your browser there.

10 Oct 2011, 6:34 PM
#5
phishyman2 avatar

phishyman2

New Zenner

Join Date:
Jan 2011
Posts:
4
Plugin Contributions:
0

Post #5 by phishyman2

Thanks Steve. I just figured that out and was about to come back on to say so. Fantastico did rename the admin folder. Everything seems to be working now.

10 Oct 2011, 6:38 PM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #6 by schoolboy

I think the default for fantastico is zc_admin.

Please appreciate that this is still insecure. Hackers know that many people install with fantastico, and will try zc_admin.

Best you re-name it to something less obvious.

Bear in mind that you need to EDIT:

zc_admin/includes/configure.php first, changing the name there too.

After editing, you then re-name the folder.

20 years a Zencart User

10 Oct 2011, 6:42 PM
#7
phishyman2 avatar

phishyman2

New Zenner

Join Date:
Jan 2011
Posts:
4
Plugin Contributions:
0

Post #7 by phishyman2

Thanks for the info. I have indeed modified the configure.php file and changed the folder name. Things seem to be working great.

Thanks again to everyone that helps on this board.