Welcome Guest, Not a member yet? Register   Sign In
problem with loading views in Internet Explorer
#1

Hello.

I am having a problem with viewing my website in Internet Explorer.
There is seems to be a problem with my codes that force users to download a file instead of displaying the web page.

My site is in Persian/Farsi language. but if you visit these pages in IE: http://findmatch.ir/player/login ORĀ http://findmatch.ir/tournament/all ,you will understand.
Do you have any ideas ?

I hope i haven't opened up a duplicated topic.

Thank you.
Reply
#2

You may have better luck if you explained the issue instead of asking people to visit your site.
Reply
#3

(This post was last modified: 03-20-2017, 10:26 AM by DarkGhost.)

Sorry man. you are right.
I found the problem but still i don't know why this line of code cause this problem.
The problem is that i inserted
PHP Code:
$this->output->set_content_type('application_json'); 

in
function __construct();

Do you know why this caused this ?
Reply
#4

(This post was last modified: 03-20-2017, 10:43 AM by Narf.)

Yep, 'application_json' is not a valid MIME type.

'application/json' is
Reply
#5

(03-20-2017, 10:43 AM)Narf Wrote: Yep, 'application_json' is not a valid MIME type.

'application/json' is

'application/json' also didn't work in IE 11.
but text/x-json seems to work.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB