Results 1 to 4 of 4
  1. #1
    Join Date
    May 2006
    Posts
    313
    Plugin Contributions
    0

    Default SQL Error when selecting "View Orders"

    Hi everyone,

    I'm getting this SQL error when I click on the "View Orders" Button in the My Account page:

    1054 Unknown column 'osh.comment_by' in 'field list'
    in:
    [SELECT os.orders_status_name, osh.date_added, osh.comments, osh.comment_by FROM zen_orders_status os, zen_orders_status_history osh WHERE osh.orders_id = 15 AND osh.orders_status_id = os.orders_status_id AND os.language_id = 1 ORDER BY osh.date_added]
    Does anyone know where I need to start looking?

    Thank you very much.

    Adam.

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: SQL Error when selecting "View Orders"

    Quote Originally Posted by pensive612 View Post
    Hi everyone,

    I'm getting this SQL error when I click on the "View Orders" Button in the My Account page:



    Does anyone know where I need to start looking?

    Thank you very much.

    Adam.
    Its looking for a field called "comment_by" in the "orders_status_history" table.

    and can't find it because that particular field is not in the table.

    What add ons have you added recently?

  3. #3
    Join Date
    May 2006
    Posts
    313
    Plugin Contributions
    0

    Default Re: SQL Error when selecting "View Orders"

    Oh, thank you for the translation Clyde..!

    After that, I traced it back to the Order Questions Mod.

    I must not have installed the SQL update after rebuild.

    Works perfect now!


    Thank you again...

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: SQL Error when selecting "View Orders"

    Quote Originally Posted by pensive612 View Post
    Oh, thank you for the translation Clyde..!

    After that, I traced it back to the Order Questions Mod.

    I must not have installed the SQL update after rebuild.

    Works perfect now!


    Thank you again...
    Glad to help

 

 

Similar Threads

  1. "Out of Memory" error when trying to view orders
    By jgold723 in forum General Questions
    Replies: 0
    Last Post: 10 Feb 2011, 08:28 PM
  2. How to remove "contact us", "My account" , and "view cart"?
    By thestampnomad in forum Basic Configuration
    Replies: 2
    Last Post: 13 Aug 2010, 07:55 PM
  3. Replies: 2
    Last Post: 11 Feb 2010, 09:13 PM
  4. Replies: 2
    Last Post: 16 Sep 2009, 06:15 PM
  5. "New Orders" box in Admin Home view: Need mod please!
    By StoryBook in forum General Questions
    Replies: 2
    Last Post: 11 Aug 2007, 05:57 AM

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