Forums / General Questions / Admin folder rename problem with upgrade

Admin folder rename problem with upgrade

Views: 1,020

Results 1 to 10 of 10
9 May 2011, 8:38 PM
#1
lilrowo avatar

lilrowo

New Zenner

Join Date:
May 2007
Posts:
60
Plugin Contributions:
0

Admin folder rename problem with upgrade

I upgraded to the latest version of zencart, 1.39h and had to change my admin folder name with this latest upgrade in order to access my admin page. I had attempted to do so before without success before the upgrade, but didn't have a choice with this one.

I followed the instructions for updating the admin folder, but now I can't access my admin. The page went to the

"Hello. Thank you for loading Zen Cart™.
You are seeing this page for one or more reasons:
This is your first time using Zen Cart™ and you haven't yet completed the normal Installation procedure... etc.

I changed it all back to the way it was, but still can't access the admin site. Help.

9 May 2011, 8:47 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,186
Plugin Contributions:
0

Re: Admin folder rename problem with upgrade

Explain the steps your followed or the tutorial you followed to attempt this please...

Read this again.. > https://www.zen-cart.com/tutorials/index.php?article=33

are you using a test folder? www.yoursite.com/test
and within this is Zen Cart?

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.

9 May 2011, 8:49 PM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Admin folder rename problem with upgrade

There are only 3 edits in the admin configure.php that are required

Say it currently reads, in order of appearance

define('DIR_WS_ADMIN', '/[B]admin[/B]/');
define('DIR_WS_HTTPS_ADMIN', '/[B]admin[/B]/');
define('DIR_FS_ADMIN', '/home/account/public_html/[B]admin[/B]/');

you just remane the admin directory with FTP and change the 3 entries to match

So if the new directory name is "secret"(note all lowercase)but not required just so long as they match

define('DIR_WS_ADMIN', '/[B]secret[/B]/');
define('DIR_WS_HTTPS_ADMIN', '/[B]secret[/B]/');
define('DIR_FS_ADMIN', '/home/account/public_html/[B]secret[/B]/');

"account" is your account name whatever that is
And yours maybe htdocs or something else versus public_html depending upon your server
Should be simple and no magic

Zen-Venom Get Bitten

9 May 2011, 8:57 PM
#4
lilrowo avatar

lilrowo

New Zenner

Join Date:
May 2007
Posts:
60
Plugin Contributions:
0

Re: Admin folder rename problem with upgrade

I followed the steps on the tutorial that reads "How do I rename my Admin folder to prevent unauthorized access?". I'm pretty sure I changed it as instructed. I did change it back to read "admin" when it didn' work, instead of the new folder name, but cannot access it. I don't know what to do next.

9 May 2011, 9:00 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Admin folder rename problem with upgrade

I did change it back to read "admin" when it didn' work, instead of the new folder name, but cannot access it. I don't know what to do next.
Send me your FTP credentials via a private message if you want

Zen-Venom Get Bitten

9 May 2011, 9:01 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,186
Plugin Contributions:
0

Re: Admin folder rename problem with upgrade

You have to change the permissions on the folder first to edit the configure.php 444 to 644 or 777

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.

9 May 2011, 9:02 PM
#7
lilrowo avatar

lilrowo

New Zenner

Join Date:
May 2007
Posts:
60
Plugin Contributions:
0

Re: Admin folder rename problem with upgrade

I was going to copy and paste the configure.php but cannot get to it now. I am getting this message on my ftp server.
Response: 550 configure.php: Permission denied
Error: Critical file transfer error

9 May 2011, 9:32 PM
#8
lilrowo avatar

lilrowo

New Zenner

Join Date:
May 2007
Posts:
60
Plugin Contributions:
0

Re: Admin folder rename problem with upgrade

kobra, sent you my ftp credentials. Thanks!

9 May 2011, 9:48 PM
#9
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Admin folder rename problem with upgrade

All Done

Zen-Venom Get Bitten

10 May 2011, 5:57 AM
#10
lilrowo avatar

lilrowo

New Zenner

Join Date:
May 2007
Posts:
60
Plugin Contributions:
0

Re: Admin folder rename problem with upgrade

Thank you so much! I don't know what I did, but I am very grateful!