Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / "database needs patching" message (upgraded via fantastico)

"database needs patching" message (upgraded via fantastico)

Locked

Views: 3,479

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
16 Mar 2007, 10:18 PM
#1
dkessler avatar

dkessler

New Zenner

Join Date:
Mar 2006
Posts:
56
Plugin Contributions:
0

"database needs patching" message (upgraded via fantastico)

I upgraded from 1.3.6 to 1.3.7, but on top of all screens I get the warning:

Your database appears to need patching to a higher level. See Admin->Tools->Server Information to review patch levels.

I went into admin-tools-server and saw:

Zen Cart 1.3.7
Database Patch Level: 1.3.6

But it is not clear from this what I have to do. Can anyone clarify?

David

16 Mar 2007, 10:32 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: "database needs patching" message (upgraded via fantastico)

What steps did you follow to do your upgrade ?

17 Mar 2007, 11:27 AM
#3
dkessler avatar

dkessler

New Zenner

Join Date:
Mar 2006
Posts:
56
Plugin Contributions:
0

Re: "database needs patching" message (upgraded via fantastico)

I upgraded through fantastico - it was one of those newbies' "one-click" installs.

David

17 Mar 2007, 4:26 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: "database needs patching" message (upgraded via fantastico)

Fantastico is great for a fresh install. After that, it has a reputation of being unreliable.

In the /docs folder are several resources to explain things like installation, upgrading, and other things you'll find useful.

Your upgrade has only touched some of your files. It has not touched any of your customized files, meaning that they won't have any of the new features/fixes in them that might have been created during the 1.3.7 release. As such, you need to follow the upgrade instructions in the /docs folder of your Zen Cart folder.
You should also download the latest version of Zen Cart manually. See our home page for the link. You'll need the raw files in order to understand some things, and also in order to do upgrades.

Your upgrade has not handled the database side yet, which is why you're seeing the warning.
You need to install the zc_install folder from the Zen Cart distribution files (ie: the zip you'll download from our home page). Once you've uploaded it via FTP, you can click through it, choosing "Database Upgrade" instead of "Install" on the System Inspection page. Then just follow instructions.

Then go back and review your customizations, using the upgrade instructions from the /docs folder. You'll need to WinMerge the updates into your customized files or else you may end up with some odd behaviour on your site.

17 Mar 2007, 7:23 PM
#5
dkessler avatar

dkessler

New Zenner

Join Date:
Mar 2006
Posts:
56
Plugin Contributions:
0

Re: "database needs patching" message (upgraded via fantastico)

Okay I'll try that, but I'm puzzled by one thing. You say that it has not touched any of my customized files. Yet it has deleted the content from my home page and put the default content there. Same for the conditions page. I also changed the names of pages 1,2,3 and 4 but these have gone back to the defaults.

David

17 Mar 2007, 7:28 PM
#6
dkessler avatar

dkessler

New Zenner

Join Date:
Mar 2006
Posts:
56
Plugin Contributions:
0

Re: "database needs patching" message (upgraded via fantastico)

Oh I forgot, I'm running it on a Unix site, not windows. Will that make a differences to merging the customized files?

In any case, I think my customised files have vanished and the only content on the site is two downloadable items, one of which was just a test item.

David

17 Mar 2007, 9:00 PM
#7
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,611
Plugin Contributions:
0

Re: "database needs patching" message (upgraded via fantastico)

If your customized work is gone then you have not used the override files properly. Check the FAQs for creating custom templates and the owner's manual would be highly recommended too.

18 Mar 2007, 12:33 AM
#8
dkessler avatar

dkessler

New Zenner

Join Date:
Mar 2006
Posts:
56
Plugin Contributions:
0

Re: "database needs patching" message (upgraded via fantastico)

The only thing I did was the one click upgrade with fantastico. Up till then everything was fine. Once I did the one-click upgrade, I lost the customized pages.

I have ordered the manual, but I think it will be a couple of weeks before I get it.

David

18 Mar 2007, 12:39 AM
#9
samad64 avatar

samad64

Totally Zenned

Join Date:
May 2006
Location:
Texas
Posts:
554
Plugin Contributions:
2

Re: "database needs patching" message (upgraded via fantastico)

basically, when fantastico upgrades, it will overwrite everything that was previously there - unless you added a new file or new directory yourself. thats why Kim was talking about the override system - you can add your own directories and own files, make your changes.. and the upgraders won't touch them

Once you've mastered how to use the override system (and not use the classic folders).. you won't have this problem anymore :) It might be a little confusing at first.. but trust me.. its well worth it

18 Mar 2007, 4:03 AM
#10
drbyte avatar

drbyte

Sensei

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

Re: "database needs patching" message (upgraded via fantastico)

When I said it didn't touch your customizations, I was of the impression that you had built a custom template.

This link is to the "What Every New Zenner Needs to Know" section of the FAQs:
https://www.zen-cart.com/tutorials/index.php?category=16
Take a peek at the articles talking about the overrides system.

Basically, it sounds like you've used the default "Classic" template, rather than duplicating needed components for your own template (see the FAQs for clarification on "duplicating needed components").
Thus, since Zen Cart contains default Classic files, and the fantastico upgrader replaces all the files, it overwrote your changes.

Lesson #1: Do manual upgrades. You have lots more control that way.
Automated one-click upgrades are not your friend.

In the meantime, until the book arrives, the FAQ section can be very helpful.
FAQs: https://tutorials.zen-cart.com
Wiki: http://www.zen-cart.com/wiki (for other categorized documentation)

20 Mar 2007, 11:19 PM
#11
waznu avatar

waznu

New Zenner

Join Date:
Feb 2006
Posts:
37
Plugin Contributions:
0

Re: "database needs patching" message (upgraded via fantastico)

I have a similiar issue, I updated my database with the install, but I did the upgrade via fantastico, now the install file says I have the latest version of the database, but it gives me that dang red bar that says I dont, also in the admin it says i still have six. If I do the manual upgrade it will not wipe out my database? and I just got through doing all my customizations again,,,, will this wipe out the customization again?

21 Mar 2007, 3:05 AM
#12
drbyte avatar

drbyte

Sensei

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

Re: "database needs patching" message (upgraded via fantastico)

Go to Admin->Tools->Server Info ... what do you see for version information in the top of the box in the middle of that page?

21 Mar 2007, 3:17 AM
#13
waznu avatar

waznu

New Zenner

Join Date:
Feb 2006
Posts:
37
Plugin Contributions:
0

Re: "database needs patching" message (upgraded via fantastico)

Database Patch Level: 1.3.6

I tried the upgrade patch three times within the zc_install, twice the install says i dont need to upgrade, I have the right one.. but obviously i dont. what would you suggest?

10 Apr 2007, 11:34 PM
#14
anitalee avatar

anitalee

New Zenner

Join Date:
Jun 2006
Posts:
18
Plugin Contributions:
0

Re: "database needs patching" message (upgraded via fantastico)

I have this same issue, updated in fantastico and now have that annoying message across the top of my site. If someone could help me I would so appriciate it, please do not send me a link to some general install tutorial cause I will be totally lost and not get it fixed. If some one is willing to tell me change the text "bla bla" on page example.php to "blanew" or something like that it would be wonderful. I am even willing to pay someone a small fee for help in this manner.

Thanks
Anita