Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2011
    Posts
    2
    Plugin Contributions
    0

    Default 1054 Unknown column 'value' in 'field list' ... "sessions" table

    I downloaded version 1.3.9h and installed recently. This is my first venture into shopping cart software and probably did not do something correctly on the install but don't know where to look to try and find it. I haven't found anything similar in FAQ's or on forum.
    My problem:
    When I start zen cart I get the following error message:
    1054 Unknown column 'value' in 'field list'
    in:
    [select value from sessions where sesskey = 'dbsfvaulr7fol94969tj3avla0' and expiry > '1297377022']

    I get a similar message when trying to run the admin console.
    I am guessing I missed something on the install, but don't know what it would have been.

  2. #2
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    431
    Plugin Contributions
    0

    Default Re: Zen Cart Problem

    as it only takes a few minutes to install the easiest thing to do is to install it again assumming you have got to do anything yet

  3. #3

    Default Re: Zen Cart Problem

    Never had the problem. It occurred suddenly. What is the cause of this error?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: 1054 Unknown column 'value' in 'field list' ... "sessions" table

    The "cause" is that your database has been tampered with.

    And whenever something "suddenly" occurs like that, you need to confer with everyone who has access to your site to see who changed what and why. People like your staff, your partners, your hosting company, etc.
    And if none of them have any answers about what things they've done lately to the site (especially in relation to the timing of when the "suddenly" happened), then you need to consider your site hacked and take recovery steps until you can prove that it's not been hacked: http://www.zen-cart.com/wiki/index.p...ing_From_Hacks
    And if you're using an old version of Zen Cart, it's probably time to upgrade to benefit from the latest security protections.
    .

    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.

  5. #5

    Default Re: 1054 Unknown column 'value' in 'field list' ... "sessions" table

    Problem was caused by installation of gallery3 which drops the session table and creates a new one with other column names. problem fixed by installing gallery3 with prefix or in another database. recreated the sesssion table manually.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: 1054 Unknown column 'value' in 'field list' ... "sessions" table

    Thanks for confirming that the problem was a result of installing other software that uses conflicting database tablenames.
    .

    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.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 22 Nov 2011, 06:07 AM
  2. 1054 Unknown column 'TIME_ZONE_OFFSET' in 'field list'
    By MortalWombat in forum Managing Customers and Orders
    Replies: 3
    Last Post: 24 Jul 2010, 10:37 AM
  3. "1054 Unknown column 'attributes_price_factor_onetime_offset' in 'field list'
    By jonnyrharper in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 27 Feb 2009, 08:52 PM
  4. 1054 Unknown column 'customers_mobile' in 'field list'
    By southpacific in forum General Questions
    Replies: 1
    Last Post: 25 Feb 2009, 08:25 AM
  5. Replies: 2
    Last Post: 6 Jul 2006, 03:15 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