Hi, My opencart 2.2.0.0 on click Save button after ediiting product or information logout from admin panel and show error in browser:
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.
ERR_BLOCKED_BY_XSS_AUDITOR
I think this happen after my hosting provider update php version but not sure. Where to find problem , thanks ?
This is a Chrome bug, not an openCart issue. Try using different browser, or this: edit file admin/controller/startup/startup.php and add this line anywhere inside function index:
Code: Select all
$this->response->addHeader('X-XSS-Protection:0');
Extensions for affiliates (openCart 1, 2, 3):
Advanced Multi Level Affiliate System
Customer and Affiliate Accounts Combined into one Account
Affiliate Tracking with Coupons
Discount for Referred Customers - Order Total
Type Tracking Code
Mass Pay
Affiliate Transactions for openCart 3
Affiliate Pack X - all modules with 40% discount
Problem is same in IE and other browser - when I click on SAVE opencart logout automaticaly and show message "cannot find page"
I wass try add funkction and code looks like this:
<?php
class ControllerStartupStartup extends Controller {
public function index() { $this->response->addHeader('X-XSS-Protection:0');
// Settings
$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "setting WHERE store_id = '0'");
but problem is still there. did I paste funkction on right place ? There is only one public function index() in this file.
I wass try add funkction and code looks like this:
<?php
class ControllerStartupStartup extends Controller {
public function index() { $this->response->addHeader('X-XSS-Protection:0');
// Settings
$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "setting WHERE store_id = '0'");
but problem is still there. did I paste funkction on right place ? There is only one public function index() in this file.
Who is online
Users browsing this forum: No registered users and 293 guests