Zen Cart Logo
Forums / Upgrading from 1.2 to 1.3.x / 1.2 Database with 1.38 New Install

1.2 Database with 1.38 New Install

Locked

Views: 5,943

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
16 Mar 2010, 4:18 PM
#1
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

1.2 Database with 1.38 New Install

Hello,

I have a 1.2 database that I want to just import into my new installed 1.3.8 Cart and I was wondering if there is anyway of installing then importing the database in. I have some attributes and stuff and I want everything to come through. Is this possible?

Thanks
DigitalGuard

16 Mar 2010, 5:56 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: 1.2 Database with 1.38 New Install

What you're talking about is basically an upgrade from your 1.2.x version to your 1.3.8 version.
Assuming you've taken care of the PHP files, next you need to deal with the database side of the upgrade.
So, import your database, run zc_install, choose database-upgrade, and follow the upgrade steps.
You can find upgrade documentation in the /docs/ folder of your Zen Cart files, and also on the FAQ/Tutorials site:
https://www.zen-cart.com/tutorials/index.php?article=108
https://www.zen-cart.com/tutorials/index.php?article=98
etc

16 Mar 2010, 11:41 PM
#3
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: 1.2 Database with 1.38 New Install

DrByte:

What you're talking about is basically an upgrade from your 1.2.x version to your 1.3.8 version.
Assuming you've taken care of the PHP files, next you need to deal with the database side of the upgrade.
So, import your database, run zc_install, choose database-upgrade, and follow the upgrade steps.
You can find upgrade documentation in the /docs/ folder of your Zen Cart files, and also on the FAQ/Tutorials site:
https://www.zen-cart.com/tutorials/index.php?article=108
https://www.zen-cart.com/tutorials/index.php?article=98
etc

Thank you will try...

18 Mar 2010, 5:45 PM
#4
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: 1.2 Database with 1.38 New Install

DrByte:

What you're talking about is basically an upgrade from your 1.2.x version to your 1.3.8 version.
Assuming you've taken care of the PHP files, next you need to deal with the database side of the upgrade.
So, import your database, run zc_install, choose database-upgrade, and follow the upgrade steps.
You can find upgrade documentation in the /docs/ folder of your Zen Cart files, and also on the FAQ/Tutorials site:
https://www.zen-cart.com/tutorials/index.php?article=108
https://www.zen-cart.com/tutorials/index.php?article=98
etc

This looks like it working but when i try to update the database, it says the following, and it shows as if it is updated.

in:
[select admin_id, admin_name, admin_pass from admin where admin_name = 'admin']

What can i do to fix?

Thanks
DigitalGuard

18 Mar 2010, 5:53 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: 1.2 Database with 1.38 New Install

Very odd that it would give that message, esp without the details of the error.
I assume your actual admin username is "admin"?

I might recommend that you do the upgrade in multiple steps, unchecking boxes to allow it to do just the oldest-recommended first, and then repeating the process progressively until they've all been completed. Sorry that it also means it'll prompt you for your admin pwd multiple times to do it that way.

18 Mar 2010, 6:25 PM
#6
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: 1.2 Database with 1.38 New Install

DrByte:

Very odd that it would give that message, esp without the details of the error.
I assume your actual admin username is "admin"?

I might recommend that you do the upgrade in multiple steps, unchecking boxes to allow it to do just the oldest-recommended first, and then repeating the process progressively until they've all been completed. Sorry that it also means it'll prompt you for your admin pwd multiple times to do it that way.

That actually worked but now I have different problem, Now my home page is coming up as

Hello. Thank you for loading Zen Cart™.
You are seeing this page for one or more reasons:

   1. This is your first time using Zen Cart™ and you haven't yet completed the normal Installation procedure.
      If this is the case for you, Click here to begin installation.

   2. Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information and/or invalid database-connection information.
      If you recently edited your configure.php files for any reason, or maybe moved your site to a different folder or different server, then you'll need to review and update all your settings to the correct values for your server.
      See the Online FAQ and Tutorials area on the Zen Cart™ website for assistance.


To begin installation ...

   1. The Installation Documentation can be read by clicking here: Documentation
   2. Run zc_install/index.php via your browser.
   3. The Online FAQ and Tutorials area on the Zen Cart™ website will also be of value if you run into difficulties.

Not sure why, because My database was connected and it updated but it looks like it can't find it.

Thanks again for your help
DigitalGuard

18 Mar 2010, 7:06 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: 1.2 Database with 1.38 New Install

That suggests, as it says, that something's amuck with your configure.php files, or you're missing files from your /includes/ folders/subfolders.