Results 1 to 4 of 4
  1. #1
    Join Date
    May 2009
    Location
    Kelso, WA
    Posts
    132
    Plugin Contributions
    0

    Default Moving to a different domain

    I am moving a closed zen-cart to a different domain simply so I can easily retrieve financial information. The closed domain will be redirected to another domain, but I still need access to the closed admin.

    I have moved all files and the db to the new location and I am stepping through the zc_install. I have encountered an issue:

    Installation In Progress...

    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 'TYPE=MyISAM' at line 1
    in:
    [CREATE TABLE zen_upgrade_exceptions ( upgrade_exception_id smallint(5) NOT NULL auto_increment, sql_file varchar(50) default NULL, reason varchar(200) default NULL, errordate datetime default '0001-01-01 00:00:00', sqlstatement text, PRIMARY KEY (upgrade_exception_id) ) TYPE=MyISAM;]

    Can anyone tell me what I have done wrong or better yet, what I need to do to fix this?

    Thank you,
    Christy

  2. #2
    Join Date
    May 2009
    Location
    Kelso, WA
    Posts
    132
    Plugin Contributions
    0

    Default Re: Moving to a different domain

    Ok, I had the username and password wrong in the configure.php file. Oops But maybe that wasn't even the problem.

    Now, back to the Database Information page. If I already uploaded the database, how do I do this? I have entered the Host, Username, Password, and DB Name correctly and it is still giving the error message posted above.

    Thanks,
    Christy

  3. #3
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Moving to a different domain

    Replace. TYPE=MyISAM. with. ENGINE=MyISAM

    EDIT: Since you're installing the old v1.3.8a from 2006 which was designed for an older version of MySQL, you'll need to do that replace in the core Zen Cart zc_install files in the /zc_install/includes/classes/*.php files and the /zc_install/sql/mysql_zencart.sql file.
    Last edited by DrByte; 17 Jul 2013 at 10:40 PM. Reason: added edit instructions

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Moving to a different domain

    First you install Zen Cart with the demo data. Be sure to use the same Table Prefix during zc_install as you've got in the DB_PREFIX of your OLD configure.php files.

    Then you import the old database to replace the demo data with your own data.

    The whole process is outlined here: http://www.zen-cart.com/content.php?...fferent-server
    .

    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. One linux domain - Different stores from different urls?
    By TShirtJohn in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 4 Oct 2010, 11:49 PM
  2. Moving my yahoo site from domain.com/store to just domain.com ?
    By shanesoine in forum Basic Configuration
    Replies: 5
    Last Post: 27 Aug 2010, 07:14 AM
  3. Replies: 8
    Last Post: 12 May 2010, 05:25 PM
  4. Moving Zen cart to a different server AND domain
    By thailandosc in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 22 Jul 2008, 12:19 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