Forums / Basic Configuration / Admin Page Alert after Admin Dir name change

Admin Page Alert after Admin Dir name change

Views: 1,873

Results 1 to 4 of 4
31 Aug 2011, 4:40 AM
#1
shocker avatar

shocker

Zen Follower

Join Date:
Jul 2007
Location:
Jakarta
Posts:
346
Plugin Contributions:
0

Admin Page Alert after Admin Dir name change

After I changed the configuration.php files to use the new admin folder name and changed the actually forlder name.I get the following page.

Hello. Thank you for loading Zen Cart™. You are seeing this page for one or more reasons: 1.This is your first time using Zen Cart™ and you haven't yet completed the normal Installation procedure. If this is the case for you, you will need to upload the "zc_install" folder using your FTP program, and then run zc_install/index.php via your browser (or reload this page to see a link to it). 2.Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information and/or invalid database-connection information. If you recently edited your configure.php files for any reason, or maybe moved your site to a different folder or different server, then you'll need to review and update all your settings to the correct values for your server. See the Online FAQ and Tutorials area on the Zen Cart™ website for assistance. To begin installation ... 1.The Installation Documentation can be read by clicking here: Documentation 2.You will need to upload the "zc_install" folder using your FTP program, and then run zc_install/index.php via your browser (or reload this page to see a link to it). 3.The Online FAQ and Tutorials area on the Zen Cart™ website will also be of value if you run into difficulties.

31 Aug 2011, 10:05 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Admin Page Alert after Admin Dir name change

It seems your editor has damaged the configure.php file.
Undo the edits and redo them using a more reliable editor, such as Notepad++ http://notepad-plus.sf.net

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Oct 2011, 10:02 PM
#3
lcsci avatar

lcsci

New Zenner

Join Date:
Oct 2011
Location:
Toronto, Canada
Posts:
2
Plugin Contributions:
0

Re: Admin Page Alert after Admin Dir name change

Version 1.3.9h

I have the same notification now on my Admin page (as shocker posted) following the admin directory name change and configure.php edits - BUT admin was working for several hours after these changes, and the System Setup Required page only showed up later, spontaneously.

I had followed the Admin directory change instructions to the letter, and reread them to make sure :smile:
https://www.zen-cart.com/tutorials/index.php?article=33

My new admin directory is a mix of uppercase and lowercase letters, and numbers, as instructed (although elsewhere I later read that Uppercase is not a good idea...)

Let's pretend the admin directory is now called 111aaaAAA:

The 3 changed lines in /111aaaAAA/includes/configure.php now look like:

define('DIR_WS_ADMIN', '/zencart/111aaaAAA/');
define('DIR_WS_HTTPS_ADMIN', '/zencart/111aaaAAA/');
define('DIR_FS_ADMIN', 'd:/inetpub/sites/www.lcsci.com/web/zencart/111aaaAAA/');

One more fact about the file changes process: FileZilla would not let me set permissions or edit/delete the zencart files, so I had to ask my server host to set the permissions from their end when performing these changes.

Is there any reason for the Admin to seemingly spontaneously stop working and generate that System Setup Required page?

Thank you!
~BG :smile:

28 Oct 2011, 4:36 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Admin Page Alert after Admin Dir name change

lcsci:

Is there any reason for the Admin to seemingly spontaneously stop working and generate that System Setup Required page?
Spontaneously? As in triggered by no cause whatsoever? No.
But, if something gets changed, either inside that file, or in other files/folders on your site, either by you or by someone else, then that message will certainly appear, along with the reasons why it's appearing.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.