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

Warning Your database appears to need patching to a higher level

Locked

Views: 9,717

Results 21 to 33 of 33
This thread is locked. New replies are disabled.
3 Dec 2006, 9:44 PM
#21
mom2nine avatar

mom2nine

New Zenner

Join Date:
Sep 2004
Location:
USA
Posts:
6
Plugin Contributions:
0

Warning Your database appears to need patching to a higher level

AWESOME!! Worked like a charm. Thanks so much!

11 Dec 2006, 8:48 AM
#22
zenartman avatar

zenartman

Zen Follower

Join Date:
Nov 2005
Posts:
134
Plugin Contributions:
0

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

I upgraded from 1.3.0.1 to 1.3.6. all have gone right. Only database warning is still there. I no longer has the zc-folder , so wonder how to fix the problem. Earlier posts seem to point to this folder.

specially DrByte says zc_install should be used. I am a litlle dumbfounded.

11 Dec 2006, 8:52 AM
#23
zenartman avatar

zenartman

Zen Follower

Join Date:
Nov 2005
Posts:
134
Plugin Contributions:
0

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

I upgraded from 1.3.0.1 to 1.3.6. all have gone right. Very glad that 136 fixed Choose your country bug.

Only database warning is still there. I no longer has the zc-folder , so wonder how to fix the problem. Earlier posts seem to point to this folder.

specially DrByte says zc_install should be used. I am a litlle dumbfounded.

Maybe the only way to go ahead of rme is to use Pinkbeef's suggestion. I wonder if I use that method whether it will cause later big problems during upgrade or installing another mod.

Any help is appreciated. Right now I have the database warning on my site as if across my forehead.

11 Dec 2006, 9:53 AM
#24
zenartman avatar

zenartman

Zen Follower

Join Date:
Nov 2005
Posts:
134
Plugin Contributions:
0

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

it appears that i upgraded by fantastico, something to be avoided -according to instructions. Any help is appreciated.

12 Dec 2006, 2:26 PM
#25
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

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

Make sure that you have the correct version.php file inside the includes/ folder.

Vger

12 Dec 2006, 10:20 PM
#26
zenartman avatar

zenartman

Zen Follower

Join Date:
Nov 2005
Posts:
134
Plugin Contributions:
0

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

Thank you Vger for your reply.

now i have 1.3.6. In the includes folder, the version.php has the following. Does it mean it is the correct version. :

...
define('PROJECT_VERSION_NAME', 'Zen Cart');

define('PROJECT_VERSION_MAJOR', '1');

define('PROJECT_VERSION_MINOR', '3.6');

define('PROJECT_VERSION_PATCH1', '');

define('PROJECT_VERSION_PATCH2', '');

define('PROJECT_VERSION_PATCH1_SOURCE', '');

define('PROJECT_VERSION_PATCH2_SOURCE', '');

define('NEW_VERSION_CHECKUP_URL','http://ping.zen-cart.com/version_id.txt');

define('EXPECTED_DATABASE_VERSION_MAJOR', '1');

define('EXPECTED_DATABASE_VERSION_MINOR', '3.6');

?>

It is again my sucker question, sorry.
Except the warning, the site seems to work better than before. Interestingly, after upgrading thru fantastico, I found a new admin folder and suspected if that contributed in causing the warning or any conflict. so I renamed it, but to no avail.

12 Dec 2006, 11:10 PM
#27
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

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

I guess it now goes back to the original problem - you upgraded through Fantastico and not using the Zen Cart upgrade system. If you have a copy of your old site then reinstall it and then use the Zen Cart upgrade system.

Vger

14 Dec 2006, 3:05 PM
#28
zenartman avatar

zenartman

Zen Follower

Join Date:
Nov 2005
Posts:
134
Plugin Contributions:
0

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

is it ok to upload zc_install folder? on the following link, post #9 , I read if zc_install is deleted it can be uploaded again. Will it cause problems later with future upgrades even if it does the trick now?

http://www.zen-cart.com/forum/showthread.php?t=43955&highlight=restore+database

14 Dec 2006, 3:29 PM
#29
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

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

The problem is that you've already run an upgrade via Fantastico, so trying to upgrade again in the correct way may just make things worse.

Did you backup your site before upgrading? If so, load the old site and then run the upgrade.

Vger

14 Dec 2006, 3:55 PM
#30
zenartman avatar

zenartman

Zen Follower

Join Date:
Nov 2005
Posts:
134
Plugin Contributions:
0

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

A real goofy question: should old i.e. present live site be wiped out and backup be uploaded?

14 Dec 2006, 5:15 PM
#31
drbyte avatar

drbyte

Sensei

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

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

zenartman:

is it ok to upload zc_install folder? on the following link, post #9 , I read if zc_install is deleted it can be uploaded again. Will it cause problems later with future upgrades even if it does the trick now?

http://www.zen-cart.com/forum/showthread.php?t=43955&highlight=restore+database

To do an upgrade you NEED to re-upload the newest zc_install folder. Use it to do your database-upgrade, and then remove the zc_install folder again.

Make sure you have done backups of your database before proceeding.

15 Dec 2006, 11:33 AM
#32
zenartman avatar

zenartman

Zen Follower

Join Date:
Nov 2005
Posts:
134
Plugin Contributions:
0

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

My test site is ok. But live site got problem.

Does somebody know why I have these words:

Warning: main(version.php) [function.main]: failed to open stream: No such file or directory in /home/XXXXXXXXXXXXX/public_html/artscrafts/zc_install/includes/application_top.php on line 26

Warning: main(version.php) [function.main]: failed to open stream: No such file or directory in /home/XXXXXXXXXXXXX/public_html/artscrafts/zc_install/includes/application_top.php on line 26

Fatal error: main() [function.require]: Failed opening required 'version.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/XXXXXXXXXXXXX/public_html/artscrafts/zc_install/includes/application_top.php on line 26

15 Dec 2006, 4:02 PM
#33
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,830
Plugin Contributions:
17

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

Two guesses....

  1. If you are installing/upgrading, you probably have a botched ftp and not all the files made it to the server.
  2. If you are not upgrading/installing, you have everything in the wrong directory as the zc_install directory should not be there except for installation/upgrade.