Forums / Upgrading to 1.5.x / install the new version into a separate database

install the new version into a separate database

Results 1 to 6 of 6
16 Apr 2013, 14:20
#1
tahiti_amin avatar

tahiti_amin

New Zenner

Join Date:
Jan 2012
Posts:
58
Plugin Contributions:
0

install the new version into a separate database

This is one of the first instructions listed in the zencart upgrade tutorial. Exactly what files am I supposed to load into the new database?
16 Apr 2013, 14:23
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Posts:
31,500
Plugin Contributions:
4

Re: install the new version into a separate database

Exactly what files am I supposed to load into the new database?


NO files into a database - - import a database backup from your current store
16 Apr 2013, 18:00
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: install the new version into a separate database

tahiti amin:

This is one of the first instructions listed in the zencart upgrade tutorial. Exactly what files am I supposed to load into the new database?


Every Zen Cart installation requires a set of files and a database.
The instructions probably mentioned "into a new database" because it means to NOT re-use the existing database where your live data is located.
I suppose you could replace the word "new" with "separate":

"Install a new copy of Zen Cart onto your server, making sure to use a different/new database which is not your current/existing database."

Also worth reading: http://www.zen-cart.com/entry.php?3-How-do-I-rebuild-my-site-on-the-new-version-instead-of-upgrading
27 Apr 2013, 14:14
#4
tahiti_amin avatar

tahiti_amin

New Zenner

Join Date:
Jan 2012
Posts:
58
Plugin Contributions:
0

Re: install the new version into a separate database

Thanks for all the help. I am almost all the way through updating. I have been testing my "new site" every step of the way to make sure everything is right. When updating the two configure flies I replaced any of the mentions of _CATALOG with _DEMOCATALOG and tested the site afterwards and everything was working great. I browsed through the site I tried to place an order and all seemed to be working quite well. I put the new zencart folder in my "new site" and attempted to install but it will not allow me to upgrade. I read through the instructions and it said to check your configure files settings. I did that and I have everything set to 777. Does anyone know what I am doing wrong?
27 Apr 2013, 14:16
#5
tahiti_amin avatar

tahiti_amin

New Zenner

Join Date:
Jan 2012
Posts:
58
Plugin Contributions:
0

Re: install the new version into a separate database

one more thing I noticed. On my new version of the site everything seems to be working but I cannot access the admin folder. When I try to it takes me to the system set up required page.
27 Apr 2013, 14:49
#6
tahiti_amin avatar

tahiti_amin

New Zenner

Join Date:
Jan 2012
Posts:
58
Plugin Contributions:
0

Re: install the new version into a separate database

Okay I figured out that my configure files are not correctly formatted.
If I put the new version of my store under the folder testcatalog
and named my new database testcatalog
what should this configure file look like when I am done?
define('DIR_WS_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

define('DIR_FS_CATALOG', '/home/##########___/public_html/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/')

define('SQL_CACHE_METHOD', 'none');
define('DIR_FS_SQL_CACHE', '/home/##########_/public_html/catalog/cache');