Post by pooja-vishnoi » Sat Sep 09, 2017 8:05 pm

While listing on my opencart store, today i start getting following error

This page isn’t working

Chrome detected unusual code on this page and blocked it to protect your personal information (for example, passwords, phone numbers, and credit cards).
Try visiting the site's homepage.

Please help me resolve this.

New member


Sun Feb 10, 2013 9:58 pm

Post by IP_CAM » Sun Sep 10, 2017 4:49 am

Ernie's OpenCart v. LIGHT + V-Pro + OpenShop Admin v.1.75 Test Sites -

User avatar
Guru Member


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

Post by Chris_UK » Mon Oct 02, 2017 9:15 pm

This isnt a fix its a tempory hack because you do really want to have XSS checks but to get you up and running again you can do the following. Remember temporary hack and you need to keep an eye out for a patch from opencart.

in my version:
I opened up admin/view/template/common/header.tpl

on line two after the doctype Add a new line

Code: Select all

<?php header ('X-XSS-Protection: 0'); ?>
This php header tells chromium / chrome (possibly all browsers) to skip the XSS checks across your whole admin area. The reason for this i believe is the text editors within the admin area as they permit html content so when you submit the form it causes chrome to block the content (old versions and block the page in more recent versions)

New member


Wed Jan 20, 2016 4:39 am
Who is online

Users browsing this forum: DigitCart and 22 guests