Forums / Upgrading from 1.2 to 1.3.x / Problems after upgrading from 1.2.6d to 1.3.7

Problems after upgrading from 1.2.6d to 1.3.7

Locked

Views: 4,883

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
12 Apr 2007, 6:36 PM
#1
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Problems after upgrading from 1.2.6d to 1.3.7

Hi all,

I have finished upgrading. But I now have the following issues.

  1. My admin is v1.3.7 but when I click on other links it returns to v.1.2.6d. Why is that?
  2. On my website, links that were created using EZ pages were not working.
  3. The homepage picture has disappeared so are the pictures I put in the category pages.

Please help. Thank you.

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

12 Apr 2007, 7:41 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Problems after upgrading from 1.2.6d to 1.3.7

Ethan,

Sorry that you are still experiencing issues - but my suggestions remain the same:

Your stylesheet_new.css is dated @version $Id: stylesheet_new.css 3286 2006-03-28 01:14:04Z drbyte $

This should be for 1.3.7 - * @version $Id: stylesheet.css 5349 2006-12-22 20:34:40Z birdbrain $

So you are using the incorrect stylesheet for this version and there were some changes between those dates

And most importantly:

Your stylesheet.css is the AlgoZone, Inc supplied version meant for ZenCart 1.2.x and repleat with tables that do not exist in Zen Cart 1.3.7

Zen-Venom Get Bitten

13 Apr 2007, 12:44 AM
#3
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Problems after upgrading from 1.2.6d to 1.3.7

Your stylesheet_new.css is dated @version $Id: stylesheet_new.css 3286 2006-03-28 01:14:04Z drbyte $
This should be for 1.3.7 - * @version $Id: stylesheet.css 5349 2006-12-22 20:34:40Z birdbrain $
So you are using the incorrect stylesheet for this version and there were some changes between those dates

I did a test upgrade in the a sub-folder and upgraded it when the test shop was made as close as to the Live Shop as possible. I don't understand how it could work well in the sub-folder but when not when I moved it into the root. One thing I can think of is that I might not have move all the Live Shop files into /old_shop. If I was using the incorrect stylesheet, why would it work so well in the sub-folder at the first place? What do you think I should do to fix this?

With regards to my admin, I am not so sure if it is the old or the latest version. When I was doing the test upgrade, the menu color in the admin was always black. Now that I did the real upgrade, the menu color of all the pages in the admin is brown except the very first page when I log in. However, it does say my ZenCart appears to be current. Apart from these, the EZ pages which I created in the test shop are now all gone in the admin. How could this possible?

Please help. Thanks in advance.

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

13 Apr 2007, 1:28 AM
#4
kobra avatar

kobra

Black Belt

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

Re: Problems after upgrading from 1.2.6d to 1.3.7

Brown??? This is the old admin interface as the latest is a green template. You have apparently got fils corssed up and not a clean upgraded install. I would start with a clean install (yeah I know this is not what you want to hear...)

Zen-Venom Get Bitten

13 Apr 2007, 2:24 AM
#5
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Problems after upgrading from 1.2.6d to 1.3.7

Hi Kobra,

If I was to re-upgrade again, should I reverse everything back to the Live Shop and the test shop and then re-run the zc_install again? Everything was good except when I moved the Live Shop to /old_shop and test shop to the Live Shop. Please provide me with the instructions as to reverse this. Thanks.

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

13 Apr 2007, 4:40 AM
#6
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Problems after upgrading from 1.2.6d to 1.3.7

Hi,

I just thought of something. Do I have to change the two configure.php files of the old_shop with the old_shop path? I was just thinking if this could be the reason why there are crossed up files.

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

13 Apr 2007, 6:04 AM
#7
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Problems after upgrading from 1.2.6d to 1.3.7

no, that doesn't solve the problem. Does anyone have any suggestion?

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

13 Apr 2007, 8:05 AM
#8
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Problems after upgrading from 1.2.6d to 1.3.7

I'm seeing a few of these sorts of problems at the moment, where people construct a test site, get it working perfectly, only for it to fall apart when moved to the site root. That shouldn't happen of course, but moving all those files about is a bit risky and then getting everything working when they arrive requires some technical understanding of how Zen Cart is configured..

If moving the Zen Cart to the site root is proving problematic, there is another (IMO) less risky approach, and that's to bring the site root to the Zen Cart. This works by re-directing the domain name to the sub directory with the working test Cart. It's not a big deal as your site will undoubtedly be part way down the server's file structure anyway, you're just going one level deeper and this is exactly what people running multiple (separate) carts on different domains but within the same hosting plan do anyway.

Here are the steps that you would take.

  1. set your test site into maintenance mode
  2. remove references to the sub directory name (6 of them) from "WS" defines in your two configure.php file
  3. point the two configure.php files to the live database
  4. point (or have your host point) your domain name to the subdirectory
  5. backup and upgrade your database
  6. unset your now live site form maintenance mode

This is also very reversible if needed. You just restore the old database and point the site back to the old site root and you're back where you were before you started = very low risk.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

13 Apr 2007, 11:56 AM
#9
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Problems after upgrading from 1.2.6d to 1.3.7

Hi Kuroi,

Thanks for suggestion. I would still like to try and make my zencart in the root. How else can I solve the problem?

I have tried reversing what I did by moving the test shop v1.3.7 from the root back to /test_shop folder and the Live Shop v1.2.6d from the /old_shop folder back to the root. I emptied the test shop database and imported the Live Shop database. Then I run the /test_shop/zc_install and upgraded the database till the latest version. After that, I updated the two configure.php files with the correct path. At this stage, the test shop works well. However, when I moved the test shop to the root and the Live Shop to /old_shop folder again, the same problems appeared as before, namely:

  1. In the admin, when I first log in, the menu color of the first page is black/green (which indicates v1.3.7 right?). Other than that, all the pages in the admin are brown when I click on any links. However, it does say my ZenCart appears to be current. I didn't have this issue when I was doing a test upgrade in a separate folder.
  2. The pictures on the homepage as well as the category pages have also disappeared.

For your information, I moved the folders and files around within the ftp program. Is this problematic? I didn't download them from the ftp program and then reload them from my computer as I realized that it will take too long. You were saying moving files about is risky, can you please explain? Thanks.

Best regards,
Ethan

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

13 Apr 2007, 12:07 PM
#10
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Problems after upgrading from 1.2.6d to 1.3.7

Also, I meant to ask how do we know which Live Shop folders and files to move to /old_shop folder? I might not have moved all of them and hence the mixed version of admin??

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

13 Apr 2007, 1:07 PM
#11
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Problems after upgrading from 1.2.6d to 1.3.7

I doubt that you have a mixed admin. It's more likely that you are initially loading the admin from your upgraded site, but the configure files then cause the links to point to a different version elsewhere on your server. You said that you updated the configure files to make them work in the test environment; but didn't mention changing them again to make them work properly for the live site.

Your images not appearing could also be due to the configure files not pointing correctly to your images directory in the live site.

Could you take a look at your admin URLs and image URLs and post them here?

The message that you appear to have the latest version is telling you only that your database is up-to-date. The problem lies in your code set.

What I meant by it being risky to copy all these files about is ... well ... you're experiencing it. When you move files there's a risk that some don't make it, get corrupted or, since you've changed the location of your site, pointers get missed so that files are no longer where they're expected.

That said, using FTP to move files about on a server shouldn't cause any particular problems. I do it all the time with FileZilla and have yet to experience a single problem. That's why I believe that this is most likely about where your configure pointers are looking for them.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

13 Apr 2007, 3:16 PM
#12
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Problems after upgrading from 1.2.6d to 1.3.7

Hi Kuroi,

Good news. I fixed my problem. I found out that the reason why the admin looked mixed. I had an extra configure.php file in /admin which was not pointed to the right path. Anyway, I deleted this file. The admin pages are now all green.

As with my images, that was because the images were not at the correct locations and hence they were not showing up.

One last question I would like to ask is about the EZpages. I lost all my EZpages I created in the test shop after doing a real upgrade and brought the test shop to the live shop. You mentioned in other thread that the EZpages are stored in a table in the database. How do I put this table into the current database?

Thanks for your help. Much appreciated :)

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

18 Apr 2007, 2:32 AM
#13
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Problems after upgrading from 1.2.6d to 1.3.7

Hi,

For some reason, my admin looks mixed again. The menu bar at the /admin/index.php page is green but on other admin pages (e.g. /admin/categories.php), they are brown. Any idea?

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

18 Apr 2007, 8:11 AM
#14
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Problems after upgrading from 1.2.6d to 1.3.7

dealbyethan.com:

I lost all my EZpages I created in the test shop after doing a real upgrade and brought the test shop to the live shop. You mentioned in other thread that the EZpages are stored in a table in the database. How do I put this table into the current database?Unless you are using the multi-language EZ-Pages add-on, this is as simple as taking the ezpages table in your old database and using it to replace the one in your new database.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

18 Apr 2007, 8:14 AM
#15
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Problems after upgrading from 1.2.6d to 1.3.7

dealbyethan.com:

For some reason, my admin looks mixed again. The menu bar at the /admin/index.php page is green but on other admin pages (e.g. /admin/categories.php), they are brown. Any idea?I'd examine the paths in your configure file(s) again. That it can build it correctly at the top level shows that you have the right files on your site. That it reverts to the wrong color when you click on a link shows that the old code is still present somewhere on your server and that your links point to it. And these links are constructed using the information in your configure files. I would look at the URL that you end up at, as this will give you clues as to what to look for in the configure files.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)