Post by pewe » Wed Jan 27, 2016 12:45 am

I have a site running V2.0.3.1 using a theme which works with no issues.

I am trying to use the same theme in V2.1.0.2 and get the following error at the top of the pages
'Notice: Undefined variable: icon in /home/u265178797/public_html/catalog/view/theme/bolshopdark/template/common/header.tpl on line 20 Notice: Undefined variable: google_analytics in /home/u265178797/public_html/catalog/view/theme/bolshopdark/template/common/header.tpl on line 40'
Can anyone explain how I can get rid of it.

Thanks

New member

Posts

Joined
Fri May 15, 2015 2:29 am

Post by pewe » Thu Jan 28, 2016 12:37 am

Has no one any ideas what is causing this problem?

I tried a different theme (Ancart) and get the same error.

The first theme ('bolshopdark') is not listed as compatible with V 2.1.0.2 and I thought that might be the problem, so I tried the Ancart one which is supposedly compatible with the latest OC version - so why the problem?

New member

Posts

Joined
Fri May 15, 2015 2:29 am

Post by Randem » Thu Feb 04, 2016 3:52 am

Hi pewe,

Most themes that are supposed to be compatible are not - http://www.randemsystems.com/support/op ... ty-themes/

Other Helpful Information

Also did you "upgrade" your OpenCart installation?

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am

Post by pewe » Thu Feb 04, 2016 4:34 am

Randem,

Thanks for the info but I'm not sure it relates specifically to the errors I was seeing, or am I missing something?.
NOTE: I say 'was' because I decided to revert to a previous version for the new store I was trying to create for a friend.

Also - it was a new installation, not an upgrade.

New member

Posts

Joined
Fri May 15, 2015 2:29 am

Post by Randem » Thu Feb 04, 2016 4:56 am

It is all related (but you have to read it) :laugh: ... Try using the default theme to see if the error goes away.

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am
Who is online

Users browsing this forum: Bing [Bot] and 16 guests