Page 1 of 17 12311 ... LastLast
Results 1 to 10 of 165
  1. #1
    Join Date
    Jun 2006
    Location
    USA, Michigan
    Posts
    12
    Plugin Contributions
    0

    Can't login to admin

    Hi,

    I had previously installed ZC 1.3.0.1 on my web host server and while I was still configuring my admin, payment, shipping, etc. I had an error with my sql database. In frustaration I deleted the database and completely reinstalled ZC to the newest 1.3.0.2 version. Since the reinstall I could not login to admin but the home page would display. After messing with it awhile I thought it might be something to do with the newest version so I deleted it and reinstalled version 1.3.0.1 and I still can't login to admin.

    I search the forum and found the previous thread by "stevehare" concerning "login issues". I have checked out all of the suggestions in that thread but to no avail. I need help!

    Thanks,
    Brad

    Here is my includes/configure.php file. I will follow with my admin/includes/configure.php


    <?php
    /**
    *
    * @package Configuration Settings
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    define('HTTP_SERVER', 'http://www.bigfruitwarehouse.com');
    define('HTTPS_SERVER', 'https://www.bigfruitwarehouse.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', '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_CATALOG', '/catalog/');
    define('DIR_WS_HTTPS_CATALOG', '/catalog/');

    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/www/bigfruitwarehouse.com/catalog/');

    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', 'mysql2.freehostia.com'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', 'xxxxxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxxxxxx');
    define('DB_DATABASE', 'braker_zencart');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/home/www/bigfruitwarehouse.com/catalog/cache');

    ?>

  2. #2
    Join Date
    Jun 2006
    Location
    USA, Michigan
    Posts
    12
    Plugin Contributions
    0

    Default Re: Can't login to admin

    Here is my admin/includes/configure.php file:


    <?php
    //
    /**
    *
    * @package Configuration Settings
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    // Define the webserver and path parameters
    // Main webserver: eg, http://localhost - should not be empty for productive servers
    // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    /*
    * URLs for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    */
    define('HTTP_SERVER', 'http://www.bigfruitwarehouse.com');
    define('HTTPS_SERVER', 'https://www.bigfruitwarehouse.com');
    define('HTTP_CATALOG_SERVER', 'http://www.bigfruitwarehouse.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.bigfruitwarehouse.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', '/catalog/admin/');
    define('DIR_WS_CATALOG', '/catalog/');
    define('DIR_WS_HTTPS_ADMIN', '/catalog/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/catalog/');

    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/www/bigfruitwarehouse.com/catalog/admin/');
    define('DIR_FS_CATALOG', '/home/www/bigfruitwarehouse.com/catalog/');

    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', 'mysql2.freehostia.com'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', 'xxxxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxxxx');
    define('DB_DATABASE', 'braker_zencart');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/home/www/bigfruitwarehouse.com/catalog/cache');

    ?>

  3. #3
    Join Date
    Jun 2006
    Location
    USA, Michigan
    Posts
    12
    Plugin Contributions
    0

    Default Help - Can't login to admin

    Can anyone give me some direction on this problem? Could this be a server issue?

    Thanks,
    Brad.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Can't login to admin

    On your Catalog ... if I view the CSS files in FireFox I am getting errors that look like permission errors ...

    As to your admin ... peek at your database table for admin via phpMyAdmin and see what admin_name and admin_email is used ...

    If they are correct, you should be able to send yourself a new password with the forgotten password ...

    If the table is empty then we will need to give you a hand in getting a login added ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Jun 2006
    Location
    USA, Michigan
    Posts
    12
    Plugin Contributions
    0

    Default Re: Can't login to admin

    I have checked the admin table in the database and it has both the correct email address and admin login name. I tried the Resend Password but never got it. Could this be a server problem, as in the host doesn't have SMTP activated?

    What do you mean by permission errors in the CSS files?

    Thanks, Linda

  6. #6
    Join Date
    Jun 2006
    Location
    USA, Michigan
    Posts
    12
    Plugin Contributions
    0

    Default Re: Can't login to admin

    I forgot to add:

    When I try to login the page starts to load, then stop part way through.

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Can't login to admin

    FireFox has a handy dandy tool to peek at the CSS for the site ...

    On your site, I get errors vs the CSS files ... example of part of what I see:
    CSS - http://www.bigfruitwarehouse.com/catalog/
    http://www.bigfruitwarehouse.com/catalog/
    http://www.bigfruitwarehouse.com/cat...esheet_new.css

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <HTML><HEAD>
    <TITLE>500 Internal Server Error</TITLE>
    </HEAD><BODY>
    <H1>Internal Server Error</H1>
    The server encountered an internal error or
    misconfiguration and was unable to complete
    your request.<P>
    Please contact the server administrator,
    support AT freehostia DOT com and inform them of the time the error occurred,
    and anything you might have done that may have
    caused the error.<P>
    More information about this error may be available
    in the server error log.<P>
    <HR>
    <ADDRESS>Apache/1.3.33 Server at bigfruitwarehouse.com Port 80</ADDRESS>
    </BODY></HTML>
    As to your emails ... this could be an email issue ... but you are kind of in la la land right now ...

    Paste this into the admin_pass for your good admin_name that has your email:
    351683ea4e19efe34874b501fdbf9792:9b
    That is: admin

    Login, and change your password to your own asap ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Jun 2006
    Location
    USA, Michigan
    Posts
    12
    Plugin Contributions
    0

    Default Re: Can't login to admin

    I pasted the admin_pass code and tried to login with "admin" as my password, but still no go. Ugh!

    The really wierd thing about all of this, is that I had ZC install and working before all of this, but out of ignorance I messed my database up and started over. Hindsight, I could have repaired my database!

  9. #9
    Join Date
    Jul 2007
    Posts
    11
    Plugin Contributions
    0

    Default unable to login to admin

    I have just installed Zen Cart; no problems, no warnings. Default shop shows fine but I cannot login to admin.
    I have read all the posts that I could find on this forum but none have helped. I have used the 'resend password' feature and tried the new password but this did not help.
    SSL in the configure.php files are set to false. When trying to login the status bar at the bottom of the screen just tells me it is waiting for a response from my domain which it never gets.

    Should I delete everything and start again?

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,108
    Plugin Contributions
    11

    Default Re: unable to login to admin

    check the file at admin/includes/configure.php and make sure the settings and paths are correct. If you can get to the cart and see the admin login, it might be a misspelling in the configure.php

 

 
Page 1 of 17 12311 ... LastLast

Similar Threads

  1. v153 Can't login to admin - loops back to login
    By missyenta in forum Basic Configuration
    Replies: 24
    Last Post: 17 Mar 2016, 10:31 PM
  2. Can't login to admin after upgrade; can login with new install
    By dietcokelemon in forum Upgrading to 1.5.x
    Replies: 14
    Last Post: 9 Feb 2014, 05:16 PM
  3. Can't Login as Admin; Can't Access Admin Login Dialog Box
    By powrwrap in forum General Questions
    Replies: 6
    Last Post: 16 Mar 2013, 05:24 PM
  4. Admin Login page redirects to itself - can't login
    By fxchain in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 14 Jul 2009, 07:32 AM
  5. Can't login to admin Suddenly admin become a white page
    By gardengate in forum General Questions
    Replies: 2
    Last Post: 13 Sep 2007, 06:08 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR