• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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
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
Yep, 'application_json' is not a valid MIME type.

'application/json' is
Reply

#5
(03-20-2017, 11: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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.