Page 1 of 1
vqcache- header php error
Posted: Thu Feb 02, 2017 5:06 pm
by kristine
Hi this problem keeps showing up in my front/home page when i try to install some extensions.
Warning illegal string offset 'en' in /home/xxxx/public-html/vqmod/vqcache/vq2-system-storage-modification-catalog-contoller-common-header.php on line 49
This is the line 49 below.
if (is_file(DIR_IMAGE.$logos[$this->session->data['language']])) {
The error completely changes my logo to appear as plain text. How do i fix this please help. am using oc 2.1.0.2
Re: vqcache- header php error
Posted: Fri Feb 03, 2017 2:11 am
by IP_CAM
well, next time, just make sure, to tell us FIRST, what extension you use, to get a multilanguage Logo, otherways,
nobody would know, and reply, because the LINE, you placed, does not exist by OC Default.....
---
probably one of those extensions is involved:
https://www.opencart.com/index.php?rout ... age%20logo
---
But find here a Google english translated russian
opencartforum.com posting, and a much better FIX,
related for your problem:
https://translate.google.ch/translate?h ... rev=search
---
and this is, how this routine probably looks by OC Default.
viewtopic.php?f=182&t=156939&p=599202
---
Good Luck !
Ernie
Re: vqcache- header php error
Posted: Fri Feb 03, 2017 7:32 am
by kristine
Hi Ernie
Sorry about that am quite new at this.
Am using the
v2.6.1-opencart extension found at
https://github.com/vqmod/vqmod/releases and downloaded the vqmod-2.6.1-opencart.zip file to be more specific.
Also using it with the default open cart template
Re: vqcache- header php error
Posted: Fri Feb 03, 2017 7:44 am
by IP_CAM
Wekk, but the VqMod Installation itself should not produce any error, it MUST be an extension, because
the Code if (is_file(DIR_IMAGE.$logos[$this->session->data['language']])) { is NOT part of Default OC.
Ernie
Re: vqcache- header php error
Posted: Fri Feb 03, 2017 4:41 pm
by kristine
Thanks Ernie
