Post by kristine » Thu Feb 02, 2017 5:06 pm

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

Newbie

Posts

Joined
Thu Feb 02, 2017 4:51 pm

Post by IP_CAM » Fri Feb 03, 2017 2:11 am

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

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by kristine » Fri Feb 03, 2017 7:32 am

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

Newbie

Posts

Joined
Thu Feb 02, 2017 4:51 pm

Post by IP_CAM » Fri Feb 03, 2017 7:44 am

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

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by kristine » Fri Feb 03, 2017 4:41 pm

Thanks Ernie :)

Newbie

Posts

Joined
Thu Feb 02, 2017 4:51 pm
Who is online

Users browsing this forum: No registered users and 11 guests