Forums / Basic Configuration / Admin folder name change, crashed entire site

Admin folder name change, crashed entire site

Locked

Views: 1,396

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
24 Nov 2009, 11:08 AM
#1
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Admin folder name change, crashed entire site

Because of security reasons suggested on the zencart website, I tried to rename the admin folder.

It resulted in a complete failure. I can as of now neither log in to my admin, or even visit my zencart shop.

Here is:
My webhost had installed the Zencart to me, meaning the folders looked like this: https://www.mydomain.com/zencart/admin

When I changed the admin to a secret new admin name, of some reason mutliple of files whent to different folders, namely two. Admin folder and the new admin-secret-name folder.

I have now tried to transfer the classic default zencart, hoping it to owerwrite, replace and fix it, but to no vain.

Error messages are like this:
When trying to log in to my admin it, this comes up in the browser:

0 DB_ERROR_NOT_CONNECTED
in:
[select * from zen_project_version WHERE project_version_key = 'Zen-Cart Database' ]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

And error message when trying to visit my zencart shop, the address field in the browser reads like this:
http://www.mydomain.com/zencart/nddbc.html

And in the browser window this error message comes up, it reads like this:
Sorry!
There seems to be a problem connecting to our database. Please give us a few minutes to remedy the problem. Thank you.

To verify the site status ... Click here

Any ideas?

Or do I simply have to delete the whole store from my webhost, and then reinstall a clean default zencart and do all my work over again?

Thanks in advance
Stefan

24 Nov 2009, 4:28 PM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Admin folder name change, crashed entire site

just renaming the invoice will not cause any files to move anywhere,
you simply rename the folder and change the 5 instances of /admin/ to /whatever/ in the ( admin)/includes/configure.php

as to why the site doesnt work now,
make sure that since you overwrote files that you didnt overwrite the config files?

If you have a backup I would suggest uploading it, then try renaming the admin folder again

Zen cart PCI compliant Hosting

24 Nov 2009, 4:34 PM
#3
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Re: Admin folder name change, crashed entire site

Hi,
thanks for replying and hepling out!

I get what you mean by simply renaming doesnt move around folders and files, and still thats the result when simply trying to renaming the folder. Sound odd yes, and I was surpriced.

I have a backup but when transfering with the FireFTP (firefox ftp) and Dreamweaver, it still didnt work.

And yes, I did try to owerwrite the configure.php when nothing seemed to work.