Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    May 2010
    Posts
    4
    Plugin Contributions
    0

    Default 1054 Unknown column 'counter' in 'field list'

    I'm not 100% sure what I have done here, in between upgrading to the latsest version and also installing a new template I am getting the following error when I go to my site

    1054 Unknown column 'counter' in 'field list'
    in:
    [select startdate, counter, session_counter from counter_history where startdate='20100528']

    Help please

  2. #2
    Join Date
    May 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: 1054 Unknown column 'counter' in 'field list'

    Oh, here is the server info




    Zen Cart 1.3.9c
    Database Patch Level: 1.3.0.1
    v1.3.0.1 [2010-05-28 02:37:45] (Version Update 1.3.0->1.3.0.1)
    v1.3.8 [2010-05-28 02:31:07] (Version Update 1.3.7->1.3.8)
    v1.3.7 [2010-05-28 02:31:04] (Version Update 1.3.6->1.3.7)
    v1.3.6 [2010-05-28 02:31:04] (Version Update 1.3.5->1.3.6)
    v1.3.5 [2010-05-28 02:31:03] (Version Update 1.3.0.2->1.3.5)
    v1.3.0.2 [2010-05-28 02:30:59] (Version Update 1.3.0.1->1.3.0.2)
    v1.3.0.1 [2010-05-28 02:30:58] (Version Update 1.3.0->1.3.0.1)
    v1.3.0 [2010-05-28 02:30:58] (Version Update 1.2.7->1.3.0)
    v1.2.7 [2010-05-28 02:30:57] (Version Update 1.2.6->1.2.7)
    v1.2.6 [2005-12-05 12:40:40] (Fresh Installation)
    PHP Version 5.2.8

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

    Default Re: 1054 Unknown column 'counter' in 'field list'

    This looks like you never upgraded your database to v1.3.9c ...
    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. #4
    Join Date
    May 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: 1054 Unknown column 'counter' in 'field list'

    Okay, I just redid the upgrade and it is definitely now fully patched and up to date, but as soon as I run the SQL back up I get this error, similar to the one before, but slightly different

    Help, I am tearing my hair out here
    1054 Unknown column 'startdate' in 'field list'
    in:
    [select startdate, counter, session_counter from counter_history where startdate='20100528']

    SERVER INFO NOW IS

    Zen Cart 1.3.9c
    Database Patch Level: 1.3.9c
    v1.3.9c [2010-05-28 05:14:29] (Version Update 1.3.8->1.3.9c)
    v1.3.8 [2010-05-28 05:12:07] (Version Update 1.3.7->1.3.8)
    v1.3.7 [2010-05-28 05:12:04] (Version Update 1.3.6->1.3.7)
    v1.3.6 [2010-05-28 05:12:03] (Version Update 1.3.5->1.3.6)
    v1.3.5 [2010-05-28 05:12:03] (Version Update 1.3.0.2->1.3.5)
    v1.3.0.2 [2010-05-28 05:12:00] (Version Update 1.3.0.1->1.3.0.2)
    v1.3.0.1 [2010-05-28 05:11:59] (Version Update 1.3.0->1.3.0.1)
    v1.3.0 [2010-05-28 05:11:59] (Version Update 1.2.7->1.3.0)
    v1.2.7 [2010-05-28 05:11:57] (Version Update 1.2.6->1.2.7)
    v1.2.6 [2005-12-05 12:40:40] (Fresh Installation)

  5. #5
    Join Date
    May 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: 1054 Unknown column 'counter' in 'field list'

    Hmmm

    I just checked the server info again after I ran the back up SQL file and it has reverted to this

    Zen Cart 1.3.9c
    Database Patch Level: 1.2.6
    v1.2.6 [2005-12-05 12:40:40] (Fresh Installation)
    v1.2.6 [2005-12-05 12:40:40] (Fresh Installation)


    What's going on? The oldest version I have ever installed was 1.3.8

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: 1054 Unknown column 'counter' in 'field list'

    Sounds like you're *restoring* old files(overwriting your database with old data), and not making *new* backups.

    I hope you have an actual backup from before you did all this.
    .

    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. 1054 Unknown column 'COWOA_order' in 'field list'
    By willieWontGo in forum PayPal Express Checkout support
    Replies: 9
    Last Post: 1 Jul 2011, 08:18 PM
  2. 1054 Unknown column 'p.products_carrot' in 'field list'
    By vivianso in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 23 Jun 2011, 05:25 PM
  3. 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
  4. 1054 Unknown column 'zen_order_id' in 'field list'
    By bunnyzoe in forum PayPal Website Payments Pro support
    Replies: 0
    Last Post: 6 Jun 2009, 08:18 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