Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / Your database appears to need patching to a higher level.

Your database appears to need patching to a higher level.

Views: 14,847

Results 1 to 20 of 56
25 Apr 2011, 12:40 AM
#1
stuffdone avatar

stuffdone

Zen Follower

Join Date:
Jul 2007
Posts:
156
Plugin Contributions:
0

Your database appears to need patching to a higher level.

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

--- I find nothing to fix or even explain this error. There is little help when clicking to Tools->Server.

Can someone explain in plain English how to fix this? I have halted all uprades on client ZEN carts until this issue is resolved.

:(

25 Apr 2011, 12:52 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Your database appears to need patching to a higher level.

It simply means that the database-version and the Zen Cart PHP files version are mismatched.

So, either you've upgraded the database and not all the PHP files, or you've upgraded the PHP files and not the database.

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

25 Apr 2011, 5:38 PM
#3
stuffdone avatar

stuffdone

Zen Follower

Join Date:
Jul 2007
Posts:
156
Plugin Contributions:
0

Re: Your database appears to need patching to a higher level.

I upgraded an older version to 1.3.9h and per instructions did an install with a new database. Then per instructions I did a backup from the old database in order to restore all the products, customers etc.

All the content and the original template are now working and accepting orders but I cannot get rid of that error across the top of every page.

:blush:


Perhaps someone should edit the title for the upgrade.

It says "3 EASY STEPS TO UPGRADE ZEN CART™"

Suggested title. "3 NOT SO EASY STEPS TO UPGRADE ZEN CART™"
:laugh:

25 Apr 2011, 5:48 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,179
Plugin Contributions:
0

Re: Your database appears to need patching to a higher level.

stuffdone:


Perhaps someone should edit the title for the upgrade.

It says "3 EASY STEPS TO UPGRADE ZEN CART™"

Suggested title. "3 NOT SO EASY STEPS TO UPGRADE ZEN CART™"
:laugh:

Not nice to gouge the hand that feeds your site for FREE...

what version did you upgrade from please..

25 Apr 2011, 6:08 PM
#5
stuffdone avatar

stuffdone

Zen Follower

Join Date:
Jul 2007
Posts:
156
Plugin Contributions:
0

Re: Your database appears to need patching to a higher level.

haredo:

Not nice to gouge the hand that feeds your site for FREE...

????? What does this mean :blush:

1.3.8 to 1.3.9h

25 Apr 2011, 6:18 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,179
Plugin Contributions:
0

Re: Your database appears to need patching to a higher level.

You have to run the database upgrade with zc_install only...

25 Apr 2011, 8:04 PM
#7
stuffdone avatar

stuffdone

Zen Follower

Join Date:
Jul 2007
Posts:
156
Plugin Contributions:
0

Re: Your database appears to need patching to a higher level.

haredo:

You have to run the database upgrade with zc_install only...

I don't understand this?

I used zc_install into a new directory leaving original site untouched. New database.

I then backed up from the old DB to retain products per the instructions? Wrote down all the info for shipping and payment modules as directed.

I am trying to find out how to fix the error message and not lose all the products and customers.

25 Apr 2011, 8:08 PM
#8
kobra avatar

kobra

Black Belt

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

Re: Your database appears to need patching to a higher level.

I used zc_install into a new directory leaving original site untouched. New database.

I am trying to find out how to fix the error message and not lose all the products and customers.
You must RE-RUN zc_install on this new install and select "Upgrade DB Only"

So if your new directory is xxxxdomain/newdirectory - Then you need to insure that the directory and files for zc_install exist and enter

xxxxdomain/newdirectory/zc_install

25 Apr 2011, 8:20 PM
#9
stuffdone avatar

stuffdone

Zen Follower

Join Date:
Jul 2007
Posts:
156
Plugin Contributions:
0

Re: Your database appears to need patching to a higher level.

I get this on screen:

1253 COLLATION 'latin1_general_ci' is not valid for CHARACTER SET 'utf8'
in:
[CREATE TABLE counter_history_clean as SELECT * FROM counter_history WHERE 1 GROUP BY startdate COLLATE latin1_general_ci;]

26 Apr 2011, 3:12 AM
#11
stuffdone avatar

stuffdone

Zen Follower

Join Date:
Jul 2007
Posts:
156
Plugin Contributions:
0

Re: Your database appears to need patching to a higher level.

haredo:

Please read this thread:

If this is a mandatory change why was it not an option and a warning in the upgrade install giving the choice to make such a change in the first place?

I have a bunch of zen's to upgrade and this is not turning out to be an "Easy Three Step Process"

Is there another upgrade release on the horizon that will address these issues

26 Apr 2011, 12:41 PM
#12
kobra avatar

kobra

Black Belt

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

Re: Your database appears to need patching to a higher level.

If this is a mandatory change why was it not an option and a warning in the upgrade install giving the choice to make such a change in the first place?
It is not, unless somewhere along the way, you or someone has change the DB collation from the default as it appears in your case

26 Apr 2011, 2:11 PM
#13
stuffdone avatar

stuffdone

Zen Follower

Join Date:
Jul 2007
Posts:
156
Plugin Contributions:
0

Re: Your database appears to need patching to a higher level.

kobra:

It is not, unless somewhere along the way, you or someone has change the DB collation from the default as it appears in your case

Is this something my customer could have done via the Zen control panel? I never made any DB changes myself.

I understand the differences between the character sets but have never seen an option at install or other times to select something other than the actual language. If this is something to look for before the upgrade where does one make sure the old matches with the new before an upgrade? Could this check not be part of the upgrade if there are enough people running into the same wall, presenting a fix at the time?

26 Apr 2011, 10:16 PM
#14
kobra avatar

kobra

Black Belt

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

Re: Your database appears to need patching to a higher level.

Default is atin1_general_ci

One must do something to alter this

It is not an admin switch

Might be your host configuretion

27 Apr 2011, 2:18 PM
#15
stuffdone avatar

stuffdone

Zen Follower

Join Date:
Jul 2007
Posts:
156
Plugin Contributions:
0

Re: Your database appears to need patching to a higher level.

kobra:

Default is atin1_general_ci

One must do something to alter this

It is not an admin switch

Might be your host configuretion

Host configuration? Can you be more specific so I can find what may have caused this before attempting repair and application to a number of other Zen carts on my server?

27 Apr 2011, 4:46 PM
#16
kobra avatar

kobra

Black Belt

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

Re: Your database appears to need patching to a higher level.

Host configuration? Can you be more specific so I can find what may have caused this before attempting repair and application to a number of other Zen carts on my server?
For the server/host in question
Do a test install and check the DB collation

If not latin1_general_ci then they have something set

27 Apr 2011, 4:57 PM
#17
stuffdone avatar

stuffdone

Zen Follower

Join Date:
Jul 2007
Posts:
156
Plugin Contributions:
0

Re: Your database appears to need patching to a higher level.

kobra:

For the server/host in question
Do a test install and check the DB collation

If not latin1_general_ci then they have something set

How is this "They" you keep referring to. Who has what set?

I am the host. My server. Not sure what you want me to check.

This is the test install and the DB check is why I have the error.

27 Apr 2011, 11:56 PM
#18
kobra avatar

kobra

Black Belt

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

Re: Your database appears to need patching to a higher level.

You state this

This is the test install and the DB check is why I have the error.
But you did this replacing the default tables with those from the backup
I then backed up from the old DB to retain products

What I am stating is look at the default collation of a fresh inatall

I am the host. My server.
Did you install and configure the LAMP stack yourself'?
If not, you are only the host in name only
Check the my.cnf configuration for the server

28 Apr 2011, 12:25 AM
#19
stuffdone avatar

stuffdone

Zen Follower

Join Date:
Jul 2007
Posts:
156
Plugin Contributions:
0

Re: Your database appears to need patching to a higher level.

kobra:

Did you install and configure the LAMP stack yourself'?

How did this enter the conversation about character set? Did I miss a post?

28 Apr 2011, 12:44 AM
#20
kobra avatar

kobra

Black Belt

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

Re: Your database appears to need patching to a higher level.

stuffdone:

How did this enter the conversation about character set? Did I miss a post?
stuffdone:

How is this "They" you keep referring to. Who has what set?

I am the host. My server. Not sure what you want me to check.
kobra:

Might be your host configuration
It is where I stated that it might be the host/server configuration
Where when setup there are thousands of variables that can be set

So if you did not do this, then I guess that is the reason you are perplexed

Did you do a test install and look at the "DEFAULT" DB collation before importing any existing DB backup??