Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2006
    Location
    Cleveland
    Posts
    79
    Plugin Contributions
    0

    Log in and Log out from main page

    I do not know if this is a true bug but it happen to me consistently with 2 different computers and connections (At work Win NT 2000 and T1 line hook up) at home (Win XP - Cable modem).
    If I log In or out from the main page using the top links or log out I get an error HTTP 404 this page cannot be dysplayed (It will load Okay if I refresh or hit back).
    This does not happen if I was loging in while I added a product to cart (with session) Thank god!
    You can test it on my site www.findaflorist.org/sendflowers create whatever Account and try to duplicate it.
    Thanks

  2. #2
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: Log in and Log out from main page

    I just made an account. It instantly happened upon attempted log out.

    You have the double store in the URL issue, SSL configuration problem. Maybe this will help;
    http://www.zen-cart.com/forum/showthread.php?t=42266

    My email for the test account was test AT test DOT com, my password is "tester"... safe to delete.

    No bug. :)

  3. #3
    Join Date
    Jul 2006
    Location
    Cleveland
    Posts
    79
    Plugin Contributions
    0

    Idea or Suggestion Re: Log in and Log out from main page

    That's it you are ssmart I had the /cart Direct/ define at the top level for https and not for http that I defined it at the Directory level I did them both at the top level and I no longer see error. You guys are GENIUS

    Example If anyone has similar problem:
    Old wrong way
    // 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.mysite.com');
    define('HTTPS_SERVER', 'https://www.mysite.com/store);


    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'true');

    // 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', '/');


    Corrected to:
    // 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.mysite.com/store');
    define('HTTPS_SERVER', 'https://www.mysite.com/store');


    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'true');

    // 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', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');


    Thanks for your help.

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

    Default Re: Log in and Log out from main page

    Be a better idea to set these correctly:

    define('HTTP_SERVER', 'http://www.mysite.com/store');
    define('HTTPS_SERVER', 'https://www.mysite.com/store');
    Change to:
    define('HTTP_SERVER', 'http://www.mysite.com');
    define('HTTPS_SERVER', 'https://www.mysite.com');

    Then change:
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    To read:
    define('DIR_WS_CATALOG', '/store/');
    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: 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
    Jul 2006
    Location
    Cleveland
    Posts
    79
    Plugin Contributions
    0

    Re: Log in and Log out from main page

    Thanks I corrected the config.php at root/include
    Do I need to do the same for the admin/include
    currently it is
    define('HTTP_SERVER', 'http://www.mysite.com');
    define('HTTPS_SERVER', 'https://www.mysite.com/store');
    define('HTTP_CATALOG_SERVER', 'http://www.mysite.org');
    define('HTTPS_CATALOG_SERVER', 'https://www.mysite.com/store');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', 'true');

    // 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', '/mysite.com/admin/');
    define('DIR_WS_CATALOG', '/mysite.com/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Log in and Log out from main page

    Yes - follow similar logic for the admin file
    .

    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. Lengthening log in/log out page
    By jasonhoward64 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Feb 2010, 11:10 AM
  2. Remove Home Log In from top of main page
    By M B Walker in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Jan 2009, 03:18 AM
  3. After log out can't log back in unless......
    By oldpaint in forum General Questions
    Replies: 13
    Last Post: 17 Mar 2007, 05:51 AM
  4. log in/log out 404 -NOT double directory issue
    By felixthehat in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 30 Sep 2006, 02:35 PM

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