IE8 Comparability in Magento - apache

We are facing a problem in our hosting server. May be Apache Setting Problem. Our site is hosted in server company jumba.com.au in here IE8 Compatibility not working. Same code we have tested in hostgator's server. and IE8 is working good on that server. So please can anyone suggest me exactly which apache sttings needed. so that we can ask server company. I have already tried by adding Header set X-UA-Compatible: "IE=EmulateIE7" to httaccess and to end of head section. but It is not working in current server (jumba.com.au) but same code working in hostgator in IE8, when We click proceed to checkout from cart section. then it is always showing shopping cart is empty. this is only IE8 problem and in this server. any suggestion appreciated.
Thanks

Can you provide this following code, in the "head" element just after the "title" element?
<meta http-equiv="X-UA-Compatible" content="IE=8" />
Hope it helps.

Related

Dojo Combobox not rending properly in XPages

My team is having a strange issue with the dojo combobox. When we moved the code to the integration environment, the dojo combobox started to render improperly. We verified that the code is the same. Strangely other dojo comboboxes in the same application render normally.
The integration server is on a older version: 9.0.1 HF32 64 bit
The unit server where it works is at: 9.0.1 FP3 HF632
UNIT SERVER rendering on left, INTG Server rendering on right.
My question is has anybody seen this and do they know how to fix it?
Notes:
this happens in IE and Chrome. It is coming wrong from the server.
We are using CIAO to promote between environments (which I hate).
Upgrading the server is not an option for me
I can post code if requested, but I suspect that it isn't a code issue.
UPDATE: For some reason the following two CSS files are not loaded on that particular page. They are loaded on every other page in the application. I can't find any property or setting that would effect this. The admin verified that these files are on the server and the dates are identical. These are system generated resources.
<link rel="stylesheet" type="text/css" href="/oneuiv2.1/base/dojo.css">
<link rel="stylesheet" type="text/css" href="/oneuiv2.1/defaultTheme/dojoTheme.css">
Does anyone know why these two stylesheets are not being loaded??
I've seen some strange positioning issues depending on where Dojo comboboxes are relative to the browser screen, i.e. if there's not enough space left in the screen to position relative to the field they're bound to. That may have been in XPiNC and was in older versions. The thing to check is whether the rendering issue is related to where the field is relative to the page in the browser.

How to prevent Internet Explorer to display a page in intranet mode when Domain matches AD-Domain

I have a site that will show up unter a domain like superengeneering.com.
Unfortunately this is the domain of the Active Directory as well and so Internet Explorer keeps displaying this page with intranet settings.
How can I keep all the company's Internet Explorers from displaying it in intranet mode?
The site is a Tomcat application on Apache Linux webserver.
Thank you for suggestions,
Markus
Did you try to set compatibility mode? Must be the first line within the head-section.
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>

Why are my Script Bundles only working on Server

I have deployed my app to my IIS server. The javascript/css seem to work when I browse the webpage from the IIS server (although some of the css seems to not be loading as well). However, when I go to another machine and view the webpage from a client, none of the Javascript seems to be enabled. The links to the scripts are there, and when I type their path into the browser, I am able to retrieve the file (so it's not a permissions issue or a path issue). Yes the browser I am viewing the page from has javascript enabled (it's my dev machine where everything works if I'm working from visual studio).
Can anyone help me figure out what is happening here? Everything works fine in my dev machine.
Edit
Ok I have tried everything I can find on the interwebs. I have tried adding the 'bundle' module, removing then adding (as below), I have tried with and without 'runAllManagedModulesForAllRequests', I have tried enableing and disabling the
<compilation debug="false" targetFramework="4.5" />
Nothing seems to work.
<modules runAllManagedModulesForAllRequests="true">
<remove name="UrlRoutingModule-4.0" />
<add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" preCondition="" />
<remove name="BundleModule" />
<add name="BundleModule" type="System.Web.Optimization.BundleModule" />
<!-- any other modules you want to run in MVC e.g. FormsAuthentication, Roles etc. -->
</modules>
I just don't understand why IIS7 would be doing something different when you browse the website locally on the server and another thing when you browse the site on different machine?
Edit 2
Even more baffling. I figured there might be something wrong with bundling (some assembly not loaded correctly who knows) so to test the theory, I commented out all the bundling code on my layout and replaced it with hard coded links to the styles/javascript. Again, it works in development, it works when previewing on the server, but when you go to a client machine, none of the javascript seems to work!!! I've installed it on two different IIS servers now... still same problem!
Edit 3
Unbelievable. It looks like the problem is... drum roll. IE10. I am using integrated authentication so I was only using IE. Until I realised that chrome can prompt/pass credentials as well. So I opened the site from Chrome and no problem! I compared the html from my local version on my dev machine to the html coming from the server, and other than the fact that the URLs have an extra element in the path (the site is deployed to a virtual directory) the html is identical. So for whatever reason, IE has decided that it will not run javascript from my IIS server, but it will from every other website on the internet. I even used fiddler to double check that all of the css/javascript was being fetched and received (they are, even checked the temporary files folder after a clean sweep to see if the css/js was downloaded). So, as usual, IE is a piece of crap causing nothing but headache and misery. Now to figure out how to fix this (my organisation is 80% IE).
So for anyone out there who might run into the same issue and has to work with IE I solved the problem by adding this to my _layout.cshtml:
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
What this does is instructs IE to use the latest available rendering engine to process the html (in other words don't try to be smart and guess what my html is built for). So it essentially tells the versions of IE that have 'compatibility mode' to not use it.
For me this works fine because our organization is small and we are usually within one version of the latest release of IE. If the latest version causes issues, I can easy fix and deploy with no harm done. However, this IS NOT optimal for a general purpose website or organization with high numbers of users on a variety of IE browsers.
I came across this problem too.
I found was that Internet Explorer was set to "high" when browsing the internet when using our corporate network. Once I added my site to the trusted sites zone, everything worked.
You can check if your site in the Trusted Sites zone, but going to Internet Options -> Security -> Sites

I have installed prestashop,but facing some problem..?

I have installed prestashop but I can see its back end web page and can login into it but front end shop page is not opening up in my browser and it is showing error.I dont know what is the reason?
Have I made a mistake in understanding prestashop..???Is it to be installed with some other CMS or it is self sufficient ? I have no other file except prestashop files in my web directory.
Your server may not allow URL rewriting. Contact your host to find out what you need to do in order to allow it. Additionally, you can visit the PrestaShop forums for help on this issue and many others.
Source: PrestaShop Bug Tracker

Opera loads nothing - MyBB forum website

I've got a website (www.ferfereh.ir - sorry it's not english) and I've installed a MyBB forum for it with this sub-domain (www.forum.ferfereh.ir). The strange thing is it doesn't work on the Opera browser, nothing gets loaded and the page is all white. I've tested it on other browsers, everything is fine. Does anyone have any idea why this might happen. I even tested my friend's MyBB forum and the same thing happens for that.
Thanks in advance.
What you see is what you get - the server sends Opera a completely empty file, Content-length 0. I can only assume it is some kind of bug in MyBB..
I also tested in Chrome, and it gets no content either.
I found the problem: It was the new Beta SEO plugin I had installed. I deactivated the plugin and now it works on all browsers.