Forums / Upgrading to 1.5.x / Skipped upgrade statements: 4

Skipped upgrade statements: 4

Views: 2,771

Results 1 to 13 of 13
2 Jan 2012, 11:29 PM
#1
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Skipped upgrade statements: 4

I want to make sure that I understand this right.

I have done all the backup of the database and the site to my computer onto a disk.

My site is on my main domain name like mysite.biz

So I need to do the following:

  1. Make a new separate database for the new version.

  2. Then upload the old database into the new database.

  3. Make a new directory like /test-site/ like this mysite.biz/test-site/

4)Upload the new version of zen cart into the /test-site/ then make sure its working correctly.

  1. Then upload the new version of zen cart into the main directory (mysite.biz) then configure both configure.php files that can connect to the new database.
3 Jan 2012, 1:58 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Skipped upgrade statements: 4

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Jan 2012, 3:16 AM
#3
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Skipped upgrade statements: 4

Should I go ahead and upload the new version on the main domain and then do the upgrade on the same database or a brand new database?

3 Jan 2012, 3:33 AM
#4
Kim avatar

Kim

Obaa-san

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

Re: Skipped upgrade statements: 4

Follow the instructions.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

3 Jan 2012, 3:16 PM
#5
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Skipped upgrade statements: 4

The database will not let me upgrade to 1.5.0 because it gave me 4

NOTE: Skipped upgrade statements: 4
See details at bottom of page for your inspection.
(Details also logged in the "upgrade_exceptions" table.)
Note: In most cases, these failed statements can be ignored,
as they are indications that certain settings may have already been set on your site.
If all the suggested upgrade steps have been completed (no recommendations left),
you may proceed to Skip Upgrades and continue configuring your site.

then at the bottom says:

SKIPPED: Cannot drop index page_accessed on table admin_activity_log because it does not exist.
SKIPPED: Cannot drop index access_date on table admin_activity_log because it does not exist.
SKIPPED: Cannot add index idx_page_accessed_zen to table admin_activity_log because it already exists.
SKIPPED: Cannot add index idx_access_date_zen to table admin_activity_log because it already exists.

3 Jan 2012, 3:38 PM
#6
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Skipped upgrade statements: 4

When I change the Database information to the new database to do the upgrade then when I click save Database savings. It still shows the old database name instead of the new one. How come is it doing that?

3 Jan 2012, 3:49 PM
#7
Kim avatar

Kim

Obaa-san

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

Re: Skipped upgrade statements: 4

Moderator's note: new thread merged with existing thread on same topic.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

3 Jan 2012, 3:51 PM
#8
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Skipped upgrade statements: 4

Kim,,, Please Help me!

3 Jan 2012, 4:47 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Skipped upgrade statements: 4

bkeaton:

The database will not let me upgrade to 1.5.0 because it gave me 4

NOTE: Skipped upgrade statements: 4
See details at bottom of page for your inspection.
(Details also logged in the "upgrade_exceptions" table.)
Note: In most cases, these failed statements can be ignored,
as they are indications that certain settings may have already been set on your site.
If all the suggested upgrade steps have been completed (no recommendations left),
you may proceed to Skip Upgrades and continue configuring your site.

then at the bottom says:

SKIPPED: Cannot drop index page_accessed on table admin_activity_log because it does not exist.
SKIPPED: Cannot drop index access_date on table admin_activity_log because it does not exist.
SKIPPED: Cannot add index idx_page_accessed_zen to table admin_activity_log because it already exists.
SKIPPED: Cannot add index idx_access_date_zen to table admin_activity_log because it already exists.

Those messages indicate that there were some cleanup steps that were not required in the upgrade process. Those messages can be ignored.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Jan 2012, 4:48 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: Skipped upgrade statements: 4

bkeaton:

When I change the Database information to the new database to do the upgrade then when I click save Database savings. It still shows the old database name instead of the new one. How come is it doing that?
I'm not sure I fully understand your question, but I'll offer this based on a very popular mistake:
Your configure.php files are probably read-only, so it won't be able to replace the contents, without being writable.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Jan 2012, 4:48 PM
#11
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Skipped upgrade statements: 4

I finally got it upgraded

9 Jan 2012, 8:42 PM
#12
xergos055 avatar

xergos055

New Zenner

Join Date:
Nov 2008
Posts:
36
Plugin Contributions:
0

Re: Skipped upgrade statements: 4

How did you do?

25 Feb 2012, 2:55 AM
#13
freya avatar

freya

Zen Follower

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

Re: Skipped upgrade statements: 4

I received the same error, but when I go to the see my store. There is nothing there. So I opened the configure.php file in the admin folder, and it's completely blank. Can someone explain what happened and what I can do. I am in a perpetual loop of re-installing. Obviously, I can't access the back end of the store either as it doesn't exist. What happened?

BTW, the files are both config files are set for write for the user.

Thanks,

Marci

Marci Baun, Publisher
http://www.wildchildpublishing.com/ -- Break free...read wild!
http://www.freyasbower.com/ -- Weaving passion into words...