Forums / Installing on a Windows Server / Renamed Admin Folder Not Found

Renamed Admin Folder Not Found

Started by wormwood on 9 May 2012, 9:22 AM · Views: 2,577

Results 1 to 8 of 8
9 May 2012, 9:22 AM
#1
wormwood avatar

wormwood

New Zenner

Join Date:
May 2012
Posts:
4
Plugin Contributions:
0

Renamed Admin Folder Not Found

I've just installed ZC 1.5 on a new host and everything seems to have gone well except that since renaming the admin folder I am unable to access admin, the page displaying:

'Not Found
The requested URL /****/ was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.'

Now I must admit to being fairly new to all this and thought I'd learn by trial-and-error, but I cannot seem to get past this. Any help would be much appreciated.

9 May 2012, 9:30 AM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Renamed Admin Folder Not Found

If the browser can't find the page, it most likely doesn't exist. Are you sure you're entering the right folder name and path ?

9 May 2012, 9:39 AM
#3
wormwood avatar

wormwood

New Zenner

Join Date:
May 2012
Posts:
4
Plugin Contributions:
0

Re: Renamed Admin Folder Not Found

Opps, I've just realised that I should have posted this under 'Installing on a Linux/Unix Server' (my server is Unix). Any chance of it being moved?

stevesh:

If the browser can't find the page, it most likely doesn't exist. Are you sure you're entering the right folder name and path ?

I've doubled checked: the name and path seem to be correct, thanks.

9 May 2012, 11:13 AM
#5
stevesh avatar

stevesh

Black Belt

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

Re: Renamed Admin Folder Not Found

I'm going to guess you used an auto-installer offered by your host to install Zencart, which installed it in a subdirectory named /store. You can move everything to the root (top) directory if you want and edit both configure.php files to remove the /store part.

http://www.zen-cart.com/content.php?160

9 May 2012, 11:22 AM
#6
wormwood avatar

wormwood

New Zenner

Join Date:
May 2012
Posts:
4
Plugin Contributions:
0

Re: Renamed Admin Folder Not Found

stevesh:

I'm going to guess you used an auto-installer offered by your host to install Zencart, which installed it in a subdirectory named /store. You can move everything to the root (top) directory if you want and edit both configure.php files to remove the /store part.http://www.zen-cart.com/content.php?160

Is that necessary? Thanks for your help.

9 May 2012, 11:42 AM
#7
stevesh avatar

stevesh

Black Belt

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

Re: Renamed Admin Folder Not Found

I would. I think it makes sense to have your site in the root of the domain. Otherwise you'll need some sort of page in the root directing visitors to the /store directory - one more click before they can start buying stuff.

11 May 2012, 6:05 PM
#8
romelio avatar

romelio

New Zenner

Join Date:
Sep 2010
Posts:
1
Plugin Contributions:
0

Re: Renamed Admin Folder Not Found

I have exactly the same issue. When I rename the folder back to zc_admin I am able to log in with no problem. I never modified any files since the instructions said it was not required. I am using a clean install of 1.5. FINALLY was able to make it work by changing admin/includes/configure.php in three locations, replacing admin with my new directory name.

Change this section:

define('DIR_WS_ADMIN', '/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/admin/');
define('DIR_WS_HTTPS_CATALOG', '/');

And this section:

define('DIR_FS_ADMIN', '/home/mystore.com/www/public/admin/');
define('DIR_FS_CATALOG', '/home/mystore.com/www/public/');

I hope this doesn't cause other problems down the road.