Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    280
    Plugin Contributions
    0

    Have a Drink Re: 1.3.6 Fatal Error at checkout after upgrade - help please

    Without you and Ajeh this week, I'd be up the creek without a paddle.

    This is only the first website in Zen-Cart. I have 2 more to create in the coming months. But now, I actually have to catch up on projects to bring 'in' the money. LOL


    thanks again,
    Jeff
    Jeff Michaels,
    pres of Musical Creations Ltd.

  2. #12
    Join Date
    Sep 2006
    Location
    Chicago
    Posts
    51
    Plugin Contributions
    0

    Default Re: 1.3.6 Fatal Error at checkout after upgrade - help please

    I had the same problem, I did a forum search, found this thread, did what the zen-master said and my problem is fixed. You guys are truely great people, the fact that you make it free and offer this kind of help...amazing! When my store opens the first sale goes to buying you guys a cup of joe! Thanks zen

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

    Default Re: 1.3.6 Fatal Error at checkout after upgrade - help please

    Thanks for the update that this was able to help you ...

    We look forward to sharing a cuppa with you ...
    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!

  4. #14

    Default Re: 1.3.6 Fatal Error at checkout after upgrade - help please

    I have fixed the problem adding to /includes/functions/functions_customers.php the next code:

    -------------- cut ------------
    // validate customer matches session
    function zen_get_customer_validate_session($customer_id) {
    global $db, $messageStack;
    $zc_check_customer = $db->Execute("SELECT customers_id from " . TABLE_CUSTOMERS . " WHERE customers_id=" . (int)$customer_id);
    if ($zc_check_customer->RecordCount() <= 0) {
    $db->Execute("DELETE from " . TABLE_CUSTOMERS_BASKET . " WHERE customers_id= " . $customer_id);
    $db->Execute("DELETE from " . TABLE_CUSTOMERS_BASKET_ATTRIBUTES . " WHERE customers_id= " . $customer_id);
    unset($_SESSION['customer_id']);
    $messageStack->add_session('header', ERROR_CUSTOMERS_ID_INVALID, 'error');
    return false;
    }
    return true;
    }
    ----------- cut -------------

    The code is from the same file under 1.3.6 version. I think I have a good 1.3.2 mixed versions with newest 1.3.6 and 1.3.7 hehehehehe
    Spanish help and Support
    Intentaré responder a tus preguntas acerca del ZENCART

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 12
    Last Post: 26 Jun 2013, 02:14 AM
  2. v139h Fatal Error after upgrade
    By csaling in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 25 May 2012, 04:47 PM
  3. Fatal error after upgrade to 1.3.5 renaming phpbb file
    By mikey1719 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 10
    Last Post: 8 Sep 2006, 01:54 AM
  4. Fatal Error, Please Help me!
    By godspeed27 in forum Customization from the Admin
    Replies: 8
    Last Post: 22 May 2006, 12:07 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