Forums / Installing on a Linux/Unix Server / New install cannot reach admin

New install cannot reach admin

Views: 1,715

Results 1 to 16 of 16
7 Feb 2011, 11:12 PM
#1
bcp8 avatar

bcp8

New Zenner

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

New install cannot reach admin

Zen cart v1.3.9 This is a new install, not an upgrade. I have installed zen cart, and have changed the admin name and have deleted the zc_install. I can see the sample cart on my website (http://www.boocrewproduction.com/Catalog_II/) but cannot access the admin area to start setting up the store. Here is what I get;

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, Click here to begin installation.

  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. Run zc_install/index.php via your browser.
  3. The Online FAQ and Tutorials area on the Zen Cart™ website will also be of value if you run into difficulties.
7 Feb 2011, 11:13 PM
#2
donal avatar

donal

Zen Follower

Join Date:
Jan 2009
Location:
Ireland
Posts:
442
Plugin Contributions:
0

Re: New install cannot reach admin

Did you change the config files to reflect the new name of your admin?

7 Feb 2011, 11:18 PM
#3
bcp8 avatar

bcp8

New Zenner

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

Re: New install cannot reach admin

Donal, Yes I did.

7 Feb 2011, 11:36 PM
#4
donal avatar

donal

Zen Follower

Join Date:
Jan 2009
Location:
Ireland
Posts:
442
Plugin Contributions:
0

Re: New install cannot reach admin

Dont mean to be smart but

  1. Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information and/or invalid database-connection information.

isnt usually to far off maybe you missed one?:dontgetit

8 Feb 2011, 12:04 AM
#5
bcp8 avatar

bcp8

New Zenner

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

Re: New install cannot reach admin

I cannot find anywhere in the; Your /includes/configure.php to change the admin to the new admin name.

8 Feb 2011, 12:13 AM
#6
donal avatar

donal

Zen Follower

Join Date:
Jan 2009
Location:
Ireland
Posts:
442
Plugin Contributions:
0

Re: New install cannot reach admin

3 places in the admin/inculdes one?

8 Feb 2011, 12:33 AM
#7
bcp8 avatar

bcp8

New Zenner

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

Re: New install cannot reach admin

I changed the three in the catalog_II/admin/includes/configure.php and then changed the admin file to the same name.

Cannot find anything in the catalog_II/includes/configure to change from admin to the new file name

8 Feb 2011, 7:28 PM
#8
donal avatar

donal

Zen Follower

Join Date:
Jan 2009
Location:
Ireland
Posts:
442
Plugin Contributions:
0

Re: New install cannot reach admin

admin file? file or folder?

8 Feb 2011, 8:12 PM
#9
bcp8 avatar

bcp8

New Zenner

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

Re: New install cannot reach admin

I changed the folder named admin...

8 Feb 2011, 8:24 PM
#10
donal avatar

donal

Zen Follower

Join Date:
Jan 2009
Location:
Ireland
Posts:
442
Plugin Contributions:
0

Re: New install cannot reach admin

the zc install directory is still there.. did you reinstall it?

10 Feb 2011, 7:13 PM
#11
priceform avatar

priceform

New Zenner

Join Date:
Feb 2011
Posts:
6
Plugin Contributions:
0

Re: New install cannot reach admin

Hi :)

I have a similar issue. I have the shopping cart here http://www.priceform.com/zencart/index.php however I cannot reach my admin screen. I changed the name of my admin folder and the required entries in the admin/includes/configure.php folder but keep getting a 404 message.

One thing, I have a have a dist-configure.php and a configure.php in the admin/includes folder.

Help!

10 Feb 2011, 7:23 PM
#12
donal avatar

donal

Zen Follower

Join Date:
Jan 2009
Location:
Ireland
Posts:
442
Plugin Contributions:
0

Re: New install cannot reach admin

could be a few things:smile:
what did you change?

10 Feb 2011, 8:15 PM
#13
priceform avatar

priceform

New Zenner

Join Date:
Feb 2011
Posts:
6
Plugin Contributions:
0

Re: New install cannot reach admin

Hi :)

This

A - Edit /admin/includes/configure.php

Using your FTP program, download a copy of your /admin/includes/configure.php file to your computer.
Using a simple text editor like notepad (or better yet, use Notepad++ or TextWrangler), change all instances of admin to your chosen new admin folder-name.

For maximum security, you may want to consider that new folder name should include numbers and a combination of upper and lower case letters. The longer you make this folder's name the more secure it will be.

When editing, make sure you leave all the / (slashes) alone.

Change this section:

define('DIR_WS_ADMIN', '/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/admin/');
define('DIR_WS_HTTPS_CATALOG', '/');

And this section:

define('DIR_FS_ADMIN', '/home/mystore.com/www/public/admin/');
define('DIR_FS_CATALOG', '/home/mystore.com/www/public/');

You will end up with something that looks like this:

define('DIR_WS_ADMIN', '/mysecretadminarea/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/mysecretadminarea/');
define('DIR_WS_HTTPS_CATALOG', '/');

And:

define('DIR_FS_ADMIN', '/home/mystore.com/www/public/mysecretadminarea/');
define('DIR_FS_CATALOG', '/home/mystore.com/www/public/');

I also changed the permissions to 444 in the admin & admin/includes

10 Feb 2011, 8:39 PM
#15
website_rob avatar

website_rob

Inactive

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

Re: New install cannot reach admin

admin/includes must have permissions of 755

admin/includes/configure.php must have permissions of 644 in order to edit, after edits finished change back to 444

Note: replace admin with the name you are using.

The learning is in the doing.

Potent Products

11 Feb 2011, 9:10 AM
#16
priceform avatar

priceform

New Zenner

Join Date:
Feb 2011
Posts:
6
Plugin Contributions:
0

Re: New install cannot reach admin

Hi

Sorted

Thanks for your help :smile: