Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Feb 2006
    Posts
    75
    Plugin Contributions
    0

    Default Login / Logout 404 Errors

    Hi,

    Can someone please help? I am getting 404 errors all the time when customers try to login or logout. There's no problem when they create an account.

    All my Admin--->Sessions information is set at the default:

    Title Value Action
    Session Directory /home/your_username/public_html/your_catalog_dir/cache
    Cookie Domain True
    Force Cookie Use False
    Check SSL Session ID False
    Check User Agent False
    Check IP Address False
    Prevent Spider Sessions True
    Recreate Session True
    IP to Host Conversion Status true

    I am running 1.3.0 and php 4.4.1

    I have 2 carts on my site. The retail one's login and log out work fine. My wholesale one gives me the login and logout errors. I've modified the session directories so that the correspond to the locations of the 2 shopping carts.

    Please help me. Thanks.

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

    Default Re: Login / Logout 404 Errors

    Did you try storing the sessions aand cache in the database instead?
    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!

  3. #3
    Join Date
    Feb 2006
    Posts
    75
    Plugin Contributions
    0

    Default Re: Login / Logout 404 Errors

    Yeah, I think that was the problem. Thanks Ajeh!

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

    Default Re: Login / Logout 404 Errors

    Thanks for the update ... glad you are working again ...
    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
    Feb 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: Login / Logout 404 Errors

    Hello all,

    I am having a similar problem. Logins/Logouts are returning 404 errors. I have sessions and cache stored in DB.

    The problem appears to be in the redirect caused by the login/logout function. For some reason it is stripping my store name from the URL.

    For example, the "login" action is:
    https://secure.aimtec.net/stores/nau...ain_page=login

    And the login appears to work but redirects to

    https://secure.aimtec.net/stores/ind...ain_page=login

    Notice, the "nauticalreplicas" part has been stripped out of the URL, hence the 404 error.

    The same occurs for logouts. The logout link might be:
    https://secure.aimtec.net/stores/nau...in_page=logoff

    but after the logout it redirects to
    https://secure.aimtec.net/stores/ind...in_page=logoff

    I've had a look at my config files but I can't see anything amiss. And the problem only seems to occur for logins/logouts.

    Would love some advice on where to go from here.
    Thanks in advance.

    Andrew

    ps - the store is located at http://store.nauticalreplicas.com if anyone wants to try replicating the problem.

    EDITED: Never, ever post the zen_id (session id) in a forum, email, newsgroup, newsletter, advertisement, etc. etc. etc. or you will be doomed ...
    Last edited by Ajeh; 4 Jun 2006 at 04:01 PM.

  6. #6
    Join Date
    Feb 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: Login / Logout 404 Errors

    Just a little more information on this.

    The login works ok if the redirect is to the checkout page. That is, entering the store, adding some items to the shopping cart and proceeding to the checkout prompts for a login. A successful login at this stage carries me on to the checkout page.

    A login at any other point causes the 404 error.

    Cheers,
    Andrew

  7. #7
    Join Date
    Aug 2004
    Location
    Germany
    Posts
    663
    Plugin Contributions
    0

    Default Re: Login / Logout 404 Errors

    Have you checked all the configure files in includes/configure.php and admin/included/configure.php on both SSL and non SSL site.

    Seems like you have misconfigured your SSL setup with zen.

  8. #8
    Join Date
    Feb 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: Login / Logout 404 Errors

    Thanks for replying, Richard.
    I can't see anything amiss in the config files but I may have been staring at them for too long. Here they are (minus ids and passwords). Can you see anything I am missing?

    Catalog:

    <?php
    define('HTTP_SERVER', 'http://store.nauticalreplicas.com');
    define('HTTPS_SERVER', 'https://secure.aimtec.net/stores');
    define('ENABLE_SSL', 'true');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/nauticalreplicas/');
    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', '/');
    define('DIR_FS_CATALOG', 'E:/OSCommerceWebs/nauticalreplicas/');
    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('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'xxxxxx'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', 'xxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxx');
    define('DB_DATABASE', 'zen_nauticalreplicas');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'
    define('SQL_CACHE_METHOD', 'database');
    define('DIR_FS_SQL_CACHE', 'E:/OSCommerceWebs/nauticalreplicas/cache');
    ?>

    Admin:

    <?php
    define('HTTP_SERVER', 'http://store.nauticalreplicas.com');
    define('HTTPS_SERVER', 'https://secure.aimtec.net/stores');
    define('HTTP_CATALOG_SERVER', 'http://store.nauticalreplicas.com');
    define('HTTPS_CATALOG_SERVER', 'https://secure.aimtec.net/stores');
    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', 'false');
    define('DIR_WS_ADMIN', '/admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/nauticalreplicas/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/nauticalreplicas/');
    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/');
    define('DIR_FS_ADMIN', 'E:/OSCommerceWebs/nauticalreplicas/admin/');
    define('DIR_FS_CATALOG', 'E:/OSCommerceWebs/nauticalreplicas/');
    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('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'xxxxxx'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', 'xxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxx[');
    define('DB_DATABASE', 'zen_nauticalreplicas');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', 'E:/OSCommerceWebs/nauticalreplicas/cache');
    ?>

  9. #9
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Login / Logout 404 Errors

    From your includes/configure.php file, if you switch

    from :


    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'
    to read:

    Code:
    define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'db'
    will the 404 error page appear again ?

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

    Default Re: Login / Logout 404 Errors

    These do not match:

    define('HTTP_SERVER', 'http://store.nauticalreplicas.com');
    define('HTTPS_SERVER', 'https://secure.aimtec.net/stores');
    define('ENABLE_SSL', 'true');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/nauticalreplicas/');

    Use these:
    define('HTTP_SERVER', 'http://nauticalreplicas.com');
    define('HTTPS_SERVER', 'https://secure.aimtec.net/stores/nauticalreplicas');
    define('ENABLE_SSL', 'true');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    Last edited by DrByte; 5 Jun 2006 at 05:19 AM.
    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!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Customer Login Logout error 404
    By stageweight in forum Managing Customers and Orders
    Replies: 5
    Last Post: 16 Oct 2007, 06:40 AM
  2. Logout 404 problem
    By Gkrynen in forum Managing Customers and Orders
    Replies: 2
    Last Post: 7 Oct 2007, 09:06 AM
  3. 404 during login or logout
    By ChrisZ in forum General Questions
    Replies: 2
    Last Post: 12 Dec 2006, 06:46 AM
  4. Store Account Login/Logout 404 errors?
    By keepitreal in forum General Questions
    Replies: 5
    Last Post: 23 Aug 2006, 04:26 AM
  5. Login/Logout 404 Error
    By mhebby in forum Basic Configuration
    Replies: 10
    Last Post: 25 Jun 2006, 01:11 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