Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 51
  1. #31
    Join Date
    Oct 2004
    Posts
    39
    Plugin Contributions
    0

    Default Re: Users Login, But Says Expired

    Thanks. I put that in there, but when you go to checkout, and try to go to step 2, it simply loops back to step 1 with no error messages. Is there some place else to put that check in?

    I REALLY appreciate your help with this!

    R~

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

    Default Re: Users Login, But Says Expired


    when you go to checkout, and try to go to step 2, it simply loops back to step 1 with no error messages.
    And that's one step ahead on the problem.


    Is there some place else to put that check in?
    Yes. Move the peace of code to:

    - includes/modules/pages/checkout_shipping/header_php.php

    and change it, (in the mean time),

    to read:

    Code:
    if ($_SESSION['customer_id'] != '' && $_SESSION['customer_id'] == '1') {
    error_reporting(E_ALL);
    }
    below this block:


    // if the customer is not logged on, redirect them to the login page
    if (!$_SESSION['customer_id']) {
    $_SESSION['navigation']->set_snapshot();
    zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));
    }
    In the mean time, I have discovered that - this block:


    // Validate Cart for checkout
    $_SESSION['valid_to_checkout'] = true;
    $_SESSION['cart']->get_products(true);
    if ($_SESSION['valid_to_checkout'] == false) {
    $messageStack->add('header', 'Please update your order ...', 'error');
    zen_redirect(zen_href_link(FILENAME_SHOPPING_CART));
    }
    contains english definitions directly into that core file. Perhaps the DEV team would consider to rename that into a definition name in order to be associated with the proper language pack in a future release.

  3. #33
    Join Date
    Oct 2004
    Posts
    39
    Plugin Contributions
    0

    Default Re: Users Login, But Says Expired

    I put that in, but no error messages. The customer remains logged in, but it doesn't go past step 1. Maybe that's a clue? The customer always remains logged in at this point it seems, that seems to be fixed after messing with it a bit yesterday...

    R~

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

    Default Re: Users Login, But Says Expired

    If it's the case, one of the DEV team would need to confirm if this error can be reproduce from their end. Perhaps, it might even be a configuration issue based from the admin section.

  5. #35
    Join Date
    Oct 2004
    Posts
    39
    Plugin Contributions
    0

    Default Re: Users Login, But Says Expired

    Do I need to PM or email anyone about this? What do I do from here?

    Thanks so much for your help - it is very appreciated!

    R~

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

    Default Re: Users Login, But Says Expired

    There's no need to PM anyone for this since this is a general subject. I must admit, it's a pretty strange one but one of the DEV team should reply to you shortly.

  7. #37
    Join Date
    May 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: Users Login, But Says Expired

    i'm getting a similar problem here: www.clickpopstore.clickpoprecords.com

    user logs in, selects product, goes to checkout, they're then asked to login again, gets "whooops" message, asked to login again, then they're returned to the welcome screen.

    the loops keeps repeating...

    what is causing this?

  8. #38
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,715
    Plugin Contributions
    6

    Default Re: Users Login, But Says Expired

    The message stack should be using this define located in the english.php ...

    define('ERROR_CART_UPDATE', 'Please update your order ...<br />');
    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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  9. #39
    Join Date
    Oct 2004
    Posts
    39
    Plugin Contributions
    0

    Default Re: Users Login, But Says Expired

    So is it thinking the cart is empty? Or that the address is invalid? What circumstances would cause it to go back to the checkout_shipping page? Just trying to brainstorm here...

    R~

  10. #40
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,757
    Blog Entries
    1
    Plugin Contributions
    1

    Default Re: Users Login, But Says Expired

    Hi,

    It appears FC5 has some probs, with some of ZC session settings. Have recently installed FC5 on a spare partition and can reproduce the problem.

    I found that this fixes it.

    In Admin->configuration->sessions
    set both

    cookie domain
    recreate session

    to false.

    Still trying to find out why FC5 has this quirk

 

 
Page 4 of 6 FirstFirst ... 23456 LastLast

Similar Threads

  1. Users Cannot Login.
    By tsilva in forum Managing Customers and Orders
    Replies: 1
    Last Post: 17 May 2006, 08:25 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
  •