Gravatar for erkan.yildiz@avanade.com

Question by erkany, Jan 9, 2015 10:17 AM

Coveo Search View does not work on IE8

Hi,

Getting the generic error:

Oops Something went wrong on the server…

Are IE8 and IE9 supported?

If not is there any workaround I can try?

Is this issue related: https://answers.coveo.com/questions/952/rest-js-windows-authentication-error-on-d3-script-and-ie-8

Thanks,

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Jan 9, 2015 10:29 AM

Can you edit your original question with the stacktrace or error message found in the failing HTTP request response please? You can find this by running Fiddler locally when loading the page on IE. Fiddler is an HTTP proxy that allows to log and inspect the HTTP requests and responses done by the computer it is installed on.

Thanks.

http://www.telerik.com/fiddler

Gravatar for erkan.yildiz@avanade.com

Comment by erkany, Jan 9, 2015 11:42 AM

Hi,

I am testing on BrowserStack. Don't have access to VM. Any other tips? Also my question really is does Coveo support IE8+9?

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Jan 9, 2015 11:57 AM

Yes, Coveo for Sitecore supports IE8+ (exception of d3 Javascript library on IE8).

Gravatar for simon.byrne@ifsworld.com

Comment by simonbyrne, Feb 2, 2015 2:26 PM

@jflheureux Please could you give some more detail on your comment: 'exception of d3 Javascript library on IE8'.

We are having problems with Coveo on IE8, and I believe it may have something to do with us calling the d3 library in our javascript bundle as well. I have tried to remove d3 from the bundle, but it doesn't make any difference.

What is the best practice way to implement Coveo with IE8 support, please?

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Feb 2, 2015 2:42 PM

d3 doesn't support IE8. That's a fact. However, Coveo for Sitecore (specifically the Coveo JS UI that we use) references d3 by default for the graph option of our slider facet component. The d3 library is included in Coveo for Sitecore in the CoveoSearch*Resources*.ascx (WebForms) and Search*ViewResources*.cshtml (MVC) files.

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Feb 2, 2015 2:42 PM

If you want your Coveo for Sitecore search page to run in IE8, you must not use the graph feature in your slider facet components and you must remove the d3 script from the SearchResources layout/view (Copy the layout/view to a new file and create your own Resources item in Sitecore to avoid an override of your modifications when you will upgrade Coveo for Sitecore to a new version in the future).

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Jan 9, 2015 11:55 AM

You may be experiencing problems with the same-origin policy. Can you try the suggestions listed on these pages:

  • https://developers.coveo.com/display/JsSearch/JavaScript+Search+CORS+Errors
  • https://developers.coveo.com/display/SC201501/Internet+Explorer+9+:+Oops!+Something+went+wrong+in+Coveo+Search+Page
Gravatar for erkan.yildiz@avanade.com

Comment by erkany, Jan 9, 2015 1:36 PM

Second link both fixed IE8 and IE9 - Thank you!

Ask a question