Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2006
    Posts
    403
    Plugin Contributions
    0

    red flag my customer cannot view their order information

    Hello

    My customers complained to me that they cannot view their account information, especially the information about previous orders from their webpage.

    Instead, they see this: Warning: Invalid argument supplied for foreach() in /home/thesbeau/public_html/includes/templates/template_default/templates/tpl_account_default.php on line 37


    What is this? How can I fix it?

    Lina

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

    Default Re: my customer cannot view their order information

    What version of Zen Cart are you running?

    Clean install or an upgrade? If an upgrade, from what version and how did you do the upgrade?

    What version php? Anything new on your server that your hosting site may have done recently?

    Have you an URL that we can peek at?
    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!

  3. #3
    Join Date
    Jun 2006
    Posts
    403
    Plugin Contributions
    0

    help question Re: my customer cannot view their order information

    Thank you for your reply!

    My site is www.thesbeauty.com. It uses zencart 1.3.1. This site never got updated from the beginining.

    I have a subdomain jade.thesbeauty.com. It uses zencart 1.3.7. I install zencart 1.3.7 from the begining.

    On both website, the customers cannot view their previous orders in "my account" website after they sign in.

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

    Default Re: my customer cannot view their order information

    Are you on php 5.x?
    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
    Jun 2006
    Posts
    403
    Plugin Contributions
    0

    help question Re: my customer cannot view their order information

    My PHP Version is 4.4.1.

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

    Default Re: my customer cannot view their order information

    You missed applying the fix to the /includes/modules/pages/account/header_php.php
    line 50:
    Code:
    $ordersArray = array();
    when inserted properly, it shows up here:
    Code:
    $orders_query = $db->bindVars($orders_query, ':customersID', $_SESSION['customer_id'], 'integer');
    $orders_query = $db->bindVars($orders_query, ':languagesID', $_SESSION['languages_id'], 'integer');
    $orders = $db->Execute($orders_query);
    
    $ordersArray = array();
    while (!$orders->EOF) {
    This was fixed as part of v1.3.6
    .
    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.

  7. #7
    Join Date
    Jun 2006
    Posts
    403
    Plugin Contributions
    0

    Idea or Suggestion Re: my customer cannot view their order information

    thank you! It is fixed!!

 

 

Similar Threads

  1. Need ability for customer to view their uploaded image
    By daphne in forum General Questions
    Replies: 4
    Last Post: 28 Sep 2011, 08:16 PM
  2. Can I add under the customer's account their order histor and order status??
    By flash01 in forum Customization from the Admin
    Replies: 8
    Last Post: 28 Nov 2010, 09:49 PM
  3. add to customer order no download link showing up in their account
    By mydesignerstudio in forum Managing Customers and Orders
    Replies: 1
    Last Post: 21 Feb 2010, 05:58 PM
  4. Block customer checkout if their order is more than our stock available?
    By wcchyau in forum Managing Customers and Orders
    Replies: 2
    Last Post: 24 Sep 2009, 06:47 PM
  5. customer order view as html
    By styledata in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 16 Dec 2006, 08:31 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