Post by tech1x10 » Sun Jul 07, 2013 4:21 pm

Hello all

I'm requesting a little help, I've recently installed 1.5.5.1 of OpenCart and I've been playing around with templates, and for some reason the header logo has disappeared and a line of code has appeared in the header bar "http://gadgetcabin.co.uk/DTS/index.php? ... ckout/cart" I've obviously messed something up but I can't for the life of me figure out what it is. So I would be really grateful if someone could point me in the right direction.

The web site is located at: http://gadgetcabin.co.uk/DTS/

Once again I would be very grateful if someone could shed some light on this.

Many thanks in advance.

New member

Posts

Joined
Sat Dec 22, 2012 10:58 pm

Post by pprmkr » Sun Jul 07, 2013 5:10 pm

Use of undefined constant HTTP_IMAGE - assumed 'HTTP_IMAGE' in /home/gadge069/public_html/DTS/catalog/controller/common/header.php
Should not appear in version 1.5.5.1 because:

Code: Select all

$server = HTTP_IMAGE;
$this->data['logo'] = $server . $this->config->get('config_logo');
is replaced by:

Code: Select all

$server = $this->config->get('config_url');
$this->data['logo'] = $server . 'image/' . $this->config->get('config_logo');
Are you using older or modified controller/common/header.php ?

User avatar
Active Member

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands

Post by tech1x10 » Mon Jul 08, 2013 12:03 pm

No, but I did install a template which was not for 1.5.5.1 could this have affected the core files?

New member

Posts

Joined
Sat Dec 22, 2012 10:58 pm

Post by tech1x10 » Mon Jul 08, 2013 12:41 pm

Hi I replaced header.tpl with a freshly installed 1.5.5.1 one and now it works, so many thanks for your help.

New member

Posts

Joined
Sat Dec 22, 2012 10:58 pm
Who is online

Users browsing this forum: No registered users and 9 guests