Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: cannot create session when trying to update database

    I have seen people recommend using easy populate to export the info from the old store, massage as desired, and import into the new one.

  2. #2
    Join Date
    Oct 2010
    Posts
    7
    Plugin Contributions
    0

    Default Re: cannot create session when trying to update database

    Quote Originally Posted by gjh42 View Post
    I have seen people recommend using easy populate to export the info from the old store, massage as desired, and import into the new one.
    excellent info, thanks. Do you know if that can import from an older version to a newer one? I will look into this.

    Edit: looked into EP and it lists 1.3.8 for compatibility...
    Last edited by brad_at_foreverybody; 21 Oct 2010 at 07:32 PM.

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

    Default Re: cannot create session when trying to update database

    As for EP, it only handles products and categories. Not attributes or customers/orders.
    .

    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.

  4. #4
    Join Date
    Oct 2010
    Posts
    7
    Plugin Contributions
    0

    Default Re: cannot create session when trying to update database

    Thanks for the advice Dr. Byte.

    I'm 99.9% confident that I have successfully imported products/categories/coupons form the old database correctly. I actually am a webdeveloper with many years of php and mysql experience. I just wanted to use officially supported means of migrating data if possible.

    I am now debating about orders. See I didnt import disabled products (discontinued products number in the 1000s for this store) but obviously there were past orders for said products. I dont think I really need the old orders as the orders are automatically being pushed into our ERP system by some custom code I wrote. Since the orders are in that system we also run our reports form that system so the only side effect i can think of are customers not being able to look up order history from the old orders.

    if i did choose to import orders would it be benign to have order products that do not exist in the products table? (i did import the products_id from the old store so they have the same id in the old and new database)

    if i didnt bring orders in I am assuming setting the auto increment for the orders_id column on the orders table to that of the old store would be sufficient to have the new orders start incrementing from where they left off. is that a safe assumption?

    again sorry for breaking the rules. I assure you a donation is in your future (even if you cant help me here, zencart is great stuff, kudos)

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: cannot create session when trying to update database

    I can't answer about the discontinued products, but you can set the order id to pick up where the old store left off. You don't do that in the db, but in admin > Tools > Store Manager > Reset Current Order ID.

  6. #6
    Join Date
    Oct 2010
    Posts
    7
    Plugin Contributions
    0

    Default Re: cannot create session when trying to update database

    Quote Originally Posted by gjh42 View Post
    I can't answer about the discontinued products, but you can set the order id to pick up where the old store left off. You don't do that in the db, but in admin > Tools > Store Manager > Reset Current Order ID.
    Thanks! I'll do that instead of using a sql command in phpmyadmin.

 

 

Similar Threads

  1. trying to create new database
    By jenbullfrog in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 24 May 2010, 05:38 PM
  2. cannot update database
    By inkuyo in forum Upgrading from 1.3.x to 1.3.9
    Replies: 7
    Last Post: 8 Jan 2008, 12:40 AM
  3. Cannot Update Database
    By f_raze1 in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 22 Mar 2007, 02:59 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