Zen Cart Logo
Forums / Basic Configuration / Admin Pages Broken After Rename of Store Admin Folder

Admin Pages Broken After Rename of Store Admin Folder

Locked

Views: 3,355

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
25 Mar 2010, 7:11 AM
#1
sarshmeh avatar

sarshmeh

New Zenner

Join Date:
Mar 2010
Posts:
3
Plugin Contributions:
0

Admin Pages Broken After Rename of Store Admin Folder

hi all,
i had my site seriously hacked so i had to modify and institute some security measure such as changing the name of the STORE Admin folder from "Admin" to "SOMETHING".

I have successfully done this to the point where i can login in using my admin username and password etc and i can see the zen-cart interface where i see all expected links such as statistics, new customers, new orders as well as all zen cart menu items.

However clicking on anything gives me this error message:

"Page Not Found
The page you tried to access does not exist on this server. This page may not exist due to the following reasons:

You are the owner of this web site and you have not uploaded (or incorrectly uploaded) your web site. For information on uploading your web site using FTP client software or web design software, click here for FTP Upload Information.
The URL that you have entered in your browser is incorrect. Please re-enter the URL and try again.
The Link that you clicked on incorrectly points to this page. Please contact the owner of this web site to inform them of this situation."

I also notice that the link it is routing any link to is WRONG...
it should be going to the newly made admin folder named "SOMETHING" but it's going to the previously named "admin" folder... here are some examples of the link it is trying to go to...

http://mywebsite.com/store/admin/server_info.php
http://mywebsite.com/store/admin/index.php

Obviously this is because the admin folder no longer exists and should be going to

http://mywebsite.com/store/SOMETHING/server_info.php
http://mywebsite.com/store/SOMETHING/index.php

but where do i have to make this adjustment to the setting to make it find the files in the newly named store admin folder "SOMETHING"??

If someone can help me i'd really really appreciate it.
Thanks so much

25 Mar 2010, 9:09 AM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Admin Pages Broken After Rename of Store Admin Folder

Did you edit the admin/includes/configure.php file to change the three instances of 'admin' in the defines to 'SOMETHING' ?

26 Mar 2010, 1:10 AM
#3
sarshmeh avatar

sarshmeh

New Zenner

Join Date:
Mar 2010
Posts:
3
Plugin Contributions:
0

Re: Admin Pages Broken After Rename of Store Admin Folder

Yes i did that already in both configure.php files on my site. Any other ideas?

26 Mar 2010, 1:16 AM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Admin Pages Broken After Rename of Store Admin Folder

If it is trying to go to /admin/, then the edits didn't take hold. Are you sure that the /something/includes/configure.php on your server has the updated info?

26 Mar 2010, 1:41 AM
#5
sarshmeh avatar

sarshmeh

New Zenner

Join Date:
Mar 2010
Posts:
3
Plugin Contributions:
0

Re: Admin Pages Broken After Rename of Store Admin Folder

yup you were both right... for some reason the changes didn't make it back on to the server... i checked and fixed the configure.php file... and PERFECT!

Thanks guys! I really appreciate the fast help!