Results 1 to 7 of 7
  1. #1
    Join Date
    May 2005
    Posts
    126
    Plugin Contributions
    0

    Default Problem with login for users

    When my users try to sign up or log in, they get a funked up url like this:

    http://www.trampledelights.comhttp//...ain_page=login

    where the "http" stuff is shown twice...where do I correct this??
    Last edited by Ajeh; 19 Jun 2006 at 05:25 PM.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Problem with login for users

    Looks like some of the URL's in your includes/configure.php file may be missing the : in http://.....
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    May 2005
    Posts
    126
    Plugin Contributions
    0

    Default Re: Problem with login for users

    Can you peek at this for me and show me where I've messed up? I've had the HARDEST time moving this. I did a fresh install on a temp url...then when I moved the actual site on over, the temp url was still showing in the config..and threw the whole store off. People were trying to buy stuff and getting the temp url in their email..
    Here is my 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.trampledelights.com');
    define('HTTPS_SERVER', 'https://www.trampledelights.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', '/store/');
    define('DIR_WS_HTTPS_CATALOG', 'http://www.trampledelights.com/store/');

    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', '/home20a/sub001/sc20038-PLDS/www/store/');

    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', 'zen_');
    define('DB_SERVER', 'mysql12.servage.net'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', 'trampledelight2');
    define('DB_SERVER_PASSWORD', 'xxxx');
    define('DB_DATABASE', 'trampledelight2');
    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', '/home20a/sub001/sc20038-PLDS/www/store/cache');

    ?>

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

    Default Re: Problem with login for users

    Try changing this:
    define('DIR_WS_HTTPS_CATALOG', 'http://www.trampledelights.com/store/');
    To read:
    define('DIR_WS_HTTPS_CATALOG', '/store/');
    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
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Problem with login for users

    At the very least, this likely should not have a URL in it:

    define('DIR_WS_HTTPS_CATALOG', 'http://www.trampledelights.com/store/');

    vs

    define('DIR_WS_HTTPS_CATALOG', '/store/');
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    May 2005
    Posts
    126
    Plugin Contributions
    0

    Default Re: Problem with login for users

    whew :) that looks like it solved the problem! Thanks to you both!

  7. #7
    Join Date
    May 2005
    Posts
    126
    Plugin Contributions
    0

    Default Re: Problem with login for users

    OOPS...one more issue concerning users and links.

    I just had a customer purchase something and they were given a link with the temp url...not the .com url

    http://c11.servage.net/~sc20038-PLDS...nfo&order_id=1

    is what they received. How can I correct this??

 

 

Similar Threads

  1. Possible Solution for cPanel Users with Admin Errors
    By Wulf359 in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 14 Jan 2015, 03:54 AM
  2. Disable Registration/Login for Users to Purchase
    By cqdeline in forum General Questions
    Replies: 4
    Last Post: 15 Mar 2013, 07:24 AM
  3. Preventing duplicate orders for users with JS disabled...?
    By lakermark in forum General Questions
    Replies: 1
    Last Post: 10 Sep 2010, 01:46 AM
  4. Replies: 0
    Last Post: 3 Jan 2010, 12:44 AM
  5. Problem for New Users creating account
    By julesbrad in forum Managing Customers and Orders
    Replies: 2
    Last Post: 23 Nov 2007, 08:45 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