Forums / Upgrading from 1.3.x to 1.3.9 / Cant upgrade - want to start again.

Cant upgrade - want to start again.

Locked

Started by pookiehair on 2 Sep 2011, 3:16 PM · Views: 1,813

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
2 Sep 2011, 3:16 PM
#1
pookiehair avatar

pookiehair

New Zenner

Join Date:
May 2010
Location:
UK
Posts:
86
Plugin Contributions:
0

Cant upgrade - want to start again.

I have been using Zen Cart 1.3.8a successfully for about a year. I have attempted to upgrade it to the 1.3.9h loads of times but have never managed it & usually end up frustrated and in tears. :frusty: Yesterday I completely messed up my site again while trying to upgrade it so had to ask my server to re-install a saved backup.
I have now lost all confidence that I can do an upgrade. :(
I am quite prepared now to start afresh and build a new site with a new database & new template. There's nothing left in the old shop anyway that needs keeping although I did like the template & the changes that Id made to it (with help).
Is there a safe way of doing this? I would like to keep my old site untill the new one is finished and tested.
Can someone tell me a simple step by step way to do this please. You have probably guessed Im not too teccy, otherwise I would have been able to do the upgrade.
Thanks in advance for any help on offer.
Pam (Pookiehair)
http://www.towerhousedolls.co.uk

2 Sep 2011, 3:26 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Cant upgrade - want to start again.

If you're going with a new database (which means you'll have to reload all your products and you'll lose your customer info)and all new files, just create a subdirectory on your existing site (/newsite, for example) and install the new Zencart there. When you get it ready to go, you can delete all the files from the old Zencart installation and just do this:

https://www.zen-cart.com/tutorials/index.php?article=122

2 Sep 2011, 4:04 PM
#3
pookiehair avatar

pookiehair

New Zenner

Join Date:
May 2010
Location:
UK
Posts:
86
Plugin Contributions:
0

Re: Cant upgrade - want to start again.

Thanks for replying stevesh :smile:
To create a subdirectory :
Should I do this via an FTP and make a file called newsite and load the newsite files into it straight from the new Zencart download?
What should I write in here on the /includes/configure.php and /admin/includes/configure.php files?
DIR_WS_CATALOG
DIR_WS_HTTPS_CATALOG
DIR_FS_CATALOG
DIR_FS_SQL_CACHE
DIR_WS_ADMIN (in admin)
DIR_WS_HTTPS_ADMIN (in admin)
DIR_FS_ADMIN (in admin)

I already downloaded the 1.3.9h upgrade onto my server in a file called demo and copied my old database into a new database with a new name then linked it to the demo site. I havent been able to access it though so presumed I had done something wrong. When it says **install **(if you install it will overwrite your database) I dont know whether this will overwrite my 1st database (original one) or the second one I created by copying the original one. If I did this then changed the php files mentioned above would I be able to get to it from my ordinary https://www.towerhousedolls.co.uk web address? Would I be able to access the admin area or do I have to change something else?

stevesh:

If you're going with a new database (which means you'll have to reload all your products and you'll lose your customer info)and all new files, just create a subdirectory on your existing site (/newsite, for example) and install the new Zencart there. When you get it ready to go, you can delete all the files from the old Zencart installation and just do this:

https://www.zen-cart.com/tutorials/index.php?article=122

2 Sep 2011, 4:33 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Cant upgrade - want to start again.

No, to start over, you would upload the files from the latest Zencart version to the new subdirectory you created in FTP and then run the installation as usual, after creating a new database.

It doesn't sound like you want to start over completely, though.

When I point a browser to www. towerhousedolls.co.uk/demo, I see this:

1146 Table 'towerho2_zc2.db_cache' doesn't exist
in:
[db_cache table]

If you've pointed that installation to the proper database name in the configure.php file, check that the table prefix is right. Check this line in configure.php and see if it's the same as the prefix when you look at the database using phpMyAdmin in your hosting control panel:

define('DB_PREFIX', '');

2 Sep 2011, 5:02 PM
#5
pookiehair avatar

pookiehair

New Zenner

Join Date:
May 2010
Location:
UK
Posts:
86
Plugin Contributions:
0

Re: Cant upgrade - want to start again.

Hi stevesh & thanks again for your help.

Yes I noticed that as well.
On the php it says:
// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', ''); // prefix for database table names -- preferred to be left empty
define('DB_SERVER', 'localhost');

On the database in phpMyAdmin in my hosting control panel it doesnt have a prefix but all the files in it do.

Will check what the current php file says and compare. :wacko:

stevesh:

When I point a browser to www. towerhousedolls.co.uk/demo, I see this:

1146 Table 'towerho2_zc2.db_cache' doesn't exist
in:
[db_cache table]

If you've pointed that installation to the proper database name in the configure.php file, check that the table prefix is right. Check this line in configure.php and see if it's the same as the prefix when you look at the database using phpMyAdmin in your hosting control panel:

define('DB_PREFIX', '');

5 Sep 2011, 1:46 PM
#6
pookiehair avatar

pookiehair

New Zenner

Join Date:
May 2010
Location:
UK
Posts:
86
Plugin Contributions:
0

Re: Cant upgrade - want to start again.

In my demo site Ive made sure that the includes/configure.php & admin/includes/configure.php are similar to those in my original site but pointing to the 2nd database.
Ive managed to get the install to go to the Upgrade (before it was only going to Install)
Ive upgraded the demo site.
When I try & open www.towerhousedolls.co.uk/demo the page is showing blank.
I cant get to the admin either.
http://towerhousedolls.co.uk/demo/admin/index.php
Its says
?>
0 DB_ERROR_NOT_CONNECTED
in:
[db_cache table]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

http://towerhousedolls.co.uk/demo/nddbc.html
Anyone know what this is nddbc.html ?

5 Sep 2011, 2:32 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Cant upgrade - want to start again.

The admin message probably means the DB items (DB name, login, password) in admin/includes/configure.php aren't correct.

There's a tutorial here for blank pages:

https://www.zen-cart.com/tutorials/index.php?article=82