Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2006
    Posts
    4
    Plugin Contributions
    0

    Default Duplicate URL in login link

    First, I just have to say Zen Cart is fantastic. I only know enough to be slightly dangerous with programming and for the most part implementing Zen has been reasonably stress free. Lots of skimming the forums trying to find tidbits - but still great.

    Now that I've buttered y'all up :-), I do have a question.

    On my index page, when going to register a new person or login, I have a duplicate url coming up which of course doesn't work. All my other links seem to work correctly. The url for the site is www.prbykg.com/pr/

    The exact link that comes up when you click on log in is:
    http://www.prbykg.comhttp//www.prbyk...ain_page=login

    Can you tell me where this is being called from and how to fix it? I've installed Zen on 2 other sites without any issues so I'm not sure where I've messed this up!

    I am still very new at this so if I need to provide additional information, please be exact as to what.

    Thanks so much!

    Kim

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

    Default Re: Duplicate URL in login link

    Please post your includes/configure.php minus your passwords.

  3. #3
    Join Date
    Oct 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Duplicate URL in login link

    Quote Originally Posted by Kim View Post
    Please post your includes/configure.php minus your passwords.
    // 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.prbykg.com');
    define('HTTPS_SERVER', 'https://www.prbykg.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', '/pr/');
    define('DIR_WS_HTTPS_CATALOG', 'http://www.prbykg.com/pr/');

    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', '/home/kgillett/prbykg.com/forum/');

    // * 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/kgillett/prbykg.com/pr/');

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


    Thanks for the help!

    Kim

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

    Default Re: Duplicate URL in login link

    This setting:
    define('DIR_WS_HTTPS_CATALOG', 'http://www.prbykg.com/pr/');
    Should read:
    define('DIR_WS_HTTPS_CATALOG', '/pr/');
    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
    Oct 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Duplicate URL in login link

    Beautiful!! It works now.

    I'm a "lets change this and see what happens" kinda person - but that crashes the site on a regular basis . I learn a lot - but it's not always the most productive use of my time.

    Thanks so much for the assistance.

    Kim

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Duplicate URL in login link

    Quote Originally Posted by AZAC View Post
    I'm a "lets change this and see what happens" kinda person - but that crashes the site on a regular basis
    That works well, as long as you go back and undo it when things stop working...
    .

    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.

 

 

Similar Threads

  1. Replies: 3
    Last Post: 9 Jun 2015, 10:36 PM
  2. v150 Subdomain login reverting to parent domain url login page?
    By ckelley in forum General Questions
    Replies: 16
    Last Post: 21 Nov 2012, 08:54 PM
  3. Duplicate URL address is being generated
    By partygirl in forum General Questions
    Replies: 3
    Last Post: 17 Mar 2012, 03:41 AM
  4. Do I use seo URL or normal URL when adding an internal link?
    By gaffettape in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 24 Oct 2009, 01:22 PM
  5. another duplicate url when logging in/out
    By bushonk in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 8 Sep 2006, 03:31 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