Forums / Installing on a Windows Server / Installed perfectly, But can't login to Admin??

Installed perfectly, But can't login to Admin??

Started by evanlydigital on 3 Dec 2010, 6:55 AM · Views: 1,755

Results 1 to 10 of 10
3 Dec 2010, 6:55 AM
#1
evanlydigital avatar

evanlydigital

New Zenner

Join Date:
Dec 2010
Posts:
9
Plugin Contributions:
0

Installed perfectly, But can't login to Admin??

Okay, so I had some small issues and after figuring everything out (or so I thought) and re-installing the whole thing on my server etc., I went through the whole setup process with no issues. But when I went back to sign in to the admin after renaming the directory etc. it took me back to the same page I was on when I first went to install?? It says maybe my admin config files are wrong, so here they are ....can anyone help?

define('HTTP_SERVER', 'http://www.sheldongate.com');
define('HTTPS_SERVER', 'https://secure.netsolhost.com/sheldongate.com');
define('HTTP_CATALOG_SERVER', 'http://www.sheldongate.com');
define('HTTPS_CATALOG_SERVER', 'https://secure.netsolhost.com/sheldongate.com');

// secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'false');
define('ENABLE_SSL_ADMIN', 'false');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!

// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_ADMIN', '/sheldongateadmin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/sheldongateadmin/');
define('DIR_WS_HTTPS_CATALOG', '/');

HELP!

3 Dec 2010, 10:19 AM
#2
kezan98 avatar

kezan98

Zen Follower

Join Date:
Nov 2007
Location:
UK
Posts:
98
Plugin Contributions:
0

Re: Installed perfectly, But can't login to Admin??

I'm having the same problem, does anyone have a solution?

3 Dec 2010, 3:44 PM
#3
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Installed perfectly, But can't login to Admin??

evanlydigital - well, sorry but I can't find a Zen Cart site at http://www.sheldongate.com

kezan98 - the address of your website, and a bit more information might help.

Vger

3 Dec 2010, 4:33 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Installed perfectly, But can't login to Admin??

Your Zencart site is in the /zencart subdirectory, so your configure.php paths will have to reflect that, both for the store and admin.

3 Dec 2010, 7:41 PM
#5
evanlydigital avatar

evanlydigital

New Zenner

Join Date:
Dec 2010
Posts:
9
Plugin Contributions:
0

Re: Installed perfectly, But can't login to Admin??

I changed my file paths in both config files to .....https://www.sheldongate.com/zencart but still nothing??? I even had my host change my file permissions so that I could use 777 for file permissions, and I changed them back to 444....but still nothing. Whats up? It seems most people dont have this much trouble. Does anyone else use network solutions for hosting? Did you have this problem? Could it be some sort of permissions on my shared ssl certificate?

3 Dec 2010, 10:56 PM
#6
evanlydigital avatar

evanlydigital

New Zenner

Join Date:
Dec 2010
Posts:
9
Plugin Contributions:
0

Re: Installed perfectly, But can't login to Admin??

could it be the db settings?

define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'zen_');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'root');
define('DB_SERVER_PASSWORD', '');
define('DB_DATABASE', '');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'db');

I thought I put these in during the installation questions...

3 Dec 2010, 10:59 PM
#7
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Installed perfectly, But can't login to Admin??

That section of your admin/includes/configure.php file should be identical to your includes/configure.php file, and certainly should contain a password and the name of the database.

Vger

4 Dec 2010, 10:55 AM
#8
evanlydigital avatar

evanlydigital

New Zenner

Join Date:
Dec 2010
Posts:
9
Plugin Contributions:
0

Re: Installed perfectly, But can't login to Admin??

Made everything kosher and still no juice! Here is what I have as of now...(all passwords etc are correct, but i'm not sure if (1)(DB_DATABASE..... is the database name and (2) if (USE_PCONNECT should be true. Both config files are identical.

define('DB_TYPE', 'mysql');
define('DB_PREFIX', ''); // prefix for database table names -- preferred to be left empty
define('DB_DATABASE', 'sheldongate');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'db');

Still need help

4 Dec 2010, 12:05 PM
#9
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Installed perfectly, But can't login to Admin??

The answer lays in the message on the screen, which is:

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.
3.Additional Details: includes/configure.php file contents invalid. ie: DIR_FS_CATALOG not valid or not set

It's not installed correctly, and it's not just logging into admin that is the problem. Both configure.php files are wrong.

Vger

4 Dec 2010, 4:49 PM
#10
kezan98 avatar

kezan98

Zen Follower

Join Date:
Nov 2007
Location:
UK
Posts:
98
Plugin Contributions:
0

Re: Installed perfectly, But can't login to Admin??

Vger:

evanlydigital - well, sorry but I can't find a Zen Cart site at http://www.sheldongate.com

kezan98 - the address of your website, and a bit more information might help.

Vger

Thanks Vger

I realised that I had one of my paths wrong, as soon as I fixed this all was well.

Cheers for your offer to help though.:D