Results 1 to 5 of 5
  1. #1
    Join Date
    May 2006
    Posts
    25
    Plugin Contributions
    0

    Default Error after MySQL Import

    a) I am doing a freash install of 1.3.7, and importing older 1.2.6 database.

    When I try to access the cart homepage located here:

    www.synthtech.com/testcart

    I get this message:


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

    and I get a similar version right after I log into the Admin.

    b) It is also complaining about a need to update the Patch Level on the database. I appears that there is a script to me cut/pasted into a dialog box. Where/which file on the server is this?

    The Server Info states the Database Patch Level as 1.2.6

    Rather than doing an "update" on the older Zencart, I did a freash install into the /testcart directory.

    Paul S.

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

    Default Re: Error after MySQL Import

    Did you run the Upgrade on the database for the:
    /zc_install

    And go through each of the updates for the various versions?
    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
    May 2006
    Posts
    25
    Plugin Contributions
    0

    Default Re: Error after MySQL Import

    OK, I see that the Database Version should match the ZenCart Version :)

    I did successfully uploaded/ran the 1.2.6 to 1.2.7 script (found them in the zc_install directory)

    But when I try the second script (1.2.7 to 1.3.0) I get this message:

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0', '1'), ', now())' at line 1

    This is the fist non-comment SQL command, something about BreadCrumbs?

    Paul S.

  4. #4
    Join Date
    May 2006
    Posts
    25
    Plugin Contributions
    0

    Default Re: Error after MySQL Import

    For some reason, the SQL patch from 1.2.7 to 1.3.0 would always give me this error running the SQL Patch from the Admin panel. But running the zc_intstall and selecting DB Upgrade, and then checking down all of the boxes to 1.3.7 and running did work.

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

    Default Re: Error after MySQL Import

    Glad you have things up and running ... thanks for the update
    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!

 

 

Similar Threads

  1. 404 error in admin after product import
    By Scott_C in forum Setting Up Categories, Products, Attributes
    Replies: 13
    Last Post: 2 Mar 2010, 10:18 PM
  2. MYSQL Import Error
    By infowire in forum Installing on a Windows Server
    Replies: 8
    Last Post: 29 Dec 2009, 06:00 PM
  3. MySQL database import error
    By xikan in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 24 Aug 2009, 02:39 AM
  4. Log-in error after import of database
    By simetra in forum Basic Configuration
    Replies: 2
    Last Post: 24 Jan 2007, 09:29 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