Zen Cart Logo
Forums / Basic Configuration / Renaming Admin Folder

Renaming Admin Folder

Locked

Views: 9,525

Results 21 to 33 of 33
This thread is locked. New replies are disabled.
07 Aug 2008, 17:27
#21
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Renaming Admin Folder

Did you first do the other stuff mentioned?

"If you know the file is there then perhaps it is a permission problem.

Use your FTP program to see what the permissions are; should be 644 or you can do the following."

You can use your FTP program to change permissions back, if 444 permissions are causing a problem. Remember, we are discussing permissions for just the two config files, nothing else.

07 Aug 2008, 19:22
#22
higherselfgifts avatar

higherselfgifts

New Zenner

Join Date:
Aug 2008
Location:
St. Petersburg, FL
Posts:
16
Plugin Contributions:
0

Re: Renaming Admin Folder

?

I changed the permissions to 644 immediately after there was nothing showing up.

I even reinstalled the program in a different folder and database :blink:and compared the configure.php files, they are identical, save the database and root folder.

everything i seem to do gets me further away from where I was 3 days ago. I will have to start over. But I will keep hacking away to figure out what went wrong so it does not happen again.

01 Sep 2008, 09:46
#23
thebasher avatar

thebasher

New Zenner

Join Date:
Dec 2007
Posts:
53
Plugin Contributions:
0

Re: Renaming Admin Folder

I followed the instructions on renaming the admin folder but now when I try to upload my configure.php file I get this error:

"error 160 - could not start data transfer"
"Server said: Can't open that file: permission denied"

Has anyone had this problem before?

Thanks

01 Sep 2008, 10:08
#24
thebasher avatar

thebasher

New Zenner

Join Date:
Dec 2007
Posts:
53
Plugin Contributions:
0

Re: Renaming Admin Folder

I'm an idiot! :frusty:

I had my configure.php file set to permissions 444. Quickset to 777, upload and back to 444 and all is good.

19 Jul 2009, 21:58
#25
beanman1 avatar

beanman1

New Zenner

Join Date:
Jul 2009
Posts:
7
Plugin Contributions:
0

Re: Renaming Admin Folder

My site got hacked by C99SHELL so I had to do a fresh install. So then I did some looking for additional security measures and found the renaming the admin folder instructions.

So, I rename the admin folder and edit the 3 spots noted and I now get an Error 404 message when I try to log into my admin area. After I punch in my log in name and password it tries to redirect to https://mydomain.com/folder/admin/login.php instead of .../newadminfoldername/login.php.

What did I screw up?

19 Jul 2009, 22:51
#26
drbyte avatar

drbyte

Sensei

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

Re: Renaming Admin Folder

You didn't follow all the instructions, namely the part about making the configure.php file writable before uploading your changes. If the file is read-only, then any changes you attempt to make to it or upload over it ... will fail.

20 Jul 2009, 12:46
#27
beanman1 avatar

beanman1

New Zenner

Join Date:
Jul 2009
Posts:
7
Plugin Contributions:
0

Re: Renaming Admin Folder

OK, made it writable by Owner, edited it again, and still same error.

20 Jul 2009, 12:48
#28
beanman1 avatar

beanman1

New Zenner

Join Date:
Jul 2009
Posts:
7
Plugin Contributions:
0

Re: Renaming Admin Folder

Nevermind. I'm a retard and figured it out.

Thank you for the help!

21 Jul 2009, 16:29
#29
normarizona avatar

normarizona

New Zenner

Join Date:
Jul 2009
Posts:
1
Plugin Contributions:
0

Re: Renaming Admin Folder

I go to admin/includes - but only find file dist-configure.php - no file configure.php. Is this the same?

21 Jul 2009, 19:01
#30
drbyte avatar

drbyte

Sensei

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

Re: Renaming Admin Folder

No, it's not the same.

Your site won't run if the configure.php file doesn't exist there. So ... if it's running, then the file must be there.
Maybe you've got restricted permissions set of the file that are preventing you from accessing it via FTP. Maybe you need to use your hosting control panel's file manager to change the permissions to a higher level so you can see it and download/edit/update it.

22 Jul 2009, 14:20
#31
beanman1 avatar

beanman1

New Zenner

Join Date:
Jul 2009
Posts:
7
Plugin Contributions:
0

Re: Renaming Admin Folder

Thanks for the help. The admin area's fixed now. Just have to redo all my product image links now since they're all broken... Joy...

22 Jul 2009, 16:37
#32
drbyte avatar

drbyte

Sensei

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

Re: Renaming Admin Folder

beanman1:

Just have to redo all my product image links now since they're all broken... Joy...
That's one side-effect of inserting links to images that aren't managed by Zen Cart.

11 Nov 2009, 23:13
#33
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Renaming Admin Folder

dontknowwhatimdoing:

Ok--it worked fine this time, I did the exact same thing as before! (exactly the same as you experienced guys instructed)

BUT.. there's one critical difference.

I re-installed zen cart, and I didn't turn on the automatic file based cacheing function.

I'm guessing having this option on somehow prevented me from using the newly created admin area--I only say this because leaving it off, somehow let me make this change that had me stumped yesterday.

I hopefully I can turn on the file based cache module on later--I want my site to run fast :)

Anyway, I'm happy to say my admin area is now secure, thanks for the help :)

How did you prevent cacheing function off? I am having the same issue. Which cache file did you use? Kim