upgrade bugs?

Locked

Started by randomronald on 17 Sep 2006, 8:40 PM · Views: 2,113

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
17 Sep 2006, 8:40 PM
#1
randomronald avatar

randomronald

New Zenner

Join Date:
Sep 2006
Posts:
7
Plugin Contributions:
0

upgrade bugs?

hello

i attempted to upgrade my installed zencart from:
zen-cart-v1.2.6d-full-release-with-security-patch.zip

to:
zen-cart-v1.3.5-full-fileset-09042006.zip

so v125 to v135

I got the normal install screen and went throught the updated db stuff etc.

Now when a client clicks "log yourself in" from the normal looking index page the next page is corrupted under the "Your Address" section, here are the following errors and the screen is stretched (missing right bar):

Warning: main(DIR_WS_BLOCKSblk_address_format_us.php): failed to open stream: No such file or directory in /home/httpd/x/x/httpdocs/includes/templates/template_default/templates/tpl_login_default.php on line 194

Warning: main(DIR_WS_BLOCKSblk_address_format_us.php): failed to open stream: No such file or directory in /home/httpd/x/x/httpdocs/includes/templates/template_default/templates/tpl_login_default.php on line 194

Fatal error: main(): Failed opening required 'DIR_WS_BLOCKSblk_address_format_us.php' (include_path='/usr/share/psa-horde:/usr/share/psa-horde/pear:.') in /home/httpd/x/x/httpdocs/includes/templates/template_default/templates/tpl_login_default.php on line 194

What have i done wrong?

Also when i login to admin section, it still says:
"New Version Available V1.3.5 :: New Release with Important Security Fixes Download Here"

Obviously this is a failed upgrade, how do i repair?

many thanks.

18 Sep 2006, 3:45 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: upgrade bugs?

Did you backup both your site and database?

Did you load all the new files from Zen Cart v1.3.5?

Did you run the /zc_install and Upgrade your database?

NOTE: It is best not to upgrade a Live Site

Backup the database

Backup the Live site

Create a copy of your Live Site in /new_shop

Create a new database with a copy of your Live database ...

Edit the /new_shop/includes/configure.php and /new_shop/admin/includes/configure.php to adjust the Path to /new_shop and the database to your new database, username and password

Copy all of Zen Cart v1.3.5 to /new_shop

Run the /new_shop/zc_install and Upgrade your database

Test that all is working first ...

Once your /new_shop site works 110% perfect ... set the Live Site Down for Maintenance ...

Backup the Live Site database again ...

Drop all the tables for the /new_shop database and load the current Live site database into the /new_shop database

Run the /new_shop/zc_install again and upgrade the database ...

Now the database is 100% current on the 110% working /new_shop site ...

Edit the /new_shop/includes/configure.php and /new_shop/admin/includes/configure.php to adjust the Path from /new_shop to your Live Shop directory ...

Do NOT change the database name, username and password ... this will be your new Live Shop database ... save your old one incase of problems ...

Rename the Live Shop directory /old_shop ...

Rename the /new_shop to the name of your Live Shop directory

Test everything ...

When all is working 125% perfect ... you are good to go and can take your new Live shop off of Down for Maintenance ... :cool:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

19 Sep 2006, 12:03 AM
#3
randomronald avatar

randomronald

New Zenner

Join Date:
Sep 2006
Posts:
7
Plugin Contributions:
0

Re: upgrade bugs?

Ajeh:

Did you backup both your site and database?

yes

Ajeh:

Did you load all the new files from Zen Cart v1.3.5?
yes a full unzip was placed into a new folder

Ajeh:

Did you run the /zc_install and Upgrade your database?
yes i went through the browser install procedure, i had all green ticks.

Ajeh:

NOTE: It is best not to upgrade a Live Site
indeed.

Ajeh:

Backup the database
not sure how....

Ajeh:

Backup the Live site
done

Ajeh:

Create a copy of your Live Site in /new_shop
done

Ajeh:

Create a new database with a copy of your Live database ...
I do not know how to backup the database, please advise

Ajeh:

Edit the /new_shop/includes/configure.php and /new_shop/admin/includes/configure.php to adjust the Path to /new_shop and the database to your new database, username and password
done

Ajeh:

Copy all of Zen Cart v1.3.5 to /new_shop
I am not entirely sure what you mean here, the extracted zip to overwrite the /new_shop ? or?

Ajeh:

Run the /new_shop/zc_install and Upgrade your database
done

Ajeh:

Test that all is working first ...

Once your /new_shop site works 110% perfect ... set the Live Site Down for Maintenance ...

Backup the Live Site database again ...

Drop all the tables for the /new_shop database and load the current Live site database into the /new_shop database

Run the /new_shop/zc_install again and upgrade the database ...

Now the database is 100% current on the 110% working /new_shop site ...
a bit confusing about percentages but i get the idea.

Ajeh:

Edit the /new_shop/includes/configure.php and /new_shop/admin/includes/configure.php to adjust the Path from /new_shop to your Live Shop directory ...
yeah, that was very important but the paths already there were a bit tricky to edit.

Ajeh:

Do NOT change the database name, username and password ... this will be your new Live Shop database ... save your old one incase of problems ...
well actually im going to start from scratch to test a site.

Ajeh:

Rename the Live Shop directory /old_shop ...

Rename the /new_shop to the name of your Live Shop directory

Test everything ...
testing is important, but so is ease of install/upgrade, but u get what you pay for!

Ajeh:

When all is working 125% perfect ... you are good to go and can take your new Live shop off of Down for Maintenance ... :cool:
I actually completed the rest of the task based on my own mistakes and corrected them by reading a few things properly (reading does help stop errors).
A fresh install is complete and i will work out how to backup databases and implement them into the new site.

I believed that when i installed the latest version it would auto overwrite the older site.
This is my overlooked problem and ignorance.
Hence when i logged into admin section it still told me to update it! Now its fully updated and got a green coat of paint as a bonus.

It would help if somewhere was an option to place the current running version number in the admin section near the "Check for Updates" button.
Also a date when it was last updated would be useful too.

MANY MANY thanks for your excellent help Ajeh and I appreciate your time in helping a zenny noob like me.

thank you. :yes:

19 Sep 2006, 12:50 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: upgrade bugs?

Perhaps peeking in your footer? :smile:

E-Commerce Engine Copyright © 2003 Zen Cart™
Zen Cart v1.3.5/v1.3.5

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

19 Sep 2006, 8:26 AM
#5
randomronald avatar

randomronald

New Zenner

Join Date:
Sep 2006
Posts:
7
Plugin Contributions:
0

Re: upgrade bugs?

lol
i have to scroll down, which is time wasting, hence my grumble about having the version displayed at the top :)

19 Sep 2006, 1:25 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: upgrade bugs?

randomronald:

It would help if somewhere was an option to place the current running version number in the admin section near the "Check for Updates" button.
Also a date when it was last updated would be useful too.
The "Version" link in the header bar, right under the "check for updates" button, shows you all that information directly. And you probably won't have to scroll to see any of it... :laugh:

.
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.