Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2006
    Posts
    14
    Plugin Contributions
    0

    Default Can't login to my admin.....

    I have installed the zen-cart-v1.3.0.2-full-fileset successfully here: http://www.webfxonline.com/cw/

    But I get this error whenever I try to login to my admin area:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, webmaster AT terraworld DOT net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.


    My version of PHP is 4.36 and here is my 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.webfxonline.com');
    define('HTTPS_SERVER', 'https://www.webfxonline.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', '/cw/');
    define('DIR_WS_HTTPS_CATALOG', '/cw/');

    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/twi/webfxonline-com/cw/');

    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', 'aao_');
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', '*******');
    define('DB_SERVER_PASSWORD', '*******');
    define('DB_DATABASE', 'allatonce');
    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/twi/webfxonline-com/cw/cache');

    ?>
    Last edited by webfx; 30 Jun 2006 at 08:38 PM.

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

    Default Re: Can't login to my admin.....

    First, that is the configure.php from /includes/configure.php or at least it should be ... and this is for your Catalog ...

    The /admin/includes/configure.php is for you Admin ...

    You say that your secure URL is: https://www.webfxonline.com

    But that does not appear to be correct or your hosting site has not configured your domain correctly ... and this results in an error ...

    On the premise that the secure is enabled for your Admin ... and you are using the same incorrect secure URL ... that is most likely the source of the problem ...

    Check with your hosting site to see what your correct secure URL is for your site ...

    NOTE: if you believe that this is the correct configure.php for your Admin ... you have overwritten the correct one with the configure.php for the Catalog ...
    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!]
    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!

  3. #3
    Join Date
    Jun 2006
    Posts
    14
    Plugin Contributions
    0

    Default Re: Can't login to my admin.....

    Thanks for the fast reply. When I setup I chose not to use the https (secure) options because I don't know if my host support that yet. Anyway, here is the configure.php from my /admin/includes directory:
    <?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.webfxonline.com');
    define('HTTPS_SERVER', 'https://www.webfxonline.com');
    define('HTTP_CATALOG_SERVER', 'http://www.webfxonline.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.webfxonline.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', '/cw/admin/');
    define('DIR_WS_CATALOG', '/cw/');
    define('DIR_WS_HTTPS_ADMIN', '/cw/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/cw/');

    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/twi/webfxonline-com/cw/admin/');
    define('DIR_FS_CATALOG', '/home/twi/webfxonline-com/cw/');

    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', 'aao_');
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', '*******');
    define('DB_SERVER_PASSWORD', '*******');
    define('DB_DATABASE', 'allatonce');
    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/twi/webfxonline-com/cw/cache');

    ?>

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

    Default Re: Can't login to my admin.....

    Start by reloading all the files to /admin ...

    Was this a clean install or an upgrade?

    If an upgrade, what did you upgrade from and what did you upgrade to?
    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!]
    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
    Posts
    14
    Plugin Contributions
    0

    Default Re: Can't login to my admin.....

    This was a 'clean' install. (zen-cart-v1.3.0.2-full-fileset)

    I just re-uploaded all of the admin files and stiil get the same error/I don't even get a a 'username/password' prompt:

    http://www.webfxonline.com/cw/admin
    Last edited by webfx; 30 Jun 2006 at 09:10 PM.

  6. #6
    Join Date
    Jan 2007
    Posts
    66
    Plugin Contributions
    0

    Default Re: Can't login to my admin.....

    Hello,

    I had installed Zen 138 a while ago and the site has been running fine for the last six months. Yesterday i went to access the admin of the site and received a Http 500 Internal Server Error. Here is what i have done to try to fix the problem and nothing has worked:

    1. Reinstalled the entire admin direcotry
    2. Changed permissions from 755 to 777 and back to 755
    3. Contacted my hosting provider to see if it was an error on their end, It is not. (Database and PHP are running fine)
    4. The home page of the site (www.plasticbeadswholesale.com/shop) is working fine, but can not access the admin.

    I am stuck, not sure what else to do. The server error log in on its way from GoDaddy, but i really can not figure this one out.

    Thanks in advance for the help

    Trisha

 

 

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

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