Zen Cart Logo
Forums / Basic Configuration / What's the trick with Admin Rename Directory ??

What's the trick with Admin Rename Directory ??

Views: 997

Results 1 to 5 of 5
22 Mar 2011, 10:00 PM
#1
jbiquez avatar

jbiquez

New Zenner

Join Date:
Mar 2011
Posts:
5
Plugin Contributions:
0

What's the trick with Admin Rename Directory ??

Hello all.

Need help from experts here, I am newbie to Zen Cart.

My recently created site is disbled in the admin parth after following a link of securing it rebameing the admin directory.
Since I have a cpanel, i created another installaton, on another domain, other server, installed latest version again (minutes) and was working without problems.. after few test I then followed the instruction found here:

http://www.zen-cart.com/wiki/index.php/Important_Site_Security_Recommendations

and

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

the same information basically under the rename of the directory

After doing that correctly doing a CHMOD for 0644 for the configure.php file , then the admin does not work anymore.

ANy cache to clear?

I did ths one with no sucess:

http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_54&products_id=82

Any other caceh to clear, any database field to reset?

Thanks in advance experts!

Jorge Biquez

22 Mar 2011, 11:03 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: What's the trick with Admin Rename Directory ??

"Does not work anymore" is rather vague. What are the specific symptoms that you see.

In which order did you follow the two tutorials?

Was the admin working immediately before you changed the configure file permissions?

Did you change them from 644 or to 644? If the latter, why?

Which configure.php files permissions did you change?

22 Mar 2011, 11:10 PM
#3
jbiquez avatar

jbiquez

New Zenner

Join Date:
Mar 2011
Posts:
5
Plugin Contributions:
0

Re: What's the trick with Admin Rename Directory ??

Hello. Thanks for yoiur time,
The tutorial was done only the firt one, the second says the same configuration steps to rename the admin directory.

It does not work. After all the procedure, you can not enter anymore, no error in Exploer and Firefox browsers, Chrome sends a 500 internal server error. It does not appear anything.

If I return to the original files and configuration. No result, it is blocked. I already cleaned and erased all cache and ask friend to enter the new directory or original one from other computer, same result.

The only file touched was the one indicated, the :

admin/includes/configure.php

and then changed the security to READ ONLY (0644). The tutorial says that and I saw also that all PHP under that folder had that permission. Since the tutorial says only READ ONLY I assumed that was the one need it.

Yes, it was working admin before the changes.

What am I doing wrong?

23 Mar 2011, 1:25 AM
#4
usr50 avatar

usr50

Zen Follower

Join Date:
Mar 2009
Location:
Niagara Ontario
Posts:
136
Plugin Contributions:
0

Re: What's the trick with Admin Rename Directory ??

Read this thread for solution... --->http://www.zen-cart.com/forum/showthread.php?t=176439

23 Mar 2011, 1:52 AM
#5
jbiquez avatar

jbiquez

New Zenner

Join Date:
Mar 2011
Posts:
5
Plugin Contributions:
0

Re: What's the trick with Admin Rename Directory ??

Hello all.

Thanks a lotr, I read about the 500 error messages.... seems like it is something with CPanel and my VPS server. In fresh new installations if I rename that directory and do the change of the file, exactly following the instructions then you are nor able to enter admin again just an error 500. I open a ticket with my hosting company but they say (as usual ) that that error is not of the server but of the application (Zeb-Cart). So I guess I wont be able to change the name of that directory so my best thing is to have strong passwords and expect nothing could enter the site.

Thanks for your time