Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2007
    Posts
    6
    Plugin Contributions
    0

    Default Customer Login and Checkout button not working

    I have a problem where clicking on "log in" or the checkout button takes me to a "404 not found" page. For some reason it wants to look for the pages in cowgirlcookieco.com rather than the cowgirlcookie.com/shop directory where Zen-cart lives. I've looked at my configure.php files but I can't find anything wrong. Here's a sample of my admin/includes/configure.php:

    define('HTTP_SERVER', 'http://cowgirlcookieco.com');
    define('HTTPS_SERVER', 'https://cowgirlcookieco.com');
    define('HTTP_CATALOG_SERVER', 'http://cowgirlcookieco.com');
    define('HTTPS_CATALOG_SERVER', 'https://cowgirlcookieco.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', '/shop/admin/');
    define('DIR_WS_CATALOG', '/shop/');
    define('DIR_WS_HTTPS_ADMIN', '/shop/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/shop/');

    Other links work and I can login to admin just fine. Thanks for your help.

    Fabian

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Customer Login and Checkout button not working

    Please post the includes/configure.php minus your password.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Nov 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Customer Login and Checkout button not working

    Here it is. Thanks!

    <?php
    /**
    * dist-configure.php
    *
    * @package initSystem
    * @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
    * @version $Id: dist-configure.php 4271 2006-08-26 01:21:02Z drbyte $
    * @private
    */
    // 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://cowgirlcookieco.com');
    define('HTTPS_SERVER', 'https://cowgirlcookieco.com/shop');

    // 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', '/shop/');
    define('DIR_WS_HTTPS_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/3037/domains/cowgirlcookieco.com/html/shop/');

    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', 'cart1_');
    define('DB_SERVER', $_ENV{DATABASE_SERVER});
    define('DB_SERVER_USERNAME', 'db3037');
    define('DB_SERVER_PASSWORD', 'xxxxx');
    define('DB_DATABASE', 'db3037_cart');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage

    // 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/3037/domains/cowgirlcookieco.com/html/shop/cache');

    ?>

  4. #4
    Join Date
    Nov 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: {Solved} Customer Login and Checkout button not working

    I "solved" the problem by changing the following code in includes/configure.php

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

    to

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

    This seems to have everything working fine. But I have a feeling something else is misconfigured if I had to make that change to get things working. I don't use SSL, and its disabled, so I don't know why it wants to use the DIR_WS_HTTPS_CATALOG definition.

    Fabian

  5. #5
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Customer Login and Checkout button not working

    Your changes were the correct course of action.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  6. #6
    Join Date
    Nov 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Customer Login and Checkout button not working

    Thanks!

    Fabian

 

 

Similar Threads

  1. v139h Login and Checkout Links not working
    By cinbou in forum General Questions
    Replies: 7
    Last Post: 4 Dec 2012, 08:15 PM
  2. Admin and customer login not working
    By stephenacre in forum General Questions
    Replies: 8
    Last Post: 7 Mar 2011, 05:37 AM
  3. Checkout and Login not working
    By leaselley in forum General Questions
    Replies: 1
    Last Post: 5 Jul 2010, 11:06 PM
  4. Replies: 5
    Last Post: 23 Jun 2010, 12:39 AM
  5. Customer Login and Admin Login not working
    By trudesign in forum General Questions
    Replies: 4
    Last Post: 6 Jun 2007, 04:26 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