Post by TAC » Mon Sep 16, 2013 3:34 am

Hi everyone,

I have just tried to upgrade my store to 1.5.6 and get the following errors at the top of the home page:
Notice: Undefined variable: languages in /var/www/vhosts/theambercat.co.uk/httpdocs/gift-shop/catalog/view/theme/TAC/template/common/header.tpl on line 52 Notice: Undefined variable: currencies in /var/www/vhosts/theambercat.co.uk/httpdocs/gift-shop/catalog/view/theme/TAC/template/common/header.tpl on line 63
Notice: Undefined variable: text_cart in /var/www/vhosts/theambercat.co.uk/httpdocs/gift-shop/catalog/view/theme/TAC/template/common/header.tpl on line 88
Notice: Undefined variable: text_items in /var/www/vhosts/theambercat.co.uk/httpdocs/gift-shop/catalog/view/theme/TAC/template/common/header.tpl on line 89
Notice: Undefined variable: filter_name in /var/www/vhosts/theambercat.co.uk/httpdocs/gift-shop/catalog/view/theme/TAC/template/common/header.tpl on line 94
Welcome visitor you can login or create an account.
HomeWish List (0)My Account
Shopping Cart
0 item(s) - £0.00
Your shopping cart is empty!
">Notice: Undefined variable: text_cart in /var/www/vhosts/theambercat.co.uk/httpdocs/gift-shop/catalog/view/theme/TAC/template/common/header.tpl on line 107Checkout
Plus my modifications did not show. Unfortunately I do not know which version of 1.5 I was running beforehand. I have put my backed up files back so the site works for now.

Not sure if this is relevant but I currently have a WordPress site in the root at theambercat.co.uk
The OC store is at http://www.theambercat.co.uk/gift-shop/
I have placed a copy of the WP site at http://www.theambercat.co.uk/gifts-for-animal-lovers/
The plan was to upgrade the OC store and move it to the root so that is what visitors see first and the blog is behind it.

Any help will be gratefully received :)

Just remembered that when I tried to use the backup function in admin I get line after line of errors. So many I have attached a screenshot to give an idea. Is this relevant at all?

Attachments

Screen Shot 2013-09-15 at 20.40.09.png

Screen Shot 2013-09-15 at 20.40.09.png (386.05 KiB) Viewed 5505 times

Last edited by TAC on Mon Oct 28, 2013 2:25 am, edited 2 times in total.

User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England

Post by butte » Mon Sep 16, 2013 6:43 am

You're best off with each program in a directory, for several reasons. Among them is that you can keep domains and subdomains off the account root and have additional domains likewise in directories, without having to do housekeeping in order to clear the root, etc.. The path, /var/www/vhosts/theambercat.co.uk/httpdocs/, has at least two levels that are customarily root, www/ and httpdocs/, with interposed vhosts/ and domain/ while your account (with your username) will be below /var/, so it appears that some of the php errors are thrown over OC, some probably owe to non-default theme/TAC/, and some particularly in the lower set are thrown over blog.

For a split second there I was seeing Amber Cats but looking at a banner chicken, en route to where admin log-in screen is customized, not showing OC version.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by TAC » Mon Sep 16, 2013 5:06 pm

Thank you butte,

The store I tried to update is not in the root anyway, so would this make a difference?

I am wondering if it's the right thing to do to update to 1.5.6 anyway after seeing other people's comments about it?

User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England

Post by butte » Tue Sep 17, 2013 7:57 am

No, it's best not in root anyway. Upgrading a running shop too hastily isn't often a good idea, you've been reading already, but you can retry a new set of the /upload/ tree files. Given how similar they are, you could also retry aiming for 1.5.5.1 instead.

However, there is a small brontosaur to trap first. See the "Tables_in_sitervee" in the long wad of errors? What is that? It is not part of OC fresh out of any OC box. That appears to refer to a table, perhaps a table of tables.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by Leo77 » Tue Sep 17, 2013 5:25 pm

How about an upgrade in an alternative way? Install a fresh 1.5.6 version and move database from the current one. It allows to avoid probable errors. To move information you may use something, like Cart2Cart. This service migrates almost all the data.

Check its page http://www.shopping-cart-migration.com
However, before you upgrade, think if you really need to have a newest version. What features you want to get?

Newbie

Posts

Joined
Wed Aug 29, 2012 4:38 pm

Post by butte » Tue Sep 17, 2013 10:26 pm


Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by TAC » Thu Sep 19, 2013 9:53 pm

Thanks Leo,

I just always thought it was best to have the latest version. And as I was about to move the site I thought it was a good time to do it. Obviously I was wrong :(

User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England

Post by TAC » Thu Sep 19, 2013 9:57 pm

Hi and thanks again butte,

I don't know what the Tables_in_sitervee is I'm afraid. Once it gets into code and errors I have very little knowledge about what is going on :( Hence my panic and posting on here.

The upgrade can wait for the moment though as getting the site working at all is the priority right now :)

User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England

Post by butte » Thu Sep 19, 2013 10:53 pm

A search shows "Tables_in_sitervee" in only one thread site-wide . . . you're reading it. So, on to the transplant in the other thread.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by TAC » Thu Sep 19, 2013 11:51 pm

From looking in the index.php file I see that the version of OC I am running is 1.5.1 so probably best to stick with that for now?

User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England

Post by butte » Fri Sep 20, 2013 2:06 am

I would . . . it will help to see it work before upgrading it.

If you simply start all over again the original doesn't matter, but the original matters, it's been a live shop for a while, so we need to see it work. A complete backup of what you started with, files and database, will be helpful at the moment if you have them, because when you abandoned upgrade and instead moved it, something upset it, and that should not be too difficult to remedy.
Last edited by butte on Fri Sep 20, 2013 2:15 am, edited 1 time in total.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by TAC » Fri Sep 20, 2013 2:11 am

I have abandoned the plan to update to 1.5.6 :)

User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England

Post by TAC » Mon Oct 28, 2013 2:32 am

I started with a completely fresh install of 1.5.6 and rebuilt the shop again just in case anyone was wondering :)

User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England
Who is online

Users browsing this forum: No registered users and 5 guests