Zen Cart Logo

Admin log in

Views: 2,028

Results 1 to 10 of 10
14 Dec 2010, 7:27 PM
#1
peer avatar

peer

New Zenner

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

Admin log in

Hello all.

Yesterday I installed Zen Cart without any problems.
I even changed some things in the admin area so I have been there.
But today, suddenly I wasn't able to reach the admin login page. After some searching I tried several options like changing the htaccess to htaccess_bak. No change there. In IE I get a HTTP 500 error and Firefox stays empty.

I did change the admin-folder name and changed the configure folder. (I will change it again before making it a functional store)

Permissions are at 755 and SSL on false.:

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

// Use 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', '/winkel/peer/');
define('DIR_WS_CATALOG', '/winkel/');
define('DIR_WS_HTTPS_ADMIN', '/winkel/peer/');
define('DIR_WS_HTTPS_CATALOG', '/winkel/');

define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_ADMIN', '/home/####/public_html/winkel/peer/');
define('DIR_FS_CATALOG', '/home/####/public_html/winkel/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', '');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', '########');
define('DB_SERVER_PASSWORD', '#########');
define('DB_DATABASE', '#####_zencart');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'db');

Is some-one able to figure out what's wrong here, because I can't :mellow:

14 Dec 2010, 8:02 PM
#2
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Admin log in

After you made these changes, did you clear your browsers' cache and delete all your cookies?

14 Dec 2010, 8:07 PM
#3
peer avatar

peer

New Zenner

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

Re: Admin log in

Hi,

Yes I removed them from both IE and Firefox.

14 Dec 2010, 8:10 PM
#4
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Admin log in

Well, your configure.php file looks fine, unless you have a database prefix?

define('DB_DATABASE', '#####_zencart');

See, the #####....... looks like you may have, yet it doesn't show in:

define('DB_PREFIX', '');

Compare the prefix to your includes/configure.php

14 Dec 2010, 8:22 PM
#5
peer avatar

peer

New Zenner

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

Re: Admin log in

I included the pre-fix in the databasename.
I just changed it so I seperated the prefix from the database name and it just gave me another error:
0 DB_ERROR_NOT_CONNECTED
in:
[db_cache table]
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.

This is what I did:

define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'smedent1_');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', '#####');
define('DB_SERVER_PASSWORD', '#####');
define('DB_DATABASE', 'zencart');
define('USE_PCONNECT', 'false');

14 Dec 2010, 8:45 PM
#6
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Admin log in

Yea, I see that. Make sure that EVERYTHING is those lines match up in both configure.php files.
Each entry in these fields should be IDENTICAL.

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

Your site is working, so don't change anything in that configure.php

Also, you have it shown that you renamed your Admin to peer. Make SURE that the folder name is EXACTLY that, remembering that it IS case sensitive.

14 Dec 2010, 8:56 PM
#7
peer avatar

peer

New Zenner

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

Re: Admin log in

This is the other-one.

define('DIR_WS_CATALOG', '/winkel/');
define('DIR_WS_HTTPS_CATALOG', '/winkel/');

define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

define('DIR_WS_PHPBB', '/');

// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '/home/smedent1/public_html/winkel/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', '');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', '#####');
define('DB_SERVER_PASSWORD', '######');
define('DB_DATABASE', 'smedent1_zencart');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'db');

I just can't spot anything wrong with it.
And the folder is called "peer" without capitals.

I just did a check on the database and it says all is "OK"

I feel it's going to cost me less time to just start over with it all, the way it's going...

14 Dec 2010, 9:03 PM
#8
peer avatar

peer

New Zenner

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

Re: Admin log in

Could it have anything to do with the Dutch language files?

I mean, are there any other factors playing a role except the database and the two config files?

14 Dec 2010, 9:39 PM
#9
peer avatar

peer

New Zenner

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

Re: Admin log in

I just started over with the whole thing. I'll let you know what happends

14 Dec 2010, 9:50 PM
#10
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Admin log in

Oh, I got a little busy with a customer. Sorry I didn't get back sooner. I'm sure it would have worked out sooner or later.......

Anyway........yea........let us know how it goes.