Thread: Admin log in

Results 1 to 10 of 10
  1. #1
    Join Date
    Dec 2010
    Posts
    6
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Admin log in

    After you made these changes, did you clear your browsers' cache and delete all your cookies?
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  3. #3
    Join Date
    Dec 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: Admin log in

    Hi,

    Yes I removed them from both IE and Firefox.

  4. #4
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default 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
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  5. #5
    Join Date
    Dec 2010
    Posts
    6
    Plugin Contributions
    0

    Default 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');

  6. #6
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default 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.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  7. #7
    Join Date
    Dec 2010
    Posts
    6
    Plugin Contributions
    0

    Default 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...
    Last edited by Peer; 14 Dec 2010 at 10:02 PM.

  8. #8
    Join Date
    Dec 2010
    Posts
    6
    Plugin Contributions
    0

    Default 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?

  9. #9
    Join Date
    Dec 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: Admin log in

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

  10. #10
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default 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.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

 

 

Similar Threads

  1. v150 Person doing my admin has disappeared cant log into admin
    By semcomputers in forum Basic Configuration
    Replies: 6
    Last Post: 21 Jan 2015, 01:31 AM
  2. Replies: 3
    Last Post: 28 Aug 2014, 02:23 PM
  3. v151 Admin activity log - only shows todays log
    By kitcorsa in forum General Questions
    Replies: 1
    Last Post: 21 Jan 2014, 04:52 PM
  4. blank log in page for admin no log in for users
    By alfonso99 in forum Customization from the Admin
    Replies: 1
    Last Post: 30 Jul 2011, 10:34 AM
  5. Admin log in and user log in gone after php5 upgrade
    By malka in forum General Questions
    Replies: 2
    Last Post: 3 May 2007, 01:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg