Post by piyush sinha » Sat Apr 15, 2017 5:10 pm

I am running an Opencart based website, version 1.5.6.4.I have the above error from admin system log error. I am not able to edit my Kuler theme CP in the admin section which has all the theme setting. The page just keeps on loading. I am attaching a screen shot for better understanding.
The error is: PHP notice undefined index http_user_agent in /home/../public_html/vqmod/vqcache/vq2-catalog_controller_module_kuler_cp.on line 2299


While the code on the line 2299 to 2306 is

Code: Select all

if (preg_match('/MSIE (.*?);/', $this->request->server['HTTP_USER_AGENT'], $matches)

        {
            $body_classes[] = 'ie';
        }

        return implode(' ', $body_classes);
    }
Any help would be appreciated. Thank you
Image

Newbie

Posts

Joined
Tue Jan 24, 2017 8:10 pm

Post by uksitebuilder » Sat Apr 15, 2017 8:21 pm

You should contact the theme developer regarding this issue.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by piyush sinha » Sat Apr 15, 2017 8:27 pm

Unfortunately, this is a Kuler theme and developers have close down and I do get any support from them.

Newbie

Posts

Joined
Tue Jan 24, 2017 8:10 pm

Post by uksitebuilder » Sat Apr 15, 2017 8:58 pm

Please try setting Display Errors to disabled in your admin System Settings section on the Server tab

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by piyush sinha » Sun Apr 16, 2017 10:08 pm

This is the reply I got from the hosting provider

Refused to execute a script from 'http://interiomarket.com/admin/index.ph ... 27040aae6a' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

The above link is exactly which is unable to open

Newbie

Posts

Joined
Tue Jan 24, 2017 8:10 pm

Post by piyush sinha » Sun Apr 16, 2017 10:41 pm

I have set error display to none and also on the server tab there is (Allowed File Mime Types:) option where I have added (text/html)
Below are few options which were already added.
text/plain
image/png
image/jpeg
image/jpeg
image/jpeg

Newbie

Posts

Joined
Tue Jan 24, 2017 8:10 pm
Who is online

Users browsing this forum: No registered users and 54 guests