Disabling strict MIME type checking @AlexT

I use Vanilla Forums for my Answers/Forum site. I use Dolphin member login system for that because I don't want the user to create another account on Vanilla, their Dolphin account should be used instead.

There is a plugin in Vanilla name jsConnect which interacts with other site and performs this operation.

The plugin has 2 files functions.jsconnect.php and index.php

No changes need in functions.jsconnect.php, only index.php has to be changed.

It requires 4 information

 $user['uniqueid'] = '123'; $user['name'] = 'John PHP'; $user['email'] = 'john.php@anonymous.com'; $user['photourl'] = '';

 Either we should give directly or dynamically. I am querying  the dolphin database and providing the 4 required information.

Now the problem is to get the details of logged in user using $memID = $_COOKIE['memberID'];

I have to place both the files inside dolphin directory. When I am accessing vanilla site through Chrome or Opera I am getting this error

 

Refused to execute script from 'http://answers.mywebsite.com/js.php?client_id=554896542&Target=%2F&callback=jQuery1254689538390256348338_1455552277557&_=1455552277558' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

 

So somewhere in the dolphin it is mentioned for strict checking of MIME type. 

Where are they? How to disable that? What wrong will happen if it will be disabled??

Quote · 16 Feb 2016

It's hard to guess what is the problem, most probably Dolphin and Forum are installed on different domains and Javascript can't access site with another domain/subdomain, but it looks like it has nothing with the user's integration since integration is solely in PHP, looking at you r description of the integration.

Rules → http://www.boonex.com/terms
Quote · 17 Feb 2016

When I disabled Cloudflare, the script started executing and Sign in with Dolphin button started showing....!

Quote · 18 Feb 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.