Zen Cart Logo
Forums / Upgrading to 1.5.x / Not sure if upgrade worked properly

Not sure if upgrade worked properly

Views: 1,297

Results 1 to 5 of 5
22 Aug 2012, 10:07 PM
#1
tezla avatar

tezla

New Zenner

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

Not sure if upgrade worked properly

I followed the long upgrade HTML doc from v1.5.0 package. I'm on the last step where you have the second kinda-hidden copy of the store and are testing it before it goes live. Basically, I'm running 2 parallel folder/copies ... each with their own database.

In the v1.5.0 folder/database set ... All the items, customers, and orders made it. HOWEVER, the HomePage and all the other "static" pages ( Shipping and Returns, Conditions of Use, etc.) ... all contain the "clean install" or default text. Did something go wrong?

This is what I started with:
ZenCart: 1.3.8a Fresh install back in 2008 (Admin folder renamed recently)
Addons: Request For Quote (RFQ v1.01), FCK Editor 2.5
Template: ezBlue
Customizations: Maybe a few display text changes in the PHP code here and there (footer, etc) ... nothing special
PHP: 4.3
mySQL: 4.1

Since I only made a few minor text changes to the PHP files, I skipped the WinMerge step.
Then, because I read v1.5.0 warnings about:

  • a new template system
  • needing updated or compatible Add-ons anyway
    I decided to:
  • Clean Install Files
  • Upgrade install database
    ... and then fix up site (install updated template and Add-Ons) until it looks right.

From the Hosting Control Panel:

  • I backed up the old 4.1 database.
  • Created a new 5.0 database (now, 5.0 was only choice)
  • Using CP, restored old 4.1 database (.sql backup) to new 5.0 database.

I uploaded the new 1.5.0 fileset (to a new folder)
I uploaded the item picture files from the local backup
I fixed up the configure.php files

When I ran the installer ...

Clicked Continue a couple of times
On Prerequisites page, everything should be "Green" or good.
On this install, all was green except this was !yellow (but it said it was ok)
"PHP Output Buffering (gzip) = OFF"

(Saved this page as "Complete HTML" for later reference ... nice display of specs)

"Database Upgrade" is offered so we know the Installer/Upgrader COULD connect to DB and is also able to read structure
Clicked "Databse Upgrade" button
Next Page ... Both of these are Pre-Selected (which looked right to me)

  • Upgrade DB from 1.3.8 to 1.3.9
  • Upgrade DB from 1.3.9 to 1.5.0

Don't change Prefix

Entered ZC Admin User and password

Clicked ok and got this:
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. more info...

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.

Looks ok, all errors are about Admin activity Log (minor?)
Clicked Re-Check and says:
Upgrade Sniffer predicts: *** No upgrade required ***
Clicked
"Done with Updates" button

Congratulations!

You have successfully installed Zen Cart on your system!


So, did it work or not? Is the HTML code for those basic pages in the database ...

  • or -
    was it something I was suppose to carry over from the backup (either new standalone files or modified standard files)
    ... similar to the graphics files I carried over
    Maybe I missed them because I basically skipped the WinMerge step?
23 Aug 2012, 5:55 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Not sure if upgrade worked properly

Tezla:

the HomePage and all the other "static" pages ( Shipping and Returns, Conditions of Use, etc.) ... all contain the "clean install" or default text. Did something go wrong?
Those are contained in your language files.

23 Aug 2012, 6:15 AM
#3
tezla avatar

tezla

New Zenner

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

Re: Not sure if upgrade worked properly

DrByte:

Those are contained in your language files.

Thanks for the quick reply.

I don't mind doing additional work. I just wanted to make sure what I have done so far worked properly.

What threw me off was that some of the EZ-Pages are fine. It's just the default or common ones that are incorrect. Seems that when some are edited, a real file is created or modified. Others (like special ones you create for just your own site) ... seems that content (HTML code) is instead stored in the database.

23 Aug 2012, 6:37 AM
#4
tezla avatar

tezla

New Zenner

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

Re: Not sure if upgrade worked properly

I'm sure others are searching here, so I wanted to mention this. Not sure if I was doing somthing wrong or not, but this was my experience.

After you finish the Upgrade procedure, you get a message that says you can't use the new store until you delete the ZC_install folder and rename the admin folder ... ok, fine (good idea).

So, you delete the zc_install folder.

HOWEVER, it says that if you are running 1.5.0 now (I am), you can freely rename the admin folder (like normal) but you DO NOT have to edit the admin's folder configure.php settings.

That was not my experience. I only got a 404 page. With a renamed admin folder, the only was I could reach Admin was to edit the paths in configure.php like usual.

23 Aug 2012, 11:14 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: Not sure if upgrade worked properly

And that would be true if you kept the original configure.php file contents from before the upgrade.

If one uses the new configure.php file built by doing a new install, then there's no need to edit the file contents when simply renaming the admin folder.
And no, you don't need to go change the file now. Either will work. The new format just makes things more flexible for people doing new installations.